Add testcase of PR c++/92542, already fixed.
[official-gcc.git] / libstdc++-v3 / configure
blobd2e516df6d092b1ddc34a607acb93d9e1a44560b
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
672 XMLCATALOG
674 DOXYGEN
675 BUILD_INFO_FALSE
676 BUILD_INFO_TRUE
677 ENABLE_FILESYSTEM_TS_FALSE
678 ENABLE_FILESYSTEM_TS_TRUE
679 baseline_subdir_switch
680 baseline_dir
681 HWCAP_CFLAGS
682 GLIBCXX_LDBL_COMPAT_FALSE
683 GLIBCXX_LDBL_COMPAT_TRUE
684 LONG_DOUBLE_COMPAT_FLAGS
685 ENABLE_CXX11_ABI_FALSE
686 ENABLE_CXX11_ABI_TRUE
687 glibcxx_cxx98_abi
688 ENABLE_DUAL_ABI_FALSE
689 ENABLE_DUAL_ABI_TRUE
690 ENABLE_VISIBILITY_FALSE
691 ENABLE_VISIBILITY_TRUE
692 libtool_VERSION
693 ENABLE_SYMVERS_SUN_FALSE
694 ENABLE_SYMVERS_SUN_TRUE
695 ENABLE_SYMVERS_DARWIN_FALSE
696 ENABLE_SYMVERS_DARWIN_TRUE
697 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
698 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
699 ENABLE_SYMVERS_GNU_FALSE
700 ENABLE_SYMVERS_GNU_TRUE
701 ENABLE_SYMVERS_FALSE
702 ENABLE_SYMVERS_TRUE
703 port_specific_symbol_files
704 SYMVER_FILE
705 CXXFILT
706 LTLIBICONV
707 LIBICONV
708 OPT_LDFLAGS
709 SECTION_LDFLAGS
710 GLIBCXX_LIBS
711 ENABLE_VTABLE_VERIFY_FALSE
712 ENABLE_VTABLE_VERIFY_TRUE
713 VTV_CYGMIN_FALSE
714 VTV_CYGMIN_TRUE
715 VTV_CXXLINKFLAGS
716 VTV_PCH_CXXFLAGS
717 VTV_CXXFLAGS
718 ENABLE_WERROR_FALSE
719 ENABLE_WERROR_TRUE
720 ENABLE_PYTHONDIR_FALSE
721 ENABLE_PYTHONDIR_TRUE
722 python_mod_dir
723 ENABLE_EXTERN_TEMPLATE_FALSE
724 ENABLE_EXTERN_TEMPLATE_TRUE
725 EXTRA_CXX_FLAGS
726 GLIBCXX_BUILD_DEBUG_FALSE
727 GLIBCXX_BUILD_DEBUG_TRUE
728 DEBUG_FLAGS
729 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
730 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
731 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
732 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
733 GLIBCXX_C_HEADERS_C_STD_FALSE
734 GLIBCXX_C_HEADERS_C_STD_TRUE
735 GLIBCXX_C_HEADERS_C_FALSE
736 GLIBCXX_C_HEADERS_C_TRUE
737 C_INCLUDE_DIR
738 ALLOCATOR_NAME
739 ALLOCATOR_H
740 ENABLE_ALLOCATOR_NEW_FALSE
741 ENABLE_ALLOCATOR_NEW_TRUE
742 CLOCALE_INTERNAL_H
743 CLOCALE_CC
744 CTIME_CC
745 CTIME_H
746 CNUMERIC_CC
747 CMONEY_CC
748 CMESSAGES_CC
749 CCTYPE_CC
750 CCOLLATE_CC
751 CCODECVT_CC
752 CMESSAGES_H
753 CLOCALE_H
754 USE_NLS
755 glibcxx_localedir
756 glibcxx_POFILES
757 glibcxx_MOFILES
758 check_msgfmt
759 BASIC_FILE_CC
760 BASIC_FILE_H
761 CSTDIO_H
762 SECTION_FLAGS
763 ENABLE_FLOAT128_FALSE
764 ENABLE_FLOAT128_TRUE
765 thread_header
766 glibcxx_PCHFLAGS
767 GLIBCXX_BUILD_PCH_FALSE
768 GLIBCXX_BUILD_PCH_TRUE
769 GLIBCXX_HOSTED_FALSE
770 GLIBCXX_HOSTED_TRUE
771 glibcxx_compiler_shared_flag
772 glibcxx_compiler_pic_flag
773 glibcxx_lt_pic_flag
774 enable_static
775 enable_shared
776 lt_host_flags
777 CXXCPP
778 OTOOL64
779 OTOOL
780 LIPO
781 NMEDIT
782 DSYMUTIL
783 OBJDUMP
785 ac_ct_DUMPBIN
786 DUMPBIN
788 FGREP
790 LIBTOOL
791 EGREP
792 GREP
794 MAINT
795 MAINTAINER_MODE_FALSE
796 MAINTAINER_MODE_TRUE
797 RANLIB
800 LN_S
801 toplevel_srcdir
802 toplevel_builddir
803 glibcxx_srcdir
804 glibcxx_builddir
805 ac_ct_CXX
806 CXXFLAGS
808 OBJEXT
809 EXEEXT
810 ac_ct_CC
811 CPPFLAGS
812 LDFLAGS
813 CFLAGS
815 AM_BACKSLASH
816 AM_DEFAULT_VERBOSITY
817 AM_DEFAULT_V
818 AM_V
819 am__untar
820 am__tar
821 AMTAR
822 am__leading_dot
823 SET_MAKE
825 mkdir_p
826 MKDIR_P
827 INSTALL_STRIP_PROGRAM
828 STRIP
829 install_sh
830 MAKEINFO
831 AUTOHEADER
832 AUTOMAKE
833 AUTOCONF
834 ACLOCAL
835 VERSION
836 PACKAGE
837 CYGPATH_W
838 am__isrc
839 INSTALL_DATA
840 INSTALL_SCRIPT
841 INSTALL_PROGRAM
842 target_os
843 target_vendor
844 target_cpu
845 target
846 host_os
847 host_vendor
848 host_cpu
849 host
850 build_os
851 build_vendor
852 build_cpu
853 build
854 multi_basedir
855 target_alias
856 host_alias
857 build_alias
858 LIBS
859 ECHO_T
860 ECHO_N
861 ECHO_C
862 DEFS
863 mandir
864 localedir
865 libdir
866 psdir
867 pdfdir
868 dvidir
869 htmldir
870 infodir
871 docdir
872 oldincludedir
873 includedir
874 localstatedir
875 sharedstatedir
876 sysconfdir
877 datadir
878 datarootdir
879 libexecdir
880 sbindir
881 bindir
882 program_transform_name
883 prefix
884 exec_prefix
885 PACKAGE_URL
886 PACKAGE_BUGREPORT
887 PACKAGE_STRING
888 PACKAGE_VERSION
889 PACKAGE_TARNAME
890 PACKAGE_NAME
891 PATH_SEPARATOR
892 SHELL'
893 ac_subst_files=''
894 ac_user_opts='
895 enable_option_checking
896 enable_multilib
897 enable_silent_rules
898 enable_largefile
899 with_target_subdir
900 with_cross_host
901 with_newlib
902 enable_maintainer_mode
903 enable_shared
904 enable_static
905 with_pic
906 enable_fast_install
907 with_gnu_ld
908 enable_libtool_lock
909 enable_hosted_libstdcxx
910 enable_libstdcxx_verbose
911 enable_libstdcxx_pch
912 with_libstdcxx_lock_policy
913 enable_cstdio
914 enable_clocale
915 enable_nls
916 enable_libstdcxx_allocator
917 enable_cheaders
918 enable_long_long
919 enable_wchar_t
920 enable_c99
921 enable_concept_checks
922 enable_libstdcxx_debug_flags
923 enable_libstdcxx_debug
924 enable_cxx_flags
925 enable_fully_dynamic_string
926 enable_extern_template
927 with_python_dir
928 enable_werror
929 enable_vtable_verify
930 enable_libstdcxx_time
931 enable_tls
932 enable_rpath
933 with_libiconv_prefix
934 with_system_libunwind
935 enable_linux_futex
936 enable_symvers
937 enable_libstdcxx_visibility
938 enable_libstdcxx_dual_abi
939 with_default_libstdcxx_abi
940 enable_libstdcxx_threads
941 enable_libstdcxx_filesystem_ts
942 enable_cet
943 with_gxx_include_dir
944 enable_version_specific_runtime_libs
945 with_gcc_major_version_only
947 ac_precious_vars='build_alias
948 host_alias
949 target_alias
951 CFLAGS
952 LDFLAGS
953 LIBS
954 CPPFLAGS
956 CXXFLAGS
959 CXXCPP
960 CXXFILT'
963 # Initialize some variables set by options.
964 ac_init_help=
965 ac_init_version=false
966 ac_unrecognized_opts=
967 ac_unrecognized_sep=
968 # The variables have the same names as the options, with
969 # dashes changed to underlines.
970 cache_file=/dev/null
971 exec_prefix=NONE
972 no_create=
973 no_recursion=
974 prefix=NONE
975 program_prefix=NONE
976 program_suffix=NONE
977 program_transform_name=s,x,x,
978 silent=
979 site=
980 srcdir=
981 verbose=
982 x_includes=NONE
983 x_libraries=NONE
985 # Installation directory options.
986 # These are left unexpanded so users can "make install exec_prefix=/foo"
987 # and all the variables that are supposed to be based on exec_prefix
988 # by default will actually change.
989 # Use braces instead of parens because sh, perl, etc. also accept them.
990 # (The list follows the same order as the GNU Coding Standards.)
991 bindir='${exec_prefix}/bin'
992 sbindir='${exec_prefix}/sbin'
993 libexecdir='${exec_prefix}/libexec'
994 datarootdir='${prefix}/share'
995 datadir='${datarootdir}'
996 sysconfdir='${prefix}/etc'
997 sharedstatedir='${prefix}/com'
998 localstatedir='${prefix}/var'
999 includedir='${prefix}/include'
1000 oldincludedir='/usr/include'
1001 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1002 infodir='${datarootdir}/info'
1003 htmldir='${docdir}'
1004 dvidir='${docdir}'
1005 pdfdir='${docdir}'
1006 psdir='${docdir}'
1007 libdir='${exec_prefix}/lib'
1008 localedir='${datarootdir}/locale'
1009 mandir='${datarootdir}/man'
1011 ac_prev=
1012 ac_dashdash=
1013 for ac_option
1015 # If the previous option needs an argument, assign it.
1016 if test -n "$ac_prev"; then
1017 eval $ac_prev=\$ac_option
1018 ac_prev=
1019 continue
1022 case $ac_option in
1023 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1024 *=) ac_optarg= ;;
1025 *) ac_optarg=yes ;;
1026 esac
1028 # Accept the important Cygnus configure options, so we can diagnose typos.
1030 case $ac_dashdash$ac_option in
1032 ac_dashdash=yes ;;
1034 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1035 ac_prev=bindir ;;
1036 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1037 bindir=$ac_optarg ;;
1039 -build | --build | --buil | --bui | --bu)
1040 ac_prev=build_alias ;;
1041 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1042 build_alias=$ac_optarg ;;
1044 -cache-file | --cache-file | --cache-fil | --cache-fi \
1045 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1046 ac_prev=cache_file ;;
1047 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1048 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1049 cache_file=$ac_optarg ;;
1051 --config-cache | -C)
1052 cache_file=config.cache ;;
1054 -datadir | --datadir | --datadi | --datad)
1055 ac_prev=datadir ;;
1056 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1057 datadir=$ac_optarg ;;
1059 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1060 | --dataroo | --dataro | --datar)
1061 ac_prev=datarootdir ;;
1062 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1063 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1064 datarootdir=$ac_optarg ;;
1066 -disable-* | --disable-*)
1067 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070 as_fn_error $? "invalid feature name: $ac_useropt"
1071 ac_useropt_orig=$ac_useropt
1072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_$ac_useropt"
1076 "*) ;;
1077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1078 ac_unrecognized_sep=', ';;
1079 esac
1080 eval enable_$ac_useropt=no ;;
1082 -docdir | --docdir | --docdi | --doc | --do)
1083 ac_prev=docdir ;;
1084 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1085 docdir=$ac_optarg ;;
1087 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1088 ac_prev=dvidir ;;
1089 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1090 dvidir=$ac_optarg ;;
1092 -enable-* | --enable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid feature name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval enable_$ac_useropt=\$ac_optarg ;;
1108 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1109 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1110 | --exec | --exe | --ex)
1111 ac_prev=exec_prefix ;;
1112 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1113 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1114 | --exec=* | --exe=* | --ex=*)
1115 exec_prefix=$ac_optarg ;;
1117 -gas | --gas | --ga | --g)
1118 # Obsolete; use --with-gas.
1119 with_gas=yes ;;
1121 -help | --help | --hel | --he | -h)
1122 ac_init_help=long ;;
1123 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1124 ac_init_help=recursive ;;
1125 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1126 ac_init_help=short ;;
1128 -host | --host | --hos | --ho)
1129 ac_prev=host_alias ;;
1130 -host=* | --host=* | --hos=* | --ho=*)
1131 host_alias=$ac_optarg ;;
1133 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1134 ac_prev=htmldir ;;
1135 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1136 | --ht=*)
1137 htmldir=$ac_optarg ;;
1139 -includedir | --includedir | --includedi | --included | --include \
1140 | --includ | --inclu | --incl | --inc)
1141 ac_prev=includedir ;;
1142 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1143 | --includ=* | --inclu=* | --incl=* | --inc=*)
1144 includedir=$ac_optarg ;;
1146 -infodir | --infodir | --infodi | --infod | --info | --inf)
1147 ac_prev=infodir ;;
1148 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1149 infodir=$ac_optarg ;;
1151 -libdir | --libdir | --libdi | --libd)
1152 ac_prev=libdir ;;
1153 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1154 libdir=$ac_optarg ;;
1156 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1157 | --libexe | --libex | --libe)
1158 ac_prev=libexecdir ;;
1159 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1160 | --libexe=* | --libex=* | --libe=*)
1161 libexecdir=$ac_optarg ;;
1163 -localedir | --localedir | --localedi | --localed | --locale)
1164 ac_prev=localedir ;;
1165 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1166 localedir=$ac_optarg ;;
1168 -localstatedir | --localstatedir | --localstatedi | --localstated \
1169 | --localstate | --localstat | --localsta | --localst | --locals)
1170 ac_prev=localstatedir ;;
1171 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1172 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1173 localstatedir=$ac_optarg ;;
1175 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1176 ac_prev=mandir ;;
1177 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1178 mandir=$ac_optarg ;;
1180 -nfp | --nfp | --nf)
1181 # Obsolete; use --without-fp.
1182 with_fp=no ;;
1184 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1185 | --no-cr | --no-c | -n)
1186 no_create=yes ;;
1188 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1189 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1190 no_recursion=yes ;;
1192 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1193 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1194 | --oldin | --oldi | --old | --ol | --o)
1195 ac_prev=oldincludedir ;;
1196 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1197 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1198 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1199 oldincludedir=$ac_optarg ;;
1201 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1202 ac_prev=prefix ;;
1203 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1204 prefix=$ac_optarg ;;
1206 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1207 | --program-pre | --program-pr | --program-p)
1208 ac_prev=program_prefix ;;
1209 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1210 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1211 program_prefix=$ac_optarg ;;
1213 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1214 | --program-suf | --program-su | --program-s)
1215 ac_prev=program_suffix ;;
1216 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1217 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1218 program_suffix=$ac_optarg ;;
1220 -program-transform-name | --program-transform-name \
1221 | --program-transform-nam | --program-transform-na \
1222 | --program-transform-n | --program-transform- \
1223 | --program-transform | --program-transfor \
1224 | --program-transfo | --program-transf \
1225 | --program-trans | --program-tran \
1226 | --progr-tra | --program-tr | --program-t)
1227 ac_prev=program_transform_name ;;
1228 -program-transform-name=* | --program-transform-name=* \
1229 | --program-transform-nam=* | --program-transform-na=* \
1230 | --program-transform-n=* | --program-transform-=* \
1231 | --program-transform=* | --program-transfor=* \
1232 | --program-transfo=* | --program-transf=* \
1233 | --program-trans=* | --program-tran=* \
1234 | --progr-tra=* | --program-tr=* | --program-t=*)
1235 program_transform_name=$ac_optarg ;;
1237 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1238 ac_prev=pdfdir ;;
1239 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1240 pdfdir=$ac_optarg ;;
1242 -psdir | --psdir | --psdi | --psd | --ps)
1243 ac_prev=psdir ;;
1244 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1245 psdir=$ac_optarg ;;
1247 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1248 | -silent | --silent | --silen | --sile | --sil)
1249 silent=yes ;;
1251 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1252 ac_prev=sbindir ;;
1253 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1254 | --sbi=* | --sb=*)
1255 sbindir=$ac_optarg ;;
1257 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1258 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1259 | --sharedst | --shareds | --shared | --share | --shar \
1260 | --sha | --sh)
1261 ac_prev=sharedstatedir ;;
1262 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1263 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1264 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1265 | --sha=* | --sh=*)
1266 sharedstatedir=$ac_optarg ;;
1268 -site | --site | --sit)
1269 ac_prev=site ;;
1270 -site=* | --site=* | --sit=*)
1271 site=$ac_optarg ;;
1273 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1274 ac_prev=srcdir ;;
1275 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1276 srcdir=$ac_optarg ;;
1278 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1279 | --syscon | --sysco | --sysc | --sys | --sy)
1280 ac_prev=sysconfdir ;;
1281 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1282 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1283 sysconfdir=$ac_optarg ;;
1285 -target | --target | --targe | --targ | --tar | --ta | --t)
1286 ac_prev=target_alias ;;
1287 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1288 target_alias=$ac_optarg ;;
1290 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1291 verbose=yes ;;
1293 -version | --version | --versio | --versi | --vers | -V)
1294 ac_init_version=: ;;
1296 -with-* | --with-*)
1297 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1298 # Reject names that are not valid shell variable names.
1299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300 as_fn_error $? "invalid package name: $ac_useropt"
1301 ac_useropt_orig=$ac_useropt
1302 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303 case $ac_user_opts in
1305 "with_$ac_useropt"
1306 "*) ;;
1307 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1308 ac_unrecognized_sep=', ';;
1309 esac
1310 eval with_$ac_useropt=\$ac_optarg ;;
1312 -without-* | --without-*)
1313 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1314 # Reject names that are not valid shell variable names.
1315 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316 as_fn_error $? "invalid package name: $ac_useropt"
1317 ac_useropt_orig=$ac_useropt
1318 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319 case $ac_user_opts in
1321 "with_$ac_useropt"
1322 "*) ;;
1323 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1324 ac_unrecognized_sep=', ';;
1325 esac
1326 eval with_$ac_useropt=no ;;
1328 --x)
1329 # Obsolete; use --with-x.
1330 with_x=yes ;;
1332 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1333 | --x-incl | --x-inc | --x-in | --x-i)
1334 ac_prev=x_includes ;;
1335 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1336 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1337 x_includes=$ac_optarg ;;
1339 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1340 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1341 ac_prev=x_libraries ;;
1342 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1343 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1344 x_libraries=$ac_optarg ;;
1346 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1347 Try \`$0 --help' for more information"
1350 *=*)
1351 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1352 # Reject names that are not valid shell variable names.
1353 case $ac_envvar in #(
1354 '' | [0-9]* | *[!_$as_cr_alnum]* )
1355 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1356 esac
1357 eval $ac_envvar=\$ac_optarg
1358 export $ac_envvar ;;
1361 # FIXME: should be removed in autoconf 3.0.
1362 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1363 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1364 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1365 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1368 esac
1369 done
1371 if test -n "$ac_prev"; then
1372 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1373 as_fn_error $? "missing argument to $ac_option"
1376 if test -n "$ac_unrecognized_opts"; then
1377 case $enable_option_checking in
1378 no) ;;
1379 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1380 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1381 esac
1384 # Check all directory arguments for consistency.
1385 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1386 datadir sysconfdir sharedstatedir localstatedir includedir \
1387 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1388 libdir localedir mandir
1390 eval ac_val=\$$ac_var
1391 # Remove trailing slashes.
1392 case $ac_val in
1393 */ )
1394 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1395 eval $ac_var=\$ac_val;;
1396 esac
1397 # Be sure to have absolute directory names.
1398 case $ac_val in
1399 [\\/$]* | ?:[\\/]* ) continue;;
1400 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1401 esac
1402 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1403 done
1405 # There might be people who depend on the old broken behavior: `$host'
1406 # used to hold the argument of --host etc.
1407 # FIXME: To remove some day.
1408 build=$build_alias
1409 host=$host_alias
1410 target=$target_alias
1412 # FIXME: To remove some day.
1413 if test "x$host_alias" != x; then
1414 if test "x$build_alias" = x; then
1415 cross_compiling=maybe
1416 elif test "x$build_alias" != "x$host_alias"; then
1417 cross_compiling=yes
1421 ac_tool_prefix=
1422 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1424 test "$silent" = yes && exec 6>/dev/null
1427 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1428 ac_ls_di=`ls -di .` &&
1429 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1430 as_fn_error $? "working directory cannot be determined"
1431 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1432 as_fn_error $? "pwd does not report name of working directory"
1435 # Find the source files, if location was not specified.
1436 if test -z "$srcdir"; then
1437 ac_srcdir_defaulted=yes
1438 # Try the directory containing this script, then the parent directory.
1439 ac_confdir=`$as_dirname -- "$as_myself" ||
1440 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1441 X"$as_myself" : 'X\(//\)[^/]' \| \
1442 X"$as_myself" : 'X\(//\)$' \| \
1443 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1444 $as_echo X"$as_myself" |
1445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 s//\1/
1449 /^X\(\/\/\)[^/].*/{
1450 s//\1/
1453 /^X\(\/\/\)$/{
1454 s//\1/
1457 /^X\(\/\).*/{
1458 s//\1/
1461 s/.*/./; q'`
1462 srcdir=$ac_confdir
1463 if test ! -r "$srcdir/$ac_unique_file"; then
1464 srcdir=..
1466 else
1467 ac_srcdir_defaulted=no
1469 if test ! -r "$srcdir/$ac_unique_file"; then
1470 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1473 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1474 ac_abs_confdir=`(
1475 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1476 pwd)`
1477 # When building in place, set srcdir=.
1478 if test "$ac_abs_confdir" = "$ac_pwd"; then
1479 srcdir=.
1481 # Remove unnecessary trailing slashes from srcdir.
1482 # Double slashes in file names in object file debugging info
1483 # mess up M-x gdb in Emacs.
1484 case $srcdir in
1485 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1486 esac
1487 for ac_var in $ac_precious_vars; do
1488 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1489 eval ac_env_${ac_var}_value=\$${ac_var}
1490 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1491 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1492 done
1495 # Report the --help message.
1497 if test "$ac_init_help" = "long"; then
1498 # Omit some internal or obsolete options to make the list less imposing.
1499 # This message is too long to be a string in the A/UX 3.1 sh.
1500 cat <<_ACEOF
1501 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1503 Usage: $0 [OPTION]... [VAR=VALUE]...
1505 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1506 VAR=VALUE. See below for descriptions of some of the useful variables.
1508 Defaults for the options are specified in brackets.
1510 Configuration:
1511 -h, --help display this help and exit
1512 --help=short display options specific to this package
1513 --help=recursive display the short help of all the included packages
1514 -V, --version display version information and exit
1515 -q, --quiet, --silent do not print \`checking ...' messages
1516 --cache-file=FILE cache test results in FILE [disabled]
1517 -C, --config-cache alias for \`--cache-file=config.cache'
1518 -n, --no-create do not create output files
1519 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1521 Installation directories:
1522 --prefix=PREFIX install architecture-independent files in PREFIX
1523 [$ac_default_prefix]
1524 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1525 [PREFIX]
1527 By default, \`make install' will install all the files in
1528 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1529 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1530 for instance \`--prefix=\$HOME'.
1532 For better control, use the options below.
1534 Fine tuning of the installation directories:
1535 --bindir=DIR user executables [EPREFIX/bin]
1536 --sbindir=DIR system admin executables [EPREFIX/sbin]
1537 --libexecdir=DIR program executables [EPREFIX/libexec]
1538 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1539 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1540 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1541 --libdir=DIR object code libraries [EPREFIX/lib]
1542 --includedir=DIR C header files [PREFIX/include]
1543 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1544 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1545 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1546 --infodir=DIR info documentation [DATAROOTDIR/info]
1547 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1548 --mandir=DIR man documentation [DATAROOTDIR/man]
1549 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1550 --htmldir=DIR html documentation [DOCDIR]
1551 --dvidir=DIR dvi documentation [DOCDIR]
1552 --pdfdir=DIR pdf documentation [DOCDIR]
1553 --psdir=DIR ps documentation [DOCDIR]
1554 _ACEOF
1556 cat <<\_ACEOF
1558 Program names:
1559 --program-prefix=PREFIX prepend PREFIX to installed program names
1560 --program-suffix=SUFFIX append SUFFIX to installed program names
1561 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1563 System types:
1564 --build=BUILD configure for building on BUILD [guessed]
1565 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1566 --target=TARGET configure for building compilers for TARGET [HOST]
1567 _ACEOF
1570 if test -n "$ac_init_help"; then
1571 case $ac_init_help in
1572 short | recursive ) echo "Configuration of package-unused version-unused:";;
1573 esac
1574 cat <<\_ACEOF
1576 Optional Features:
1577 --disable-option-checking ignore unrecognized --enable/--with options
1578 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1579 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1580 --enable-multilib build many library versions (default)
1581 --enable-silent-rules less verbose build output (undo: "make V=1")
1582 --disable-silent-rules verbose build output (undo: "make V=0")
1583 --disable-largefile omit support for large files
1584 --enable-maintainer-mode
1585 enable make rules and dependencies not useful (and
1586 sometimes confusing) to the casual installer
1587 --enable-shared[=PKGS] build shared libraries [default=yes]
1588 --enable-static[=PKGS] build static libraries [default=yes]
1589 --enable-fast-install[=PKGS]
1590 optimize for fast installation [default=yes]
1591 --disable-libtool-lock avoid locking (might break parallel builds)
1592 --disable-hosted-libstdcxx
1593 only build freestanding C++ runtime support
1594 --disable-libstdcxx-verbose
1595 disable termination messages to standard error
1596 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1597 [default=$is_hosted]
1598 --enable-cstdio[=PACKAGE]
1599 use target-specific I/O package [default=stdio]
1600 --enable-clocale[=MODEL]
1601 use MODEL for target locale package [default=auto]
1602 --enable-nls use Native Language Support (default)
1603 --enable-libstdcxx-allocator[=KIND]
1604 use KIND for target std::allocator base
1605 [default=auto]
1606 --enable-cheaders[=KIND]
1607 construct "C" headers for g++ [default=$c_model]
1608 --enable-long-long enable template specializations for 'long long'
1609 [default=yes]
1610 --enable-wchar_t enable template specializations for 'wchar_t'
1611 [default=yes]
1612 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1613 --enable-concept-checks use Boost-derived template checks [default=no]
1614 --enable-libstdcxx-debug-flags=FLAGS
1615 pass compiler FLAGS when building debug library
1616 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1617 --enable-libstdcxx-debug
1618 build extra debug library [default=no]
1619 --enable-cxx-flags=FLAGS
1620 pass compiler FLAGS when building library [default=]
1621 --enable-fully-dynamic-string
1622 do not put empty strings in per-process static
1623 memory [default=no]
1624 --enable-extern-template
1625 enable extern template [default=yes]
1626 --enable-werror turns on -Werror [default=no]
1627 --enable-vtable-verify enable vtable verify [default=no]
1628 --enable-libstdcxx-time[=KIND]
1629 use KIND for check type [default=auto]
1630 --enable-tls Use thread-local storage [default=yes]
1631 --disable-rpath do not hardcode runtime library paths
1632 --enable-linux-futex use the Linux futex system call [default=default]
1633 --enable-symvers[=STYLE]
1634 enables symbol versioning of the shared library
1635 [default=yes]
1636 --enable-libstdcxx-visibility
1637 enables visibility safe usage [default=yes]
1638 --enable-libstdcxx-dual-abi
1639 support two versions of std::string [default=yes]
1640 --enable-libstdcxx-threads
1641 enable C++11 threads support [default=auto]
1642 --enable-libstdcxx-filesystem-ts
1643 turns on ISO/IEC TS 18822 support [default=auto]
1644 --enable-cet enable Intel CET in target libraries [default=no]
1645 --enable-version-specific-runtime-libs
1646 Specify that runtime libraries should be installed
1647 in a compiler-specific directory
1649 Optional Packages:
1650 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1651 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1652 --with-target-subdir=SUBDIR
1653 configuring in a subdirectory
1654 --with-cross-host=HOST configuring with a cross compiler
1655 --with-newlib assume newlib as a system C library
1656 --with-pic try to use only PIC/non-PIC objects [default=use
1657 both]
1658 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1659 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1660 synchronization policy for shared_ptr reference
1661 counting [default=auto]
1662 --with-python-dir the location to install Python modules. This path is
1663 relative starting from the prefix.
1664 --with-gnu-ld assume the C compiler uses GNU ld default=no
1665 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1666 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1667 --with-system-libunwind use installed libunwind
1668 --with-default-libstdcxx-abi
1669 set the std::string ABI to use by default
1670 --with-gxx-include-dir=DIR
1671 installation directory for include files
1672 --with-gcc-major-version-only
1673 use only GCC major number in filesystem paths
1675 Some influential environment variables:
1676 CC C compiler command
1677 CFLAGS C compiler flags
1678 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1679 nonstandard directory <lib dir>
1680 LIBS libraries to pass to the linker, e.g. -l<library>
1681 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1682 you have headers in a nonstandard directory <include dir>
1683 CXX C++ compiler command
1684 CXXFLAGS C++ compiler flags
1685 CPP C preprocessor
1686 CXXCPP C++ preprocessor
1687 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1688 `c++filt', `gc++filt' on PATH.
1690 Use these variables to override the choices made by `configure' or to help
1691 it to find libraries and programs with nonstandard names/locations.
1693 Report bugs to the package provider.
1694 _ACEOF
1695 ac_status=$?
1698 if test "$ac_init_help" = "recursive"; then
1699 # If there are subdirs, report their specific --help.
1700 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1701 test -d "$ac_dir" ||
1702 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1703 continue
1704 ac_builddir=.
1706 case "$ac_dir" in
1707 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1709 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1710 # A ".." for each directory in $ac_dir_suffix.
1711 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1712 case $ac_top_builddir_sub in
1713 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1715 esac ;;
1716 esac
1717 ac_abs_top_builddir=$ac_pwd
1718 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1719 # for backward compatibility:
1720 ac_top_builddir=$ac_top_build_prefix
1722 case $srcdir in
1723 .) # We are building in place.
1724 ac_srcdir=.
1725 ac_top_srcdir=$ac_top_builddir_sub
1726 ac_abs_top_srcdir=$ac_pwd ;;
1727 [\\/]* | ?:[\\/]* ) # Absolute name.
1728 ac_srcdir=$srcdir$ac_dir_suffix;
1729 ac_top_srcdir=$srcdir
1730 ac_abs_top_srcdir=$srcdir ;;
1731 *) # Relative name.
1732 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1733 ac_top_srcdir=$ac_top_build_prefix$srcdir
1734 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1735 esac
1736 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1738 cd "$ac_dir" || { ac_status=$?; continue; }
1739 # Check for guested configure.
1740 if test -f "$ac_srcdir/configure.gnu"; then
1741 echo &&
1742 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1743 elif test -f "$ac_srcdir/configure"; then
1744 echo &&
1745 $SHELL "$ac_srcdir/configure" --help=recursive
1746 else
1747 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1748 fi || ac_status=$?
1749 cd "$ac_pwd" || { ac_status=$?; break; }
1750 done
1753 test -n "$ac_init_help" && exit $ac_status
1754 if $ac_init_version; then
1755 cat <<\_ACEOF
1756 package-unused configure version-unused
1757 generated by GNU Autoconf 2.69
1759 Copyright (C) 2012 Free Software Foundation, Inc.
1760 This configure script is free software; the Free Software Foundation
1761 gives unlimited permission to copy, distribute and modify it.
1762 _ACEOF
1763 exit
1766 ## ------------------------ ##
1767 ## Autoconf initialization. ##
1768 ## ------------------------ ##
1770 # ac_fn_c_try_compile LINENO
1771 # --------------------------
1772 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1773 ac_fn_c_try_compile ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 rm -f conftest.$ac_objext
1777 if { { ac_try="$ac_compile"
1778 case "(($ac_try" in
1779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780 *) ac_try_echo=$ac_try;;
1781 esac
1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_compile") 2>conftest.err
1785 ac_status=$?
1786 if test -s conftest.err; then
1787 grep -v '^ *+' conftest.err >conftest.er1
1788 cat conftest.er1 >&5
1789 mv -f conftest.er1 conftest.err
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && {
1793 test -z "$ac_c_werror_flag" ||
1794 test ! -s conftest.err
1795 } && test -s conftest.$ac_objext; then :
1796 ac_retval=0
1797 else
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1801 ac_retval=1
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 as_fn_set_status $ac_retval
1806 } # ac_fn_c_try_compile
1808 # ac_fn_cxx_try_compile LINENO
1809 # ----------------------------
1810 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1811 ac_fn_cxx_try_compile ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 rm -f conftest.$ac_objext
1815 if { { ac_try="$ac_compile"
1816 case "(($ac_try" in
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1819 esac
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_compile") 2>conftest.err
1823 ac_status=$?
1824 if test -s conftest.err; then
1825 grep -v '^ *+' conftest.err >conftest.er1
1826 cat conftest.er1 >&5
1827 mv -f conftest.er1 conftest.err
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && {
1831 test -z "$ac_cxx_werror_flag" ||
1832 test ! -s conftest.err
1833 } && test -s conftest.$ac_objext; then :
1834 ac_retval=0
1835 else
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1839 ac_retval=1
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status $ac_retval
1844 } # ac_fn_cxx_try_compile
1846 # ac_fn_c_try_cpp LINENO
1847 # ----------------------
1848 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1849 ac_fn_c_try_cpp ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 if { { ac_try="$ac_cpp conftest.$ac_ext"
1853 case "(($ac_try" in
1854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1856 esac
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1860 ac_status=$?
1861 if test -s conftest.err; then
1862 grep -v '^ *+' conftest.err >conftest.er1
1863 cat conftest.er1 >&5
1864 mv -f conftest.er1 conftest.err
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; } > conftest.i && {
1868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1869 test ! -s conftest.err
1870 }; then :
1871 ac_retval=0
1872 else
1873 $as_echo "$as_me: failed program was:" >&5
1874 sed 's/^/| /' conftest.$ac_ext >&5
1876 ac_retval=1
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 as_fn_set_status $ac_retval
1881 } # ac_fn_c_try_cpp
1883 # ac_fn_c_try_link LINENO
1884 # -----------------------
1885 # Try to link conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_c_try_link ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 rm -f conftest.$ac_objext conftest$ac_exeext
1890 if { { ac_try="$ac_link"
1891 case "(($ac_try" in
1892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1894 esac
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_link") 2>conftest.err
1898 ac_status=$?
1899 if test -s conftest.err; then
1900 grep -v '^ *+' conftest.err >conftest.er1
1901 cat conftest.er1 >&5
1902 mv -f conftest.er1 conftest.err
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && {
1906 test -z "$ac_c_werror_flag" ||
1907 test ! -s conftest.err
1908 } && test -s conftest$ac_exeext && {
1909 test "$cross_compiling" = yes ||
1910 test -x conftest$ac_exeext
1911 }; then :
1912 ac_retval=0
1913 else
1914 $as_echo "$as_me: failed program was:" >&5
1915 sed 's/^/| /' conftest.$ac_ext >&5
1917 ac_retval=1
1919 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1920 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1921 # interfere with the next link command; also delete a directory that is
1922 # left behind by Apple's compiler. We do this before executing the actions.
1923 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 as_fn_set_status $ac_retval
1927 } # ac_fn_c_try_link
1929 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1930 # -------------------------------------------------------
1931 # Tests whether HEADER exists and can be compiled using the include files in
1932 # INCLUDES, setting the cache variable VAR accordingly.
1933 ac_fn_c_check_header_compile ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if eval \${$3+:} false; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1944 #include <$2>
1945 _ACEOF
1946 if ac_fn_c_try_compile "$LINENO"; then :
1947 eval "$3=yes"
1948 else
1949 eval "$3=no"
1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1953 eval ac_res=\$$3
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 } # ac_fn_c_check_header_compile
1960 # ac_fn_c_try_run LINENO
1961 # ----------------------
1962 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1963 # that executables *can* be run.
1964 ac_fn_c_try_run ()
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 if { { ac_try="$ac_link"
1968 case "(($ac_try" in
1969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1970 *) ac_try_echo=$ac_try;;
1971 esac
1972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973 $as_echo "$ac_try_echo"; } >&5
1974 (eval "$ac_link") 2>&5
1975 ac_status=$?
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1978 { { case "(($ac_try" in
1979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1980 *) ac_try_echo=$ac_try;;
1981 esac
1982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_try") 2>&5
1985 ac_status=$?
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; }; }; then :
1988 ac_retval=0
1989 else
1990 $as_echo "$as_me: program exited with status $ac_status" >&5
1991 $as_echo "$as_me: failed program was:" >&5
1992 sed 's/^/| /' conftest.$ac_ext >&5
1994 ac_retval=$ac_status
1996 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 as_fn_set_status $ac_retval
2000 } # ac_fn_c_try_run
2002 # ac_fn_c_check_func LINENO FUNC VAR
2003 # ----------------------------------
2004 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2005 ac_fn_c_check_func ()
2007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2009 $as_echo_n "checking for $2... " >&6; }
2010 if eval \${$3+:} false; then :
2011 $as_echo_n "(cached) " >&6
2012 else
2013 if test x$gcc_no_link = xyes; then
2014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2018 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2020 #define $2 innocuous_$2
2022 /* System header to define __stub macros and hopefully few prototypes,
2023 which can conflict with char $2 (); below.
2024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025 <limits.h> exists even on freestanding compilers. */
2027 #ifdef __STDC__
2028 # include <limits.h>
2029 #else
2030 # include <assert.h>
2031 #endif
2033 #undef $2
2035 /* Override any GCC internal prototype to avoid an error.
2036 Use char because int might match the return type of a GCC
2037 builtin and then its argument prototype would still apply. */
2038 #ifdef __cplusplus
2039 extern "C"
2040 #endif
2041 char $2 ();
2042 /* The GNU C library defines this for functions which it implements
2043 to always fail with ENOSYS. Some functions are actually named
2044 something starting with __ and the normal name is an alias. */
2045 #if defined __stub_$2 || defined __stub___$2
2046 choke me
2047 #endif
2050 main ()
2052 return $2 ();
2054 return 0;
2056 _ACEOF
2057 if ac_fn_c_try_link "$LINENO"; then :
2058 eval "$3=yes"
2059 else
2060 eval "$3=no"
2062 rm -f core conftest.err conftest.$ac_objext \
2063 conftest$ac_exeext conftest.$ac_ext
2065 eval ac_res=\$$3
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067 $as_echo "$ac_res" >&6; }
2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070 } # ac_fn_c_check_func
2072 # ac_fn_cxx_try_cpp LINENO
2073 # ------------------------
2074 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2075 ac_fn_cxx_try_cpp ()
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078 if { { ac_try="$ac_cpp conftest.$ac_ext"
2079 case "(($ac_try" in
2080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2081 *) ac_try_echo=$ac_try;;
2082 esac
2083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2084 $as_echo "$ac_try_echo"; } >&5
2085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2086 ac_status=$?
2087 if test -s conftest.err; then
2088 grep -v '^ *+' conftest.err >conftest.er1
2089 cat conftest.er1 >&5
2090 mv -f conftest.er1 conftest.err
2092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2093 test $ac_status = 0; } > conftest.i && {
2094 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2095 test ! -s conftest.err
2096 }; then :
2097 ac_retval=0
2098 else
2099 $as_echo "$as_me: failed program was:" >&5
2100 sed 's/^/| /' conftest.$ac_ext >&5
2102 ac_retval=1
2104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 as_fn_set_status $ac_retval
2107 } # ac_fn_cxx_try_cpp
2109 # ac_fn_cxx_try_link LINENO
2110 # -------------------------
2111 # Try to link conftest.$ac_ext, and return whether this succeeded.
2112 ac_fn_cxx_try_link ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 rm -f conftest.$ac_objext conftest$ac_exeext
2116 if { { ac_try="$ac_link"
2117 case "(($ac_try" in
2118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119 *) ac_try_echo=$ac_try;;
2120 esac
2121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123 (eval "$ac_link") 2>conftest.err
2124 ac_status=$?
2125 if test -s conftest.err; then
2126 grep -v '^ *+' conftest.err >conftest.er1
2127 cat conftest.er1 >&5
2128 mv -f conftest.er1 conftest.err
2130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131 test $ac_status = 0; } && {
2132 test -z "$ac_cxx_werror_flag" ||
2133 test ! -s conftest.err
2134 } && test -s conftest$ac_exeext && {
2135 test "$cross_compiling" = yes ||
2136 test -x conftest$ac_exeext
2137 }; then :
2138 ac_retval=0
2139 else
2140 $as_echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2143 ac_retval=1
2145 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2146 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2147 # interfere with the next link command; also delete a directory that is
2148 # left behind by Apple's compiler. We do this before executing the actions.
2149 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2151 as_fn_set_status $ac_retval
2153 } # ac_fn_cxx_try_link
2155 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2156 # -------------------------------------------------------
2157 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2158 # the include files in INCLUDES and setting the cache variable VAR
2159 # accordingly.
2160 ac_fn_c_check_header_mongrel ()
2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163 if eval \${$3+:} false; then :
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2165 $as_echo_n "checking for $2... " >&6; }
2166 if eval \${$3+:} false; then :
2167 $as_echo_n "(cached) " >&6
2169 eval ac_res=\$$3
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2171 $as_echo "$ac_res" >&6; }
2172 else
2173 # Is the header compilable?
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2175 $as_echo_n "checking $2 usability... " >&6; }
2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2179 #include <$2>
2180 _ACEOF
2181 if ac_fn_c_try_compile "$LINENO"; then :
2182 ac_header_compiler=yes
2183 else
2184 ac_header_compiler=no
2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2188 $as_echo "$ac_header_compiler" >&6; }
2190 # Is the header present?
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2192 $as_echo_n "checking $2 presence... " >&6; }
2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2195 #include <$2>
2196 _ACEOF
2197 if ac_fn_c_try_cpp "$LINENO"; then :
2198 ac_header_preproc=yes
2199 else
2200 ac_header_preproc=no
2202 rm -f conftest.err conftest.i conftest.$ac_ext
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2204 $as_echo "$ac_header_preproc" >&6; }
2206 # So? What about this header?
2207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2208 yes:no: )
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2210 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2212 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2214 no:yes:* )
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2216 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2218 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2220 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2222 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2224 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2226 esac
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228 $as_echo_n "checking for $2... " >&6; }
2229 if eval \${$3+:} false; then :
2230 $as_echo_n "(cached) " >&6
2231 else
2232 eval "$3=\$ac_header_compiler"
2234 eval ac_res=\$$3
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2236 $as_echo "$ac_res" >&6; }
2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240 } # ac_fn_c_check_header_mongrel
2242 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2243 # ---------------------------------------------------------
2244 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2245 # the include files in INCLUDES and setting the cache variable VAR
2246 # accordingly.
2247 ac_fn_cxx_check_header_mongrel ()
2249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250 if eval \${$3+:} false; then :
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2252 $as_echo_n "checking for $2... " >&6; }
2253 if eval \${$3+:} false; then :
2254 $as_echo_n "(cached) " >&6
2256 eval ac_res=\$$3
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2258 $as_echo "$ac_res" >&6; }
2259 else
2260 # Is the header compilable?
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2262 $as_echo_n "checking $2 usability... " >&6; }
2263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264 /* end confdefs.h. */
2266 #include <$2>
2267 _ACEOF
2268 if ac_fn_cxx_try_compile "$LINENO"; then :
2269 ac_header_compiler=yes
2270 else
2271 ac_header_compiler=no
2273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2275 $as_echo "$ac_header_compiler" >&6; }
2277 # Is the header present?
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2279 $as_echo_n "checking $2 presence... " >&6; }
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2282 #include <$2>
2283 _ACEOF
2284 if ac_fn_cxx_try_cpp "$LINENO"; then :
2285 ac_header_preproc=yes
2286 else
2287 ac_header_preproc=no
2289 rm -f conftest.err conftest.i conftest.$ac_ext
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2291 $as_echo "$ac_header_preproc" >&6; }
2293 # So? What about this header?
2294 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2295 yes:no: )
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2297 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2299 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2301 no:yes:* )
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2303 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2305 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2307 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2309 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2311 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2313 esac
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2315 $as_echo_n "checking for $2... " >&6; }
2316 if eval \${$3+:} false; then :
2317 $as_echo_n "(cached) " >&6
2318 else
2319 eval "$3=\$ac_header_compiler"
2321 eval ac_res=\$$3
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2323 $as_echo "$ac_res" >&6; }
2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 } # ac_fn_cxx_check_header_mongrel
2329 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2330 # --------------------------------------------
2331 # Tries to find the compile-time value of EXPR in a program that includes
2332 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2333 # computed
2334 ac_fn_c_compute_int ()
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 if test "$cross_compiling" = yes; then
2338 # Depending upon the size, compute the lo and hi bounds.
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2343 main ()
2345 static int test_array [1 - 2 * !(($2) >= 0)];
2346 test_array [0] = 0;
2347 return test_array [0];
2350 return 0;
2352 _ACEOF
2353 if ac_fn_c_try_compile "$LINENO"; then :
2354 ac_lo=0 ac_mid=0
2355 while :; do
2356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2357 /* end confdefs.h. */
2360 main ()
2362 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2363 test_array [0] = 0;
2364 return test_array [0];
2367 return 0;
2369 _ACEOF
2370 if ac_fn_c_try_compile "$LINENO"; then :
2371 ac_hi=$ac_mid; break
2372 else
2373 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2374 if test $ac_lo -le $ac_mid; then
2375 ac_lo= ac_hi=
2376 break
2378 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 done
2382 else
2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384 /* end confdefs.h. */
2387 main ()
2389 static int test_array [1 - 2 * !(($2) < 0)];
2390 test_array [0] = 0;
2391 return test_array [0];
2394 return 0;
2396 _ACEOF
2397 if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_hi=-1 ac_mid=-1
2399 while :; do
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2404 main ()
2406 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2407 test_array [0] = 0;
2408 return test_array [0];
2411 return 0;
2413 _ACEOF
2414 if ac_fn_c_try_compile "$LINENO"; then :
2415 ac_lo=$ac_mid; break
2416 else
2417 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2418 if test $ac_mid -le $ac_hi; then
2419 ac_lo= ac_hi=
2420 break
2422 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 done
2426 else
2427 ac_lo= ac_hi=
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 # Binary search between lo and hi bounds.
2433 while test "x$ac_lo" != "x$ac_hi"; do
2434 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2439 main ()
2441 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2442 test_array [0] = 0;
2443 return test_array [0];
2446 return 0;
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450 ac_hi=$ac_mid
2451 else
2452 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 done
2456 case $ac_lo in #((
2457 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2458 '') ac_retval=1 ;;
2459 esac
2460 else
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2464 static long int longval () { return $2; }
2465 static unsigned long int ulongval () { return $2; }
2466 #include <stdio.h>
2467 #include <stdlib.h>
2469 main ()
2472 FILE *f = fopen ("conftest.val", "w");
2473 if (! f)
2474 return 1;
2475 if (($2) < 0)
2477 long int i = longval ();
2478 if (i != ($2))
2479 return 1;
2480 fprintf (f, "%ld", i);
2482 else
2484 unsigned long int i = ulongval ();
2485 if (i != ($2))
2486 return 1;
2487 fprintf (f, "%lu", i);
2489 /* Do not output a trailing newline, as this causes \r\n confusion
2490 on some platforms. */
2491 return ferror (f) || fclose (f) != 0;
2494 return 0;
2496 _ACEOF
2497 if ac_fn_c_try_run "$LINENO"; then :
2498 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2499 else
2500 ac_retval=1
2502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2503 conftest.$ac_objext conftest.beam conftest.$ac_ext
2504 rm -f conftest.val
2507 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2508 as_fn_set_status $ac_retval
2510 } # ac_fn_c_compute_int
2512 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2513 # -------------------------------------------
2514 # Tests whether TYPE exists after having included INCLUDES, setting cache
2515 # variable VAR accordingly.
2516 ac_fn_c_check_type ()
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2520 $as_echo_n "checking for $2... " >&6; }
2521 if eval \${$3+:} false; then :
2522 $as_echo_n "(cached) " >&6
2523 else
2524 eval "$3=no"
2525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2526 /* end confdefs.h. */
2529 main ()
2531 if (sizeof ($2))
2532 return 0;
2534 return 0;
2536 _ACEOF
2537 if ac_fn_c_try_compile "$LINENO"; then :
2538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2539 /* end confdefs.h. */
2542 main ()
2544 if (sizeof (($2)))
2545 return 0;
2547 return 0;
2549 _ACEOF
2550 if ac_fn_c_try_compile "$LINENO"; then :
2552 else
2553 eval "$3=yes"
2555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2559 eval ac_res=\$$3
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2561 $as_echo "$ac_res" >&6; }
2562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2564 } # ac_fn_c_check_type
2566 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2567 # ---------------------------------------------
2568 # Tests whether TYPE exists after having included INCLUDES, setting cache
2569 # variable VAR accordingly.
2570 ac_fn_cxx_check_type ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2574 $as_echo_n "checking for $2... " >&6; }
2575 if eval \${$3+:} false; then :
2576 $as_echo_n "(cached) " >&6
2577 else
2578 eval "$3=no"
2579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2583 main ()
2585 if (sizeof ($2))
2586 return 0;
2588 return 0;
2590 _ACEOF
2591 if ac_fn_cxx_try_compile "$LINENO"; then :
2592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2593 /* end confdefs.h. */
2596 main ()
2598 if (sizeof (($2)))
2599 return 0;
2601 return 0;
2603 _ACEOF
2604 if ac_fn_cxx_try_compile "$LINENO"; then :
2606 else
2607 eval "$3=yes"
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2613 eval ac_res=\$$3
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2615 $as_echo "$ac_res" >&6; }
2616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 } # ac_fn_cxx_check_type
2619 cat >config.log <<_ACEOF
2620 This file contains any messages produced by compilers while
2621 running configure, to aid debugging if configure makes a mistake.
2623 It was created by package-unused $as_me version-unused, which was
2624 generated by GNU Autoconf 2.69. Invocation command line was
2626 $ $0 $@
2628 _ACEOF
2629 exec 5>>config.log
2631 cat <<_ASUNAME
2632 ## --------- ##
2633 ## Platform. ##
2634 ## --------- ##
2636 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2637 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2638 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2639 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2640 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2642 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2643 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2645 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2646 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2647 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2648 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2649 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2650 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2651 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2653 _ASUNAME
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 for as_dir in $PATH
2658 IFS=$as_save_IFS
2659 test -z "$as_dir" && as_dir=.
2660 $as_echo "PATH: $as_dir"
2661 done
2662 IFS=$as_save_IFS
2664 } >&5
2666 cat >&5 <<_ACEOF
2669 ## ----------- ##
2670 ## Core tests. ##
2671 ## ----------- ##
2673 _ACEOF
2676 # Keep a trace of the command line.
2677 # Strip out --no-create and --no-recursion so they do not pile up.
2678 # Strip out --silent because we don't want to record it for future runs.
2679 # Also quote any args containing shell meta-characters.
2680 # Make two passes to allow for proper duplicate-argument suppression.
2681 ac_configure_args=
2682 ac_configure_args0=
2683 ac_configure_args1=
2684 ac_must_keep_next=false
2685 for ac_pass in 1 2
2687 for ac_arg
2689 case $ac_arg in
2690 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2692 | -silent | --silent | --silen | --sile | --sil)
2693 continue ;;
2694 *\'*)
2695 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2696 esac
2697 case $ac_pass in
2698 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2700 as_fn_append ac_configure_args1 " '$ac_arg'"
2701 if test $ac_must_keep_next = true; then
2702 ac_must_keep_next=false # Got value, back to normal.
2703 else
2704 case $ac_arg in
2705 *=* | --config-cache | -C | -disable-* | --disable-* \
2706 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2707 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2708 | -with-* | --with-* | -without-* | --without-* | --x)
2709 case "$ac_configure_args0 " in
2710 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2711 esac
2713 -* ) ac_must_keep_next=true ;;
2714 esac
2716 as_fn_append ac_configure_args " '$ac_arg'"
2718 esac
2719 done
2720 done
2721 { ac_configure_args0=; unset ac_configure_args0;}
2722 { ac_configure_args1=; unset ac_configure_args1;}
2724 # When interrupted or exit'd, cleanup temporary files, and complete
2725 # config.log. We remove comments because anyway the quotes in there
2726 # would cause problems or look ugly.
2727 # WARNING: Use '\'' to represent an apostrophe within the trap.
2728 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2729 trap 'exit_status=$?
2730 # Save into config.log some information that might help in debugging.
2732 echo
2734 $as_echo "## ---------------- ##
2735 ## Cache variables. ##
2736 ## ---------------- ##"
2737 echo
2738 # The following way of writing the cache mishandles newlines in values,
2740 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2741 eval ac_val=\$$ac_var
2742 case $ac_val in #(
2743 *${as_nl}*)
2744 case $ac_var in #(
2745 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2746 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2747 esac
2748 case $ac_var in #(
2749 _ | IFS | as_nl) ;; #(
2750 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2751 *) { eval $ac_var=; unset $ac_var;} ;;
2752 esac ;;
2753 esac
2754 done
2755 (set) 2>&1 |
2756 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2757 *${as_nl}ac_space=\ *)
2758 sed -n \
2759 "s/'\''/'\''\\\\'\'''\''/g;
2760 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2761 ;; #(
2763 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2765 esac |
2766 sort
2768 echo
2770 $as_echo "## ----------------- ##
2771 ## Output variables. ##
2772 ## ----------------- ##"
2773 echo
2774 for ac_var in $ac_subst_vars
2776 eval ac_val=\$$ac_var
2777 case $ac_val in
2778 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2779 esac
2780 $as_echo "$ac_var='\''$ac_val'\''"
2781 done | sort
2782 echo
2784 if test -n "$ac_subst_files"; then
2785 $as_echo "## ------------------- ##
2786 ## File substitutions. ##
2787 ## ------------------- ##"
2788 echo
2789 for ac_var in $ac_subst_files
2791 eval ac_val=\$$ac_var
2792 case $ac_val in
2793 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2794 esac
2795 $as_echo "$ac_var='\''$ac_val'\''"
2796 done | sort
2797 echo
2800 if test -s confdefs.h; then
2801 $as_echo "## ----------- ##
2802 ## confdefs.h. ##
2803 ## ----------- ##"
2804 echo
2805 cat confdefs.h
2806 echo
2808 test "$ac_signal" != 0 &&
2809 $as_echo "$as_me: caught signal $ac_signal"
2810 $as_echo "$as_me: exit $exit_status"
2811 } >&5
2812 rm -f core *.core core.conftest.* &&
2813 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2814 exit $exit_status
2816 for ac_signal in 1 2 13 15; do
2817 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2818 done
2819 ac_signal=0
2821 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2822 rm -f -r conftest* confdefs.h
2824 $as_echo "/* confdefs.h */" > confdefs.h
2826 # Predefined preprocessor variables.
2828 cat >>confdefs.h <<_ACEOF
2829 #define PACKAGE_NAME "$PACKAGE_NAME"
2830 _ACEOF
2832 cat >>confdefs.h <<_ACEOF
2833 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2834 _ACEOF
2836 cat >>confdefs.h <<_ACEOF
2837 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2838 _ACEOF
2840 cat >>confdefs.h <<_ACEOF
2841 #define PACKAGE_STRING "$PACKAGE_STRING"
2842 _ACEOF
2844 cat >>confdefs.h <<_ACEOF
2845 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2846 _ACEOF
2848 cat >>confdefs.h <<_ACEOF
2849 #define PACKAGE_URL "$PACKAGE_URL"
2850 _ACEOF
2853 # Let the site file select an alternate cache file if it wants to.
2854 # Prefer an explicitly selected file to automatically selected ones.
2855 ac_site_file1=NONE
2856 ac_site_file2=NONE
2857 if test -n "$CONFIG_SITE"; then
2858 # We do not want a PATH search for config.site.
2859 case $CONFIG_SITE in #((
2860 -*) ac_site_file1=./$CONFIG_SITE;;
2861 */*) ac_site_file1=$CONFIG_SITE;;
2862 *) ac_site_file1=./$CONFIG_SITE;;
2863 esac
2864 elif test "x$prefix" != xNONE; then
2865 ac_site_file1=$prefix/share/config.site
2866 ac_site_file2=$prefix/etc/config.site
2867 else
2868 ac_site_file1=$ac_default_prefix/share/config.site
2869 ac_site_file2=$ac_default_prefix/etc/config.site
2871 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2873 test "x$ac_site_file" = xNONE && continue
2874 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2876 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2877 sed 's/^/| /' "$ac_site_file" >&5
2878 . "$ac_site_file" \
2879 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2881 as_fn_error $? "failed to load site script $ac_site_file
2882 See \`config.log' for more details" "$LINENO" 5; }
2884 done
2886 if test -r "$cache_file"; then
2887 # Some versions of bash will fail to source /dev/null (special files
2888 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2889 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2891 $as_echo "$as_me: loading cache $cache_file" >&6;}
2892 case $cache_file in
2893 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2894 *) . "./$cache_file";;
2895 esac
2897 else
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2899 $as_echo "$as_me: creating cache $cache_file" >&6;}
2900 >$cache_file
2903 # Check that the precious variables saved in the cache have kept the same
2904 # value.
2905 ac_cache_corrupted=false
2906 for ac_var in $ac_precious_vars; do
2907 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2908 eval ac_new_set=\$ac_env_${ac_var}_set
2909 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2910 eval ac_new_val=\$ac_env_${ac_var}_value
2911 case $ac_old_set,$ac_new_set in
2912 set,)
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2914 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2915 ac_cache_corrupted=: ;;
2916 ,set)
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2918 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2919 ac_cache_corrupted=: ;;
2920 ,);;
2922 if test "x$ac_old_val" != "x$ac_new_val"; then
2923 # differences in whitespace do not lead to failure.
2924 ac_old_val_w=`echo x $ac_old_val`
2925 ac_new_val_w=`echo x $ac_new_val`
2926 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2928 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2929 ac_cache_corrupted=:
2930 else
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2932 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2933 eval $ac_var=\$ac_old_val
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2936 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2938 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2939 fi;;
2940 esac
2941 # Pass precious variables to config.status.
2942 if test "$ac_new_set" = set; then
2943 case $ac_new_val in
2944 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2945 *) ac_arg=$ac_var=$ac_new_val ;;
2946 esac
2947 case " $ac_configure_args " in
2948 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2949 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2950 esac
2952 done
2953 if $ac_cache_corrupted; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2957 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2958 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2960 ## -------------------- ##
2961 ## Main body of script. ##
2962 ## -------------------- ##
2964 ac_ext=c
2965 ac_cpp='$CPP $CPPFLAGS'
2966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2975 ac_config_headers="$ac_config_headers config.h"
2978 # This works around the fact that libtool configuration may change LD
2979 # for this particular configuration, but some shells, instead of
2980 # keeping the changes in LD private, export them just because LD is
2981 # exported. Only used at the end of this file.
2982 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2984 # Find the rest of the source tree framework.
2985 # Default to --enable-multilib
2986 # Check whether --enable-multilib was given.
2987 if test "${enable_multilib+set}" = set; then :
2988 enableval=$enable_multilib; case "$enableval" in
2989 yes) multilib=yes ;;
2990 no) multilib=no ;;
2991 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2992 esac
2993 else
2994 multilib=yes
2998 # We may get other options which we leave undocumented:
2999 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3000 # See config-ml.in if you want the gory details.
3002 if test "$srcdir" = "."; then
3003 if test "$with_target_subdir" != "."; then
3004 multi_basedir="$srcdir/$with_multisrctop../.."
3005 else
3006 multi_basedir="$srcdir/$with_multisrctop.."
3008 else
3009 multi_basedir="$srcdir/.."
3013 # Even if the default multilib is not a cross compilation,
3014 # it may be that some of the other multilibs are.
3015 if test $cross_compiling = no && test $multilib = yes \
3016 && test "x${with_multisubdir}" != x ; then
3017 cross_compiling=maybe
3020 ac_config_commands="$ac_config_commands default-1"
3023 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3025 # You will slowly go insane if you do not grok the following fact: when
3026 # building v3 as part of the compiler, the top-level /target/ becomes the
3027 # library's /host/. configure then causes --target to default to --host,
3028 # exactly like any other package using autoconf. Therefore, 'target' and
3029 # 'host' will always be the same. This makes sense both for native and
3030 # cross compilers, just think about it for a little while. :-)
3032 # Also, if v3 is being configured as part of a cross compiler, the top-level
3033 # configure script will pass the "real" host as $with_cross_host.
3035 # Do not delete or change the following two lines. For why, see
3036 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3037 ac_aux_dir=
3038 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3039 if test -f "$ac_dir/install-sh"; then
3040 ac_aux_dir=$ac_dir
3041 ac_install_sh="$ac_aux_dir/install-sh -c"
3042 break
3043 elif test -f "$ac_dir/install.sh"; then
3044 ac_aux_dir=$ac_dir
3045 ac_install_sh="$ac_aux_dir/install.sh -c"
3046 break
3047 elif test -f "$ac_dir/shtool"; then
3048 ac_aux_dir=$ac_dir
3049 ac_install_sh="$ac_aux_dir/shtool install -c"
3050 break
3052 done
3053 if test -z "$ac_aux_dir"; then
3054 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3057 # These three variables are undocumented and unsupported,
3058 # and are intended to be withdrawn in a future Autoconf release.
3059 # They can cause serious problems if a builder's source tree is in a directory
3060 # whose full name contains unusual characters.
3061 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3062 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3063 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3066 # Make sure we can run config.sub.
3067 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3068 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3071 $as_echo_n "checking build system type... " >&6; }
3072 if ${ac_cv_build+:} false; then :
3073 $as_echo_n "(cached) " >&6
3074 else
3075 ac_build_alias=$build_alias
3076 test "x$ac_build_alias" = x &&
3077 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3078 test "x$ac_build_alias" = x &&
3079 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3080 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3081 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3085 $as_echo "$ac_cv_build" >&6; }
3086 case $ac_cv_build in
3087 *-*-*) ;;
3088 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3089 esac
3090 build=$ac_cv_build
3091 ac_save_IFS=$IFS; IFS='-'
3092 set x $ac_cv_build
3093 shift
3094 build_cpu=$1
3095 build_vendor=$2
3096 shift; shift
3097 # Remember, the first character of IFS is used to create $*,
3098 # except with old shells:
3099 build_os=$*
3100 IFS=$ac_save_IFS
3101 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3105 $as_echo_n "checking host system type... " >&6; }
3106 if ${ac_cv_host+:} false; then :
3107 $as_echo_n "(cached) " >&6
3108 else
3109 if test "x$host_alias" = x; then
3110 ac_cv_host=$ac_cv_build
3111 else
3112 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3113 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3118 $as_echo "$ac_cv_host" >&6; }
3119 case $ac_cv_host in
3120 *-*-*) ;;
3121 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3122 esac
3123 host=$ac_cv_host
3124 ac_save_IFS=$IFS; IFS='-'
3125 set x $ac_cv_host
3126 shift
3127 host_cpu=$1
3128 host_vendor=$2
3129 shift; shift
3130 # Remember, the first character of IFS is used to create $*,
3131 # except with old shells:
3132 host_os=$*
3133 IFS=$ac_save_IFS
3134 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3138 $as_echo_n "checking target system type... " >&6; }
3139 if ${ac_cv_target+:} false; then :
3140 $as_echo_n "(cached) " >&6
3141 else
3142 if test "x$target_alias" = x; then
3143 ac_cv_target=$ac_cv_host
3144 else
3145 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3146 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3151 $as_echo "$ac_cv_target" >&6; }
3152 case $ac_cv_target in
3153 *-*-*) ;;
3154 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3155 esac
3156 target=$ac_cv_target
3157 ac_save_IFS=$IFS; IFS='-'
3158 set x $ac_cv_target
3159 shift
3160 target_cpu=$1
3161 target_vendor=$2
3162 shift; shift
3163 # Remember, the first character of IFS is used to create $*,
3164 # except with old shells:
3165 target_os=$*
3166 IFS=$ac_save_IFS
3167 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3170 # The aliases save the names the user supplied, while $host etc.
3171 # will get canonicalized.
3172 test -n "$target_alias" &&
3173 test "$program_prefix$program_suffix$program_transform_name" = \
3174 NONENONEs,x,x, &&
3175 program_prefix=${target_alias}-
3177 target_alias=${target_alias-$host_alias}
3179 # Handy for debugging:
3180 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3182 if test "$build" != "$host"; then
3183 # We are being configured with some form of cross compiler.
3184 GLIBCXX_IS_NATIVE=false
3185 case "$host","$target" in
3186 # Darwin crosses can use the host system's libraries and headers,
3187 # because of the fat library support. Of course, it must be the
3188 # same version of Darwin on both sides. Allow the user to
3189 # just say --target=foo-darwin without a version number to mean
3190 # "the version on this system".
3191 *-*-darwin*,*-*-darwin*)
3192 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3193 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3194 if test $hostos = $targetos -o $targetos = darwin ; then
3195 GLIBCXX_IS_NATIVE=true
3202 esac
3203 else
3204 GLIBCXX_IS_NATIVE=true
3207 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3208 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3209 # 1.x: minimum required version
3210 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3211 # of other PACKAGE_* variables will, however, and there's nothing
3212 # we can do about that; they come from AC_INIT).
3213 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3214 # file in the top srcdir, etc, etc), so stop complaining.
3215 # no-dependencies: turns off auto dependency generation (just for now)
3216 # no-dist: we don't want 'dist' and related rules.
3217 # -Wall: turns on all automake warnings...
3218 # -Wno-portability: ...except this one, since GNU make is now required.
3219 am__api_version='1.15'
3221 # Find a good install program. We prefer a C program (faster),
3222 # so one script is as good as another. But avoid the broken or
3223 # incompatible versions:
3224 # SysV /etc/install, /usr/sbin/install
3225 # SunOS /usr/etc/install
3226 # IRIX /sbin/install
3227 # AIX /bin/install
3228 # AmigaOS /C/install, which installs bootblocks on floppy discs
3229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3232 # OS/2's system install, which has a completely different semantic
3233 # ./install, which can be erroneously created by make from ./install.sh.
3234 # Reject install programs that cannot install multiple files.
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3236 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3237 if test -z "$INSTALL"; then
3238 if ${ac_cv_path_install+:} false; then :
3239 $as_echo_n "(cached) " >&6
3240 else
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 for as_dir in $PATH
3244 IFS=$as_save_IFS
3245 test -z "$as_dir" && as_dir=.
3246 # Account for people who put trailing slashes in PATH elements.
3247 case $as_dir/ in #((
3248 ./ | .// | /[cC]/* | \
3249 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3250 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3251 /usr/ucb/* ) ;;
3253 # OSF1 and SCO ODT 3.0 have their own names for install.
3254 # Don't use installbsd from OSF since it installs stuff as root
3255 # by default.
3256 for ac_prog in ginstall scoinst install; do
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3259 if test $ac_prog = install &&
3260 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3261 # AIX install. It has an incompatible calling convention.
3263 elif test $ac_prog = install &&
3264 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3265 # program-specific install script used by HP pwplus--don't use.
3267 else
3268 rm -rf conftest.one conftest.two conftest.dir
3269 echo one > conftest.one
3270 echo two > conftest.two
3271 mkdir conftest.dir
3272 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3273 test -s conftest.one && test -s conftest.two &&
3274 test -s conftest.dir/conftest.one &&
3275 test -s conftest.dir/conftest.two
3276 then
3277 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3278 break 3
3282 done
3283 done
3285 esac
3287 done
3288 IFS=$as_save_IFS
3290 rm -rf conftest.one conftest.two conftest.dir
3293 if test "${ac_cv_path_install+set}" = set; then
3294 INSTALL=$ac_cv_path_install
3295 else
3296 # As a last resort, use the slow shell script. Don't cache a
3297 # value for INSTALL within a source directory, because that will
3298 # break other packages using the cache if that directory is
3299 # removed, or if the value is a relative name.
3300 INSTALL=$ac_install_sh
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3304 $as_echo "$INSTALL" >&6; }
3306 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3307 # It thinks the first close brace ends the variable substitution.
3308 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3315 $as_echo_n "checking whether build environment is sane... " >&6; }
3316 # Reject unsafe characters in $srcdir or the absolute working directory
3317 # name. Accept space and tab only in the latter.
3318 am_lf='
3320 case `pwd` in
3321 *[\\\"\#\$\&\'\`$am_lf]*)
3322 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3323 esac
3324 case $srcdir in
3325 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3326 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3327 esac
3329 # Do 'set' in a subshell so we don't clobber the current shell's
3330 # arguments. Must try -L first in case configure is actually a
3331 # symlink; some systems play weird games with the mod time of symlinks
3332 # (eg FreeBSD returns the mod time of the symlink's containing
3333 # directory).
3334 if (
3335 am_has_slept=no
3336 for am_try in 1 2; do
3337 echo "timestamp, slept: $am_has_slept" > conftest.file
3338 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3339 if test "$*" = "X"; then
3340 # -L didn't work.
3341 set X `ls -t "$srcdir/configure" conftest.file`
3343 if test "$*" != "X $srcdir/configure conftest.file" \
3344 && test "$*" != "X conftest.file $srcdir/configure"; then
3346 # If neither matched, then we have a broken ls. This can happen
3347 # if, for instance, CONFIG_SHELL is bash and it inherits a
3348 # broken ls alias from the environment. This has actually
3349 # happened. Such a system could not be considered "sane".
3350 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3351 alias in your environment" "$LINENO" 5
3353 if test "$2" = conftest.file || test $am_try -eq 2; then
3354 break
3356 # Just in case.
3357 sleep 1
3358 am_has_slept=yes
3359 done
3360 test "$2" = conftest.file
3362 then
3363 # Ok.
3365 else
3366 as_fn_error $? "newly created file is older than distributed files!
3367 Check your system clock" "$LINENO" 5
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3370 $as_echo "yes" >&6; }
3371 # If we didn't sleep, we still need to ensure time stamps of config.status and
3372 # generated files are strictly newer.
3373 am_sleep_pid=
3374 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3375 ( sleep 1 ) &
3376 am_sleep_pid=$!
3379 rm -f conftest.file
3381 test "$program_prefix" != NONE &&
3382 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3383 # Use a double $ so make ignores it.
3384 test "$program_suffix" != NONE &&
3385 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3386 # Double any \ or $.
3387 # By default was `s,x,x', remove it if useless.
3388 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3389 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3391 # Expand $ac_aux_dir to an absolute path.
3392 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3394 if test x"${MISSING+set}" != xset; then
3395 case $am_aux_dir in
3396 *\ * | *\ *)
3397 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3399 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3400 esac
3402 # Use eval to expand $SHELL
3403 if eval "$MISSING --is-lightweight"; then
3404 am_missing_run="$MISSING "
3405 else
3406 am_missing_run=
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3408 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3411 if test x"${install_sh+set}" != xset; then
3412 case $am_aux_dir in
3413 *\ * | *\ *)
3414 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3416 install_sh="\${SHELL} $am_aux_dir/install-sh"
3417 esac
3420 # Installed binaries are usually stripped using 'strip' when the user
3421 # run "make install-strip". However 'strip' might not be the right
3422 # tool to use in cross-compilation environments, therefore Automake
3423 # will honor the 'STRIP' environment variable to overrule this program.
3424 if test "$cross_compiling" != no; then
3425 if test -n "$ac_tool_prefix"; then
3426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3427 set dummy ${ac_tool_prefix}strip; ac_word=$2
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429 $as_echo_n "checking for $ac_word... " >&6; }
3430 if ${ac_cv_prog_STRIP+:} false; then :
3431 $as_echo_n "(cached) " >&6
3432 else
3433 if test -n "$STRIP"; then
3434 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3435 else
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 for as_dir in $PATH
3439 IFS=$as_save_IFS
3440 test -z "$as_dir" && as_dir=.
3441 for ac_exec_ext in '' $ac_executable_extensions; do
3442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 break 2
3447 done
3448 done
3449 IFS=$as_save_IFS
3453 STRIP=$ac_cv_prog_STRIP
3454 if test -n "$STRIP"; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3456 $as_echo "$STRIP" >&6; }
3457 else
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459 $as_echo "no" >&6; }
3464 if test -z "$ac_cv_prog_STRIP"; then
3465 ac_ct_STRIP=$STRIP
3466 # Extract the first word of "strip", so it can be a program name with args.
3467 set dummy strip; ac_word=$2
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469 $as_echo_n "checking for $ac_word... " >&6; }
3470 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3471 $as_echo_n "(cached) " >&6
3472 else
3473 if test -n "$ac_ct_STRIP"; then
3474 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3475 else
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 for as_dir in $PATH
3479 IFS=$as_save_IFS
3480 test -z "$as_dir" && as_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483 ac_cv_prog_ac_ct_STRIP="strip"
3484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485 break 2
3487 done
3488 done
3489 IFS=$as_save_IFS
3493 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3494 if test -n "$ac_ct_STRIP"; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3496 $as_echo "$ac_ct_STRIP" >&6; }
3497 else
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 $as_echo "no" >&6; }
3502 if test "x$ac_ct_STRIP" = x; then
3503 STRIP=":"
3504 else
3505 case $cross_compiling:$ac_tool_warned in
3506 yes:)
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3509 ac_tool_warned=yes ;;
3510 esac
3511 STRIP=$ac_ct_STRIP
3513 else
3514 STRIP="$ac_cv_prog_STRIP"
3518 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3521 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3522 if test -z "$MKDIR_P"; then
3523 if ${ac_cv_path_mkdir+:} false; then :
3524 $as_echo_n "(cached) " >&6
3525 else
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3529 IFS=$as_save_IFS
3530 test -z "$as_dir" && as_dir=.
3531 for ac_prog in mkdir gmkdir; do
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3534 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3535 'mkdir (GNU coreutils) '* | \
3536 'mkdir (coreutils) '* | \
3537 'mkdir (fileutils) '4.1*)
3538 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3539 break 3;;
3540 esac
3541 done
3542 done
3543 done
3544 IFS=$as_save_IFS
3548 test -d ./--version && rmdir ./--version
3549 if test "${ac_cv_path_mkdir+set}" = set; then
3550 MKDIR_P="$ac_cv_path_mkdir -p"
3551 else
3552 # As a last resort, use the slow shell script. Don't cache a
3553 # value for MKDIR_P within a source directory, because that will
3554 # break other packages using the cache if that directory is
3555 # removed, or if the value is a relative name.
3556 MKDIR_P="$ac_install_sh -d"
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3560 $as_echo "$MKDIR_P" >&6; }
3562 for ac_prog in gawk mawk nawk awk
3564 # Extract the first word of "$ac_prog", so it can be a program name with args.
3565 set dummy $ac_prog; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_AWK+:} false; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$AWK"; then
3572 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_AWK="$ac_prog"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 AWK=$ac_cv_prog_AWK
3592 if test -n "$AWK"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3594 $as_echo "$AWK" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3601 test -n "$AWK" && break
3602 done
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3605 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3606 set x ${MAKE-make}
3607 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3608 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 cat >conftest.make <<\_ACEOF
3612 SHELL = /bin/sh
3613 all:
3614 @echo '@@@%%%=$(MAKE)=@@@%%%'
3615 _ACEOF
3616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3617 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3618 *@@@%%%=?*=@@@%%%*)
3619 eval ac_cv_prog_make_${ac_make}_set=yes;;
3621 eval ac_cv_prog_make_${ac_make}_set=no;;
3622 esac
3623 rm -f conftest.make
3625 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3627 $as_echo "yes" >&6; }
3628 SET_MAKE=
3629 else
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3632 SET_MAKE="MAKE=${MAKE-make}"
3635 rm -rf .tst 2>/dev/null
3636 mkdir .tst 2>/dev/null
3637 if test -d .tst; then
3638 am__leading_dot=.
3639 else
3640 am__leading_dot=_
3642 rmdir .tst 2>/dev/null
3644 # Check whether --enable-silent-rules was given.
3645 if test "${enable_silent_rules+set}" = set; then :
3646 enableval=$enable_silent_rules;
3649 case $enable_silent_rules in # (((
3650 yes) AM_DEFAULT_VERBOSITY=0;;
3651 no) AM_DEFAULT_VERBOSITY=1;;
3652 *) AM_DEFAULT_VERBOSITY=1;;
3653 esac
3654 am_make=${MAKE-make}
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3656 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3657 if ${am_cv_make_support_nested_variables+:} false; then :
3658 $as_echo_n "(cached) " >&6
3659 else
3660 if $as_echo 'TRUE=$(BAR$(V))
3661 BAR0=false
3662 BAR1=true
3664 am__doit:
3665 @$(TRUE)
3666 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3667 am_cv_make_support_nested_variables=yes
3668 else
3669 am_cv_make_support_nested_variables=no
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3673 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3674 if test $am_cv_make_support_nested_variables = yes; then
3675 AM_V='$(V)'
3676 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3677 else
3678 AM_V=$AM_DEFAULT_VERBOSITY
3679 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3681 AM_BACKSLASH='\'
3683 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3684 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3685 # is not polluted with repeated "-I."
3686 am__isrc=' -I$(srcdir)'
3687 # test to see if srcdir already configured
3688 if test -f $srcdir/config.status; then
3689 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3693 # test whether we have cygpath
3694 if test -z "$CYGPATH_W"; then
3695 if (cygpath --version) >/dev/null 2>/dev/null; then
3696 CYGPATH_W='cygpath -w'
3697 else
3698 CYGPATH_W=echo
3703 # Define the identity of the package.
3704 PACKAGE='libstdc++'
3705 VERSION='version-unused'
3708 # Some tools Automake needs.
3710 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3713 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3716 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3719 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3722 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3724 # For better backward compatibility. To be removed once Automake 1.9.x
3725 # dies out for good. For more background, see:
3726 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3727 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3728 mkdir_p='$(MKDIR_P)'
3730 # We need awk for the "check" target (and possibly the TAP driver). The
3731 # system "awk" is bad on some platforms.
3732 # Always define AMTAR for backward compatibility. Yes, it's still used
3733 # in the wild :-( We should find a proper way to deprecate it ...
3734 AMTAR='$${TAR-tar}'
3737 # We'll loop over all known methods to create a tar archive until one works.
3738 _am_tools='gnutar pax cpio none'
3740 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3747 # POSIX will say in a future version that running "rm -f" with no argument
3748 # is OK; and we want to be able to make that assumption in our Makefile
3749 # recipes. So use an aggressive probe to check that the usage we want is
3750 # actually supported "in the wild" to an acceptable degree.
3751 # See automake bug#10828.
3752 # To make any issue more visible, cause the running configure to be aborted
3753 # by default if the 'rm' program in use doesn't match our expectations; the
3754 # user can still override this though.
3755 if rm -f && rm -fr && rm -rf; then : OK; else
3756 cat >&2 <<'END'
3757 Oops!
3759 Your 'rm' program seems unable to run without file operands specified
3760 on the command line, even when the '-f' option is present. This is contrary
3761 to the behaviour of most rm programs out there, and not conforming with
3762 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3764 Please tell bug-automake@gnu.org about your system, including the value
3765 of your $PATH and any error possibly output before this message. This
3766 can help us improve future automake versions.
3769 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3770 echo 'Configuration will proceed anyway, since you have set the' >&2
3771 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3772 echo >&2
3773 else
3774 cat >&2 <<'END'
3775 Aborting the configuration process, to ensure you take notice of the issue.
3777 You can download and install GNU coreutils to get an 'rm' implementation
3778 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3780 If you want to complete the configuration process using your problematic
3781 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3782 to "yes", and re-run configure.
3785 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3792 # -fno-builtin must be present here so that a non-conflicting form of
3793 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3795 save_CXXFLAGS="$CXXFLAGS"
3796 CXXFLAGS="$CXXFLAGS -fno-builtin"
3797 ac_ext=c
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802 if test -n "$ac_tool_prefix"; then
3803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3804 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_CC+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809 else
3810 if test -n "$CC"; then
3811 ac_cv_prog_CC="$CC" # Let the user override the test.
3812 else
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 for as_dir in $PATH
3816 IFS=$as_save_IFS
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 break 2
3824 done
3825 done
3826 IFS=$as_save_IFS
3830 CC=$ac_cv_prog_CC
3831 if test -n "$CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3834 else
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3841 if test -z "$ac_cv_prog_CC"; then
3842 ac_ct_CC=$CC
3843 # Extract the first word of "gcc", so it can be a program name with args.
3844 set dummy gcc; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3848 $as_echo_n "(cached) " >&6
3849 else
3850 if test -n "$ac_ct_CC"; then
3851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3852 else
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3856 IFS=$as_save_IFS
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_ac_ct_CC="gcc"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 break 2
3864 done
3865 done
3866 IFS=$as_save_IFS
3870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3871 if test -n "$ac_ct_CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3873 $as_echo "$ac_ct_CC" >&6; }
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3879 if test "x$ac_ct_CC" = x; then
3880 CC=""
3881 else
3882 case $cross_compiling:$ac_tool_warned in
3883 yes:)
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3886 ac_tool_warned=yes ;;
3887 esac
3888 CC=$ac_ct_CC
3890 else
3891 CC="$ac_cv_prog_CC"
3894 if test -z "$CC"; then
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3897 set dummy ${ac_tool_prefix}cc; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false; then :
3901 $as_echo_n "(cached) " >&6
3902 else
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC="$CC" # Let the user override the test.
3905 else
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_CC="${ac_tool_prefix}cc"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 break 2
3917 done
3918 done
3919 IFS=$as_save_IFS
3923 CC=$ac_cv_prog_CC
3924 if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3927 else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3935 if test -z "$CC"; then
3936 # Extract the first word of "cc", so it can be a program name with args.
3937 set dummy cc; ac_word=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if ${ac_cv_prog_CC+:} false; then :
3941 $as_echo_n "(cached) " >&6
3942 else
3943 if test -n "$CC"; then
3944 ac_cv_prog_CC="$CC" # Let the user override the test.
3945 else
3946 ac_prog_rejected=no
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948 for as_dir in $PATH
3950 IFS=$as_save_IFS
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3955 ac_prog_rejected=yes
3956 continue
3958 ac_cv_prog_CC="cc"
3959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 break 2
3962 done
3963 done
3964 IFS=$as_save_IFS
3966 if test $ac_prog_rejected = yes; then
3967 # We found a bogon in the path, so make sure we never use it.
3968 set dummy $ac_cv_prog_CC
3969 shift
3970 if test $# != 0; then
3971 # We chose a different compiler from the bogus one.
3972 # However, it has the same basename, so the bogon will be chosen
3973 # first if we set CC to just the basename; use the full file name.
3974 shift
3975 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3980 CC=$ac_cv_prog_CC
3981 if test -n "$CC"; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3983 $as_echo "$CC" >&6; }
3984 else
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3991 if test -z "$CC"; then
3992 if test -n "$ac_tool_prefix"; then
3993 for ac_prog in cl.exe
3995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3998 $as_echo_n "checking for $ac_word... " >&6; }
3999 if ${ac_cv_prog_CC+:} false; then :
4000 $as_echo_n "(cached) " >&6
4001 else
4002 if test -n "$CC"; then
4003 ac_cv_prog_CC="$CC" # Let the user override the test.
4004 else
4005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 for as_dir in $PATH
4008 IFS=$as_save_IFS
4009 test -z "$as_dir" && as_dir=.
4010 for ac_exec_ext in '' $ac_executable_extensions; do
4011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4012 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 break 2
4016 done
4017 done
4018 IFS=$as_save_IFS
4022 CC=$ac_cv_prog_CC
4023 if test -n "$CC"; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4025 $as_echo "$CC" >&6; }
4026 else
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4032 test -n "$CC" && break
4033 done
4035 if test -z "$CC"; then
4036 ac_ct_CC=$CC
4037 for ac_prog in cl.exe
4039 # Extract the first word of "$ac_prog", so it can be a program name with args.
4040 set dummy $ac_prog; ac_word=$2
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042 $as_echo_n "checking for $ac_word... " >&6; }
4043 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 if test -n "$ac_ct_CC"; then
4047 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4048 else
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4050 for as_dir in $PATH
4052 IFS=$as_save_IFS
4053 test -z "$as_dir" && as_dir=.
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_ac_ct_CC="$ac_prog"
4057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 break 2
4060 done
4061 done
4062 IFS=$as_save_IFS
4066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4067 if test -n "$ac_ct_CC"; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4069 $as_echo "$ac_ct_CC" >&6; }
4070 else
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072 $as_echo "no" >&6; }
4076 test -n "$ac_ct_CC" && break
4077 done
4079 if test "x$ac_ct_CC" = x; then
4080 CC=""
4081 else
4082 case $cross_compiling:$ac_tool_warned in
4083 yes:)
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4086 ac_tool_warned=yes ;;
4087 esac
4088 CC=$ac_ct_CC
4095 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4097 as_fn_error $? "no acceptable C compiler found in \$PATH
4098 See \`config.log' for more details" "$LINENO" 5; }
4100 # Provide some information about the compiler.
4101 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4102 set X $ac_compile
4103 ac_compiler=$2
4104 for ac_option in --version -v -V -qversion; do
4105 { { ac_try="$ac_compiler $ac_option >&5"
4106 case "(($ac_try" in
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4109 esac
4110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 $as_echo "$ac_try_echo"; } >&5
4112 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4113 ac_status=$?
4114 if test -s conftest.err; then
4115 sed '10a\
4116 ... rest of stderr output deleted ...
4117 10q' conftest.err >conftest.er1
4118 cat conftest.er1 >&5
4120 rm -f conftest.er1 conftest.err
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }
4123 done
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4129 main ()
4133 return 0;
4135 _ACEOF
4136 # FIXME: Cleanup?
4137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4138 (eval $ac_link) 2>&5
4139 ac_status=$?
4140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141 test $ac_status = 0; }; then :
4142 gcc_no_link=no
4143 else
4144 gcc_no_link=yes
4146 if test x$gcc_no_link = xyes; then
4147 # Setting cross_compile will disable run tests; it will
4148 # also disable AC_CHECK_FILE but that's generally
4149 # correct if we can't link.
4150 cross_compiling=yes
4151 EXEEXT=
4152 else
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4161 return 0;
4163 _ACEOF
4164 ac_clean_files_save=$ac_clean_files
4165 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4166 # Try to create an executable without -o first, disregard a.out.
4167 # It will help us diagnose broken compilers, and finding out an intuition
4168 # of exeext.
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4170 $as_echo_n "checking whether the C compiler works... " >&6; }
4171 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4173 # The possible output files:
4174 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4176 ac_rmfiles=
4177 for ac_file in $ac_files
4179 case $ac_file in
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4182 esac
4183 done
4184 rm -f $ac_rmfiles
4186 if { { ac_try="$ac_link_default"
4187 case "(($ac_try" in
4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4190 esac
4191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192 $as_echo "$ac_try_echo"; } >&5
4193 (eval "$ac_link_default") 2>&5
4194 ac_status=$?
4195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4196 test $ac_status = 0; }; then :
4197 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4198 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4199 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4200 # so that the user can short-circuit this test for compilers unknown to
4201 # Autoconf.
4202 for ac_file in $ac_files ''
4204 test -f "$ac_file" || continue
4205 case $ac_file in
4206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4208 [ab].out )
4209 # We found the default executable, but exeext='' is most
4210 # certainly right.
4211 break;;
4212 *.* )
4213 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4214 then :; else
4215 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4217 # We set ac_cv_exeext here because the later test for it is not
4218 # safe: cross compilers may not add the suffix if given an `-o'
4219 # argument, so we may need to know it at that point already.
4220 # Even if this section looks crufty: it has the advantage of
4221 # actually working.
4222 break;;
4224 break;;
4225 esac
4226 done
4227 test "$ac_cv_exeext" = no && ac_cv_exeext=
4229 else
4230 ac_file=''
4232 if test -z "$ac_file"; then :
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4235 $as_echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error 77 "C compiler cannot create executables
4241 See \`config.log' for more details" "$LINENO" 5; }
4242 else
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4244 $as_echo "yes" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4247 $as_echo_n "checking for C compiler default output file name... " >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4249 $as_echo "$ac_file" >&6; }
4250 ac_exeext=$ac_cv_exeext
4252 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4253 ac_clean_files=$ac_clean_files_save
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4255 $as_echo_n "checking for suffix of executables... " >&6; }
4256 if { { ac_try="$ac_link"
4257 case "(($ac_try" in
4258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4259 *) ac_try_echo=$ac_try;;
4260 esac
4261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4262 $as_echo "$ac_try_echo"; } >&5
4263 (eval "$ac_link") 2>&5
4264 ac_status=$?
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }; then :
4267 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4268 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4269 # work properly (i.e., refer to `conftest.exe'), while it won't with
4270 # `rm'.
4271 for ac_file in conftest.exe conftest conftest.*; do
4272 test -f "$ac_file" || continue
4273 case $ac_file in
4274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4275 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4276 break;;
4277 * ) break;;
4278 esac
4279 done
4280 else
4281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4284 See \`config.log' for more details" "$LINENO" 5; }
4286 rm -f conftest conftest$ac_cv_exeext
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4288 $as_echo "$ac_cv_exeext" >&6; }
4290 rm -f conftest.$ac_ext
4291 EXEEXT=$ac_cv_exeext
4292 ac_exeext=$EXEEXT
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4295 #include <stdio.h>
4297 main ()
4299 FILE *f = fopen ("conftest.out", "w");
4300 return ferror (f) || fclose (f) != 0;
4303 return 0;
4305 _ACEOF
4306 ac_clean_files="$ac_clean_files conftest.out"
4307 # Check that the compiler produces executables we can run. If not, either
4308 # the compiler is broken, or we cross compile.
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4310 $as_echo_n "checking whether we are cross compiling... " >&6; }
4311 if test "$cross_compiling" != yes; then
4312 { { ac_try="$ac_link"
4313 case "(($ac_try" in
4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4316 esac
4317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318 $as_echo "$ac_try_echo"; } >&5
4319 (eval "$ac_link") 2>&5
4320 ac_status=$?
4321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322 test $ac_status = 0; }
4323 if { ac_try='./conftest$ac_cv_exeext'
4324 { { case "(($ac_try" in
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4327 esac
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_try") 2>&5
4331 ac_status=$?
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }; }; then
4334 cross_compiling=no
4335 else
4336 if test "$cross_compiling" = maybe; then
4337 cross_compiling=yes
4338 else
4339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341 as_fn_error $? "cannot run C compiled programs.
4342 If you meant to cross compile, use \`--host'.
4343 See \`config.log' for more details" "$LINENO" 5; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4348 $as_echo "$cross_compiling" >&6; }
4350 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4351 ac_clean_files=$ac_clean_files_save
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4354 $as_echo_n "checking for suffix of object files... " >&6; }
4355 if ${ac_cv_objext+:} false; then :
4356 $as_echo_n "(cached) " >&6
4357 else
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4362 main ()
4366 return 0;
4368 _ACEOF
4369 rm -f conftest.o conftest.obj
4370 if { { ac_try="$ac_compile"
4371 case "(($ac_try" in
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4374 esac
4375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4376 $as_echo "$ac_try_echo"; } >&5
4377 (eval "$ac_compile") 2>&5
4378 ac_status=$?
4379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380 test $ac_status = 0; }; then :
4381 for ac_file in conftest.o conftest.obj conftest.*; do
4382 test -f "$ac_file" || continue;
4383 case $ac_file in
4384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4385 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4386 break;;
4387 esac
4388 done
4389 else
4390 $as_echo "$as_me: failed program was:" >&5
4391 sed 's/^/| /' conftest.$ac_ext >&5
4393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4395 as_fn_error $? "cannot compute suffix of object files: cannot compile
4396 See \`config.log' for more details" "$LINENO" 5; }
4398 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4401 $as_echo "$ac_cv_objext" >&6; }
4402 OBJEXT=$ac_cv_objext
4403 ac_objext=$OBJEXT
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4405 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4406 if ${ac_cv_c_compiler_gnu+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4413 main ()
4415 #ifndef __GNUC__
4416 choke me
4417 #endif
4420 return 0;
4422 _ACEOF
4423 if ac_fn_c_try_compile "$LINENO"; then :
4424 ac_compiler_gnu=yes
4425 else
4426 ac_compiler_gnu=no
4428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4429 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4433 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4434 if test $ac_compiler_gnu = yes; then
4435 GCC=yes
4436 else
4437 GCC=
4439 ac_test_CFLAGS=${CFLAGS+set}
4440 ac_save_CFLAGS=$CFLAGS
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4442 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4443 if ${ac_cv_prog_cc_g+:} false; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 ac_save_c_werror_flag=$ac_c_werror_flag
4447 ac_c_werror_flag=yes
4448 ac_cv_prog_cc_g=no
4449 CFLAGS="-g"
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4454 main ()
4458 return 0;
4460 _ACEOF
4461 if ac_fn_c_try_compile "$LINENO"; then :
4462 ac_cv_prog_cc_g=yes
4463 else
4464 CFLAGS=""
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4469 main ()
4473 return 0;
4475 _ACEOF
4476 if ac_fn_c_try_compile "$LINENO"; then :
4478 else
4479 ac_c_werror_flag=$ac_save_c_werror_flag
4480 CFLAGS="-g"
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4485 main ()
4489 return 0;
4491 _ACEOF
4492 if ac_fn_c_try_compile "$LINENO"; then :
4493 ac_cv_prog_cc_g=yes
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500 ac_c_werror_flag=$ac_save_c_werror_flag
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4503 $as_echo "$ac_cv_prog_cc_g" >&6; }
4504 if test "$ac_test_CFLAGS" = set; then
4505 CFLAGS=$ac_save_CFLAGS
4506 elif test $ac_cv_prog_cc_g = yes; then
4507 if test "$GCC" = yes; then
4508 CFLAGS="-g -O2"
4509 else
4510 CFLAGS="-g"
4512 else
4513 if test "$GCC" = yes; then
4514 CFLAGS="-O2"
4515 else
4516 CFLAGS=
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4520 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4521 if ${ac_cv_prog_cc_c89+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 ac_cv_prog_cc_c89=no
4525 ac_save_CC=$CC
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528 #include <stdarg.h>
4529 #include <stdio.h>
4530 struct stat;
4531 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4532 struct buf { int x; };
4533 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4534 static char *e (p, i)
4535 char **p;
4536 int i;
4538 return p[i];
4540 static char *f (char * (*g) (char **, int), char **p, ...)
4542 char *s;
4543 va_list v;
4544 va_start (v,p);
4545 s = g (p, va_arg (v,int));
4546 va_end (v);
4547 return s;
4550 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4551 function prototypes and stuff, but not '\xHH' hex character constants.
4552 These don't provoke an error unfortunately, instead are silently treated
4553 as 'x'. The following induces an error, until -std is added to get
4554 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4555 array size at least. It's necessary to write '\x00'==0 to get something
4556 that's true only with -std. */
4557 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4559 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4560 inside strings and character constants. */
4561 #define FOO(x) 'x'
4562 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4564 int test (int i, double x);
4565 struct s1 {int (*f) (int a);};
4566 struct s2 {int (*f) (double a);};
4567 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4568 int argc;
4569 char **argv;
4571 main ()
4573 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4575 return 0;
4577 _ACEOF
4578 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4579 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4581 CC="$ac_save_CC $ac_arg"
4582 if ac_fn_c_try_compile "$LINENO"; then :
4583 ac_cv_prog_cc_c89=$ac_arg
4585 rm -f core conftest.err conftest.$ac_objext
4586 test "x$ac_cv_prog_cc_c89" != "xno" && break
4587 done
4588 rm -f conftest.$ac_ext
4589 CC=$ac_save_CC
4592 # AC_CACHE_VAL
4593 case "x$ac_cv_prog_cc_c89" in
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4596 $as_echo "none needed" >&6; } ;;
4597 xno)
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4599 $as_echo "unsupported" >&6; } ;;
4601 CC="$CC $ac_cv_prog_cc_c89"
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4603 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4604 esac
4605 if test "x$ac_cv_prog_cc_c89" != xno; then :
4609 ac_ext=c
4610 ac_cpp='$CPP $CPPFLAGS'
4611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4615 ac_ext=c
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4621 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4622 if ${am_cv_prog_cc_c_o+:} false; then :
4623 $as_echo_n "(cached) " >&6
4624 else
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4629 main ()
4633 return 0;
4635 _ACEOF
4636 # Make sure it works both with $CC and with simple cc.
4637 # Following AC_PROG_CC_C_O, we do the test twice because some
4638 # compilers refuse to overwrite an existing .o file with -o,
4639 # though they will create one.
4640 am_cv_prog_cc_c_o=yes
4641 for am_i in 1 2; do
4642 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4643 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4644 ac_status=$?
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } \
4647 && test -f conftest2.$ac_objext; then
4648 : OK
4649 else
4650 am_cv_prog_cc_c_o=no
4651 break
4653 done
4654 rm -f core conftest*
4655 unset am_i
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4658 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4659 if test "$am_cv_prog_cc_c_o" != yes; then
4660 # Losing compiler, so override with the script.
4661 # FIXME: It is wrong to rewrite CC.
4662 # But if we don't then we get into trouble of one sort or another.
4663 # A longer-term fix would be to have automake use am__CC in this case,
4664 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4665 CC="$am_aux_dir/compile $CC"
4667 ac_ext=c
4668 ac_cpp='$CPP $CPPFLAGS'
4669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 ac_ext=cpp
4675 ac_cpp='$CXXCPP $CPPFLAGS'
4676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4679 if test -z "$CXX"; then
4680 if test -n "$CCC"; then
4681 CXX=$CCC
4682 else
4683 if test -n "$ac_tool_prefix"; then
4684 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_CXX+:} false; then :
4691 $as_echo_n "(cached) " >&6
4692 else
4693 if test -n "$CXX"; then
4694 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4695 else
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH
4699 IFS=$as_save_IFS
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 break 2
4707 done
4708 done
4709 IFS=$as_save_IFS
4713 CXX=$ac_cv_prog_CXX
4714 if test -n "$CXX"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4716 $as_echo "$CXX" >&6; }
4717 else
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4723 test -n "$CXX" && break
4724 done
4726 if test -z "$CXX"; then
4727 ac_ct_CXX=$CXX
4728 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4730 # Extract the first word of "$ac_prog", so it can be a program name with args.
4731 set dummy $ac_prog; ac_word=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4735 $as_echo_n "(cached) " >&6
4736 else
4737 if test -n "$ac_ct_CXX"; then
4738 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4739 else
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 for as_dir in $PATH
4743 IFS=$as_save_IFS
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4747 ac_cv_prog_ac_ct_CXX="$ac_prog"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 break 2
4751 done
4752 done
4753 IFS=$as_save_IFS
4757 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4758 if test -n "$ac_ct_CXX"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4760 $as_echo "$ac_ct_CXX" >&6; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4767 test -n "$ac_ct_CXX" && break
4768 done
4770 if test "x$ac_ct_CXX" = x; then
4771 CXX="g++"
4772 else
4773 case $cross_compiling:$ac_tool_warned in
4774 yes:)
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777 ac_tool_warned=yes ;;
4778 esac
4779 CXX=$ac_ct_CXX
4785 # Provide some information about the compiler.
4786 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4787 set X $ac_compile
4788 ac_compiler=$2
4789 for ac_option in --version -v -V -qversion; do
4790 { { ac_try="$ac_compiler $ac_option >&5"
4791 case "(($ac_try" in
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4794 esac
4795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4798 ac_status=$?
4799 if test -s conftest.err; then
4800 sed '10a\
4801 ... rest of stderr output deleted ...
4802 10q' conftest.err >conftest.er1
4803 cat conftest.er1 >&5
4805 rm -f conftest.er1 conftest.err
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }
4808 done
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4811 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4812 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4819 main ()
4821 #ifndef __GNUC__
4822 choke me
4823 #endif
4826 return 0;
4828 _ACEOF
4829 if ac_fn_cxx_try_compile "$LINENO"; then :
4830 ac_compiler_gnu=yes
4831 else
4832 ac_compiler_gnu=no
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4839 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4840 if test $ac_compiler_gnu = yes; then
4841 GXX=yes
4842 else
4843 GXX=
4845 ac_test_CXXFLAGS=${CXXFLAGS+set}
4846 ac_save_CXXFLAGS=$CXXFLAGS
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4848 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4849 if ${ac_cv_prog_cxx_g+:} false; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4853 ac_cxx_werror_flag=yes
4854 ac_cv_prog_cxx_g=no
4855 CXXFLAGS="-g"
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 if ac_fn_cxx_try_compile "$LINENO"; then :
4868 ac_cv_prog_cxx_g=yes
4869 else
4870 CXXFLAGS=""
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 if ac_fn_cxx_try_compile "$LINENO"; then :
4884 else
4885 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4886 CXXFLAGS="-g"
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4891 main ()
4895 return 0;
4897 _ACEOF
4898 if ac_fn_cxx_try_compile "$LINENO"; then :
4899 ac_cv_prog_cxx_g=yes
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4909 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4910 if test "$ac_test_CXXFLAGS" = set; then
4911 CXXFLAGS=$ac_save_CXXFLAGS
4912 elif test $ac_cv_prog_cxx_g = yes; then
4913 if test "$GXX" = yes; then
4914 CXXFLAGS="-g -O2"
4915 else
4916 CXXFLAGS="-g"
4918 else
4919 if test "$GXX" = yes; then
4920 CXXFLAGS="-O2"
4921 else
4922 CXXFLAGS=
4925 ac_ext=c
4926 ac_cpp='$CPP $CPPFLAGS'
4927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4931 CXXFLAGS="$save_CXXFLAGS"
4934 # Check whether --enable-largefile was given.
4935 if test "${enable_largefile+set}" = set; then :
4936 enableval=$enable_largefile;
4939 if test "$enable_largefile" != no; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4942 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4943 if ${ac_cv_sys_largefile_CC+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 ac_cv_sys_largefile_CC=no
4947 if test "$GCC" != yes; then
4948 ac_save_CC=$CC
4949 while :; do
4950 # IRIX 6.2 and later do not support large files by default,
4951 # so use the C compiler's -n32 option if that helps.
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4954 #include <sys/types.h>
4955 /* Check that off_t can represent 2**63 - 1 correctly.
4956 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4957 since some C++ compilers masquerading as C compilers
4958 incorrectly reject 9223372036854775807. */
4959 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4960 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4961 && LARGE_OFF_T % 2147483647 == 1)
4962 ? 1 : -1];
4964 main ()
4968 return 0;
4970 _ACEOF
4971 if ac_fn_c_try_compile "$LINENO"; then :
4972 break
4974 rm -f core conftest.err conftest.$ac_objext
4975 CC="$CC -n32"
4976 if ac_fn_c_try_compile "$LINENO"; then :
4977 ac_cv_sys_largefile_CC=' -n32'; break
4979 rm -f core conftest.err conftest.$ac_objext
4980 break
4981 done
4982 CC=$ac_save_CC
4983 rm -f conftest.$ac_ext
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4987 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4988 if test "$ac_cv_sys_largefile_CC" != no; then
4989 CC=$CC$ac_cv_sys_largefile_CC
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4993 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4994 if ${ac_cv_sys_file_offset_bits+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 while :; do
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 #include <sys/types.h>
5001 /* Check that off_t can represent 2**63 - 1 correctly.
5002 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5003 since some C++ compilers masquerading as C compilers
5004 incorrectly reject 9223372036854775807. */
5005 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5006 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5007 && LARGE_OFF_T % 2147483647 == 1)
5008 ? 1 : -1];
5010 main ()
5014 return 0;
5016 _ACEOF
5017 if ac_fn_c_try_compile "$LINENO"; then :
5018 ac_cv_sys_file_offset_bits=no; break
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 /* end confdefs.h. */
5023 #define _FILE_OFFSET_BITS 64
5024 #include <sys/types.h>
5025 /* Check that off_t can represent 2**63 - 1 correctly.
5026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5027 since some C++ compilers masquerading as C compilers
5028 incorrectly reject 9223372036854775807. */
5029 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5031 && LARGE_OFF_T % 2147483647 == 1)
5032 ? 1 : -1];
5034 main ()
5038 return 0;
5040 _ACEOF
5041 if ac_fn_c_try_compile "$LINENO"; then :
5042 ac_cv_sys_file_offset_bits=64; break
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 ac_cv_sys_file_offset_bits=unknown
5046 break
5047 done
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5050 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5051 case $ac_cv_sys_file_offset_bits in #(
5052 no | unknown) ;;
5054 cat >>confdefs.h <<_ACEOF
5055 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5056 _ACEOF
5058 esac
5059 rm -rf conftest*
5060 if test $ac_cv_sys_file_offset_bits = unknown; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5062 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5063 if ${ac_cv_sys_large_files+:} false; then :
5064 $as_echo_n "(cached) " >&6
5065 else
5066 while :; do
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5069 #include <sys/types.h>
5070 /* Check that off_t can represent 2**63 - 1 correctly.
5071 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5072 since some C++ compilers masquerading as C compilers
5073 incorrectly reject 9223372036854775807. */
5074 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5075 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5076 && LARGE_OFF_T % 2147483647 == 1)
5077 ? 1 : -1];
5079 main ()
5083 return 0;
5085 _ACEOF
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 ac_cv_sys_large_files=no; break
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5092 #define _LARGE_FILES 1
5093 #include <sys/types.h>
5094 /* Check that off_t can represent 2**63 - 1 correctly.
5095 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5096 since some C++ compilers masquerading as C compilers
5097 incorrectly reject 9223372036854775807. */
5098 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5099 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5100 && LARGE_OFF_T % 2147483647 == 1)
5101 ? 1 : -1];
5103 main ()
5107 return 0;
5109 _ACEOF
5110 if ac_fn_c_try_compile "$LINENO"; then :
5111 ac_cv_sys_large_files=1; break
5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114 ac_cv_sys_large_files=unknown
5115 break
5116 done
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5119 $as_echo "$ac_cv_sys_large_files" >&6; }
5120 case $ac_cv_sys_large_files in #(
5121 no | unknown) ;;
5123 cat >>confdefs.h <<_ACEOF
5124 #define _LARGE_FILES $ac_cv_sys_large_files
5125 _ACEOF
5127 esac
5128 rm -rf conftest*
5135 # Runs configure.host, and assorted other critical bits. Sets
5136 # up critical shell variables.
5137 ac_ext=c
5138 ac_cpp='$CPP $CPPFLAGS'
5139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5143 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5144 # On Suns, sometimes $CPP names a directory.
5145 if test -n "$CPP" && test -d "$CPP"; then
5146 CPP=
5148 if test -z "$CPP"; then
5149 if ${ac_cv_prog_CPP+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 # Double quotes because CPP needs to be expanded
5153 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5155 ac_preproc_ok=false
5156 for ac_c_preproc_warn_flag in '' yes
5158 # Use a header file that comes with gcc, so configuring glibc
5159 # with a fresh cross-compiler works.
5160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5161 # <limits.h> exists even on freestanding compilers.
5162 # On the NeXT, cc -E runs the code through the compiler's parser,
5163 # not just through cpp. "Syntax error" is here to catch this case.
5164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5165 /* end confdefs.h. */
5166 #ifdef __STDC__
5167 # include <limits.h>
5168 #else
5169 # include <assert.h>
5170 #endif
5171 Syntax error
5172 _ACEOF
5173 if ac_fn_c_try_cpp "$LINENO"; then :
5175 else
5176 # Broken: fails on valid input.
5177 continue
5179 rm -f conftest.err conftest.i conftest.$ac_ext
5181 # OK, works on sane cases. Now check whether nonexistent headers
5182 # can be detected and how.
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <ac_nonexistent.h>
5186 _ACEOF
5187 if ac_fn_c_try_cpp "$LINENO"; then :
5188 # Broken: success on invalid input.
5189 continue
5190 else
5191 # Passes both tests.
5192 ac_preproc_ok=:
5193 break
5195 rm -f conftest.err conftest.i conftest.$ac_ext
5197 done
5198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5199 rm -f conftest.i conftest.err conftest.$ac_ext
5200 if $ac_preproc_ok; then :
5201 break
5204 done
5205 ac_cv_prog_CPP=$CPP
5208 CPP=$ac_cv_prog_CPP
5209 else
5210 ac_cv_prog_CPP=$CPP
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5213 $as_echo "$CPP" >&6; }
5214 ac_preproc_ok=false
5215 for ac_c_preproc_warn_flag in '' yes
5217 # Use a header file that comes with gcc, so configuring glibc
5218 # with a fresh cross-compiler works.
5219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5220 # <limits.h> exists even on freestanding compilers.
5221 # On the NeXT, cc -E runs the code through the compiler's parser,
5222 # not just through cpp. "Syntax error" is here to catch this case.
5223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h. */
5225 #ifdef __STDC__
5226 # include <limits.h>
5227 #else
5228 # include <assert.h>
5229 #endif
5230 Syntax error
5231 _ACEOF
5232 if ac_fn_c_try_cpp "$LINENO"; then :
5234 else
5235 # Broken: fails on valid input.
5236 continue
5238 rm -f conftest.err conftest.i conftest.$ac_ext
5240 # OK, works on sane cases. Now check whether nonexistent headers
5241 # can be detected and how.
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5244 #include <ac_nonexistent.h>
5245 _ACEOF
5246 if ac_fn_c_try_cpp "$LINENO"; then :
5247 # Broken: success on invalid input.
5248 continue
5249 else
5250 # Passes both tests.
5251 ac_preproc_ok=:
5252 break
5254 rm -f conftest.err conftest.i conftest.$ac_ext
5256 done
5257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5258 rm -f conftest.i conftest.err conftest.$ac_ext
5259 if $ac_preproc_ok; then :
5261 else
5262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5264 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5265 See \`config.log' for more details" "$LINENO" 5; }
5268 ac_ext=c
5269 ac_cpp='$CPP $CPPFLAGS'
5270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5276 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5277 if ${ac_cv_path_GREP+:} false; then :
5278 $as_echo_n "(cached) " >&6
5279 else
5280 if test -z "$GREP"; then
5281 ac_path_GREP_found=false
5282 # Loop through the user's path and test for each of PROGNAME-LIST
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5286 IFS=$as_save_IFS
5287 test -z "$as_dir" && as_dir=.
5288 for ac_prog in grep ggrep; do
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5291 as_fn_executable_p "$ac_path_GREP" || continue
5292 # Check for GNU ac_path_GREP and select it if it is found.
5293 # Check for GNU $ac_path_GREP
5294 case `"$ac_path_GREP" --version 2>&1` in
5295 *GNU*)
5296 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5298 ac_count=0
5299 $as_echo_n 0123456789 >"conftest.in"
5300 while :
5302 cat "conftest.in" "conftest.in" >"conftest.tmp"
5303 mv "conftest.tmp" "conftest.in"
5304 cp "conftest.in" "conftest.nl"
5305 $as_echo 'GREP' >> "conftest.nl"
5306 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5308 as_fn_arith $ac_count + 1 && ac_count=$as_val
5309 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5310 # Best one so far, save it but keep looking for a better one
5311 ac_cv_path_GREP="$ac_path_GREP"
5312 ac_path_GREP_max=$ac_count
5314 # 10*(2^10) chars as input seems more than enough
5315 test $ac_count -gt 10 && break
5316 done
5317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5318 esac
5320 $ac_path_GREP_found && break 3
5321 done
5322 done
5323 done
5324 IFS=$as_save_IFS
5325 if test -z "$ac_cv_path_GREP"; then
5326 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5328 else
5329 ac_cv_path_GREP=$GREP
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5334 $as_echo "$ac_cv_path_GREP" >&6; }
5335 GREP="$ac_cv_path_GREP"
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5339 $as_echo_n "checking for egrep... " >&6; }
5340 if ${ac_cv_path_EGREP+:} false; then :
5341 $as_echo_n "(cached) " >&6
5342 else
5343 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5344 then ac_cv_path_EGREP="$GREP -E"
5345 else
5346 if test -z "$EGREP"; then
5347 ac_path_EGREP_found=false
5348 # Loop through the user's path and test for each of PROGNAME-LIST
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_prog in egrep; do
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5357 as_fn_executable_p "$ac_path_EGREP" || continue
5358 # Check for GNU ac_path_EGREP and select it if it is found.
5359 # Check for GNU $ac_path_EGREP
5360 case `"$ac_path_EGREP" --version 2>&1` in
5361 *GNU*)
5362 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5364 ac_count=0
5365 $as_echo_n 0123456789 >"conftest.in"
5366 while :
5368 cat "conftest.in" "conftest.in" >"conftest.tmp"
5369 mv "conftest.tmp" "conftest.in"
5370 cp "conftest.in" "conftest.nl"
5371 $as_echo 'EGREP' >> "conftest.nl"
5372 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5374 as_fn_arith $ac_count + 1 && ac_count=$as_val
5375 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5376 # Best one so far, save it but keep looking for a better one
5377 ac_cv_path_EGREP="$ac_path_EGREP"
5378 ac_path_EGREP_max=$ac_count
5380 # 10*(2^10) chars as input seems more than enough
5381 test $ac_count -gt 10 && break
5382 done
5383 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5384 esac
5386 $ac_path_EGREP_found && break 3
5387 done
5388 done
5389 done
5390 IFS=$as_save_IFS
5391 if test -z "$ac_cv_path_EGREP"; then
5392 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5394 else
5395 ac_cv_path_EGREP=$EGREP
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5401 $as_echo "$ac_cv_path_EGREP" >&6; }
5402 EGREP="$ac_cv_path_EGREP"
5406 # Keep these sync'd with the list in Makefile.am. The first provides an
5407 # expandable list at autoconf time; the second provides an expandable list
5408 # (i.e., shell variable) at configure time.
5410 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5412 # These need to be absolute paths, yet at the same time need to
5413 # canonicalize only relative paths, because then amd will not unmount
5414 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5415 glibcxx_builddir=`${PWDCMD-pwd}`
5416 case $srcdir in
5417 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5418 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5419 esac
5420 toplevel_builddir=${glibcxx_builddir}/..
5421 toplevel_srcdir=${glibcxx_srcdir}/..
5427 # We use these options to decide which functions to include. They are
5428 # set from the top level.
5430 # Check whether --with-target-subdir was given.
5431 if test "${with_target_subdir+set}" = set; then :
5432 withval=$with_target_subdir;
5437 # Check whether --with-cross-host was given.
5438 if test "${with_cross_host+set}" = set; then :
5439 withval=$with_cross_host;
5444 # Check whether --with-newlib was given.
5445 if test "${with_newlib+set}" = set; then :
5446 withval=$with_newlib;
5450 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5451 # available). Uncomment the next line to force a particular method.
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5453 $as_echo_n "checking whether ln -s works... " >&6; }
5454 LN_S=$as_ln_s
5455 if test "$LN_S" = "ln -s"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5457 $as_echo "yes" >&6; }
5458 else
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5460 $as_echo "no, using $LN_S" >&6; }
5463 #LN_S='cp -p'
5465 if test -n "$ac_tool_prefix"; then
5466 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5467 set dummy ${ac_tool_prefix}as; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_AS+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$AS"; then
5474 ac_cv_prog_AS="$AS" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_AS="${ac_tool_prefix}as"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 AS=$ac_cv_prog_AS
5494 if test -n "$AS"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5496 $as_echo "$AS" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5504 if test -z "$ac_cv_prog_AS"; then
5505 ac_ct_AS=$AS
5506 # Extract the first word of "as", so it can be a program name with args.
5507 set dummy as; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5511 $as_echo_n "(cached) " >&6
5512 else
5513 if test -n "$ac_ct_AS"; then
5514 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5519 IFS=$as_save_IFS
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_ac_ct_AS="as"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 break 2
5527 done
5528 done
5529 IFS=$as_save_IFS
5533 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5534 if test -n "$ac_ct_AS"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5536 $as_echo "$ac_ct_AS" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5542 if test "x$ac_ct_AS" = x; then
5543 AS=""
5544 else
5545 case $cross_compiling:$ac_tool_warned in
5546 yes:)
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5549 ac_tool_warned=yes ;;
5550 esac
5551 AS=$ac_ct_AS
5553 else
5554 AS="$ac_cv_prog_AS"
5557 if test -n "$ac_tool_prefix"; then
5558 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5559 set dummy ${ac_tool_prefix}ar; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_AR+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if test -n "$AR"; then
5566 ac_cv_prog_AR="$AR" # Let the user override the test.
5567 else
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_AR="${ac_tool_prefix}ar"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5579 done
5580 done
5581 IFS=$as_save_IFS
5585 AR=$ac_cv_prog_AR
5586 if test -n "$AR"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5588 $as_echo "$AR" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5596 if test -z "$ac_cv_prog_AR"; then
5597 ac_ct_AR=$AR
5598 # Extract the first word of "ar", so it can be a program name with args.
5599 set dummy ar; ac_word=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if test -n "$ac_ct_AR"; then
5606 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5607 else
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 for as_dir in $PATH
5611 IFS=$as_save_IFS
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_ac_ct_AR="ar"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 break 2
5619 done
5620 done
5621 IFS=$as_save_IFS
5625 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5626 if test -n "$ac_ct_AR"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5628 $as_echo "$ac_ct_AR" >&6; }
5629 else
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5634 if test "x$ac_ct_AR" = x; then
5635 AR=""
5636 else
5637 case $cross_compiling:$ac_tool_warned in
5638 yes:)
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5641 ac_tool_warned=yes ;;
5642 esac
5643 AR=$ac_ct_AR
5645 else
5646 AR="$ac_cv_prog_AR"
5649 if test -n "$ac_tool_prefix"; then
5650 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5651 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_RANLIB+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 if test -n "$RANLIB"; then
5658 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5663 IFS=$as_save_IFS
5664 test -z "$as_dir" && as_dir=.
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 break 2
5671 done
5672 done
5673 IFS=$as_save_IFS
5677 RANLIB=$ac_cv_prog_RANLIB
5678 if test -n "$RANLIB"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5680 $as_echo "$RANLIB" >&6; }
5681 else
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5688 if test -z "$ac_cv_prog_RANLIB"; then
5689 ac_ct_RANLIB=$RANLIB
5690 # Extract the first word of "ranlib", so it can be a program name with args.
5691 set dummy ranlib; ac_word=$2
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 $as_echo_n "checking for $ac_word... " >&6; }
5694 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 if test -n "$ac_ct_RANLIB"; then
5698 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5699 else
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in $PATH
5703 IFS=$as_save_IFS
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_ac_ct_RANLIB="ranlib"
5708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 break 2
5711 done
5712 done
5713 IFS=$as_save_IFS
5717 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5718 if test -n "$ac_ct_RANLIB"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5720 $as_echo "$ac_ct_RANLIB" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5726 if test "x$ac_ct_RANLIB" = x; then
5727 RANLIB="ranlib-not-found-in-path-error"
5728 else
5729 case $cross_compiling:$ac_tool_warned in
5730 yes:)
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5733 ac_tool_warned=yes ;;
5734 esac
5735 RANLIB=$ac_ct_RANLIB
5737 else
5738 RANLIB="$ac_cv_prog_RANLIB"
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5744 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5745 # Check whether --enable-maintainer-mode was given.
5746 if test "${enable_maintainer_mode+set}" = set; then :
5747 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5748 else
5749 USE_MAINTAINER_MODE=no
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5753 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5754 if test $USE_MAINTAINER_MODE = yes; then
5755 MAINTAINER_MODE_TRUE=
5756 MAINTAINER_MODE_FALSE='#'
5757 else
5758 MAINTAINER_MODE_TRUE='#'
5759 MAINTAINER_MODE_FALSE=
5762 MAINT=$MAINTAINER_MODE_TRUE
5766 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5767 # which are themselves conditionally expanded.
5768 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5769 ## other macros from doing the same. This should be automated.) -pme
5771 # Check for C library flavor since GNU/Linux platforms use different
5772 # configuration directories depending on the C library in use.
5773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5776 #include <stdio.h>
5777 #if __UCLIBC__
5778 _using_uclibc
5779 #endif
5781 _ACEOF
5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5783 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5784 uclibc=yes
5785 else
5786 uclibc=no
5788 rm -f conftest*
5791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5792 /* end confdefs.h. */
5794 #include <stdio.h>
5795 #if __BIONIC__
5796 _using_bionic
5797 #endif
5799 _ACEOF
5800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5801 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5802 bionic=yes
5803 else
5804 bionic=no
5806 rm -f conftest*
5809 # Find platform-specific directories containing configuration info.
5810 # Also possibly modify flags used elsewhere, as needed by the platform.
5812 . $glibcxx_srcdir/configure.host
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5814 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5816 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5820 # Libtool setup.
5821 if test "x${with_newlib}" != "xyes"; then
5822 enable_dlopen=yes
5827 case `pwd` in
5828 *\ * | *\ *)
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5830 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5831 esac
5835 macro_version='2.2.7a'
5836 macro_revision='1.3134'
5850 ltmain="$ac_aux_dir/ltmain.sh"
5852 # Backslashify metacharacters that are still active within
5853 # double-quoted strings.
5854 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5856 # Same as above, but do not quote variable references.
5857 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5859 # Sed substitution to delay expansion of an escaped shell variable in a
5860 # double_quote_subst'ed string.
5861 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5863 # Sed substitution to delay expansion of an escaped single quote.
5864 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5866 # Sed substitution to avoid accidental globbing in evaled expressions
5867 no_glob_subst='s/\*/\\\*/g'
5869 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5870 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5871 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5874 $as_echo_n "checking how to print strings... " >&6; }
5875 # Test print first, because it will be a builtin if present.
5876 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5877 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5878 ECHO='print -r --'
5879 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5880 ECHO='printf %s\n'
5881 else
5882 # Use this function as a fallback that always works.
5883 func_fallback_echo ()
5885 eval 'cat <<_LTECHO_EOF
5887 _LTECHO_EOF'
5889 ECHO='func_fallback_echo'
5892 # func_echo_all arg...
5893 # Invoke $ECHO with all args, space-separated.
5894 func_echo_all ()
5896 $ECHO ""
5899 case "$ECHO" in
5900 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5901 $as_echo "printf" >&6; } ;;
5902 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5903 $as_echo "print -r" >&6; } ;;
5904 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5905 $as_echo "cat" >&6; } ;;
5906 esac
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5922 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5923 if ${ac_cv_path_SED+:} false; then :
5924 $as_echo_n "(cached) " >&6
5925 else
5926 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5927 for ac_i in 1 2 3 4 5 6 7; do
5928 ac_script="$ac_script$as_nl$ac_script"
5929 done
5930 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5931 { ac_script=; unset ac_script;}
5932 if test -z "$SED"; then
5933 ac_path_SED_found=false
5934 # Loop through the user's path and test for each of PROGNAME-LIST
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 for as_dir in $PATH
5938 IFS=$as_save_IFS
5939 test -z "$as_dir" && as_dir=.
5940 for ac_prog in sed gsed; do
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5943 as_fn_executable_p "$ac_path_SED" || continue
5944 # Check for GNU ac_path_SED and select it if it is found.
5945 # Check for GNU $ac_path_SED
5946 case `"$ac_path_SED" --version 2>&1` in
5947 *GNU*)
5948 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5950 ac_count=0
5951 $as_echo_n 0123456789 >"conftest.in"
5952 while :
5954 cat "conftest.in" "conftest.in" >"conftest.tmp"
5955 mv "conftest.tmp" "conftest.in"
5956 cp "conftest.in" "conftest.nl"
5957 $as_echo '' >> "conftest.nl"
5958 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5959 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5960 as_fn_arith $ac_count + 1 && ac_count=$as_val
5961 if test $ac_count -gt ${ac_path_SED_max-0}; then
5962 # Best one so far, save it but keep looking for a better one
5963 ac_cv_path_SED="$ac_path_SED"
5964 ac_path_SED_max=$ac_count
5966 # 10*(2^10) chars as input seems more than enough
5967 test $ac_count -gt 10 && break
5968 done
5969 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5970 esac
5972 $ac_path_SED_found && break 3
5973 done
5974 done
5975 done
5976 IFS=$as_save_IFS
5977 if test -z "$ac_cv_path_SED"; then
5978 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5980 else
5981 ac_cv_path_SED=$SED
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5986 $as_echo "$ac_cv_path_SED" >&6; }
5987 SED="$ac_cv_path_SED"
5988 rm -f conftest.sed
5990 test -z "$SED" && SED=sed
5991 Xsed="$SED -e 1s/^X//"
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6004 $as_echo_n "checking for fgrep... " >&6; }
6005 if ${ac_cv_path_FGREP+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6009 then ac_cv_path_FGREP="$GREP -F"
6010 else
6011 if test -z "$FGREP"; then
6012 ac_path_FGREP_found=false
6013 # Loop through the user's path and test for each of PROGNAME-LIST
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_prog in fgrep; do
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6022 as_fn_executable_p "$ac_path_FGREP" || continue
6023 # Check for GNU ac_path_FGREP and select it if it is found.
6024 # Check for GNU $ac_path_FGREP
6025 case `"$ac_path_FGREP" --version 2>&1` in
6026 *GNU*)
6027 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6029 ac_count=0
6030 $as_echo_n 0123456789 >"conftest.in"
6031 while :
6033 cat "conftest.in" "conftest.in" >"conftest.tmp"
6034 mv "conftest.tmp" "conftest.in"
6035 cp "conftest.in" "conftest.nl"
6036 $as_echo 'FGREP' >> "conftest.nl"
6037 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6038 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6039 as_fn_arith $ac_count + 1 && ac_count=$as_val
6040 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6041 # Best one so far, save it but keep looking for a better one
6042 ac_cv_path_FGREP="$ac_path_FGREP"
6043 ac_path_FGREP_max=$ac_count
6045 # 10*(2^10) chars as input seems more than enough
6046 test $ac_count -gt 10 && break
6047 done
6048 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6049 esac
6051 $ac_path_FGREP_found && break 3
6052 done
6053 done
6054 done
6055 IFS=$as_save_IFS
6056 if test -z "$ac_cv_path_FGREP"; then
6057 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6059 else
6060 ac_cv_path_FGREP=$FGREP
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6066 $as_echo "$ac_cv_path_FGREP" >&6; }
6067 FGREP="$ac_cv_path_FGREP"
6070 test -z "$GREP" && GREP=grep
6090 # Check whether --with-gnu-ld was given.
6091 if test "${with_gnu_ld+set}" = set; then :
6092 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6093 else
6094 with_gnu_ld=no
6097 ac_prog=ld
6098 if test "$GCC" = yes; then
6099 # Check if gcc -print-prog-name=ld gives a path.
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6101 $as_echo_n "checking for ld used by $CC... " >&6; }
6102 case $host in
6103 *-*-mingw*)
6104 # gcc leaves a trailing carriage return which upsets mingw
6105 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6107 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6108 esac
6109 case $ac_prog in
6110 # Accept absolute paths.
6111 [\\/]* | ?:[\\/]*)
6112 re_direlt='/[^/][^/]*/\.\./'
6113 # Canonicalize the pathname of ld
6114 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6115 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6116 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6117 done
6118 test -z "$LD" && LD="$ac_prog"
6121 # If it fails, then pretend we aren't using GCC.
6122 ac_prog=ld
6125 # If it is relative, then search for the first ld in PATH.
6126 with_gnu_ld=unknown
6128 esac
6129 elif test "$with_gnu_ld" = yes; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6131 $as_echo_n "checking for GNU ld... " >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6134 $as_echo_n "checking for non-GNU ld... " >&6; }
6136 if ${lt_cv_path_LD+:} false; then :
6137 $as_echo_n "(cached) " >&6
6138 else
6139 if test -z "$LD"; then
6140 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6141 for ac_dir in $PATH; do
6142 IFS="$lt_save_ifs"
6143 test -z "$ac_dir" && ac_dir=.
6144 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6145 lt_cv_path_LD="$ac_dir/$ac_prog"
6146 # Check to see if the program is GNU ld. I'd rather use --version,
6147 # but apparently some variants of GNU ld only accept -v.
6148 # Break only if it was the GNU/non-GNU ld that we prefer.
6149 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6150 *GNU* | *'with BFD'*)
6151 test "$with_gnu_ld" != no && break
6154 test "$with_gnu_ld" != yes && break
6156 esac
6158 done
6159 IFS="$lt_save_ifs"
6160 else
6161 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6165 LD="$lt_cv_path_LD"
6166 if test -n "$LD"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6168 $as_echo "$LD" >&6; }
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 $as_echo "no" >&6; }
6173 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6175 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6176 if ${lt_cv_prog_gnu_ld+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6180 case `$LD -v 2>&1 </dev/null` in
6181 *GNU* | *'with BFD'*)
6182 lt_cv_prog_gnu_ld=yes
6185 lt_cv_prog_gnu_ld=no
6187 esac
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6190 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6191 with_gnu_ld=$lt_cv_prog_gnu_ld
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6202 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6203 if ${lt_cv_path_NM+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 if test -n "$NM"; then
6207 # Let the user override the test.
6208 lt_cv_path_NM="$NM"
6209 else
6210 lt_nm_to_check="${ac_tool_prefix}nm"
6211 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6212 lt_nm_to_check="$lt_nm_to_check nm"
6214 for lt_tmp_nm in $lt_nm_to_check; do
6215 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6216 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6217 IFS="$lt_save_ifs"
6218 test -z "$ac_dir" && ac_dir=.
6219 tmp_nm="$ac_dir/$lt_tmp_nm"
6220 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6221 # Check to see if the nm accepts a BSD-compat flag.
6222 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6223 # nm: unknown option "B" ignored
6224 # Tru64's nm complains that /dev/null is an invalid object file
6225 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6226 */dev/null* | *'Invalid file or object type'*)
6227 lt_cv_path_NM="$tmp_nm -B"
6228 break
6231 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6232 */dev/null*)
6233 lt_cv_path_NM="$tmp_nm -p"
6234 break
6237 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6238 continue # so that we can try to find one that supports BSD flags
6240 esac
6242 esac
6244 done
6245 IFS="$lt_save_ifs"
6246 done
6247 : ${lt_cv_path_NM=no}
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6251 $as_echo "$lt_cv_path_NM" >&6; }
6252 if test "$lt_cv_path_NM" != "no"; then
6253 NM="$lt_cv_path_NM"
6254 else
6255 # Didn't find any BSD compatible name lister, look for dumpbin.
6256 if test -n "$DUMPBIN"; then :
6257 # Let the user override the test.
6258 else
6259 if test -n "$ac_tool_prefix"; then
6260 for ac_prog in dumpbin "link -dump"
6262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6265 $as_echo_n "checking for $ac_word... " >&6; }
6266 if ${ac_cv_prog_DUMPBIN+:} false; then :
6267 $as_echo_n "(cached) " >&6
6268 else
6269 if test -n "$DUMPBIN"; then
6270 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6271 else
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 for as_dir in $PATH
6275 IFS=$as_save_IFS
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6279 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 break 2
6283 done
6284 done
6285 IFS=$as_save_IFS
6289 DUMPBIN=$ac_cv_prog_DUMPBIN
6290 if test -n "$DUMPBIN"; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6292 $as_echo "$DUMPBIN" >&6; }
6293 else
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 $as_echo "no" >&6; }
6299 test -n "$DUMPBIN" && break
6300 done
6302 if test -z "$DUMPBIN"; then
6303 ac_ct_DUMPBIN=$DUMPBIN
6304 for ac_prog in dumpbin "link -dump"
6306 # Extract the first word of "$ac_prog", so it can be a program name with args.
6307 set dummy $ac_prog; ac_word=$2
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309 $as_echo_n "checking for $ac_word... " >&6; }
6310 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6311 $as_echo_n "(cached) " >&6
6312 else
6313 if test -n "$ac_ct_DUMPBIN"; then
6314 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6315 else
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 for as_dir in $PATH
6319 IFS=$as_save_IFS
6320 test -z "$as_dir" && as_dir=.
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6323 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 break 2
6327 done
6328 done
6329 IFS=$as_save_IFS
6333 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6334 if test -n "$ac_ct_DUMPBIN"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6336 $as_echo "$ac_ct_DUMPBIN" >&6; }
6337 else
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 $as_echo "no" >&6; }
6343 test -n "$ac_ct_DUMPBIN" && break
6344 done
6346 if test "x$ac_ct_DUMPBIN" = x; then
6347 DUMPBIN=":"
6348 else
6349 case $cross_compiling:$ac_tool_warned in
6350 yes:)
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353 ac_tool_warned=yes ;;
6354 esac
6355 DUMPBIN=$ac_ct_DUMPBIN
6359 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6360 *COFF*)
6361 DUMPBIN="$DUMPBIN -symbols"
6364 DUMPBIN=:
6366 esac
6369 if test "$DUMPBIN" != ":"; then
6370 NM="$DUMPBIN"
6373 test -z "$NM" && NM=nm
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6381 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6382 if ${lt_cv_nm_interface+:} false; then :
6383 $as_echo_n "(cached) " >&6
6384 else
6385 lt_cv_nm_interface="BSD nm"
6386 echo "int some_variable = 0;" > conftest.$ac_ext
6387 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6388 (eval "$ac_compile" 2>conftest.err)
6389 cat conftest.err >&5
6390 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6391 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6392 cat conftest.err >&5
6393 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6394 cat conftest.out >&5
6395 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6396 lt_cv_nm_interface="MS dumpbin"
6398 rm -f conftest*
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6401 $as_echo "$lt_cv_nm_interface" >&6; }
6403 # find the maximum length of command line arguments
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6405 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6406 if ${lt_cv_sys_max_cmd_len+:} false; then :
6407 $as_echo_n "(cached) " >&6
6408 else
6410 teststring="ABCD"
6412 case $build_os in
6413 msdosdjgpp*)
6414 # On DJGPP, this test can blow up pretty badly due to problems in libc
6415 # (any single argument exceeding 2000 bytes causes a buffer overrun
6416 # during glob expansion). Even if it were fixed, the result of this
6417 # check would be larger than it should be.
6418 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6421 gnu*)
6422 # Under GNU Hurd, this test is not required because there is
6423 # no limit to the length of command line arguments.
6424 # Libtool will interpret -1 as no limit whatsoever
6425 lt_cv_sys_max_cmd_len=-1;
6428 cygwin* | mingw* | cegcc*)
6429 # On Win9x/ME, this test blows up -- it succeeds, but takes
6430 # about 5 minutes as the teststring grows exponentially.
6431 # Worse, since 9x/ME are not pre-emptively multitasking,
6432 # you end up with a "frozen" computer, even though with patience
6433 # the test eventually succeeds (with a max line length of 256k).
6434 # Instead, let's just punt: use the minimum linelength reported by
6435 # all of the supported platforms: 8192 (on NT/2K/XP).
6436 lt_cv_sys_max_cmd_len=8192;
6439 mint*)
6440 # On MiNT this can take a long time and run out of memory.
6441 lt_cv_sys_max_cmd_len=8192;
6444 amigaos*)
6445 # On AmigaOS with pdksh, this test takes hours, literally.
6446 # So we just punt and use a minimum line length of 8192.
6447 lt_cv_sys_max_cmd_len=8192;
6450 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6451 # This has been around since 386BSD, at least. Likely further.
6452 if test -x /sbin/sysctl; then
6453 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6454 elif test -x /usr/sbin/sysctl; then
6455 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6456 else
6457 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6459 # And add a safety zone
6460 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6461 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6464 interix*)
6465 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6466 lt_cv_sys_max_cmd_len=196608
6469 osf*)
6470 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6471 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6472 # nice to cause kernel panics so lets avoid the loop below.
6473 # First set a reasonable default.
6474 lt_cv_sys_max_cmd_len=16384
6476 if test -x /sbin/sysconfig; then
6477 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6478 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6479 esac
6482 sco3.2v5*)
6483 lt_cv_sys_max_cmd_len=102400
6485 sysv5* | sco5v6* | sysv4.2uw2*)
6486 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6487 if test -n "$kargmax"; then
6488 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6489 else
6490 lt_cv_sys_max_cmd_len=32768
6494 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6495 if test -n "$lt_cv_sys_max_cmd_len"; then
6496 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6497 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6498 else
6499 # Make teststring a little bigger before we do anything with it.
6500 # a 1K string should be a reasonable start.
6501 for i in 1 2 3 4 5 6 7 8 ; do
6502 teststring=$teststring$teststring
6503 done
6504 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6505 # If test is not a shell built-in, we'll probably end up computing a
6506 # maximum length that is only half of the actual maximum length, but
6507 # we can't tell.
6508 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6509 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6510 test $i != 17 # 1/2 MB should be enough
6512 i=`expr $i + 1`
6513 teststring=$teststring$teststring
6514 done
6515 # Only check the string length outside the loop.
6516 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6517 teststring=
6518 # Add a significant safety factor because C++ compilers can tack on
6519 # massive amounts of additional arguments before passing them to the
6520 # linker. It appears as though 1/2 is a usable value.
6521 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6524 esac
6528 if test -n $lt_cv_sys_max_cmd_len ; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6530 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6533 $as_echo "none" >&6; }
6535 max_cmd_len=$lt_cv_sys_max_cmd_len
6542 : ${CP="cp -f"}
6543 : ${MV="mv -f"}
6544 : ${RM="rm -f"}
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6547 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6548 # Try some XSI features
6549 xsi_shell=no
6550 ( _lt_dummy="a/b/c"
6551 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6552 = c,a/b,, \
6553 && eval 'test $(( 1 + 1 )) -eq 2 \
6554 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6555 && xsi_shell=yes
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6557 $as_echo "$xsi_shell" >&6; }
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6561 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6562 lt_shell_append=no
6563 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6564 >/dev/null 2>&1 \
6565 && lt_shell_append=yes
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6567 $as_echo "$lt_shell_append" >&6; }
6570 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6571 lt_unset=unset
6572 else
6573 lt_unset=false
6580 # test EBCDIC or ASCII
6581 case `echo X|tr X '\101'` in
6582 A) # ASCII based system
6583 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6584 lt_SP2NL='tr \040 \012'
6585 lt_NL2SP='tr \015\012 \040\040'
6587 *) # EBCDIC based system
6588 lt_SP2NL='tr \100 \n'
6589 lt_NL2SP='tr \r\n \100\100'
6591 esac
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6602 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6603 if ${lt_cv_ld_reload_flag+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 lt_cv_ld_reload_flag='-r'
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6609 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6610 reload_flag=$lt_cv_ld_reload_flag
6611 case $reload_flag in
6612 "" | " "*) ;;
6613 *) reload_flag=" $reload_flag" ;;
6614 esac
6615 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6616 case $host_os in
6617 darwin*)
6618 if test "$GCC" = yes; then
6619 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6620 else
6621 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6624 esac
6634 if test -n "$ac_tool_prefix"; then
6635 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6636 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_OBJDUMP+:} false; then :
6640 $as_echo_n "(cached) " >&6
6641 else
6642 if test -n "$OBJDUMP"; then
6643 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6644 else
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 for as_dir in $PATH
6648 IFS=$as_save_IFS
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 break 2
6656 done
6657 done
6658 IFS=$as_save_IFS
6662 OBJDUMP=$ac_cv_prog_OBJDUMP
6663 if test -n "$OBJDUMP"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6665 $as_echo "$OBJDUMP" >&6; }
6666 else
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6673 if test -z "$ac_cv_prog_OBJDUMP"; then
6674 ac_ct_OBJDUMP=$OBJDUMP
6675 # Extract the first word of "objdump", so it can be a program name with args.
6676 set dummy objdump; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 if test -n "$ac_ct_OBJDUMP"; then
6683 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 break 2
6696 done
6697 done
6698 IFS=$as_save_IFS
6702 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6703 if test -n "$ac_ct_OBJDUMP"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6705 $as_echo "$ac_ct_OBJDUMP" >&6; }
6706 else
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6711 if test "x$ac_ct_OBJDUMP" = x; then
6712 OBJDUMP="false"
6713 else
6714 case $cross_compiling:$ac_tool_warned in
6715 yes:)
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6718 ac_tool_warned=yes ;;
6719 esac
6720 OBJDUMP=$ac_ct_OBJDUMP
6722 else
6723 OBJDUMP="$ac_cv_prog_OBJDUMP"
6726 test -z "$OBJDUMP" && OBJDUMP=objdump
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6737 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6738 if ${lt_cv_deplibs_check_method+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 lt_cv_file_magic_cmd='$MAGIC_CMD'
6742 lt_cv_file_magic_test_file=
6743 lt_cv_deplibs_check_method='unknown'
6744 # Need to set the preceding variable on all platforms that support
6745 # interlibrary dependencies.
6746 # 'none' -- dependencies not supported.
6747 # `unknown' -- same as none, but documents that we really don't know.
6748 # 'pass_all' -- all dependencies passed with no checks.
6749 # 'test_compile' -- check by making test program.
6750 # 'file_magic [[regex]]' -- check by looking for files in library path
6751 # which responds to the $file_magic_cmd with a given extended regex.
6752 # If you have `file' or equivalent on your system and you're not sure
6753 # whether `pass_all' will *always* work, you probably want this one.
6755 case $host_os in
6756 aix[4-9]*)
6757 lt_cv_deplibs_check_method=pass_all
6760 beos*)
6761 lt_cv_deplibs_check_method=pass_all
6764 bsdi[45]*)
6765 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6766 lt_cv_file_magic_cmd='/usr/bin/file -L'
6767 lt_cv_file_magic_test_file=/shlib/libc.so
6770 cygwin*)
6771 # func_win32_libid is a shell function defined in ltmain.sh
6772 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6773 lt_cv_file_magic_cmd='func_win32_libid'
6776 mingw* | pw32*)
6777 # Base MSYS/MinGW do not provide the 'file' command needed by
6778 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6779 # unless we find 'file', for example because we are cross-compiling.
6780 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6781 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6782 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6783 lt_cv_file_magic_cmd='func_win32_libid'
6784 else
6785 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6786 lt_cv_file_magic_cmd='$OBJDUMP -f'
6790 cegcc*)
6791 # use the weaker test based on 'objdump'. See mingw*.
6792 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6793 lt_cv_file_magic_cmd='$OBJDUMP -f'
6796 darwin* | rhapsody*)
6797 lt_cv_deplibs_check_method=pass_all
6800 freebsd* | dragonfly*)
6801 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6802 case $host_cpu in
6803 i*86 )
6804 # Not sure whether the presence of OpenBSD here was a mistake.
6805 # Let's accept both of them until this is cleared up.
6806 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6807 lt_cv_file_magic_cmd=/usr/bin/file
6808 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6810 esac
6811 else
6812 lt_cv_deplibs_check_method=pass_all
6816 gnu*)
6817 lt_cv_deplibs_check_method=pass_all
6820 haiku*)
6821 lt_cv_deplibs_check_method=pass_all
6824 hpux10.20* | hpux11*)
6825 lt_cv_file_magic_cmd=/usr/bin/file
6826 case $host_cpu in
6827 ia64*)
6828 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6829 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6831 hppa*64*)
6832 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]'
6833 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6836 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6837 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6839 esac
6842 interix[3-9]*)
6843 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6844 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6847 irix5* | irix6* | nonstopux*)
6848 case $LD in
6849 *-32|*"-32 ") libmagic=32-bit;;
6850 *-n32|*"-n32 ") libmagic=N32;;
6851 *-64|*"-64 ") libmagic=64-bit;;
6852 *) libmagic=never-match;;
6853 esac
6854 lt_cv_deplibs_check_method=pass_all
6857 # This must be Linux ELF.
6858 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6859 lt_cv_deplibs_check_method=pass_all
6862 netbsd*)
6863 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6864 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6865 else
6866 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6870 newos6*)
6871 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6872 lt_cv_file_magic_cmd=/usr/bin/file
6873 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6876 *nto* | *qnx*)
6877 lt_cv_deplibs_check_method=pass_all
6880 openbsd*)
6881 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6882 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6883 else
6884 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6888 osf3* | osf4* | osf5*)
6889 lt_cv_deplibs_check_method=pass_all
6892 rdos*)
6893 lt_cv_deplibs_check_method=pass_all
6896 solaris*)
6897 lt_cv_deplibs_check_method=pass_all
6900 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6901 lt_cv_deplibs_check_method=pass_all
6904 sysv4 | sysv4.3*)
6905 case $host_vendor in
6906 motorola)
6907 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]'
6908 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6910 ncr)
6911 lt_cv_deplibs_check_method=pass_all
6913 sequent)
6914 lt_cv_file_magic_cmd='/bin/file'
6915 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6917 sni)
6918 lt_cv_file_magic_cmd='/bin/file'
6919 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6920 lt_cv_file_magic_test_file=/lib/libc.so
6922 siemens)
6923 lt_cv_deplibs_check_method=pass_all
6926 lt_cv_deplibs_check_method=pass_all
6928 esac
6931 tpf*)
6932 lt_cv_deplibs_check_method=pass_all
6934 esac
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6938 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6939 file_magic_cmd=$lt_cv_file_magic_cmd
6940 deplibs_check_method=$lt_cv_deplibs_check_method
6941 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6954 if test -n "$ac_tool_prefix"; then
6955 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6956 set dummy ${ac_tool_prefix}ar; 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_AR+:} false; then :
6960 $as_echo_n "(cached) " >&6
6961 else
6962 if test -n "$AR"; then
6963 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
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 AR=$ac_cv_prog_AR
6983 if test -n "$AR"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6985 $as_echo "$AR" >&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_AR"; then
6994 ac_ct_AR=$AR
6995 # Extract the first word of "ar", so it can be a program name with args.
6996 set dummy ar; 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_AR+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 if test -n "$ac_ct_AR"; then
7003 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar"
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_AR=$ac_cv_prog_ac_ct_AR
7023 if test -n "$ac_ct_AR"; then
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7025 $as_echo "$ac_ct_AR" >&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_AR" = x; then
7032 AR="false"
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 AR=$ac_ct_AR
7042 else
7043 AR="$ac_cv_prog_AR"
7046 test -z "$AR" && AR=ar
7047 test -z "$AR_FLAGS" && AR_FLAGS=cru
7059 if test -n "$ac_tool_prefix"; then
7060 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7061 set dummy ${ac_tool_prefix}strip; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if ${ac_cv_prog_STRIP+:} false; then :
7065 $as_echo_n "(cached) " >&6
7066 else
7067 if test -n "$STRIP"; then
7068 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7069 else
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 for as_dir in $PATH
7073 IFS=$as_save_IFS
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 break 2
7081 done
7082 done
7083 IFS=$as_save_IFS
7087 STRIP=$ac_cv_prog_STRIP
7088 if test -n "$STRIP"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7090 $as_echo "$STRIP" >&6; }
7091 else
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7098 if test -z "$ac_cv_prog_STRIP"; then
7099 ac_ct_STRIP=$STRIP
7100 # Extract the first word of "strip", so it can be a program name with args.
7101 set dummy strip; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 if test -n "$ac_ct_STRIP"; then
7108 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7113 IFS=$as_save_IFS
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_ac_ct_STRIP="strip"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 break 2
7121 done
7122 done
7123 IFS=$as_save_IFS
7127 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7128 if test -n "$ac_ct_STRIP"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7130 $as_echo "$ac_ct_STRIP" >&6; }
7131 else
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7136 if test "x$ac_ct_STRIP" = x; then
7137 STRIP=":"
7138 else
7139 case $cross_compiling:$ac_tool_warned in
7140 yes:)
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7143 ac_tool_warned=yes ;;
7144 esac
7145 STRIP=$ac_ct_STRIP
7147 else
7148 STRIP="$ac_cv_prog_STRIP"
7151 test -z "$STRIP" && STRIP=:
7158 if test -n "$ac_tool_prefix"; then
7159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7160 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 $as_echo_n "checking for $ac_word... " >&6; }
7163 if ${ac_cv_prog_RANLIB+:} false; then :
7164 $as_echo_n "(cached) " >&6
7165 else
7166 if test -n "$RANLIB"; then
7167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7168 else
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 for as_dir in $PATH
7172 IFS=$as_save_IFS
7173 test -z "$as_dir" && as_dir=.
7174 for ac_exec_ext in '' $ac_executable_extensions; do
7175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 break 2
7180 done
7181 done
7182 IFS=$as_save_IFS
7186 RANLIB=$ac_cv_prog_RANLIB
7187 if test -n "$RANLIB"; then
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7189 $as_echo "$RANLIB" >&6; }
7190 else
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192 $as_echo "no" >&6; }
7197 if test -z "$ac_cv_prog_RANLIB"; then
7198 ac_ct_RANLIB=$RANLIB
7199 # Extract the first word of "ranlib", so it can be a program name with args.
7200 set dummy ranlib; ac_word=$2
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 $as_echo_n "checking for $ac_word... " >&6; }
7203 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7204 $as_echo_n "(cached) " >&6
7205 else
7206 if test -n "$ac_ct_RANLIB"; then
7207 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7208 else
7209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 for as_dir in $PATH
7212 IFS=$as_save_IFS
7213 test -z "$as_dir" && as_dir=.
7214 for ac_exec_ext in '' $ac_executable_extensions; do
7215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7216 ac_cv_prog_ac_ct_RANLIB="ranlib"
7217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 break 2
7220 done
7221 done
7222 IFS=$as_save_IFS
7226 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7227 if test -n "$ac_ct_RANLIB"; then
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7229 $as_echo "$ac_ct_RANLIB" >&6; }
7230 else
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232 $as_echo "no" >&6; }
7235 if test "x$ac_ct_RANLIB" = x; then
7236 RANLIB=":"
7237 else
7238 case $cross_compiling:$ac_tool_warned in
7239 yes:)
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7242 ac_tool_warned=yes ;;
7243 esac
7244 RANLIB=$ac_ct_RANLIB
7246 else
7247 RANLIB="$ac_cv_prog_RANLIB"
7250 test -z "$RANLIB" && RANLIB=:
7257 # Determine commands to create old-style static archives.
7258 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7259 old_postinstall_cmds='chmod 644 $oldlib'
7260 old_postuninstall_cmds=
7262 if test -n "$RANLIB"; then
7263 case $host_os in
7264 openbsd*)
7265 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7268 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7270 esac
7271 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7274 case $host_os in
7275 darwin*)
7276 lock_old_archive_extraction=yes ;;
7278 lock_old_archive_extraction=no ;;
7279 esac
7319 # If no C compiler was specified, use CC.
7320 LTCC=${LTCC-"$CC"}
7322 # If no C compiler flags were specified, use CFLAGS.
7323 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7325 # Allow CC to be a program name with arguments.
7326 compiler=$CC
7329 # Check for command to grab the raw symbol name followed by C symbol from nm.
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7331 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7332 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7333 $as_echo_n "(cached) " >&6
7334 else
7336 # These are sane defaults that work on at least a few old systems.
7337 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7339 # Character class describing NM global symbol codes.
7340 symcode='[BCDEGRST]'
7342 # Regexp to match symbols that can be accessed directly from C.
7343 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7345 # Define system-specific variables.
7346 case $host_os in
7347 aix*)
7348 symcode='[BCDT]'
7350 cygwin* | mingw* | pw32* | cegcc*)
7351 symcode='[ABCDGISTW]'
7353 hpux*)
7354 if test "$host_cpu" = ia64; then
7355 symcode='[ABCDEGRST]'
7358 irix* | nonstopux*)
7359 symcode='[BCDEGRST]'
7361 osf*)
7362 symcode='[BCDEGQRST]'
7364 solaris*)
7365 symcode='[BDRT]'
7367 sco3.2v5*)
7368 symcode='[DT]'
7370 sysv4.2uw2*)
7371 symcode='[DT]'
7373 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7374 symcode='[ABDT]'
7376 sysv4)
7377 symcode='[DFNSTU]'
7379 esac
7381 # If we're using GNU nm, then use its standard symbol codes.
7382 case `$NM -V 2>&1` in
7383 *GNU* | *'with BFD'*)
7384 symcode='[ABCDGIRSTW]' ;;
7385 esac
7387 # Transform an extracted symbol line into a proper C declaration.
7388 # Some systems (esp. on ia64) link data and code symbols differently,
7389 # so use this general approach.
7390 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7392 # Transform an extracted symbol line into symbol name and symbol address
7393 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7394 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'"
7396 # Handle CRLF in mingw tool chain
7397 opt_cr=
7398 case $build_os in
7399 mingw*)
7400 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7402 esac
7404 # Try without a prefix underscore, then with it.
7405 for ac_symprfx in "" "_"; do
7407 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7408 symxfrm="\\1 $ac_symprfx\\2 \\2"
7410 # Write the raw and C identifiers.
7411 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7412 # Fake it for dumpbin and say T for any non-static function
7413 # and D for any global variable.
7414 # Also find C++ and __fastcall symbols from MSVC++,
7415 # which start with @ or ?.
7416 lt_cv_sys_global_symbol_pipe="$AWK '"\
7417 " {last_section=section; section=\$ 3};"\
7418 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7419 " \$ 0!~/External *\|/{next};"\
7420 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7421 " {if(hide[section]) next};"\
7422 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7423 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7424 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7425 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7426 " ' prfx=^$ac_symprfx"
7427 else
7428 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7431 # Check to see that the pipe works correctly.
7432 pipe_works=no
7434 rm -f conftest*
7435 cat > conftest.$ac_ext <<_LT_EOF
7436 #ifdef __cplusplus
7437 extern "C" {
7438 #endif
7439 char nm_test_var;
7440 void nm_test_func(void);
7441 void nm_test_func(void){}
7442 #ifdef __cplusplus
7444 #endif
7445 int main(){nm_test_var='a';nm_test_func();return(0);}
7446 _LT_EOF
7448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7449 (eval $ac_compile) 2>&5
7450 ac_status=$?
7451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7452 test $ac_status = 0; }; then
7453 # Now try to grab the symbols.
7454 nlist=conftest.nm
7455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7456 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7457 ac_status=$?
7458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7459 test $ac_status = 0; } && test -s "$nlist"; then
7460 # Try sorting and uniquifying the output.
7461 if sort "$nlist" | uniq > "$nlist"T; then
7462 mv -f "$nlist"T "$nlist"
7463 else
7464 rm -f "$nlist"T
7467 # Make sure that we snagged all the symbols we need.
7468 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7469 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7470 cat <<_LT_EOF > conftest.$ac_ext
7471 #ifdef __cplusplus
7472 extern "C" {
7473 #endif
7475 _LT_EOF
7476 # Now generate the symbol file.
7477 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7479 cat <<_LT_EOF >> conftest.$ac_ext
7481 /* The mapping between symbol names and symbols. */
7482 const struct {
7483 const char *name;
7484 void *address;
7486 lt__PROGRAM__LTX_preloaded_symbols[] =
7488 { "@PROGRAM@", (void *) 0 },
7489 _LT_EOF
7490 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7491 cat <<\_LT_EOF >> conftest.$ac_ext
7492 {0, (void *) 0}
7495 /* This works around a problem in FreeBSD linker */
7496 #ifdef FREEBSD_WORKAROUND
7497 static const void *lt_preloaded_setup() {
7498 return lt__PROGRAM__LTX_preloaded_symbols;
7500 #endif
7502 #ifdef __cplusplus
7504 #endif
7505 _LT_EOF
7506 # Now try linking the two files.
7507 mv conftest.$ac_objext conftstm.$ac_objext
7508 lt_save_LIBS="$LIBS"
7509 lt_save_CFLAGS="$CFLAGS"
7510 LIBS="conftstm.$ac_objext"
7511 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7513 (eval $ac_link) 2>&5
7514 ac_status=$?
7515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7516 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7517 pipe_works=yes
7519 LIBS="$lt_save_LIBS"
7520 CFLAGS="$lt_save_CFLAGS"
7521 else
7522 echo "cannot find nm_test_func in $nlist" >&5
7524 else
7525 echo "cannot find nm_test_var in $nlist" >&5
7527 else
7528 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7530 else
7531 echo "$progname: failed program was:" >&5
7532 cat conftest.$ac_ext >&5
7534 rm -rf conftest* conftst*
7536 # Do not use the global_symbol_pipe unless it works.
7537 if test "$pipe_works" = yes; then
7538 break
7539 else
7540 lt_cv_sys_global_symbol_pipe=
7542 done
7546 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7547 lt_cv_sys_global_symbol_to_cdecl=
7549 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7551 $as_echo "failed" >&6; }
7552 else
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7554 $as_echo "ok" >&6; }
7578 # Check whether --enable-libtool-lock was given.
7579 if test "${enable_libtool_lock+set}" = set; then :
7580 enableval=$enable_libtool_lock;
7583 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7585 # Some flags need to be propagated to the compiler or linker for good
7586 # libtool support.
7587 case $host in
7588 ia64-*-hpux*)
7589 # Find out which ABI we are using.
7590 echo 'int i;' > conftest.$ac_ext
7591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7592 (eval $ac_compile) 2>&5
7593 ac_status=$?
7594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7595 test $ac_status = 0; }; then
7596 case `/usr/bin/file conftest.$ac_objext` in
7597 *ELF-32*)
7598 HPUX_IA64_MODE="32"
7600 *ELF-64*)
7601 HPUX_IA64_MODE="64"
7603 esac
7605 rm -rf conftest*
7607 *-*-irix6*)
7608 # Find out which ABI we are using.
7609 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7610 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7611 (eval $ac_compile) 2>&5
7612 ac_status=$?
7613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7614 test $ac_status = 0; }; then
7615 if test "$lt_cv_prog_gnu_ld" = yes; then
7616 case `/usr/bin/file conftest.$ac_objext` in
7617 *32-bit*)
7618 LD="${LD-ld} -melf32bsmip"
7620 *N32*)
7621 LD="${LD-ld} -melf32bmipn32"
7623 *64-bit*)
7624 LD="${LD-ld} -melf64bmip"
7626 esac
7627 else
7628 case `/usr/bin/file conftest.$ac_objext` in
7629 *32-bit*)
7630 LD="${LD-ld} -32"
7632 *N32*)
7633 LD="${LD-ld} -n32"
7635 *64-bit*)
7636 LD="${LD-ld} -64"
7638 esac
7641 rm -rf conftest*
7644 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7645 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7646 # Find out which ABI we are using.
7647 echo 'int i;' > conftest.$ac_ext
7648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7649 (eval $ac_compile) 2>&5
7650 ac_status=$?
7651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7652 test $ac_status = 0; }; then
7653 case `/usr/bin/file conftest.o` in
7654 *32-bit*)
7655 case $host in
7656 x86_64-*kfreebsd*-gnu)
7657 LD="${LD-ld} -m elf_i386_fbsd"
7659 x86_64-*linux*)
7660 case `/usr/bin/file conftest.o` in
7661 *x86-64*)
7662 LD="${LD-ld} -m elf32_x86_64"
7665 LD="${LD-ld} -m elf_i386"
7667 esac
7669 powerpc64le-*linux*)
7670 LD="${LD-ld} -m elf32lppclinux"
7672 powerpc64-*linux*)
7673 LD="${LD-ld} -m elf32ppclinux"
7675 s390x-*linux*)
7676 LD="${LD-ld} -m elf_s390"
7678 sparc64-*linux*)
7679 LD="${LD-ld} -m elf32_sparc"
7681 esac
7683 *64-bit*)
7684 case $host in
7685 x86_64-*kfreebsd*-gnu)
7686 LD="${LD-ld} -m elf_x86_64_fbsd"
7688 x86_64-*linux*)
7689 LD="${LD-ld} -m elf_x86_64"
7691 powerpcle-*linux*)
7692 LD="${LD-ld} -m elf64lppc"
7694 powerpc-*linux*)
7695 LD="${LD-ld} -m elf64ppc"
7697 s390*-*linux*|s390*-*tpf*)
7698 LD="${LD-ld} -m elf64_s390"
7700 sparc*-*linux*)
7701 LD="${LD-ld} -m elf64_sparc"
7703 esac
7705 esac
7707 rm -rf conftest*
7710 *-*-sco3.2v5*)
7711 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7712 SAVE_CFLAGS="$CFLAGS"
7713 CFLAGS="$CFLAGS -belf"
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7715 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7716 if ${lt_cv_cc_needs_belf+:} false; then :
7717 $as_echo_n "(cached) " >&6
7718 else
7719 ac_ext=c
7720 ac_cpp='$CPP $CPPFLAGS'
7721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7725 if test x$gcc_no_link = xyes; then
7726 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7729 /* end confdefs.h. */
7732 main ()
7736 return 0;
7738 _ACEOF
7739 if ac_fn_c_try_link "$LINENO"; then :
7740 lt_cv_cc_needs_belf=yes
7741 else
7742 lt_cv_cc_needs_belf=no
7744 rm -f core conftest.err conftest.$ac_objext \
7745 conftest$ac_exeext conftest.$ac_ext
7746 ac_ext=c
7747 ac_cpp='$CPP $CPPFLAGS'
7748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7754 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7755 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7756 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7757 CFLAGS="$SAVE_CFLAGS"
7760 sparc*-*solaris*)
7761 # Find out which ABI we are using.
7762 echo 'int i;' > conftest.$ac_ext
7763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7764 (eval $ac_compile) 2>&5
7765 ac_status=$?
7766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7767 test $ac_status = 0; }; then
7768 case `/usr/bin/file conftest.o` in
7769 *64-bit*)
7770 case $lt_cv_prog_gnu_ld in
7771 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7773 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7774 LD="${LD-ld} -64"
7777 esac
7779 esac
7781 rm -rf conftest*
7783 esac
7785 need_locks="$enable_libtool_lock"
7788 case $host_os in
7789 rhapsody* | darwin*)
7790 if test -n "$ac_tool_prefix"; then
7791 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7792 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794 $as_echo_n "checking for $ac_word... " >&6; }
7795 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7796 $as_echo_n "(cached) " >&6
7797 else
7798 if test -n "$DSYMUTIL"; then
7799 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7800 else
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802 for as_dir in $PATH
7804 IFS=$as_save_IFS
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7810 break 2
7812 done
7813 done
7814 IFS=$as_save_IFS
7818 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7819 if test -n "$DSYMUTIL"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7821 $as_echo "$DSYMUTIL" >&6; }
7822 else
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824 $as_echo "no" >&6; }
7829 if test -z "$ac_cv_prog_DSYMUTIL"; then
7830 ac_ct_DSYMUTIL=$DSYMUTIL
7831 # Extract the first word of "dsymutil", so it can be a program name with args.
7832 set dummy dsymutil; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834 $as_echo_n "checking for $ac_word... " >&6; }
7835 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7836 $as_echo_n "(cached) " >&6
7837 else
7838 if test -n "$ac_ct_DSYMUTIL"; then
7839 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7840 else
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842 for as_dir in $PATH
7844 IFS=$as_save_IFS
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7850 break 2
7852 done
7853 done
7854 IFS=$as_save_IFS
7858 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7859 if test -n "$ac_ct_DSYMUTIL"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7861 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7862 else
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864 $as_echo "no" >&6; }
7867 if test "x$ac_ct_DSYMUTIL" = x; then
7868 DSYMUTIL=":"
7869 else
7870 case $cross_compiling:$ac_tool_warned in
7871 yes:)
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7874 ac_tool_warned=yes ;;
7875 esac
7876 DSYMUTIL=$ac_ct_DSYMUTIL
7878 else
7879 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7882 if test -n "$ac_tool_prefix"; then
7883 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7884 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_NMEDIT+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 if test -n "$NMEDIT"; then
7891 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 NMEDIT=$ac_cv_prog_NMEDIT
7911 if test -n "$NMEDIT"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7913 $as_echo "$NMEDIT" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7921 if test -z "$ac_cv_prog_NMEDIT"; then
7922 ac_ct_NMEDIT=$NMEDIT
7923 # Extract the first word of "nmedit", so it can be a program name with args.
7924 set dummy nmedit; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7928 $as_echo_n "(cached) " >&6
7929 else
7930 if test -n "$ac_ct_NMEDIT"; then
7931 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7932 else
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 for as_dir in $PATH
7936 IFS=$as_save_IFS
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 break 2
7944 done
7945 done
7946 IFS=$as_save_IFS
7950 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7951 if test -n "$ac_ct_NMEDIT"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7953 $as_echo "$ac_ct_NMEDIT" >&6; }
7954 else
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7959 if test "x$ac_ct_NMEDIT" = x; then
7960 NMEDIT=":"
7961 else
7962 case $cross_compiling:$ac_tool_warned in
7963 yes:)
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7966 ac_tool_warned=yes ;;
7967 esac
7968 NMEDIT=$ac_ct_NMEDIT
7970 else
7971 NMEDIT="$ac_cv_prog_NMEDIT"
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_LIPO+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$LIPO"; then
7983 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 LIPO=$ac_cv_prog_LIPO
8003 if test -n "$LIPO"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8005 $as_echo "$LIPO" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8013 if test -z "$ac_cv_prog_LIPO"; then
8014 ac_ct_LIPO=$LIPO
8015 # Extract the first word of "lipo", so it can be a program name with args.
8016 set dummy lipo; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$ac_ct_LIPO"; then
8023 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_LIPO="lipo"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8043 if test -n "$ac_ct_LIPO"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8045 $as_echo "$ac_ct_LIPO" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8051 if test "x$ac_ct_LIPO" = x; then
8052 LIPO=":"
8053 else
8054 case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060 LIPO=$ac_ct_LIPO
8062 else
8063 LIPO="$ac_cv_prog_LIPO"
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}otool; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070 $as_echo_n "checking for $ac_word... " >&6; }
8071 if ${ac_cv_prog_OTOOL+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 if test -n "$OTOOL"; then
8075 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8076 else
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 for as_dir in $PATH
8080 IFS=$as_save_IFS
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 break 2
8088 done
8089 done
8090 IFS=$as_save_IFS
8094 OTOOL=$ac_cv_prog_OTOOL
8095 if test -n "$OTOOL"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8097 $as_echo "$OTOOL" >&6; }
8098 else
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8105 if test -z "$ac_cv_prog_OTOOL"; then
8106 ac_ct_OTOOL=$OTOOL
8107 # Extract the first word of "otool", so it can be a program name with args.
8108 set dummy otool; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 if test -n "$ac_ct_OTOOL"; then
8115 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8116 else
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 for as_dir in $PATH
8120 IFS=$as_save_IFS
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_ac_ct_OTOOL="otool"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 break 2
8128 done
8129 done
8130 IFS=$as_save_IFS
8134 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8135 if test -n "$ac_ct_OTOOL"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8137 $as_echo "$ac_ct_OTOOL" >&6; }
8138 else
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8143 if test "x$ac_ct_OTOOL" = x; then
8144 OTOOL=":"
8145 else
8146 case $cross_compiling:$ac_tool_warned in
8147 yes:)
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8150 ac_tool_warned=yes ;;
8151 esac
8152 OTOOL=$ac_ct_OTOOL
8154 else
8155 OTOOL="$ac_cv_prog_OTOOL"
8158 if test -n "$ac_tool_prefix"; then
8159 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8160 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8162 $as_echo_n "checking for $ac_word... " >&6; }
8163 if ${ac_cv_prog_OTOOL64+:} false; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 if test -n "$OTOOL64"; then
8167 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8168 else
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 for as_dir in $PATH
8172 IFS=$as_save_IFS
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8176 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 break 2
8180 done
8181 done
8182 IFS=$as_save_IFS
8186 OTOOL64=$ac_cv_prog_OTOOL64
8187 if test -n "$OTOOL64"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8189 $as_echo "$OTOOL64" >&6; }
8190 else
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8192 $as_echo "no" >&6; }
8197 if test -z "$ac_cv_prog_OTOOL64"; then
8198 ac_ct_OTOOL64=$OTOOL64
8199 # Extract the first word of "otool64", so it can be a program name with args.
8200 set dummy otool64; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 if test -n "$ac_ct_OTOOL64"; then
8207 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8212 IFS=$as_save_IFS
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_ac_ct_OTOOL64="otool64"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 break 2
8220 done
8221 done
8222 IFS=$as_save_IFS
8226 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8227 if test -n "$ac_ct_OTOOL64"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8229 $as_echo "$ac_ct_OTOOL64" >&6; }
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8235 if test "x$ac_ct_OTOOL64" = x; then
8236 OTOOL64=":"
8237 else
8238 case $cross_compiling:$ac_tool_warned in
8239 yes:)
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8242 ac_tool_warned=yes ;;
8243 esac
8244 OTOOL64=$ac_ct_OTOOL64
8246 else
8247 OTOOL64="$ac_cv_prog_OTOOL64"
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8277 $as_echo_n "checking for -single_module linker flag... " >&6; }
8278 if ${lt_cv_apple_cc_single_mod+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 lt_cv_apple_cc_single_mod=no
8282 if test -z "${LT_MULTI_MODULE}"; then
8283 # By default we will add the -single_module flag. You can override
8284 # by either setting the environment variable LT_MULTI_MODULE
8285 # non-empty at configure time, or by adding -multi_module to the
8286 # link flags.
8287 rm -rf libconftest.dylib*
8288 echo "int foo(void){return 1;}" > conftest.c
8289 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8290 -dynamiclib -Wl,-single_module conftest.c" >&5
8291 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8292 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8293 _lt_result=$?
8294 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8295 lt_cv_apple_cc_single_mod=yes
8296 else
8297 cat conftest.err >&5
8299 rm -rf libconftest.dylib*
8300 rm -f conftest.*
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8304 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8306 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8307 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8308 $as_echo_n "(cached) " >&6
8309 else
8310 lt_cv_ld_exported_symbols_list=no
8311 save_LDFLAGS=$LDFLAGS
8312 echo "_main" > conftest.sym
8313 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8314 if test x$gcc_no_link = xyes; then
8315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8321 main ()
8325 return 0;
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 lt_cv_ld_exported_symbols_list=yes
8330 else
8331 lt_cv_ld_exported_symbols_list=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 LDFLAGS="$save_LDFLAGS"
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8339 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8341 $as_echo_n "checking for -force_load linker flag... " >&6; }
8342 if ${lt_cv_ld_force_load+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 lt_cv_ld_force_load=no
8346 cat > conftest.c << _LT_EOF
8347 int forced_loaded() { return 2;}
8348 _LT_EOF
8349 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8350 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8351 echo "$AR cru libconftest.a conftest.o" >&5
8352 $AR cru libconftest.a conftest.o 2>&5
8353 cat > conftest.c << _LT_EOF
8354 int main() { return 0;}
8355 _LT_EOF
8356 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8357 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8358 _lt_result=$?
8359 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8360 lt_cv_ld_force_load=yes
8361 else
8362 cat conftest.err >&5
8364 rm -f conftest.err libconftest.a conftest conftest.c
8365 rm -rf conftest.dSYM
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8369 $as_echo "$lt_cv_ld_force_load" >&6; }
8370 case $host_os in
8371 rhapsody* | darwin1.[012])
8372 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8373 darwin1.*)
8374 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8375 darwin*) # darwin 5.x on
8376 # if running on 10.5 or later, the deployment target defaults
8377 # to the OS version, if on x86, and 10.4, the deployment
8378 # target defaults to 10.4. Don't you love it?
8379 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8380 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8381 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8382 10.[012][,.]*)
8383 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8384 10.*)
8385 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8386 esac
8388 esac
8389 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8390 _lt_dar_single_mod='$single_module'
8392 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8393 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8394 else
8395 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8397 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8398 _lt_dsymutil='~$DSYMUTIL $lib || :'
8399 else
8400 _lt_dsymutil=
8403 esac
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8406 $as_echo_n "checking for ANSI C header files... " >&6; }
8407 if ${ac_cv_header_stdc+:} false; then :
8408 $as_echo_n "(cached) " >&6
8409 else
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 #include <stdlib.h>
8413 #include <stdarg.h>
8414 #include <string.h>
8415 #include <float.h>
8418 main ()
8422 return 0;
8424 _ACEOF
8425 if ac_fn_c_try_compile "$LINENO"; then :
8426 ac_cv_header_stdc=yes
8427 else
8428 ac_cv_header_stdc=no
8430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8432 if test $ac_cv_header_stdc = yes; then
8433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8436 #include <string.h>
8438 _ACEOF
8439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8440 $EGREP "memchr" >/dev/null 2>&1; then :
8442 else
8443 ac_cv_header_stdc=no
8445 rm -f conftest*
8449 if test $ac_cv_header_stdc = yes; then
8450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 #include <stdlib.h>
8455 _ACEOF
8456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8457 $EGREP "free" >/dev/null 2>&1; then :
8459 else
8460 ac_cv_header_stdc=no
8462 rm -f conftest*
8466 if test $ac_cv_header_stdc = yes; then
8467 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8468 if test "$cross_compiling" = yes; then :
8470 else
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 #include <ctype.h>
8474 #include <stdlib.h>
8475 #if ((' ' & 0x0FF) == 0x020)
8476 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8477 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8478 #else
8479 # define ISLOWER(c) \
8480 (('a' <= (c) && (c) <= 'i') \
8481 || ('j' <= (c) && (c) <= 'r') \
8482 || ('s' <= (c) && (c) <= 'z'))
8483 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8484 #endif
8486 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8488 main ()
8490 int i;
8491 for (i = 0; i < 256; i++)
8492 if (XOR (islower (i), ISLOWER (i))
8493 || toupper (i) != TOUPPER (i))
8494 return 2;
8495 return 0;
8497 _ACEOF
8498 if ac_fn_c_try_run "$LINENO"; then :
8500 else
8501 ac_cv_header_stdc=no
8503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8504 conftest.$ac_objext conftest.beam conftest.$ac_ext
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8510 $as_echo "$ac_cv_header_stdc" >&6; }
8511 if test $ac_cv_header_stdc = yes; then
8513 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8517 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8518 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8519 inttypes.h stdint.h unistd.h
8520 do :
8521 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8522 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8524 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8525 cat >>confdefs.h <<_ACEOF
8526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8527 _ACEOF
8531 done
8534 for ac_header in dlfcn.h
8535 do :
8536 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8538 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8539 cat >>confdefs.h <<_ACEOF
8540 #define HAVE_DLFCN_H 1
8541 _ACEOF
8545 done
8552 # Set options
8557 enable_win32_dll=no
8560 # Check whether --enable-shared was given.
8561 if test "${enable_shared+set}" = set; then :
8562 enableval=$enable_shared; p=${PACKAGE-default}
8563 case $enableval in
8564 yes) enable_shared=yes ;;
8565 no) enable_shared=no ;;
8567 enable_shared=no
8568 # Look at the argument we got. We use all the common list separators.
8569 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8570 for pkg in $enableval; do
8571 IFS="$lt_save_ifs"
8572 if test "X$pkg" = "X$p"; then
8573 enable_shared=yes
8575 done
8576 IFS="$lt_save_ifs"
8578 esac
8579 else
8580 enable_shared=yes
8591 # Check whether --enable-static was given.
8592 if test "${enable_static+set}" = set; then :
8593 enableval=$enable_static; p=${PACKAGE-default}
8594 case $enableval in
8595 yes) enable_static=yes ;;
8596 no) enable_static=no ;;
8598 enable_static=no
8599 # Look at the argument we got. We use all the common list separators.
8600 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8601 for pkg in $enableval; do
8602 IFS="$lt_save_ifs"
8603 if test "X$pkg" = "X$p"; then
8604 enable_static=yes
8606 done
8607 IFS="$lt_save_ifs"
8609 esac
8610 else
8611 enable_static=yes
8623 # Check whether --with-pic was given.
8624 if test "${with_pic+set}" = set; then :
8625 withval=$with_pic; pic_mode="$withval"
8626 else
8627 pic_mode=default
8631 test -z "$pic_mode" && pic_mode=default
8639 # Check whether --enable-fast-install was given.
8640 if test "${enable_fast_install+set}" = set; then :
8641 enableval=$enable_fast_install; p=${PACKAGE-default}
8642 case $enableval in
8643 yes) enable_fast_install=yes ;;
8644 no) enable_fast_install=no ;;
8646 enable_fast_install=no
8647 # Look at the argument we got. We use all the common list separators.
8648 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8649 for pkg in $enableval; do
8650 IFS="$lt_save_ifs"
8651 if test "X$pkg" = "X$p"; then
8652 enable_fast_install=yes
8654 done
8655 IFS="$lt_save_ifs"
8657 esac
8658 else
8659 enable_fast_install=yes
8672 # This can be used to rebuild libtool when needed
8673 LIBTOOL_DEPS="$ltmain"
8675 # Always use our own libtool.
8676 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8703 test -z "$LN_S" && LN_S="ln -s"
8718 if test -n "${ZSH_VERSION+set}" ; then
8719 setopt NO_GLOB_SUBST
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8723 $as_echo_n "checking for objdir... " >&6; }
8724 if ${lt_cv_objdir+:} false; then :
8725 $as_echo_n "(cached) " >&6
8726 else
8727 rm -f .libs 2>/dev/null
8728 mkdir .libs 2>/dev/null
8729 if test -d .libs; then
8730 lt_cv_objdir=.libs
8731 else
8732 # MS-DOS does not allow filenames that begin with a dot.
8733 lt_cv_objdir=_libs
8735 rmdir .libs 2>/dev/null
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8738 $as_echo "$lt_cv_objdir" >&6; }
8739 objdir=$lt_cv_objdir
8745 cat >>confdefs.h <<_ACEOF
8746 #define LT_OBJDIR "$lt_cv_objdir/"
8747 _ACEOF
8752 case $host_os in
8753 aix3*)
8754 # AIX sometimes has problems with the GCC collect2 program. For some
8755 # reason, if we set the COLLECT_NAMES environment variable, the problems
8756 # vanish in a puff of smoke.
8757 if test "X${COLLECT_NAMES+set}" != Xset; then
8758 COLLECT_NAMES=
8759 export COLLECT_NAMES
8762 esac
8764 # Global variables:
8765 ofile=libtool
8766 can_build_shared=yes
8768 # All known linkers require a `.a' archive for static linking (except MSVC,
8769 # which needs '.lib').
8770 libext=a
8772 with_gnu_ld="$lt_cv_prog_gnu_ld"
8774 old_CC="$CC"
8775 old_CFLAGS="$CFLAGS"
8777 # Set sane defaults for various variables
8778 test -z "$CC" && CC=cc
8779 test -z "$LTCC" && LTCC=$CC
8780 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8781 test -z "$LD" && LD=ld
8782 test -z "$ac_objext" && ac_objext=o
8784 for cc_temp in $compiler""; do
8785 case $cc_temp in
8786 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8787 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8788 \-*) ;;
8789 *) break;;
8790 esac
8791 done
8792 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8795 # Only perform the check for file, if the check method requires it
8796 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8797 case $deplibs_check_method in
8798 file_magic*)
8799 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8801 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8802 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 case $MAGIC_CMD in
8806 [\\/*] | ?:[\\/]*)
8807 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8810 lt_save_MAGIC_CMD="$MAGIC_CMD"
8811 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8812 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8813 for ac_dir in $ac_dummy; do
8814 IFS="$lt_save_ifs"
8815 test -z "$ac_dir" && ac_dir=.
8816 if test -f $ac_dir/${ac_tool_prefix}file; then
8817 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8818 if test -n "$file_magic_test_file"; then
8819 case $deplibs_check_method in
8820 "file_magic "*)
8821 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8822 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8823 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8824 $EGREP "$file_magic_regex" > /dev/null; then
8826 else
8827 cat <<_LT_EOF 1>&2
8829 *** Warning: the command libtool uses to detect shared libraries,
8830 *** $file_magic_cmd, produces output that libtool cannot recognize.
8831 *** The result is that libtool may fail to recognize shared libraries
8832 *** as such. This will affect the creation of libtool libraries that
8833 *** depend on shared libraries, but programs linked with such libtool
8834 *** libraries will work regardless of this problem. Nevertheless, you
8835 *** may want to report the problem to your system manager and/or to
8836 *** bug-libtool@gnu.org
8838 _LT_EOF
8839 fi ;;
8840 esac
8842 break
8844 done
8845 IFS="$lt_save_ifs"
8846 MAGIC_CMD="$lt_save_MAGIC_CMD"
8848 esac
8851 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8852 if test -n "$MAGIC_CMD"; then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8854 $as_echo "$MAGIC_CMD" >&6; }
8855 else
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8857 $as_echo "no" >&6; }
8864 if test -z "$lt_cv_path_MAGIC_CMD"; then
8865 if test -n "$ac_tool_prefix"; then
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8867 $as_echo_n "checking for file... " >&6; }
8868 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 case $MAGIC_CMD in
8872 [\\/*] | ?:[\\/]*)
8873 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8876 lt_save_MAGIC_CMD="$MAGIC_CMD"
8877 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8878 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8879 for ac_dir in $ac_dummy; do
8880 IFS="$lt_save_ifs"
8881 test -z "$ac_dir" && ac_dir=.
8882 if test -f $ac_dir/file; then
8883 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8884 if test -n "$file_magic_test_file"; then
8885 case $deplibs_check_method in
8886 "file_magic "*)
8887 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8888 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8889 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8890 $EGREP "$file_magic_regex" > /dev/null; then
8892 else
8893 cat <<_LT_EOF 1>&2
8895 *** Warning: the command libtool uses to detect shared libraries,
8896 *** $file_magic_cmd, produces output that libtool cannot recognize.
8897 *** The result is that libtool may fail to recognize shared libraries
8898 *** as such. This will affect the creation of libtool libraries that
8899 *** depend on shared libraries, but programs linked with such libtool
8900 *** libraries will work regardless of this problem. Nevertheless, you
8901 *** may want to report the problem to your system manager and/or to
8902 *** bug-libtool@gnu.org
8904 _LT_EOF
8905 fi ;;
8906 esac
8908 break
8910 done
8911 IFS="$lt_save_ifs"
8912 MAGIC_CMD="$lt_save_MAGIC_CMD"
8914 esac
8917 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8918 if test -n "$MAGIC_CMD"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8920 $as_echo "$MAGIC_CMD" >&6; }
8921 else
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923 $as_echo "no" >&6; }
8927 else
8928 MAGIC_CMD=:
8934 esac
8936 # Use C for the default configuration in the libtool script
8938 lt_save_CC="$CC"
8939 ac_ext=c
8940 ac_cpp='$CPP $CPPFLAGS'
8941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8946 # Source file extension for C test sources.
8947 ac_ext=c
8949 # Object file extension for compiled C test sources.
8950 objext=o
8951 objext=$objext
8953 # Code to be used in simple compile tests
8954 lt_simple_compile_test_code="int some_variable = 0;"
8956 # Code to be used in simple link tests
8957 lt_simple_link_test_code='int main(){return(0);}'
8965 # If no C compiler was specified, use CC.
8966 LTCC=${LTCC-"$CC"}
8968 # If no C compiler flags were specified, use CFLAGS.
8969 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8971 # Allow CC to be a program name with arguments.
8972 compiler=$CC
8974 # Save the default compiler, since it gets overwritten when the other
8975 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8976 compiler_DEFAULT=$CC
8978 # save warnings/boilerplate of simple test code
8979 ac_outfile=conftest.$ac_objext
8980 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8981 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8982 _lt_compiler_boilerplate=`cat conftest.err`
8983 $RM conftest*
8985 ac_outfile=conftest.$ac_objext
8986 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8987 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8988 _lt_linker_boilerplate=`cat conftest.err`
8989 $RM -r conftest*
8992 ## CAVEAT EMPTOR:
8993 ## There is no encapsulation within the following macros, do not change
8994 ## the running order or otherwise move them around unless you know exactly
8995 ## what you are doing...
8996 if test -n "$compiler"; then
8998 lt_prog_compiler_no_builtin_flag=
9000 if test "$GCC" = yes; then
9001 case $cc_basename in
9002 nvcc*)
9003 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9005 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9006 esac
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9009 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9010 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9011 $as_echo_n "(cached) " >&6
9012 else
9013 lt_cv_prog_compiler_rtti_exceptions=no
9014 ac_outfile=conftest.$ac_objext
9015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9016 lt_compiler_flag="-fno-rtti -fno-exceptions"
9017 # Insert the option either (1) after the last *FLAGS variable, or
9018 # (2) before a word containing "conftest.", or (3) at the end.
9019 # Note that $ac_compile itself does not contain backslashes and begins
9020 # with a dollar sign (not a hyphen), so the echo should work correctly.
9021 # The option is referenced via a variable to avoid confusing sed.
9022 lt_compile=`echo "$ac_compile" | $SED \
9023 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9025 -e 's:$: $lt_compiler_flag:'`
9026 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9027 (eval "$lt_compile" 2>conftest.err)
9028 ac_status=$?
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 if (exit $ac_status) && test -s "$ac_outfile"; then
9032 # The compiler can only warn and ignore the option if not recognized
9033 # So say no if there are warnings other than the usual output.
9034 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9035 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9036 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9037 lt_cv_prog_compiler_rtti_exceptions=yes
9040 $RM conftest*
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9044 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9046 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9047 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9048 else
9059 lt_prog_compiler_wl=
9060 lt_prog_compiler_pic=
9061 lt_prog_compiler_static=
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9064 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9066 if test "$GCC" = yes; then
9067 lt_prog_compiler_wl='-Wl,'
9068 lt_prog_compiler_static='-static'
9070 case $host_os in
9071 aix*)
9072 # All AIX code is PIC.
9073 if test "$host_cpu" = ia64; then
9074 # AIX 5 now supports IA64 processor
9075 lt_prog_compiler_static='-Bstatic'
9077 lt_prog_compiler_pic='-fPIC'
9080 amigaos*)
9081 case $host_cpu in
9082 powerpc)
9083 # see comment about AmigaOS4 .so support
9084 lt_prog_compiler_pic='-fPIC'
9086 m68k)
9087 # FIXME: we need at least 68020 code to build shared libraries, but
9088 # adding the `-m68020' flag to GCC prevents building anything better,
9089 # like `-m68040'.
9090 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9092 esac
9095 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9096 # PIC is the default for these OSes.
9099 mingw* | cygwin* | pw32* | os2* | cegcc*)
9100 # This hack is so that the source file can tell whether it is being
9101 # built for inclusion in a dll (and should export symbols for example).
9102 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9103 # (--disable-auto-import) libraries
9104 lt_prog_compiler_pic='-DDLL_EXPORT'
9107 darwin* | rhapsody*)
9108 # PIC is the default on this platform
9109 # Common symbols not allowed in MH_DYLIB files
9110 lt_prog_compiler_pic='-fno-common'
9113 haiku*)
9114 # PIC is the default for Haiku.
9115 # The "-static" flag exists, but is broken.
9116 lt_prog_compiler_static=
9119 hpux*)
9120 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9121 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9122 # sets the default TLS model and affects inlining.
9123 case $host_cpu in
9124 hppa*64*)
9125 # +Z the default
9128 lt_prog_compiler_pic='-fPIC'
9130 esac
9133 interix[3-9]*)
9134 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9135 # Instead, we relocate shared libraries at runtime.
9138 msdosdjgpp*)
9139 # Just because we use GCC doesn't mean we suddenly get shared libraries
9140 # on systems that don't support them.
9141 lt_prog_compiler_can_build_shared=no
9142 enable_shared=no
9145 *nto* | *qnx*)
9146 # QNX uses GNU C++, but need to define -shared option too, otherwise
9147 # it will coredump.
9148 lt_prog_compiler_pic='-fPIC -shared'
9151 sysv4*MP*)
9152 if test -d /usr/nec; then
9153 lt_prog_compiler_pic=-Kconform_pic
9158 lt_prog_compiler_pic='-fPIC'
9160 esac
9162 case $cc_basename in
9163 nvcc*) # Cuda Compiler Driver 2.2
9164 lt_prog_compiler_wl='-Xlinker '
9165 lt_prog_compiler_pic='-Xcompiler -fPIC'
9167 esac
9168 else
9169 # PORTME Check for flag to pass linker flags through the system compiler.
9170 case $host_os in
9171 aix*)
9172 lt_prog_compiler_wl='-Wl,'
9173 if test "$host_cpu" = ia64; then
9174 # AIX 5 now supports IA64 processor
9175 lt_prog_compiler_static='-Bstatic'
9176 else
9177 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9181 mingw* | cygwin* | pw32* | os2* | cegcc*)
9182 # This hack is so that the source file can tell whether it is being
9183 # built for inclusion in a dll (and should export symbols for example).
9184 lt_prog_compiler_pic='-DDLL_EXPORT'
9187 hpux9* | hpux10* | hpux11*)
9188 lt_prog_compiler_wl='-Wl,'
9189 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9190 # not for PA HP-UX.
9191 case $host_cpu in
9192 hppa*64*|ia64*)
9193 # +Z the default
9196 lt_prog_compiler_pic='+Z'
9198 esac
9199 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9200 lt_prog_compiler_static='${wl}-a ${wl}archive'
9203 irix5* | irix6* | nonstopux*)
9204 lt_prog_compiler_wl='-Wl,'
9205 # PIC (with -KPIC) is the default.
9206 lt_prog_compiler_static='-non_shared'
9209 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9210 case $cc_basename in
9211 # old Intel for x86_64 which still supported -KPIC.
9212 ecc*)
9213 lt_prog_compiler_wl='-Wl,'
9214 lt_prog_compiler_pic='-KPIC'
9215 lt_prog_compiler_static='-static'
9217 # icc used to be incompatible with GCC.
9218 # ICC 10 doesn't accept -KPIC any more.
9219 icc* | ifort*)
9220 lt_prog_compiler_wl='-Wl,'
9221 lt_prog_compiler_pic='-fPIC'
9222 lt_prog_compiler_static='-static'
9224 # Lahey Fortran 8.1.
9225 lf95*)
9226 lt_prog_compiler_wl='-Wl,'
9227 lt_prog_compiler_pic='--shared'
9228 lt_prog_compiler_static='--static'
9230 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9231 # Portland Group compilers (*not* the Pentium gcc compiler,
9232 # which looks to be a dead project)
9233 lt_prog_compiler_wl='-Wl,'
9234 lt_prog_compiler_pic='-fpic'
9235 lt_prog_compiler_static='-Bstatic'
9237 ccc*)
9238 lt_prog_compiler_wl='-Wl,'
9239 # All Alpha code is PIC.
9240 lt_prog_compiler_static='-non_shared'
9242 xl* | bgxl* | bgf* | mpixl*)
9243 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9244 lt_prog_compiler_wl='-Wl,'
9245 lt_prog_compiler_pic='-qpic'
9246 lt_prog_compiler_static='-qstaticlink'
9249 case `$CC -V 2>&1 | sed 5q` in
9250 *Sun\ F* | *Sun*Fortran*)
9251 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9252 lt_prog_compiler_pic='-KPIC'
9253 lt_prog_compiler_static='-Bstatic'
9254 lt_prog_compiler_wl=''
9256 *Sun\ C*)
9257 # Sun C 5.9
9258 lt_prog_compiler_pic='-KPIC'
9259 lt_prog_compiler_static='-Bstatic'
9260 lt_prog_compiler_wl='-Wl,'
9262 esac
9264 esac
9267 newsos6)
9268 lt_prog_compiler_pic='-KPIC'
9269 lt_prog_compiler_static='-Bstatic'
9272 *nto* | *qnx*)
9273 # QNX uses GNU C++, but need to define -shared option too, otherwise
9274 # it will coredump.
9275 lt_prog_compiler_pic='-fPIC -shared'
9278 osf3* | osf4* | osf5*)
9279 lt_prog_compiler_wl='-Wl,'
9280 # All OSF/1 code is PIC.
9281 lt_prog_compiler_static='-non_shared'
9284 rdos*)
9285 lt_prog_compiler_static='-non_shared'
9288 solaris*)
9289 lt_prog_compiler_pic='-KPIC'
9290 lt_prog_compiler_static='-Bstatic'
9291 case $cc_basename in
9292 f77* | f90* | f95*)
9293 lt_prog_compiler_wl='-Qoption ld ';;
9295 lt_prog_compiler_wl='-Wl,';;
9296 esac
9299 sunos4*)
9300 lt_prog_compiler_wl='-Qoption ld '
9301 lt_prog_compiler_pic='-PIC'
9302 lt_prog_compiler_static='-Bstatic'
9305 sysv4 | sysv4.2uw2* | sysv4.3*)
9306 lt_prog_compiler_wl='-Wl,'
9307 lt_prog_compiler_pic='-KPIC'
9308 lt_prog_compiler_static='-Bstatic'
9311 sysv4*MP*)
9312 if test -d /usr/nec ;then
9313 lt_prog_compiler_pic='-Kconform_pic'
9314 lt_prog_compiler_static='-Bstatic'
9318 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9319 lt_prog_compiler_wl='-Wl,'
9320 lt_prog_compiler_pic='-KPIC'
9321 lt_prog_compiler_static='-Bstatic'
9324 unicos*)
9325 lt_prog_compiler_wl='-Wl,'
9326 lt_prog_compiler_can_build_shared=no
9329 uts4*)
9330 lt_prog_compiler_pic='-pic'
9331 lt_prog_compiler_static='-Bstatic'
9335 lt_prog_compiler_can_build_shared=no
9337 esac
9340 case $host_os in
9341 # For platforms which do not support PIC, -DPIC is meaningless:
9342 *djgpp*)
9343 lt_prog_compiler_pic=
9346 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9348 esac
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9350 $as_echo "$lt_prog_compiler_pic" >&6; }
9358 # Check to make sure the PIC flag actually works.
9360 if test -n "$lt_prog_compiler_pic"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9362 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9363 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9364 $as_echo_n "(cached) " >&6
9365 else
9366 lt_cv_prog_compiler_pic_works=no
9367 ac_outfile=conftest.$ac_objext
9368 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9369 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9370 # Insert the option either (1) after the last *FLAGS variable, or
9371 # (2) before a word containing "conftest.", or (3) at the end.
9372 # Note that $ac_compile itself does not contain backslashes and begins
9373 # with a dollar sign (not a hyphen), so the echo should work correctly.
9374 # The option is referenced via a variable to avoid confusing sed.
9375 lt_compile=`echo "$ac_compile" | $SED \
9376 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9378 -e 's:$: $lt_compiler_flag:'`
9379 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9380 (eval "$lt_compile" 2>conftest.err)
9381 ac_status=$?
9382 cat conftest.err >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 if (exit $ac_status) && test -s "$ac_outfile"; then
9385 # The compiler can only warn and ignore the option if not recognized
9386 # So say no if there are warnings other than the usual output.
9387 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9388 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9389 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9390 lt_cv_prog_compiler_pic_works=yes
9393 $RM conftest*
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9397 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9399 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9400 case $lt_prog_compiler_pic in
9401 "" | " "*) ;;
9402 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9403 esac
9404 else
9405 lt_prog_compiler_pic=
9406 lt_prog_compiler_can_build_shared=no
9417 # Check to make sure the static flag actually works.
9419 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9421 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9422 if ${lt_cv_prog_compiler_static_works+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 lt_cv_prog_compiler_static_works=no
9426 save_LDFLAGS="$LDFLAGS"
9427 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9428 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9429 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9430 # The linker can only warn and ignore the option if not recognized
9431 # So say no if there are warnings
9432 if test -s conftest.err; then
9433 # Append any errors to the config.log.
9434 cat conftest.err 1>&5
9435 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9436 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9437 if diff conftest.exp conftest.er2 >/dev/null; then
9438 lt_cv_prog_compiler_static_works=yes
9440 else
9441 lt_cv_prog_compiler_static_works=yes
9444 $RM -r conftest*
9445 LDFLAGS="$save_LDFLAGS"
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9449 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9451 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9453 else
9454 lt_prog_compiler_static=
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9464 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9465 if ${lt_cv_prog_compiler_c_o+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 lt_cv_prog_compiler_c_o=no
9469 $RM -r conftest 2>/dev/null
9470 mkdir conftest
9471 cd conftest
9472 mkdir out
9473 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9475 lt_compiler_flag="-o out/conftest2.$ac_objext"
9476 # Insert the option either (1) after the last *FLAGS variable, or
9477 # (2) before a word containing "conftest.", or (3) at the end.
9478 # Note that $ac_compile itself does not contain backslashes and begins
9479 # with a dollar sign (not a hyphen), so the echo should work correctly.
9480 lt_compile=`echo "$ac_compile" | $SED \
9481 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9483 -e 's:$: $lt_compiler_flag:'`
9484 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9485 (eval "$lt_compile" 2>out/conftest.err)
9486 ac_status=$?
9487 cat out/conftest.err >&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9490 then
9491 # The compiler can only warn and ignore the option if not recognized
9492 # So say no if there are warnings
9493 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9494 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9495 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9496 lt_cv_prog_compiler_c_o=yes
9499 chmod u+w . 2>&5
9500 $RM conftest*
9501 # SGI C++ compiler will create directory out/ii_files/ for
9502 # template instantiation
9503 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9504 $RM out/* && rmdir out
9505 cd ..
9506 $RM -r conftest
9507 $RM conftest*
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9511 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9519 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9520 if ${lt_cv_prog_compiler_c_o+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 lt_cv_prog_compiler_c_o=no
9524 $RM -r conftest 2>/dev/null
9525 mkdir conftest
9526 cd conftest
9527 mkdir out
9528 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9530 lt_compiler_flag="-o out/conftest2.$ac_objext"
9531 # Insert the option either (1) after the last *FLAGS variable, or
9532 # (2) before a word containing "conftest.", or (3) at the end.
9533 # Note that $ac_compile itself does not contain backslashes and begins
9534 # with a dollar sign (not a hyphen), so the echo should work correctly.
9535 lt_compile=`echo "$ac_compile" | $SED \
9536 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9538 -e 's:$: $lt_compiler_flag:'`
9539 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9540 (eval "$lt_compile" 2>out/conftest.err)
9541 ac_status=$?
9542 cat out/conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9545 then
9546 # The compiler can only warn and ignore the option if not recognized
9547 # So say no if there are warnings
9548 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9549 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9550 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9551 lt_cv_prog_compiler_c_o=yes
9554 chmod u+w . 2>&5
9555 $RM conftest*
9556 # SGI C++ compiler will create directory out/ii_files/ for
9557 # template instantiation
9558 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9559 $RM out/* && rmdir out
9560 cd ..
9561 $RM -r conftest
9562 $RM conftest*
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9566 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9571 hard_links="nottested"
9572 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9573 # do not overwrite the value of need_locks provided by the user
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9575 $as_echo_n "checking if we can lock with hard links... " >&6; }
9576 hard_links=yes
9577 $RM conftest*
9578 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9579 touch conftest.a
9580 ln conftest.a conftest.b 2>&5 || hard_links=no
9581 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9583 $as_echo "$hard_links" >&6; }
9584 if test "$hard_links" = no; then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9586 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9587 need_locks=warn
9589 else
9590 need_locks=no
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9599 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9601 runpath_var=
9602 allow_undefined_flag=
9603 always_export_symbols=no
9604 archive_cmds=
9605 archive_expsym_cmds=
9606 compiler_needs_object=no
9607 enable_shared_with_static_runtimes=no
9608 export_dynamic_flag_spec=
9609 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9610 hardcode_automatic=no
9611 hardcode_direct=no
9612 hardcode_direct_absolute=no
9613 hardcode_libdir_flag_spec=
9614 hardcode_libdir_flag_spec_ld=
9615 hardcode_libdir_separator=
9616 hardcode_minus_L=no
9617 hardcode_shlibpath_var=unsupported
9618 inherit_rpath=no
9619 link_all_deplibs=unknown
9620 module_cmds=
9621 module_expsym_cmds=
9622 old_archive_from_new_cmds=
9623 old_archive_from_expsyms_cmds=
9624 thread_safe_flag_spec=
9625 whole_archive_flag_spec=
9626 # include_expsyms should be a list of space-separated symbols to be *always*
9627 # included in the symbol list
9628 include_expsyms=
9629 # exclude_expsyms can be an extended regexp of symbols to exclude
9630 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9631 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9632 # as well as any symbol that contains `d'.
9633 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9634 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9635 # platforms (ab)use it in PIC code, but their linkers get confused if
9636 # the symbol is explicitly referenced. Since portable code cannot
9637 # rely on this symbol name, it's probably fine to never include it in
9638 # preloaded symbol tables.
9639 # Exclude shared library initialization/finalization symbols.
9640 extract_expsyms_cmds=
9642 case $host_os in
9643 cygwin* | mingw* | pw32* | cegcc*)
9644 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9645 # When not using gcc, we currently assume that we are using
9646 # Microsoft Visual C++.
9647 if test "$GCC" != yes; then
9648 with_gnu_ld=no
9651 interix*)
9652 # we just hope/assume this is gcc and not c89 (= MSVC++)
9653 with_gnu_ld=yes
9655 openbsd*)
9656 with_gnu_ld=no
9658 esac
9660 ld_shlibs=yes
9662 # On some targets, GNU ld is compatible enough with the native linker
9663 # that we're better off using the native interface for both.
9664 lt_use_gnu_ld_interface=no
9665 if test "$with_gnu_ld" = yes; then
9666 case $host_os in
9667 aix*)
9668 # The AIX port of GNU ld has always aspired to compatibility
9669 # with the native linker. However, as the warning in the GNU ld
9670 # block says, versions before 2.19.5* couldn't really create working
9671 # shared libraries, regardless of the interface used.
9672 case `$LD -v 2>&1` in
9673 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9674 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9675 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9677 lt_use_gnu_ld_interface=yes
9679 esac
9682 lt_use_gnu_ld_interface=yes
9684 esac
9687 if test "$lt_use_gnu_ld_interface" = yes; then
9688 # If archive_cmds runs LD, not CC, wlarc should be empty
9689 wlarc='${wl}'
9691 # Set some defaults for GNU ld with shared library support. These
9692 # are reset later if shared libraries are not supported. Putting them
9693 # here allows them to be overridden if necessary.
9694 runpath_var=LD_RUN_PATH
9695 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9696 export_dynamic_flag_spec='${wl}--export-dynamic'
9697 # ancient GNU ld didn't support --whole-archive et. al.
9698 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9699 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9700 else
9701 whole_archive_flag_spec=
9703 supports_anon_versioning=no
9704 case `$LD -v 2>&1` in
9705 *GNU\ gold*) supports_anon_versioning=yes ;;
9706 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9707 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9708 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9709 *\ 2.11.*) ;; # other 2.11 versions
9710 *) supports_anon_versioning=yes ;;
9711 esac
9713 # See if GNU ld supports shared libraries.
9714 case $host_os in
9715 aix[3-9]*)
9716 # On AIX/PPC, the GNU linker is very broken
9717 if test "$host_cpu" != ia64; then
9718 ld_shlibs=no
9719 cat <<_LT_EOF 1>&2
9721 *** Warning: the GNU linker, at least up to release 2.19, is reported
9722 *** to be unable to reliably create shared libraries on AIX.
9723 *** Therefore, libtool is disabling shared libraries support. If you
9724 *** really care for shared libraries, you may want to install binutils
9725 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9726 *** You will then need to restart the configuration process.
9728 _LT_EOF
9732 amigaos*)
9733 case $host_cpu in
9734 powerpc)
9735 # see comment about AmigaOS4 .so support
9736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9737 archive_expsym_cmds=''
9739 m68k)
9740 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)'
9741 hardcode_libdir_flag_spec='-L$libdir'
9742 hardcode_minus_L=yes
9744 esac
9747 beos*)
9748 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9749 allow_undefined_flag=unsupported
9750 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9751 # support --undefined. This deserves some investigation. FIXME
9752 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9753 else
9754 ld_shlibs=no
9758 cygwin* | mingw* | pw32* | cegcc*)
9759 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9760 # as there is no search path for DLLs.
9761 hardcode_libdir_flag_spec='-L$libdir'
9762 export_dynamic_flag_spec='${wl}--export-all-symbols'
9763 allow_undefined_flag=unsupported
9764 always_export_symbols=no
9765 enable_shared_with_static_runtimes=yes
9766 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9768 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9769 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9770 # If the export-symbols file already is a .def file (1st line
9771 # is EXPORTS), use it as is; otherwise, prepend...
9772 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9773 cp $export_symbols $output_objdir/$soname.def;
9774 else
9775 echo EXPORTS > $output_objdir/$soname.def;
9776 cat $export_symbols >> $output_objdir/$soname.def;
9778 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9779 else
9780 ld_shlibs=no
9784 haiku*)
9785 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9786 link_all_deplibs=yes
9789 interix[3-9]*)
9790 hardcode_direct=no
9791 hardcode_shlibpath_var=no
9792 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9793 export_dynamic_flag_spec='${wl}-E'
9794 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9795 # Instead, shared libraries are loaded at an image base (0x10000000 by
9796 # default) and relocated if they conflict, which is a slow very memory
9797 # consuming and fragmenting process. To avoid this, we pick a random,
9798 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9799 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9800 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9801 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'
9804 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9805 tmp_diet=no
9806 if test "$host_os" = linux-dietlibc; then
9807 case $cc_basename in
9808 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9809 esac
9811 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9812 && test "$tmp_diet" = no
9813 then
9814 tmp_addflag=' $pic_flag'
9815 tmp_sharedflag='-shared'
9816 case $cc_basename,$host_cpu in
9817 pgcc*) # Portland Group C compiler
9818 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'
9819 tmp_addflag=' $pic_flag'
9821 pgf77* | pgf90* | pgf95* | pgfortran*)
9822 # Portland Group f77 and f90 compilers
9823 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'
9824 tmp_addflag=' $pic_flag -Mnomain' ;;
9825 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9826 tmp_addflag=' -i_dynamic' ;;
9827 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9828 tmp_addflag=' -i_dynamic -nofor_main' ;;
9829 ifc* | ifort*) # Intel Fortran compiler
9830 tmp_addflag=' -nofor_main' ;;
9831 lf95*) # Lahey Fortran 8.1
9832 whole_archive_flag_spec=
9833 tmp_sharedflag='--shared' ;;
9834 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9835 tmp_sharedflag='-qmkshrobj'
9836 tmp_addflag= ;;
9837 nvcc*) # Cuda Compiler Driver 2.2
9838 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'
9839 compiler_needs_object=yes
9841 esac
9842 case `$CC -V 2>&1 | sed 5q` in
9843 *Sun\ C*) # Sun C 5.9
9844 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'
9845 compiler_needs_object=yes
9846 tmp_sharedflag='-G' ;;
9847 *Sun\ F*) # Sun Fortran 8.3
9848 tmp_sharedflag='-G' ;;
9849 esac
9850 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9852 if test "x$supports_anon_versioning" = xyes; then
9853 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9854 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9855 echo "local: *; };" >> $output_objdir/$libname.ver~
9856 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9859 case $cc_basename in
9860 xlf* | bgf* | bgxlf* | mpixlf*)
9861 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9862 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9863 hardcode_libdir_flag_spec=
9864 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9865 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9866 if test "x$supports_anon_versioning" = xyes; then
9867 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9868 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9869 echo "local: *; };" >> $output_objdir/$libname.ver~
9870 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9873 esac
9874 else
9875 ld_shlibs=no
9879 netbsd*)
9880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9881 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9882 wlarc=
9883 else
9884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9885 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9889 solaris*)
9890 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9891 ld_shlibs=no
9892 cat <<_LT_EOF 1>&2
9894 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9895 *** create shared libraries on Solaris systems. Therefore, libtool
9896 *** is disabling shared libraries support. We urge you to upgrade GNU
9897 *** binutils to release 2.9.1 or newer. Another option is to modify
9898 *** your PATH or compiler configuration so that the native linker is
9899 *** used, and then restart.
9901 _LT_EOF
9902 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9903 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9904 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9905 else
9906 ld_shlibs=no
9910 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9911 case `$LD -v 2>&1` in
9912 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9913 ld_shlibs=no
9914 cat <<_LT_EOF 1>&2
9916 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9917 *** reliably create shared libraries on SCO systems. Therefore, libtool
9918 *** is disabling shared libraries support. We urge you to upgrade GNU
9919 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9920 *** your PATH or compiler configuration so that the native linker is
9921 *** used, and then restart.
9923 _LT_EOF
9926 # For security reasons, it is highly recommended that you always
9927 # use absolute paths for naming shared libraries, and exclude the
9928 # DT_RUNPATH tag from executables and libraries. But doing so
9929 # requires that you compile everything twice, which is a pain.
9930 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9931 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9932 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9933 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9934 else
9935 ld_shlibs=no
9938 esac
9941 sunos4*)
9942 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9943 wlarc=
9944 hardcode_direct=yes
9945 hardcode_shlibpath_var=no
9949 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9951 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9952 else
9953 ld_shlibs=no
9956 esac
9958 if test "$ld_shlibs" = no; then
9959 runpath_var=
9960 hardcode_libdir_flag_spec=
9961 export_dynamic_flag_spec=
9962 whole_archive_flag_spec=
9964 else
9965 # PORTME fill in a description of your system's linker (not GNU ld)
9966 case $host_os in
9967 aix3*)
9968 allow_undefined_flag=unsupported
9969 always_export_symbols=yes
9970 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'
9971 # Note: this linker hardcodes the directories in LIBPATH if there
9972 # are no directories specified by -L.
9973 hardcode_minus_L=yes
9974 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9975 # Neither direct hardcoding nor static linking is supported with a
9976 # broken collect2.
9977 hardcode_direct=unsupported
9981 aix[4-9]*)
9982 if test "$host_cpu" = ia64; then
9983 # On IA64, the linker does run time linking by default, so we don't
9984 # have to do anything special.
9985 aix_use_runtimelinking=no
9986 exp_sym_flag='-Bexport'
9987 no_entry_flag=""
9988 else
9989 # If we're using GNU nm, then we don't want the "-C" option.
9990 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9991 # Also, AIX nm treats weak defined symbols like other global
9992 # defined symbols, whereas GNU nm marks them as "W".
9993 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9994 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'
9995 else
9996 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'
9998 aix_use_runtimelinking=no
10000 # Test if we are trying to use run time linking or normal
10001 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10002 # need to do runtime linking.
10003 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10004 for ld_flag in $LDFLAGS; do
10005 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10006 aix_use_runtimelinking=yes
10007 break
10009 done
10011 esac
10013 exp_sym_flag='-bexport'
10014 no_entry_flag='-bnoentry'
10017 # When large executables or shared objects are built, AIX ld can
10018 # have problems creating the table of contents. If linking a library
10019 # or program results in "error TOC overflow" add -mminimal-toc to
10020 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10021 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10023 archive_cmds=''
10024 hardcode_direct=yes
10025 hardcode_direct_absolute=yes
10026 hardcode_libdir_separator=':'
10027 link_all_deplibs=yes
10028 file_list_spec='${wl}-f,'
10030 if test "$GCC" = yes; then
10031 case $host_os in aix4.[012]|aix4.[012].*)
10032 # We only want to do this on AIX 4.2 and lower, the check
10033 # below for broken collect2 doesn't work under 4.3+
10034 collect2name=`${CC} -print-prog-name=collect2`
10035 if test -f "$collect2name" &&
10036 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10037 then
10038 # We have reworked collect2
10040 else
10041 # We have old collect2
10042 hardcode_direct=unsupported
10043 # It fails to find uninstalled libraries when the uninstalled
10044 # path is not listed in the libpath. Setting hardcode_minus_L
10045 # to unsupported forces relinking
10046 hardcode_minus_L=yes
10047 hardcode_libdir_flag_spec='-L$libdir'
10048 hardcode_libdir_separator=
10051 esac
10052 shared_flag='-shared'
10053 if test "$aix_use_runtimelinking" = yes; then
10054 shared_flag="$shared_flag "'${wl}-G'
10056 else
10057 # not using gcc
10058 if test "$host_cpu" = ia64; then
10059 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10060 # chokes on -Wl,-G. The following line is correct:
10061 shared_flag='-G'
10062 else
10063 if test "$aix_use_runtimelinking" = yes; then
10064 shared_flag='${wl}-G'
10065 else
10066 shared_flag='${wl}-bM:SRE'
10071 export_dynamic_flag_spec='${wl}-bexpall'
10072 # It seems that -bexpall does not export symbols beginning with
10073 # underscore (_), so it is better to generate a list of symbols to export.
10074 always_export_symbols=yes
10075 if test "$aix_use_runtimelinking" = yes; then
10076 # Warning - without using the other runtime loading flags (-brtl),
10077 # -berok will link without error, but may produce a broken library.
10078 allow_undefined_flag='-berok'
10079 # Determine the default libpath from the value encoded in an
10080 # empty executable.
10081 if test x$gcc_no_link = xyes; then
10082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10088 main ()
10092 return 0;
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10097 lt_aix_libpath_sed='
10098 /Import File Strings/,/^$/ {
10099 /^0/ {
10100 s/^0 *\(.*\)$/\1/
10104 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10105 # Check for a 64-bit object if we didn't find anything.
10106 if test -z "$aix_libpath"; then
10107 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10110 rm -f core conftest.err conftest.$ac_objext \
10111 conftest$ac_exeext conftest.$ac_ext
10112 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10114 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10115 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"
10116 else
10117 if test "$host_cpu" = ia64; then
10118 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10119 allow_undefined_flag="-z nodefs"
10120 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"
10121 else
10122 # Determine the default libpath from the value encoded in an
10123 # empty executable.
10124 if test x$gcc_no_link = xyes; then
10125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10131 main ()
10135 return 0;
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"; then :
10140 lt_aix_libpath_sed='
10141 /Import File Strings/,/^$/ {
10142 /^0/ {
10143 s/^0 *\(.*\)$/\1/
10147 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10148 # Check for a 64-bit object if we didn't find anything.
10149 if test -z "$aix_libpath"; then
10150 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10153 rm -f core conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10155 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10157 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10158 # Warning - without using the other run time loading flags,
10159 # -berok will link without error, but may produce a broken library.
10160 no_undefined_flag=' ${wl}-bernotok'
10161 allow_undefined_flag=' ${wl}-berok'
10162 if test "$with_gnu_ld" = yes; then
10163 # We only use this code for GNU lds that support --whole-archive.
10164 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10165 else
10166 # Exported symbols can be pulled into shared objects from archives
10167 whole_archive_flag_spec='$convenience'
10169 archive_cmds_need_lc=yes
10170 # This is similar to how AIX traditionally builds its shared libraries.
10171 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'
10176 amigaos*)
10177 case $host_cpu in
10178 powerpc)
10179 # see comment about AmigaOS4 .so support
10180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10181 archive_expsym_cmds=''
10183 m68k)
10184 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)'
10185 hardcode_libdir_flag_spec='-L$libdir'
10186 hardcode_minus_L=yes
10188 esac
10191 bsdi[45]*)
10192 export_dynamic_flag_spec=-rdynamic
10195 cygwin* | mingw* | pw32* | cegcc*)
10196 # When not using gcc, we currently assume that we are using
10197 # Microsoft Visual C++.
10198 # hardcode_libdir_flag_spec is actually meaningless, as there is
10199 # no search path for DLLs.
10200 hardcode_libdir_flag_spec=' '
10201 allow_undefined_flag=unsupported
10202 # Tell ltmain to make .lib files, not .a files.
10203 libext=lib
10204 # Tell ltmain to make .dll files, not .so files.
10205 shrext_cmds=".dll"
10206 # FIXME: Setting linknames here is a bad hack.
10207 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10208 # The linker will automatically build a .lib file if we build a DLL.
10209 old_archive_from_new_cmds='true'
10210 # FIXME: Should let the user specify the lib program.
10211 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10212 fix_srcfile_path='`cygpath -w "$srcfile"`'
10213 enable_shared_with_static_runtimes=yes
10216 darwin* | rhapsody*)
10219 archive_cmds_need_lc=no
10220 hardcode_direct=no
10221 hardcode_automatic=yes
10222 hardcode_shlibpath_var=unsupported
10223 if test "$lt_cv_ld_force_load" = "yes"; then
10224 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\"`'
10225 else
10226 whole_archive_flag_spec=''
10228 link_all_deplibs=yes
10229 allow_undefined_flag="$_lt_dar_allow_undefined"
10230 case $cc_basename in
10231 ifort*) _lt_dar_can_shared=yes ;;
10232 *) _lt_dar_can_shared=$GCC ;;
10233 esac
10234 if test "$_lt_dar_can_shared" = "yes"; then
10235 output_verbose_link_cmd=func_echo_all
10236 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10237 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10238 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}"
10239 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}"
10241 else
10242 ld_shlibs=no
10247 dgux*)
10248 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10249 hardcode_libdir_flag_spec='-L$libdir'
10250 hardcode_shlibpath_var=no
10253 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10254 # support. Future versions do this automatically, but an explicit c++rt0.o
10255 # does not break anything, and helps significantly (at the cost of a little
10256 # extra space).
10257 freebsd2.2*)
10258 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10259 hardcode_libdir_flag_spec='-R$libdir'
10260 hardcode_direct=yes
10261 hardcode_shlibpath_var=no
10264 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10265 freebsd2.*)
10266 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_direct=yes
10268 hardcode_minus_L=yes
10269 hardcode_shlibpath_var=no
10272 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10273 freebsd* | dragonfly*)
10274 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10275 hardcode_libdir_flag_spec='-R$libdir'
10276 hardcode_direct=yes
10277 hardcode_shlibpath_var=no
10280 hpux9*)
10281 if test "$GCC" = yes; then
10282 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'
10283 else
10284 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'
10286 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10287 hardcode_libdir_separator=:
10288 hardcode_direct=yes
10290 # hardcode_minus_L: Not really in the search PATH,
10291 # but as the default location of the library.
10292 hardcode_minus_L=yes
10293 export_dynamic_flag_spec='${wl}-E'
10296 hpux10*)
10297 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10298 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10299 else
10300 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10302 if test "$with_gnu_ld" = no; then
10303 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10304 hardcode_libdir_flag_spec_ld='+b $libdir'
10305 hardcode_libdir_separator=:
10306 hardcode_direct=yes
10307 hardcode_direct_absolute=yes
10308 export_dynamic_flag_spec='${wl}-E'
10309 # hardcode_minus_L: Not really in the search PATH,
10310 # but as the default location of the library.
10311 hardcode_minus_L=yes
10315 hpux11*)
10316 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10317 case $host_cpu in
10318 hppa*64*)
10319 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10321 ia64*)
10322 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10325 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10327 esac
10328 else
10329 case $host_cpu in
10330 hppa*64*)
10331 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10333 ia64*)
10334 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10338 # Older versions of the 11.00 compiler do not understand -b yet
10339 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10341 $as_echo_n "checking if $CC understands -b... " >&6; }
10342 if ${lt_cv_prog_compiler__b+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 lt_cv_prog_compiler__b=no
10346 save_LDFLAGS="$LDFLAGS"
10347 LDFLAGS="$LDFLAGS -b"
10348 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10349 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10350 # The linker can only warn and ignore the option if not recognized
10351 # So say no if there are warnings
10352 if test -s conftest.err; then
10353 # Append any errors to the config.log.
10354 cat conftest.err 1>&5
10355 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10356 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10357 if diff conftest.exp conftest.er2 >/dev/null; then
10358 lt_cv_prog_compiler__b=yes
10360 else
10361 lt_cv_prog_compiler__b=yes
10364 $RM -r conftest*
10365 LDFLAGS="$save_LDFLAGS"
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10369 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10371 if test x"$lt_cv_prog_compiler__b" = xyes; then
10372 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10373 else
10374 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10378 esac
10380 if test "$with_gnu_ld" = no; then
10381 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10382 hardcode_libdir_separator=:
10384 case $host_cpu in
10385 hppa*64*|ia64*)
10386 hardcode_direct=no
10387 hardcode_shlibpath_var=no
10390 hardcode_direct=yes
10391 hardcode_direct_absolute=yes
10392 export_dynamic_flag_spec='${wl}-E'
10394 # hardcode_minus_L: Not really in the search PATH,
10395 # but as the default location of the library.
10396 hardcode_minus_L=yes
10398 esac
10402 irix5* | irix6* | nonstopux*)
10403 if test "$GCC" = yes; then
10404 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'
10405 # Try to use the -exported_symbol ld option, if it does not
10406 # work, assume that -exports_file does not work either and
10407 # implicitly export all symbols.
10408 save_LDFLAGS="$LDFLAGS"
10409 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10410 if test x$gcc_no_link = xyes; then
10411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10415 int foo(void) {}
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 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'
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 LDFLAGS="$save_LDFLAGS"
10424 else
10425 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'
10426 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'
10428 archive_cmds_need_lc='no'
10429 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10430 hardcode_libdir_separator=:
10431 inherit_rpath=yes
10432 link_all_deplibs=yes
10435 netbsd*)
10436 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10437 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10438 else
10439 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10441 hardcode_libdir_flag_spec='-R$libdir'
10442 hardcode_direct=yes
10443 hardcode_shlibpath_var=no
10446 newsos6)
10447 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10448 hardcode_direct=yes
10449 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10450 hardcode_libdir_separator=:
10451 hardcode_shlibpath_var=no
10454 *nto* | *qnx*)
10457 openbsd*)
10458 if test -f /usr/libexec/ld.so; then
10459 hardcode_direct=yes
10460 hardcode_shlibpath_var=no
10461 hardcode_direct_absolute=yes
10462 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10463 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10464 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10465 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10466 export_dynamic_flag_spec='${wl}-E'
10467 else
10468 case $host_os in
10469 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10470 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10471 hardcode_libdir_flag_spec='-R$libdir'
10474 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10475 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10477 esac
10479 else
10480 ld_shlibs=no
10484 os2*)
10485 hardcode_libdir_flag_spec='-L$libdir'
10486 hardcode_minus_L=yes
10487 allow_undefined_flag=unsupported
10488 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'
10489 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10492 osf3*)
10493 if test "$GCC" = yes; then
10494 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10495 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'
10496 else
10497 allow_undefined_flag=' -expect_unresolved \*'
10498 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'
10500 archive_cmds_need_lc='no'
10501 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10502 hardcode_libdir_separator=:
10505 osf4* | osf5*) # as osf3* with the addition of -msym flag
10506 if test "$GCC" = yes; then
10507 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10508 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'
10509 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10510 else
10511 allow_undefined_flag=' -expect_unresolved \*'
10512 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'
10513 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~
10514 $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'
10516 # Both c and cxx compiler support -rpath directly
10517 hardcode_libdir_flag_spec='-rpath $libdir'
10519 archive_cmds_need_lc='no'
10520 hardcode_libdir_separator=:
10523 solaris*)
10524 no_undefined_flag=' -z defs'
10525 if test "$GCC" = yes; then
10526 wlarc='${wl}'
10527 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10528 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10529 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10530 else
10531 case `$CC -V 2>&1` in
10532 *"Compilers 5.0"*)
10533 wlarc=''
10534 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10535 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10536 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10539 wlarc='${wl}'
10540 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10541 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10542 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10544 esac
10546 hardcode_libdir_flag_spec='-R$libdir'
10547 hardcode_shlibpath_var=no
10548 case $host_os in
10549 solaris2.[0-5] | solaris2.[0-5].*) ;;
10551 # The compiler driver will combine and reorder linker options,
10552 # but understands `-z linker_flag'. GCC discards it without `$wl',
10553 # but is careful enough not to reorder.
10554 # Supported since Solaris 2.6 (maybe 2.5.1?)
10555 if test "$GCC" = yes; then
10556 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10557 else
10558 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10561 esac
10562 link_all_deplibs=yes
10565 sunos4*)
10566 if test "x$host_vendor" = xsequent; then
10567 # Use $CC to link under sequent, because it throws in some extra .o
10568 # files that make .init and .fini sections work.
10569 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10570 else
10571 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_libdir_flag_spec='-L$libdir'
10574 hardcode_direct=yes
10575 hardcode_minus_L=yes
10576 hardcode_shlibpath_var=no
10579 sysv4)
10580 case $host_vendor in
10581 sni)
10582 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10583 hardcode_direct=yes # is this really true???
10585 siemens)
10586 ## LD is ld it makes a PLAMLIB
10587 ## CC just makes a GrossModule.
10588 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10589 reload_cmds='$CC -r -o $output$reload_objs'
10590 hardcode_direct=no
10592 motorola)
10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10594 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10596 esac
10597 runpath_var='LD_RUN_PATH'
10598 hardcode_shlibpath_var=no
10601 sysv4.3*)
10602 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10603 hardcode_shlibpath_var=no
10604 export_dynamic_flag_spec='-Bexport'
10607 sysv4*MP*)
10608 if test -d /usr/nec; then
10609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10610 hardcode_shlibpath_var=no
10611 runpath_var=LD_RUN_PATH
10612 hardcode_runpath_var=yes
10613 ld_shlibs=yes
10617 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10618 no_undefined_flag='${wl}-z,text'
10619 archive_cmds_need_lc=no
10620 hardcode_shlibpath_var=no
10621 runpath_var='LD_RUN_PATH'
10623 if test "$GCC" = yes; then
10624 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10626 else
10627 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10632 sysv5* | sco3.2v5* | sco5v6*)
10633 # Note: We can NOT use -z defs as we might desire, because we do not
10634 # link with -lc, and that would cause any symbols used from libc to
10635 # always be unresolved, which means just about no library would
10636 # ever link correctly. If we're not using GNU ld we use -z text
10637 # though, which does catch some bad symbols but isn't as heavy-handed
10638 # as -z defs.
10639 no_undefined_flag='${wl}-z,text'
10640 allow_undefined_flag='${wl}-z,nodefs'
10641 archive_cmds_need_lc=no
10642 hardcode_shlibpath_var=no
10643 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10644 hardcode_libdir_separator=':'
10645 link_all_deplibs=yes
10646 export_dynamic_flag_spec='${wl}-Bexport'
10647 runpath_var='LD_RUN_PATH'
10649 if test "$GCC" = yes; then
10650 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10651 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10652 else
10653 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658 uts4*)
10659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_libdir_flag_spec='-L$libdir'
10661 hardcode_shlibpath_var=no
10665 ld_shlibs=no
10667 esac
10669 if test x$host_vendor = xsni; then
10670 case $host in
10671 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10672 export_dynamic_flag_spec='${wl}-Blargedynsym'
10674 esac
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10679 $as_echo "$ld_shlibs" >&6; }
10680 test "$ld_shlibs" = no && can_build_shared=no
10682 with_gnu_ld=$with_gnu_ld
10699 # Do we need to explicitly link libc?
10701 case "x$archive_cmds_need_lc" in
10702 x|xyes)
10703 # Assume -lc should be added
10704 archive_cmds_need_lc=yes
10706 if test "$enable_shared" = yes && test "$GCC" = yes; then
10707 case $archive_cmds in
10708 *'~'*)
10709 # FIXME: we may have to deal with multi-command sequences.
10711 '$CC '*)
10712 # Test whether the compiler implicitly links with -lc since on some
10713 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10714 # to ld, don't add -lc before -lgcc.
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10716 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10717 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 $RM conftest*
10721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10724 (eval $ac_compile) 2>&5
10725 ac_status=$?
10726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10727 test $ac_status = 0; } 2>conftest.err; then
10728 soname=conftest
10729 lib=conftest
10730 libobjs=conftest.$ac_objext
10731 deplibs=
10732 wl=$lt_prog_compiler_wl
10733 pic_flag=$lt_prog_compiler_pic
10734 compiler_flags=-v
10735 linker_flags=-v
10736 verstring=
10737 output_objdir=.
10738 libname=conftest
10739 lt_save_allow_undefined_flag=$allow_undefined_flag
10740 allow_undefined_flag=
10741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10742 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10743 ac_status=$?
10744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10745 test $ac_status = 0; }
10746 then
10747 lt_cv_archive_cmds_need_lc=no
10748 else
10749 lt_cv_archive_cmds_need_lc=yes
10751 allow_undefined_flag=$lt_save_allow_undefined_flag
10752 else
10753 cat conftest.err 1>&5
10755 $RM conftest*
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10759 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10760 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10762 esac
10765 esac
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10924 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10926 if test "$GCC" = yes; then
10927 case $host_os in
10928 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10929 *) lt_awk_arg="/^libraries:/" ;;
10930 esac
10931 case $host_os in
10932 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10933 *) lt_sed_strip_eq="s,=/,/,g" ;;
10934 esac
10935 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10936 case $lt_search_path_spec in
10937 *\;*)
10938 # if the path contains ";" then we assume it to be the separator
10939 # otherwise default to the standard path separator (i.e. ":") - it is
10940 # assumed that no part of a normal pathname contains ";" but that should
10941 # okay in the real world where ";" in dirpaths is itself problematic.
10942 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10945 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10947 esac
10948 # Ok, now we have the path, separated by spaces, we can step through it
10949 # and add multilib dir if necessary.
10950 lt_tmp_lt_search_path_spec=
10951 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10952 for lt_sys_path in $lt_search_path_spec; do
10953 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10954 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10955 else
10956 test -d "$lt_sys_path" && \
10957 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10959 done
10960 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10961 BEGIN {RS=" "; FS="/|\n";} {
10962 lt_foo="";
10963 lt_count=0;
10964 for (lt_i = NF; lt_i > 0; lt_i--) {
10965 if ($lt_i != "" && $lt_i != ".") {
10966 if ($lt_i == "..") {
10967 lt_count++;
10968 } else {
10969 if (lt_count == 0) {
10970 lt_foo="/" $lt_i lt_foo;
10971 } else {
10972 lt_count--;
10977 if (lt_foo != "") { lt_freq[lt_foo]++; }
10978 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10980 # AWK program above erroneously prepends '/' to C:/dos/paths
10981 # for these hosts.
10982 case $host_os in
10983 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10984 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10985 esac
10986 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10987 else
10988 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10990 library_names_spec=
10991 libname_spec='lib$name'
10992 soname_spec=
10993 shrext_cmds=".so"
10994 postinstall_cmds=
10995 postuninstall_cmds=
10996 finish_cmds=
10997 finish_eval=
10998 shlibpath_var=
10999 shlibpath_overrides_runpath=unknown
11000 version_type=none
11001 dynamic_linker="$host_os ld.so"
11002 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11003 need_lib_prefix=unknown
11004 hardcode_into_libs=no
11006 # when you set need_version to no, make sure it does not cause -set_version
11007 # flags to be left without arguments
11008 need_version=unknown
11010 case $host_os in
11011 aix3*)
11012 version_type=linux
11013 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11014 shlibpath_var=LIBPATH
11016 # AIX 3 has no versioning support, so we append a major version to the name.
11017 soname_spec='${libname}${release}${shared_ext}$major'
11020 aix[4-9]*)
11021 version_type=linux
11022 need_lib_prefix=no
11023 need_version=no
11024 hardcode_into_libs=yes
11025 if test "$host_cpu" = ia64; then
11026 # AIX 5 supports IA64
11027 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11028 shlibpath_var=LD_LIBRARY_PATH
11029 else
11030 # With GCC up to 2.95.x, collect2 would create an import file
11031 # for dependence libraries. The import file would start with
11032 # the line `#! .'. This would cause the generated library to
11033 # depend on `.', always an invalid library. This was fixed in
11034 # development snapshots of GCC prior to 3.0.
11035 case $host_os in
11036 aix4 | aix4.[01] | aix4.[01].*)
11037 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11038 echo ' yes '
11039 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11041 else
11042 can_build_shared=no
11045 esac
11046 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11047 # soname into executable. Probably we can add versioning support to
11048 # collect2, so additional links can be useful in future.
11049 if test "$aix_use_runtimelinking" = yes; then
11050 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11051 # instead of lib<name>.a to let people know that these are not
11052 # typical AIX shared libraries.
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054 else
11055 # We preserve .a as extension for shared libraries through AIX4.2
11056 # and later when we are not doing run time linking.
11057 library_names_spec='${libname}${release}.a $libname.a'
11058 soname_spec='${libname}${release}${shared_ext}$major'
11060 shlibpath_var=LIBPATH
11064 amigaos*)
11065 case $host_cpu in
11066 powerpc)
11067 # Since July 2007 AmigaOS4 officially supports .so libraries.
11068 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 m68k)
11072 library_names_spec='$libname.ixlibrary $libname.a'
11073 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11074 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'
11076 esac
11079 beos*)
11080 library_names_spec='${libname}${shared_ext}'
11081 dynamic_linker="$host_os ld.so"
11082 shlibpath_var=LIBRARY_PATH
11085 bsdi[45]*)
11086 version_type=linux
11087 need_version=no
11088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 soname_spec='${libname}${release}${shared_ext}$major'
11090 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11091 shlibpath_var=LD_LIBRARY_PATH
11092 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11093 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11094 # the default ld.so.conf also contains /usr/contrib/lib and
11095 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11096 # libtool to hard-code these into programs
11099 cygwin* | mingw* | pw32* | cegcc*)
11100 version_type=windows
11101 shrext_cmds=".dll"
11102 need_version=no
11103 need_lib_prefix=no
11105 case $GCC,$host_os in
11106 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11107 library_names_spec='$libname.dll.a'
11108 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11109 postinstall_cmds='base_file=`basename \${file}`~
11110 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11111 dldir=$destdir/`dirname \$dlpath`~
11112 test -d \$dldir || mkdir -p \$dldir~
11113 $install_prog $dir/$dlname \$dldir/$dlname~
11114 chmod a+x \$dldir/$dlname~
11115 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11116 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11118 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11119 dlpath=$dir/\$dldll~
11120 $RM \$dlpath'
11121 shlibpath_overrides_runpath=yes
11123 case $host_os in
11124 cygwin*)
11125 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11126 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11128 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11130 mingw* | cegcc*)
11131 # MinGW DLLs use traditional 'lib' prefix
11132 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11134 pw32*)
11135 # pw32 DLLs use 'pw' prefix rather than 'lib'
11136 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11138 esac
11142 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11144 esac
11145 dynamic_linker='Win32 ld.exe'
11146 # FIXME: first we should search . and the directory the executable is in
11147 shlibpath_var=PATH
11150 darwin* | rhapsody*)
11151 dynamic_linker="$host_os dyld"
11152 version_type=darwin
11153 need_lib_prefix=no
11154 need_version=no
11155 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11156 soname_spec='${libname}${release}${major}$shared_ext'
11157 shlibpath_overrides_runpath=yes
11158 shlibpath_var=DYLD_LIBRARY_PATH
11159 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11161 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11162 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11165 dgux*)
11166 version_type=linux
11167 need_lib_prefix=no
11168 need_version=no
11169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11170 soname_spec='${libname}${release}${shared_ext}$major'
11171 shlibpath_var=LD_LIBRARY_PATH
11174 freebsd* | dragonfly*)
11175 # DragonFly does not have aout. When/if they implement a new
11176 # versioning mechanism, adjust this.
11177 if test -x /usr/bin/objformat; then
11178 objformat=`/usr/bin/objformat`
11179 else
11180 case $host_os in
11181 freebsd[23].*) objformat=aout ;;
11182 *) objformat=elf ;;
11183 esac
11185 version_type=freebsd-$objformat
11186 case $version_type in
11187 freebsd-elf*)
11188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11189 need_version=no
11190 need_lib_prefix=no
11192 freebsd-*)
11193 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11194 need_version=yes
11196 esac
11197 shlibpath_var=LD_LIBRARY_PATH
11198 case $host_os in
11199 freebsd2.*)
11200 shlibpath_overrides_runpath=yes
11202 freebsd3.[01]* | freebsdelf3.[01]*)
11203 shlibpath_overrides_runpath=yes
11204 hardcode_into_libs=yes
11206 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11207 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11208 shlibpath_overrides_runpath=no
11209 hardcode_into_libs=yes
11211 *) # from 4.6 on, and DragonFly
11212 shlibpath_overrides_runpath=yes
11213 hardcode_into_libs=yes
11215 esac
11218 gnu*)
11219 version_type=linux
11220 need_lib_prefix=no
11221 need_version=no
11222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11223 soname_spec='${libname}${release}${shared_ext}$major'
11224 shlibpath_var=LD_LIBRARY_PATH
11225 hardcode_into_libs=yes
11228 haiku*)
11229 version_type=linux
11230 need_lib_prefix=no
11231 need_version=no
11232 dynamic_linker="$host_os runtime_loader"
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11234 soname_spec='${libname}${release}${shared_ext}$major'
11235 shlibpath_var=LIBRARY_PATH
11236 shlibpath_overrides_runpath=yes
11237 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11238 hardcode_into_libs=yes
11241 hpux9* | hpux10* | hpux11*)
11242 # Give a soname corresponding to the major version so that dld.sl refuses to
11243 # link against other versions.
11244 version_type=sunos
11245 need_lib_prefix=no
11246 need_version=no
11247 case $host_cpu in
11248 ia64*)
11249 shrext_cmds='.so'
11250 hardcode_into_libs=yes
11251 dynamic_linker="$host_os dld.so"
11252 shlibpath_var=LD_LIBRARY_PATH
11253 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255 soname_spec='${libname}${release}${shared_ext}$major'
11256 if test "X$HPUX_IA64_MODE" = X32; then
11257 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11258 else
11259 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11261 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11263 hppa*64*)
11264 shrext_cmds='.sl'
11265 hardcode_into_libs=yes
11266 dynamic_linker="$host_os dld.sl"
11267 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11268 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270 soname_spec='${libname}${release}${shared_ext}$major'
11271 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11272 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11275 shrext_cmds='.sl'
11276 dynamic_linker="$host_os dld.sl"
11277 shlibpath_var=SHLIB_PATH
11278 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11280 soname_spec='${libname}${release}${shared_ext}$major'
11282 esac
11283 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11284 postinstall_cmds='chmod 555 $lib'
11285 # or fails outright, so override atomically:
11286 install_override_mode=555
11289 interix[3-9]*)
11290 version_type=linux
11291 need_lib_prefix=no
11292 need_version=no
11293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11294 soname_spec='${libname}${release}${shared_ext}$major'
11295 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath=no
11298 hardcode_into_libs=yes
11301 irix5* | irix6* | nonstopux*)
11302 case $host_os in
11303 nonstopux*) version_type=nonstopux ;;
11305 if test "$lt_cv_prog_gnu_ld" = yes; then
11306 version_type=linux
11307 else
11308 version_type=irix
11309 fi ;;
11310 esac
11311 need_lib_prefix=no
11312 need_version=no
11313 soname_spec='${libname}${release}${shared_ext}$major'
11314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11315 case $host_os in
11316 irix5* | nonstopux*)
11317 libsuff= shlibsuff=
11320 case $LD in # libtool.m4 will add one of these switches to LD
11321 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11322 libsuff= shlibsuff= libmagic=32-bit;;
11323 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11324 libsuff=32 shlibsuff=N32 libmagic=N32;;
11325 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11326 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11327 *) libsuff= shlibsuff= libmagic=never-match;;
11328 esac
11330 esac
11331 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11332 shlibpath_overrides_runpath=no
11333 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11334 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11335 hardcode_into_libs=yes
11338 # No shared lib support for Linux oldld, aout, or coff.
11339 linux*oldld* | linux*aout* | linux*coff*)
11340 dynamic_linker=no
11343 # This must be Linux ELF.
11345 # uclinux* changes (here and below) have been submitted to the libtool
11346 # project, but have not yet been accepted: they are GCC-local changes
11347 # for the time being. (See
11348 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11349 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
11350 version_type=linux
11351 need_lib_prefix=no
11352 need_version=no
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 soname_spec='${libname}${release}${shared_ext}$major'
11355 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11356 shlibpath_var=LD_LIBRARY_PATH
11357 shlibpath_overrides_runpath=no
11359 # Some binutils ld are patched to set DT_RUNPATH
11360 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11361 $as_echo_n "(cached) " >&6
11362 else
11363 lt_cv_shlibpath_overrides_runpath=no
11364 save_LDFLAGS=$LDFLAGS
11365 save_libdir=$libdir
11366 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11367 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11368 if test x$gcc_no_link = xyes; then
11369 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11375 main ()
11379 return 0;
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11384 lt_cv_shlibpath_overrides_runpath=yes
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LDFLAGS=$save_LDFLAGS
11390 libdir=$save_libdir
11394 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11396 # This implies no fast_install, which is unacceptable.
11397 # Some rework will be needed to allow for fast_install
11398 # before this can be enabled.
11399 hardcode_into_libs=yes
11401 # Append ld.so.conf contents to the search path
11402 if test -f /etc/ld.so.conf; then
11403 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' ' '`
11404 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11407 # We used to test for /lib/ld.so.1 and disable shared libraries on
11408 # powerpc, because MkLinux only supported shared libraries with the
11409 # GNU dynamic linker. Since this was broken with cross compilers,
11410 # most powerpc-linux boxes support dynamic linking these days and
11411 # people can always --disable-shared, the test was removed, and we
11412 # assume the GNU/Linux dynamic linker is in use.
11413 dynamic_linker='GNU/Linux ld.so'
11416 netbsd*)
11417 version_type=sunos
11418 need_lib_prefix=no
11419 need_version=no
11420 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11422 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11423 dynamic_linker='NetBSD (a.out) ld.so'
11424 else
11425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11426 soname_spec='${libname}${release}${shared_ext}$major'
11427 dynamic_linker='NetBSD ld.elf_so'
11429 shlibpath_var=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath=yes
11431 hardcode_into_libs=yes
11434 newsos6)
11435 version_type=linux
11436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11437 shlibpath_var=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath=yes
11441 *nto* | *qnx*)
11442 version_type=qnx
11443 need_lib_prefix=no
11444 need_version=no
11445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11446 soname_spec='${libname}${release}${shared_ext}$major'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 shlibpath_overrides_runpath=no
11449 hardcode_into_libs=yes
11450 dynamic_linker='ldqnx.so'
11453 openbsd*)
11454 version_type=sunos
11455 sys_lib_dlsearch_path_spec="/usr/lib"
11456 need_lib_prefix=no
11457 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11458 case $host_os in
11459 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11460 *) need_version=no ;;
11461 esac
11462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11463 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11464 shlibpath_var=LD_LIBRARY_PATH
11465 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11466 case $host_os in
11467 openbsd2.[89] | openbsd2.[89].*)
11468 shlibpath_overrides_runpath=no
11471 shlibpath_overrides_runpath=yes
11473 esac
11474 else
11475 shlibpath_overrides_runpath=yes
11479 os2*)
11480 libname_spec='$name'
11481 shrext_cmds=".dll"
11482 need_lib_prefix=no
11483 library_names_spec='$libname${shared_ext} $libname.a'
11484 dynamic_linker='OS/2 ld.exe'
11485 shlibpath_var=LIBPATH
11488 osf3* | osf4* | osf5*)
11489 version_type=osf
11490 need_lib_prefix=no
11491 need_version=no
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11496 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11499 rdos*)
11500 dynamic_linker=no
11503 solaris*)
11504 version_type=linux
11505 need_lib_prefix=no
11506 need_version=no
11507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11508 soname_spec='${libname}${release}${shared_ext}$major'
11509 shlibpath_var=LD_LIBRARY_PATH
11510 shlibpath_overrides_runpath=yes
11511 hardcode_into_libs=yes
11512 # ldd complains unless libraries are executable
11513 postinstall_cmds='chmod +x $lib'
11516 sunos4*)
11517 version_type=sunos
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11519 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath=yes
11522 if test "$with_gnu_ld" = yes; then
11523 need_lib_prefix=no
11525 need_version=yes
11528 sysv4 | sysv4.3*)
11529 version_type=linux
11530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11531 soname_spec='${libname}${release}${shared_ext}$major'
11532 shlibpath_var=LD_LIBRARY_PATH
11533 case $host_vendor in
11534 sni)
11535 shlibpath_overrides_runpath=no
11536 need_lib_prefix=no
11537 runpath_var=LD_RUN_PATH
11539 siemens)
11540 need_lib_prefix=no
11542 motorola)
11543 need_lib_prefix=no
11544 need_version=no
11545 shlibpath_overrides_runpath=no
11546 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11548 esac
11551 sysv4*MP*)
11552 if test -d /usr/nec ;then
11553 version_type=linux
11554 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11555 soname_spec='$libname${shared_ext}.$major'
11556 shlibpath_var=LD_LIBRARY_PATH
11560 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11561 version_type=freebsd-elf
11562 need_lib_prefix=no
11563 need_version=no
11564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11565 soname_spec='${libname}${release}${shared_ext}$major'
11566 shlibpath_var=LD_LIBRARY_PATH
11567 shlibpath_overrides_runpath=yes
11568 hardcode_into_libs=yes
11569 if test "$with_gnu_ld" = yes; then
11570 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11571 else
11572 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11573 case $host_os in
11574 sco3.2v5*)
11575 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11577 esac
11579 sys_lib_dlsearch_path_spec='/usr/lib'
11582 tpf*)
11583 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11584 version_type=linux
11585 need_lib_prefix=no
11586 need_version=no
11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588 shlibpath_var=LD_LIBRARY_PATH
11589 shlibpath_overrides_runpath=no
11590 hardcode_into_libs=yes
11593 uts4*)
11594 version_type=linux
11595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11596 soname_spec='${libname}${release}${shared_ext}$major'
11597 shlibpath_var=LD_LIBRARY_PATH
11601 dynamic_linker=no
11603 esac
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11605 $as_echo "$dynamic_linker" >&6; }
11606 test "$dynamic_linker" = no && can_build_shared=no
11608 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11609 if test "$GCC" = yes; then
11610 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11613 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11614 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11616 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11617 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11712 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11713 hardcode_action=
11714 if test -n "$hardcode_libdir_flag_spec" ||
11715 test -n "$runpath_var" ||
11716 test "X$hardcode_automatic" = "Xyes" ; then
11718 # We can hardcode non-existent directories.
11719 if test "$hardcode_direct" != no &&
11720 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11721 # have to relink, otherwise we might link with an installed library
11722 # when we should be linking with a yet-to-be-installed one
11723 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11724 test "$hardcode_minus_L" != no; then
11725 # Linking always hardcodes the temporary library directory.
11726 hardcode_action=relink
11727 else
11728 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11729 hardcode_action=immediate
11731 else
11732 # We cannot hardcode anything, or else we can only hardcode existing
11733 # directories.
11734 hardcode_action=unsupported
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11737 $as_echo "$hardcode_action" >&6; }
11739 if test "$hardcode_action" = relink ||
11740 test "$inherit_rpath" = yes; then
11741 # Fast installation is not supported
11742 enable_fast_install=no
11743 elif test "$shlibpath_overrides_runpath" = yes ||
11744 test "$enable_shared" = no; then
11745 # Fast installation is not necessary
11746 enable_fast_install=needless
11754 if test "x$enable_dlopen" != xyes; then
11755 enable_dlopen=unknown
11756 enable_dlopen_self=unknown
11757 enable_dlopen_self_static=unknown
11758 else
11759 lt_cv_dlopen=no
11760 lt_cv_dlopen_libs=
11762 case $host_os in
11763 beos*)
11764 lt_cv_dlopen="load_add_on"
11765 lt_cv_dlopen_libs=
11766 lt_cv_dlopen_self=yes
11769 mingw* | pw32* | cegcc*)
11770 lt_cv_dlopen="LoadLibrary"
11771 lt_cv_dlopen_libs=
11774 cygwin*)
11775 lt_cv_dlopen="dlopen"
11776 lt_cv_dlopen_libs=
11779 darwin*)
11780 # if libdl is installed we need to link against it
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11782 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11783 if ${ac_cv_lib_dl_dlopen+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_lib_save_LIBS=$LIBS
11787 LIBS="-ldl $LIBS"
11788 if test x$gcc_no_link = xyes; then
11789 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11797 #ifdef __cplusplus
11798 extern "C"
11799 #endif
11800 char dlopen ();
11802 main ()
11804 return dlopen ();
11806 return 0;
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"; then :
11810 ac_cv_lib_dl_dlopen=yes
11811 else
11812 ac_cv_lib_dl_dlopen=no
11814 rm -f core conftest.err conftest.$ac_objext \
11815 conftest$ac_exeext conftest.$ac_ext
11816 LIBS=$ac_check_lib_save_LIBS
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11819 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11820 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11821 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11822 else
11824 lt_cv_dlopen="dyld"
11825 lt_cv_dlopen_libs=
11826 lt_cv_dlopen_self=yes
11833 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11834 if test "x$ac_cv_func_shl_load" = xyes; then :
11835 lt_cv_dlopen="shl_load"
11836 else
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11838 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11839 if ${ac_cv_lib_dld_shl_load+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_lib_save_LIBS=$LIBS
11843 LIBS="-ldld $LIBS"
11844 if test x$gcc_no_link = xyes; then
11845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11853 #ifdef __cplusplus
11854 extern "C"
11855 #endif
11856 char shl_load ();
11858 main ()
11860 return shl_load ();
11862 return 0;
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"; then :
11866 ac_cv_lib_dld_shl_load=yes
11867 else
11868 ac_cv_lib_dld_shl_load=no
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11875 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11876 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11877 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11878 else
11879 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11880 if test "x$ac_cv_func_dlopen" = xyes; then :
11881 lt_cv_dlopen="dlopen"
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11884 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11885 if ${ac_cv_lib_dl_dlopen+:} false; then :
11886 $as_echo_n "(cached) " >&6
11887 else
11888 ac_check_lib_save_LIBS=$LIBS
11889 LIBS="-ldl $LIBS"
11890 if test x$gcc_no_link = xyes; then
11891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char dlopen ();
11904 main ()
11906 return dlopen ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 ac_cv_lib_dl_dlopen=yes
11913 else
11914 ac_cv_lib_dl_dlopen=no
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11921 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11922 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11923 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11924 else
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11926 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11927 if ${ac_cv_lib_svld_dlopen+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_lib_save_LIBS=$LIBS
11931 LIBS="-lsvld $LIBS"
11932 if test x$gcc_no_link = xyes; then
11933 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 /* Override any GCC internal prototype to avoid an error.
11939 Use char because int might match the return type of a GCC
11940 builtin and then its argument prototype would still apply. */
11941 #ifdef __cplusplus
11942 extern "C"
11943 #endif
11944 char dlopen ();
11946 main ()
11948 return dlopen ();
11950 return 0;
11952 _ACEOF
11953 if ac_fn_c_try_link "$LINENO"; then :
11954 ac_cv_lib_svld_dlopen=yes
11955 else
11956 ac_cv_lib_svld_dlopen=no
11958 rm -f core conftest.err conftest.$ac_objext \
11959 conftest$ac_exeext conftest.$ac_ext
11960 LIBS=$ac_check_lib_save_LIBS
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11963 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11964 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11965 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11966 else
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11968 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11969 if ${ac_cv_lib_dld_dld_link+:} false; then :
11970 $as_echo_n "(cached) " >&6
11971 else
11972 ac_check_lib_save_LIBS=$LIBS
11973 LIBS="-ldld $LIBS"
11974 if test x$gcc_no_link = xyes; then
11975 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 char dld_link ();
11988 main ()
11990 return dld_link ();
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"; then :
11996 ac_cv_lib_dld_dld_link=yes
11997 else
11998 ac_cv_lib_dld_dld_link=no
12000 rm -f core conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 LIBS=$ac_check_lib_save_LIBS
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12005 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12006 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12007 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12026 esac
12028 if test "x$lt_cv_dlopen" != xno; then
12029 enable_dlopen=yes
12030 else
12031 enable_dlopen=no
12034 case $lt_cv_dlopen in
12035 dlopen)
12036 save_CPPFLAGS="$CPPFLAGS"
12037 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12039 save_LDFLAGS="$LDFLAGS"
12040 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12042 save_LIBS="$LIBS"
12043 LIBS="$lt_cv_dlopen_libs $LIBS"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12046 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12047 if ${lt_cv_dlopen_self+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 if test "$cross_compiling" = yes; then :
12051 lt_cv_dlopen_self=cross
12052 else
12053 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12054 lt_status=$lt_dlunknown
12055 cat > conftest.$ac_ext <<_LT_EOF
12056 #line 12056 "configure"
12057 #include "confdefs.h"
12059 #if HAVE_DLFCN_H
12060 #include <dlfcn.h>
12061 #endif
12063 #include <stdio.h>
12065 #ifdef RTLD_GLOBAL
12066 # define LT_DLGLOBAL RTLD_GLOBAL
12067 #else
12068 # ifdef DL_GLOBAL
12069 # define LT_DLGLOBAL DL_GLOBAL
12070 # else
12071 # define LT_DLGLOBAL 0
12072 # endif
12073 #endif
12075 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12076 find out it does not work in some platform. */
12077 #ifndef LT_DLLAZY_OR_NOW
12078 # ifdef RTLD_LAZY
12079 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12080 # else
12081 # ifdef DL_LAZY
12082 # define LT_DLLAZY_OR_NOW DL_LAZY
12083 # else
12084 # ifdef RTLD_NOW
12085 # define LT_DLLAZY_OR_NOW RTLD_NOW
12086 # else
12087 # ifdef DL_NOW
12088 # define LT_DLLAZY_OR_NOW DL_NOW
12089 # else
12090 # define LT_DLLAZY_OR_NOW 0
12091 # endif
12092 # endif
12093 # endif
12094 # endif
12095 #endif
12097 /* When -fvisbility=hidden is used, assume the code has been annotated
12098 correspondingly for the symbols needed. */
12099 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12100 void fnord () __attribute__((visibility("default")));
12101 #endif
12103 void fnord () { int i=42; }
12104 int main ()
12106 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12107 int status = $lt_dlunknown;
12109 if (self)
12111 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12112 else
12114 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12115 else puts (dlerror ());
12117 /* dlclose (self); */
12119 else
12120 puts (dlerror ());
12122 return status;
12124 _LT_EOF
12125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12126 (eval $ac_link) 2>&5
12127 ac_status=$?
12128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12129 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12130 (./conftest; exit; ) >&5 2>/dev/null
12131 lt_status=$?
12132 case x$lt_status in
12133 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12134 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12135 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12136 esac
12137 else :
12138 # compilation failed
12139 lt_cv_dlopen_self=no
12142 rm -fr conftest*
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12147 $as_echo "$lt_cv_dlopen_self" >&6; }
12149 if test "x$lt_cv_dlopen_self" = xyes; then
12150 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12152 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12153 if ${lt_cv_dlopen_self_static+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 if test "$cross_compiling" = yes; then :
12157 lt_cv_dlopen_self_static=cross
12158 else
12159 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12160 lt_status=$lt_dlunknown
12161 cat > conftest.$ac_ext <<_LT_EOF
12162 #line 12162 "configure"
12163 #include "confdefs.h"
12165 #if HAVE_DLFCN_H
12166 #include <dlfcn.h>
12167 #endif
12169 #include <stdio.h>
12171 #ifdef RTLD_GLOBAL
12172 # define LT_DLGLOBAL RTLD_GLOBAL
12173 #else
12174 # ifdef DL_GLOBAL
12175 # define LT_DLGLOBAL DL_GLOBAL
12176 # else
12177 # define LT_DLGLOBAL 0
12178 # endif
12179 #endif
12181 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12182 find out it does not work in some platform. */
12183 #ifndef LT_DLLAZY_OR_NOW
12184 # ifdef RTLD_LAZY
12185 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12186 # else
12187 # ifdef DL_LAZY
12188 # define LT_DLLAZY_OR_NOW DL_LAZY
12189 # else
12190 # ifdef RTLD_NOW
12191 # define LT_DLLAZY_OR_NOW RTLD_NOW
12192 # else
12193 # ifdef DL_NOW
12194 # define LT_DLLAZY_OR_NOW DL_NOW
12195 # else
12196 # define LT_DLLAZY_OR_NOW 0
12197 # endif
12198 # endif
12199 # endif
12200 # endif
12201 #endif
12203 /* When -fvisbility=hidden is used, assume the code has been annotated
12204 correspondingly for the symbols needed. */
12205 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12206 void fnord () __attribute__((visibility("default")));
12207 #endif
12209 void fnord () { int i=42; }
12210 int main ()
12212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12213 int status = $lt_dlunknown;
12215 if (self)
12217 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12218 else
12220 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12221 else puts (dlerror ());
12223 /* dlclose (self); */
12225 else
12226 puts (dlerror ());
12228 return status;
12230 _LT_EOF
12231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12232 (eval $ac_link) 2>&5
12233 ac_status=$?
12234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12235 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12236 (./conftest; exit; ) >&5 2>/dev/null
12237 lt_status=$?
12238 case x$lt_status in
12239 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12240 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12241 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12242 esac
12243 else :
12244 # compilation failed
12245 lt_cv_dlopen_self_static=no
12248 rm -fr conftest*
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12253 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12256 CPPFLAGS="$save_CPPFLAGS"
12257 LDFLAGS="$save_LDFLAGS"
12258 LIBS="$save_LIBS"
12260 esac
12262 case $lt_cv_dlopen_self in
12263 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12264 *) enable_dlopen_self=unknown ;;
12265 esac
12267 case $lt_cv_dlopen_self_static in
12268 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12269 *) enable_dlopen_self_static=unknown ;;
12270 esac
12289 striplib=
12290 old_striplib=
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12292 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12293 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12294 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12295 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12297 $as_echo "yes" >&6; }
12298 else
12299 # FIXME - insert some real tests, host_os isn't really good enough
12300 case $host_os in
12301 darwin*)
12302 if test -n "$STRIP" ; then
12303 striplib="$STRIP -x"
12304 old_striplib="$STRIP -S"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12306 $as_echo "yes" >&6; }
12307 else
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12309 $as_echo "no" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12316 esac
12330 # Report which library types will actually be built
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12332 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12334 $as_echo "$can_build_shared" >&6; }
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12337 $as_echo_n "checking whether to build shared libraries... " >&6; }
12338 test "$can_build_shared" = "no" && enable_shared=no
12340 # On AIX, shared libraries and static libraries use the same namespace, and
12341 # are all built from PIC.
12342 case $host_os in
12343 aix3*)
12344 test "$enable_shared" = yes && enable_static=no
12345 if test -n "$RANLIB"; then
12346 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12347 postinstall_cmds='$RANLIB $lib'
12351 aix[4-9]*)
12352 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12353 test "$enable_shared" = yes && enable_static=no
12356 esac
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12358 $as_echo "$enable_shared" >&6; }
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12361 $as_echo_n "checking whether to build static libraries... " >&6; }
12362 # Make sure either enable_shared or enable_static is yes.
12363 test "$enable_shared" = yes || enable_static=yes
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12365 $as_echo "$enable_static" >&6; }
12371 ac_ext=c
12372 ac_cpp='$CPP $CPPFLAGS'
12373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12377 CC="$lt_save_CC"
12379 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12380 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12381 (test "X$CXX" != "Xg++"))) ; then
12382 ac_ext=cpp
12383 ac_cpp='$CXXCPP $CPPFLAGS'
12384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12388 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12389 if test -z "$CXXCPP"; then
12390 if ${ac_cv_prog_CXXCPP+:} false; then :
12391 $as_echo_n "(cached) " >&6
12392 else
12393 # Double quotes because CXXCPP needs to be expanded
12394 for CXXCPP in "$CXX -E" "/lib/cpp"
12396 ac_preproc_ok=false
12397 for ac_cxx_preproc_warn_flag in '' yes
12399 # Use a header file that comes with gcc, so configuring glibc
12400 # with a fresh cross-compiler works.
12401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12402 # <limits.h> exists even on freestanding compilers.
12403 # On the NeXT, cc -E runs the code through the compiler's parser,
12404 # not just through cpp. "Syntax error" is here to catch this case.
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12407 #ifdef __STDC__
12408 # include <limits.h>
12409 #else
12410 # include <assert.h>
12411 #endif
12412 Syntax error
12413 _ACEOF
12414 if ac_fn_cxx_try_cpp "$LINENO"; then :
12416 else
12417 # Broken: fails on valid input.
12418 continue
12420 rm -f conftest.err conftest.i conftest.$ac_ext
12422 # OK, works on sane cases. Now check whether nonexistent headers
12423 # can be detected and how.
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12426 #include <ac_nonexistent.h>
12427 _ACEOF
12428 if ac_fn_cxx_try_cpp "$LINENO"; then :
12429 # Broken: success on invalid input.
12430 continue
12431 else
12432 # Passes both tests.
12433 ac_preproc_ok=:
12434 break
12436 rm -f conftest.err conftest.i conftest.$ac_ext
12438 done
12439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12440 rm -f conftest.i conftest.err conftest.$ac_ext
12441 if $ac_preproc_ok; then :
12442 break
12445 done
12446 ac_cv_prog_CXXCPP=$CXXCPP
12449 CXXCPP=$ac_cv_prog_CXXCPP
12450 else
12451 ac_cv_prog_CXXCPP=$CXXCPP
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12454 $as_echo "$CXXCPP" >&6; }
12455 ac_preproc_ok=false
12456 for ac_cxx_preproc_warn_flag in '' yes
12458 # Use a header file that comes with gcc, so configuring glibc
12459 # with a fresh cross-compiler works.
12460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12461 # <limits.h> exists even on freestanding compilers.
12462 # On the NeXT, cc -E runs the code through the compiler's parser,
12463 # not just through cpp. "Syntax error" is here to catch this case.
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12466 #ifdef __STDC__
12467 # include <limits.h>
12468 #else
12469 # include <assert.h>
12470 #endif
12471 Syntax error
12472 _ACEOF
12473 if ac_fn_cxx_try_cpp "$LINENO"; then :
12475 else
12476 # Broken: fails on valid input.
12477 continue
12479 rm -f conftest.err conftest.i conftest.$ac_ext
12481 # OK, works on sane cases. Now check whether nonexistent headers
12482 # can be detected and how.
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12485 #include <ac_nonexistent.h>
12486 _ACEOF
12487 if ac_fn_cxx_try_cpp "$LINENO"; then :
12488 # Broken: success on invalid input.
12489 continue
12490 else
12491 # Passes both tests.
12492 ac_preproc_ok=:
12493 break
12495 rm -f conftest.err conftest.i conftest.$ac_ext
12497 done
12498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12499 rm -f conftest.i conftest.err conftest.$ac_ext
12500 if $ac_preproc_ok; then :
12502 else
12503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12505 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12506 See \`config.log' for more details" "$LINENO" 5; }
12509 ac_ext=c
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12515 else
12516 _lt_caught_CXX_error=yes
12519 ac_ext=cpp
12520 ac_cpp='$CXXCPP $CPPFLAGS'
12521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12525 archive_cmds_need_lc_CXX=no
12526 allow_undefined_flag_CXX=
12527 always_export_symbols_CXX=no
12528 archive_expsym_cmds_CXX=
12529 compiler_needs_object_CXX=no
12530 export_dynamic_flag_spec_CXX=
12531 hardcode_direct_CXX=no
12532 hardcode_direct_absolute_CXX=no
12533 hardcode_libdir_flag_spec_CXX=
12534 hardcode_libdir_flag_spec_ld_CXX=
12535 hardcode_libdir_separator_CXX=
12536 hardcode_minus_L_CXX=no
12537 hardcode_shlibpath_var_CXX=unsupported
12538 hardcode_automatic_CXX=no
12539 inherit_rpath_CXX=no
12540 module_cmds_CXX=
12541 module_expsym_cmds_CXX=
12542 link_all_deplibs_CXX=unknown
12543 old_archive_cmds_CXX=$old_archive_cmds
12544 reload_flag_CXX=$reload_flag
12545 reload_cmds_CXX=$reload_cmds
12546 no_undefined_flag_CXX=
12547 whole_archive_flag_spec_CXX=
12548 enable_shared_with_static_runtimes_CXX=no
12550 # Source file extension for C++ test sources.
12551 ac_ext=cpp
12553 # Object file extension for compiled C++ test sources.
12554 objext=o
12555 objext_CXX=$objext
12557 # No sense in running all these tests if we already determined that
12558 # the CXX compiler isn't working. Some variables (like enable_shared)
12559 # are currently assumed to apply to all compilers on this platform,
12560 # and will be corrupted by setting them based on a non-working compiler.
12561 if test "$_lt_caught_CXX_error" != yes; then
12562 # Code to be used in simple compile tests
12563 lt_simple_compile_test_code="int some_variable = 0;"
12565 # Code to be used in simple link tests
12566 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12568 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12575 # If no C compiler was specified, use CC.
12576 LTCC=${LTCC-"$CC"}
12578 # If no C compiler flags were specified, use CFLAGS.
12579 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12581 # Allow CC to be a program name with arguments.
12582 compiler=$CC
12585 # save warnings/boilerplate of simple test code
12586 ac_outfile=conftest.$ac_objext
12587 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12588 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12589 _lt_compiler_boilerplate=`cat conftest.err`
12590 $RM conftest*
12592 ac_outfile=conftest.$ac_objext
12593 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12594 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12595 _lt_linker_boilerplate=`cat conftest.err`
12596 $RM -r conftest*
12599 # Allow CC to be a program name with arguments.
12600 lt_save_CC=$CC
12601 lt_save_LD=$LD
12602 lt_save_GCC=$GCC
12603 GCC=$GXX
12604 lt_save_with_gnu_ld=$with_gnu_ld
12605 lt_save_path_LD=$lt_cv_path_LD
12606 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12607 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12608 else
12609 $as_unset lt_cv_prog_gnu_ld
12611 if test -n "${lt_cv_path_LDCXX+set}"; then
12612 lt_cv_path_LD=$lt_cv_path_LDCXX
12613 else
12614 $as_unset lt_cv_path_LD
12616 test -z "${LDCXX+set}" || LD=$LDCXX
12617 CC=${CXX-"c++"}
12618 compiler=$CC
12619 compiler_CXX=$CC
12620 for cc_temp in $compiler""; do
12621 case $cc_temp in
12622 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12623 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12624 \-*) ;;
12625 *) break;;
12626 esac
12627 done
12628 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12631 if test -n "$compiler"; then
12632 # We don't want -fno-exception when compiling C++ code, so set the
12633 # no_builtin_flag separately
12634 if test "$GXX" = yes; then
12635 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12636 else
12637 lt_prog_compiler_no_builtin_flag_CXX=
12640 if test "$GXX" = yes; then
12641 # Set up default GNU C++ configuration
12645 # Check whether --with-gnu-ld was given.
12646 if test "${with_gnu_ld+set}" = set; then :
12647 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12648 else
12649 with_gnu_ld=no
12652 ac_prog=ld
12653 if test "$GCC" = yes; then
12654 # Check if gcc -print-prog-name=ld gives a path.
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12656 $as_echo_n "checking for ld used by $CC... " >&6; }
12657 case $host in
12658 *-*-mingw*)
12659 # gcc leaves a trailing carriage return which upsets mingw
12660 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12662 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12663 esac
12664 case $ac_prog in
12665 # Accept absolute paths.
12666 [\\/]* | ?:[\\/]*)
12667 re_direlt='/[^/][^/]*/\.\./'
12668 # Canonicalize the pathname of ld
12669 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12670 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12671 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12672 done
12673 test -z "$LD" && LD="$ac_prog"
12676 # If it fails, then pretend we aren't using GCC.
12677 ac_prog=ld
12680 # If it is relative, then search for the first ld in PATH.
12681 with_gnu_ld=unknown
12683 esac
12684 elif test "$with_gnu_ld" = yes; then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12686 $as_echo_n "checking for GNU ld... " >&6; }
12687 else
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12689 $as_echo_n "checking for non-GNU ld... " >&6; }
12691 if ${lt_cv_path_LD+:} false; then :
12692 $as_echo_n "(cached) " >&6
12693 else
12694 if test -z "$LD"; then
12695 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12696 for ac_dir in $PATH; do
12697 IFS="$lt_save_ifs"
12698 test -z "$ac_dir" && ac_dir=.
12699 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12700 lt_cv_path_LD="$ac_dir/$ac_prog"
12701 # Check to see if the program is GNU ld. I'd rather use --version,
12702 # but apparently some variants of GNU ld only accept -v.
12703 # Break only if it was the GNU/non-GNU ld that we prefer.
12704 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12705 *GNU* | *'with BFD'*)
12706 test "$with_gnu_ld" != no && break
12709 test "$with_gnu_ld" != yes && break
12711 esac
12713 done
12714 IFS="$lt_save_ifs"
12715 else
12716 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12720 LD="$lt_cv_path_LD"
12721 if test -n "$LD"; then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12723 $as_echo "$LD" >&6; }
12724 else
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12726 $as_echo "no" >&6; }
12728 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12730 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12731 if ${lt_cv_prog_gnu_ld+:} false; then :
12732 $as_echo_n "(cached) " >&6
12733 else
12734 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12735 case `$LD -v 2>&1 </dev/null` in
12736 *GNU* | *'with BFD'*)
12737 lt_cv_prog_gnu_ld=yes
12740 lt_cv_prog_gnu_ld=no
12742 esac
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12745 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12746 with_gnu_ld=$lt_cv_prog_gnu_ld
12754 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12755 # archiving commands below assume that GNU ld is being used.
12756 if test "$with_gnu_ld" = yes; then
12757 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12758 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'
12760 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12761 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12763 # If archive_cmds runs LD, not CC, wlarc should be empty
12764 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12765 # investigate it a little bit more. (MM)
12766 wlarc='${wl}'
12768 # ancient GNU ld didn't support --whole-archive et. al.
12769 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12770 $GREP 'no-whole-archive' > /dev/null; then
12771 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12772 else
12773 whole_archive_flag_spec_CXX=
12775 else
12776 with_gnu_ld=no
12777 wlarc=
12779 # A generic and very simple default shared library creation
12780 # command for GNU C++ for the case where it uses the native
12781 # linker, instead of GNU ld. If possible, this setting should
12782 # overridden to take advantage of the native linker features on
12783 # the platform it is being used on.
12784 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12787 # Commands to make compiler produce verbose output that lists
12788 # what "hidden" libraries, object files and flags are used when
12789 # linking a shared library.
12790 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12792 else
12793 GXX=no
12794 with_gnu_ld=no
12795 wlarc=
12798 # PORTME: fill in a description of your system's C++ link characteristics
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12800 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12801 ld_shlibs_CXX=yes
12802 case $host_os in
12803 aix3*)
12804 # FIXME: insert proper C++ library support
12805 ld_shlibs_CXX=no
12807 aix[4-9]*)
12808 if test "$host_cpu" = ia64; then
12809 # On IA64, the linker does run time linking by default, so we don't
12810 # have to do anything special.
12811 aix_use_runtimelinking=no
12812 exp_sym_flag='-Bexport'
12813 no_entry_flag=""
12814 else
12815 aix_use_runtimelinking=no
12817 # Test if we are trying to use run time linking or normal
12818 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12819 # need to do runtime linking.
12820 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12821 for ld_flag in $LDFLAGS; do
12822 case $ld_flag in
12823 *-brtl*)
12824 aix_use_runtimelinking=yes
12825 break
12827 esac
12828 done
12830 esac
12832 exp_sym_flag='-bexport'
12833 no_entry_flag='-bnoentry'
12836 # When large executables or shared objects are built, AIX ld can
12837 # have problems creating the table of contents. If linking a library
12838 # or program results in "error TOC overflow" add -mminimal-toc to
12839 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12840 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12842 archive_cmds_CXX=''
12843 hardcode_direct_CXX=yes
12844 hardcode_direct_absolute_CXX=yes
12845 hardcode_libdir_separator_CXX=':'
12846 link_all_deplibs_CXX=yes
12847 file_list_spec_CXX='${wl}-f,'
12849 if test "$GXX" = yes; then
12850 case $host_os in aix4.[012]|aix4.[012].*)
12851 # We only want to do this on AIX 4.2 and lower, the check
12852 # below for broken collect2 doesn't work under 4.3+
12853 collect2name=`${CC} -print-prog-name=collect2`
12854 if test -f "$collect2name" &&
12855 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12856 then
12857 # We have reworked collect2
12859 else
12860 # We have old collect2
12861 hardcode_direct_CXX=unsupported
12862 # It fails to find uninstalled libraries when the uninstalled
12863 # path is not listed in the libpath. Setting hardcode_minus_L
12864 # to unsupported forces relinking
12865 hardcode_minus_L_CXX=yes
12866 hardcode_libdir_flag_spec_CXX='-L$libdir'
12867 hardcode_libdir_separator_CXX=
12869 esac
12870 shared_flag='-shared'
12871 if test "$aix_use_runtimelinking" = yes; then
12872 shared_flag="$shared_flag "'${wl}-G'
12874 else
12875 # not using gcc
12876 if test "$host_cpu" = ia64; then
12877 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12878 # chokes on -Wl,-G. The following line is correct:
12879 shared_flag='-G'
12880 else
12881 if test "$aix_use_runtimelinking" = yes; then
12882 shared_flag='${wl}-G'
12883 else
12884 shared_flag='${wl}-bM:SRE'
12889 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12890 # It seems that -bexpall does not export symbols beginning with
12891 # underscore (_), so it is better to generate a list of symbols to
12892 # export.
12893 always_export_symbols_CXX=yes
12894 if test "$aix_use_runtimelinking" = yes; then
12895 # Warning - without using the other runtime loading flags (-brtl),
12896 # -berok will link without error, but may produce a broken library.
12897 allow_undefined_flag_CXX='-berok'
12898 # Determine the default libpath from the value encoded in an empty
12899 # executable.
12900 if test x$gcc_no_link = xyes; then
12901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12907 main ()
12911 return 0;
12913 _ACEOF
12914 if ac_fn_cxx_try_link "$LINENO"; then :
12916 lt_aix_libpath_sed='
12917 /Import File Strings/,/^$/ {
12918 /^0/ {
12919 s/^0 *\(.*\)$/\1/
12923 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12924 # Check for a 64-bit object if we didn't find anything.
12925 if test -z "$aix_libpath"; then
12926 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12929 rm -f core conftest.err conftest.$ac_objext \
12930 conftest$ac_exeext conftest.$ac_ext
12931 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12933 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12935 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"
12936 else
12937 if test "$host_cpu" = ia64; then
12938 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12939 allow_undefined_flag_CXX="-z nodefs"
12940 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"
12941 else
12942 # Determine the default libpath from the value encoded in an
12943 # empty executable.
12944 if test x$gcc_no_link = xyes; then
12945 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12951 main ()
12955 return 0;
12957 _ACEOF
12958 if ac_fn_cxx_try_link "$LINENO"; then :
12960 lt_aix_libpath_sed='
12961 /Import File Strings/,/^$/ {
12962 /^0/ {
12963 s/^0 *\(.*\)$/\1/
12967 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12968 # Check for a 64-bit object if we didn't find anything.
12969 if test -z "$aix_libpath"; then
12970 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12973 rm -f core conftest.err conftest.$ac_objext \
12974 conftest$ac_exeext conftest.$ac_ext
12975 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12977 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12978 # Warning - without using the other run time loading flags,
12979 # -berok will link without error, but may produce a broken library.
12980 no_undefined_flag_CXX=' ${wl}-bernotok'
12981 allow_undefined_flag_CXX=' ${wl}-berok'
12982 if test "$with_gnu_ld" = yes; then
12983 # We only use this code for GNU lds that support --whole-archive.
12984 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12985 else
12986 # Exported symbols can be pulled into shared objects from archives
12987 whole_archive_flag_spec_CXX='$convenience'
12989 archive_cmds_need_lc_CXX=yes
12990 # This is similar to how AIX traditionally builds its shared
12991 # libraries.
12992 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'
12997 beos*)
12998 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12999 allow_undefined_flag_CXX=unsupported
13000 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13001 # support --undefined. This deserves some investigation. FIXME
13002 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13003 else
13004 ld_shlibs_CXX=no
13008 chorus*)
13009 case $cc_basename in
13011 # FIXME: insert proper C++ library support
13012 ld_shlibs_CXX=no
13014 esac
13017 cygwin* | mingw* | pw32* | cegcc*)
13018 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13019 # as there is no search path for DLLs.
13020 hardcode_libdir_flag_spec_CXX='-L$libdir'
13021 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13022 allow_undefined_flag_CXX=unsupported
13023 always_export_symbols_CXX=no
13024 enable_shared_with_static_runtimes_CXX=yes
13026 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13027 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'
13028 # If the export-symbols file already is a .def file (1st line
13029 # is EXPORTS), use it as is; otherwise, prepend...
13030 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13031 cp $export_symbols $output_objdir/$soname.def;
13032 else
13033 echo EXPORTS > $output_objdir/$soname.def;
13034 cat $export_symbols >> $output_objdir/$soname.def;
13036 $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'
13037 else
13038 ld_shlibs_CXX=no
13041 darwin* | rhapsody*)
13044 archive_cmds_need_lc_CXX=no
13045 hardcode_direct_CXX=no
13046 hardcode_automatic_CXX=yes
13047 hardcode_shlibpath_var_CXX=unsupported
13048 if test "$lt_cv_ld_force_load" = "yes"; then
13049 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\"`'
13050 else
13051 whole_archive_flag_spec_CXX=''
13053 link_all_deplibs_CXX=yes
13054 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13055 case $cc_basename in
13056 ifort*) _lt_dar_can_shared=yes ;;
13057 *) _lt_dar_can_shared=$GCC ;;
13058 esac
13059 if test "$_lt_dar_can_shared" = "yes"; then
13060 output_verbose_link_cmd=func_echo_all
13061 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}"
13062 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13063 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}"
13064 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}"
13065 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13066 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}"
13067 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}"
13070 else
13071 ld_shlibs_CXX=no
13076 dgux*)
13077 case $cc_basename in
13078 ec++*)
13079 # FIXME: insert proper C++ library support
13080 ld_shlibs_CXX=no
13082 ghcx*)
13083 # Green Hills C++ Compiler
13084 # FIXME: insert proper C++ library support
13085 ld_shlibs_CXX=no
13088 # FIXME: insert proper C++ library support
13089 ld_shlibs_CXX=no
13091 esac
13094 freebsd2.*)
13095 # C++ shared libraries reported to be fairly broken before
13096 # switch to ELF
13097 ld_shlibs_CXX=no
13100 freebsd-elf*)
13101 archive_cmds_need_lc_CXX=no
13104 freebsd* | dragonfly*)
13105 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13106 # conventions
13107 ld_shlibs_CXX=yes
13110 gnu*)
13113 haiku*)
13114 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13115 link_all_deplibs_CXX=yes
13118 hpux9*)
13119 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13120 hardcode_libdir_separator_CXX=:
13121 export_dynamic_flag_spec_CXX='${wl}-E'
13122 hardcode_direct_CXX=yes
13123 hardcode_minus_L_CXX=yes # Not in the search PATH,
13124 # but as the default
13125 # location of the library.
13127 case $cc_basename in
13128 CC*)
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13132 aCC*)
13133 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'
13134 # Commands to make compiler produce verbose output that lists
13135 # what "hidden" libraries, object files and flags are used when
13136 # linking a shared library.
13138 # There doesn't appear to be a way to prevent this compiler from
13139 # explicitly linking system object files so we need to strip them
13140 # from the output so that they don't get included in the library
13141 # dependencies.
13142 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"'
13145 if test "$GXX" = yes; then
13146 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'
13147 else
13148 # FIXME: insert proper C++ library support
13149 ld_shlibs_CXX=no
13152 esac
13155 hpux10*|hpux11*)
13156 if test $with_gnu_ld = no; then
13157 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13158 hardcode_libdir_separator_CXX=:
13160 case $host_cpu in
13161 hppa*64*|ia64*)
13164 export_dynamic_flag_spec_CXX='${wl}-E'
13166 esac
13168 case $host_cpu in
13169 hppa*64*|ia64*)
13170 hardcode_direct_CXX=no
13171 hardcode_shlibpath_var_CXX=no
13174 hardcode_direct_CXX=yes
13175 hardcode_direct_absolute_CXX=yes
13176 hardcode_minus_L_CXX=yes # Not in the search PATH,
13177 # but as the default
13178 # location of the library.
13180 esac
13182 case $cc_basename in
13183 CC*)
13184 # FIXME: insert proper C++ library support
13185 ld_shlibs_CXX=no
13187 aCC*)
13188 case $host_cpu in
13189 hppa*64*)
13190 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13192 ia64*)
13193 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13196 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13198 esac
13199 # Commands to make compiler produce verbose output that lists
13200 # what "hidden" libraries, object files and flags are used when
13201 # linking a shared library.
13203 # There doesn't appear to be a way to prevent this compiler from
13204 # explicitly linking system object files so we need to strip them
13205 # from the output so that they don't get included in the library
13206 # dependencies.
13207 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"'
13210 if test "$GXX" = yes; then
13211 if test $with_gnu_ld = no; then
13212 case $host_cpu in
13213 hppa*64*)
13214 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13216 ia64*)
13217 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13220 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'
13222 esac
13224 else
13225 # FIXME: insert proper C++ library support
13226 ld_shlibs_CXX=no
13229 esac
13232 interix[3-9]*)
13233 hardcode_direct_CXX=no
13234 hardcode_shlibpath_var_CXX=no
13235 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13236 export_dynamic_flag_spec_CXX='${wl}-E'
13237 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13238 # Instead, shared libraries are loaded at an image base (0x10000000 by
13239 # default) and relocated if they conflict, which is a slow very memory
13240 # consuming and fragmenting process. To avoid this, we pick a random,
13241 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13242 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13243 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'
13244 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'
13246 irix5* | irix6*)
13247 case $cc_basename in
13248 CC*)
13249 # SGI C++
13250 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'
13252 # Archives containing C++ object files must be created using
13253 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13254 # necessary to make sure instantiated templates are included
13255 # in the archive.
13256 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13259 if test "$GXX" = yes; then
13260 if test "$with_gnu_ld" = no; then
13261 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'
13262 else
13263 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'
13266 link_all_deplibs_CXX=yes
13268 esac
13269 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13270 hardcode_libdir_separator_CXX=:
13271 inherit_rpath_CXX=yes
13274 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13275 case $cc_basename in
13276 KCC*)
13277 # Kuck and Associates, Inc. (KAI) C++ Compiler
13279 # KCC will only create a shared library if the output file
13280 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13281 # to its proper name (with version) after linking.
13282 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'
13283 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'
13284 # Commands to make compiler produce verbose output that lists
13285 # what "hidden" libraries, object files and flags are used when
13286 # linking a shared library.
13288 # There doesn't appear to be a way to prevent this compiler from
13289 # explicitly linking system object files so we need to strip them
13290 # from the output so that they don't get included in the library
13291 # dependencies.
13292 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"'
13294 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13295 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13297 # Archives containing C++ object files must be created using
13298 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13299 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13301 icpc* | ecpc* )
13302 # Intel C++
13303 with_gnu_ld=yes
13304 # version 8.0 and above of icpc choke on multiply defined symbols
13305 # if we add $predep_objects and $postdep_objects, however 7.1 and
13306 # earlier do not add the objects themselves.
13307 case `$CC -V 2>&1` in
13308 *"Version 7."*)
13309 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13310 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'
13312 *) # Version 8.0 or newer
13313 tmp_idyn=
13314 case $host_cpu in
13315 ia64*) tmp_idyn=' -i_dynamic';;
13316 esac
13317 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13318 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'
13320 esac
13321 archive_cmds_need_lc_CXX=no
13322 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13323 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13324 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13326 pgCC* | pgcpp*)
13327 # Portland Group C++ compiler
13328 case `$CC -V` in
13329 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13330 prelink_cmds_CXX='tpldir=Template.dir~
13331 rm -rf $tpldir~
13332 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13333 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13334 old_archive_cmds_CXX='tpldir=Template.dir~
13335 rm -rf $tpldir~
13336 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13337 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13338 $RANLIB $oldlib'
13339 archive_cmds_CXX='tpldir=Template.dir~
13340 rm -rf $tpldir~
13341 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13342 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13343 archive_expsym_cmds_CXX='tpldir=Template.dir~
13344 rm -rf $tpldir~
13345 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13346 $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'
13348 *) # Version 6 and above use weak symbols
13349 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13350 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'
13352 esac
13354 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13355 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13356 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'
13358 cxx*)
13359 # Compaq C++
13360 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13361 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'
13363 runpath_var=LD_RUN_PATH
13364 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13365 hardcode_libdir_separator_CXX=:
13367 # Commands to make compiler produce verbose output that lists
13368 # what "hidden" libraries, object files and flags are used when
13369 # linking a shared library.
13371 # There doesn't appear to be a way to prevent this compiler from
13372 # explicitly linking system object files so we need to strip them
13373 # from the output so that they don't get included in the library
13374 # dependencies.
13375 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'
13377 xl* | mpixl* | bgxl*)
13378 # IBM XL 8.0 on PPC, with GNU ld
13379 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13380 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13381 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13382 if test "x$supports_anon_versioning" = xyes; then
13383 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13384 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13385 echo "local: *; };" >> $output_objdir/$libname.ver~
13386 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13390 case `$CC -V 2>&1 | sed 5q` in
13391 *Sun\ C*)
13392 # Sun C++ 5.9
13393 no_undefined_flag_CXX=' -zdefs'
13394 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13395 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'
13396 hardcode_libdir_flag_spec_CXX='-R$libdir'
13397 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'
13398 compiler_needs_object_CXX=yes
13400 # Not sure whether something based on
13401 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13402 # would be better.
13403 output_verbose_link_cmd='func_echo_all'
13405 # Archives containing C++ object files must be created using
13406 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13407 # necessary to make sure instantiated templates are included
13408 # in the archive.
13409 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13411 esac
13413 esac
13416 lynxos*)
13417 # FIXME: insert proper C++ library support
13418 ld_shlibs_CXX=no
13421 m88k*)
13422 # FIXME: insert proper C++ library support
13423 ld_shlibs_CXX=no
13426 mvs*)
13427 case $cc_basename in
13428 cxx*)
13429 # FIXME: insert proper C++ library support
13430 ld_shlibs_CXX=no
13433 # FIXME: insert proper C++ library support
13434 ld_shlibs_CXX=no
13436 esac
13439 netbsd*)
13440 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13441 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13442 wlarc=
13443 hardcode_libdir_flag_spec_CXX='-R$libdir'
13444 hardcode_direct_CXX=yes
13445 hardcode_shlibpath_var_CXX=no
13447 # Workaround some broken pre-1.5 toolchains
13448 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13451 *nto* | *qnx*)
13452 ld_shlibs_CXX=yes
13455 openbsd2*)
13456 # C++ shared libraries are fairly broken
13457 ld_shlibs_CXX=no
13460 openbsd*)
13461 if test -f /usr/libexec/ld.so; then
13462 hardcode_direct_CXX=yes
13463 hardcode_shlibpath_var_CXX=no
13464 hardcode_direct_absolute_CXX=yes
13465 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13466 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13467 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13468 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13469 export_dynamic_flag_spec_CXX='${wl}-E'
13470 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13472 output_verbose_link_cmd=func_echo_all
13473 else
13474 ld_shlibs_CXX=no
13478 osf3* | osf4* | osf5*)
13479 case $cc_basename in
13480 KCC*)
13481 # Kuck and Associates, Inc. (KAI) C++ Compiler
13483 # KCC will only create a shared library if the output file
13484 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13485 # to its proper name (with version) after linking.
13486 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'
13488 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13489 hardcode_libdir_separator_CXX=:
13491 # Archives containing C++ object files must be created using
13492 # the KAI C++ compiler.
13493 case $host in
13494 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13495 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13496 esac
13498 RCC*)
13499 # Rational C++ 2.4.1
13500 # FIXME: insert proper C++ library support
13501 ld_shlibs_CXX=no
13503 cxx*)
13504 case $host in
13505 osf3*)
13506 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13507 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'
13508 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13511 allow_undefined_flag_CXX=' -expect_unresolved \*'
13512 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'
13513 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13514 echo "-hidden">> $lib.exp~
13515 $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~
13516 $RM $lib.exp'
13517 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13519 esac
13521 hardcode_libdir_separator_CXX=:
13523 # Commands to make compiler produce verbose output that lists
13524 # what "hidden" libraries, object files and flags are used when
13525 # linking a shared library.
13527 # There doesn't appear to be a way to prevent this compiler from
13528 # explicitly linking system object files so we need to strip them
13529 # from the output so that they don't get included in the library
13530 # dependencies.
13531 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"'
13534 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13535 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13536 case $host in
13537 osf3*)
13538 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'
13541 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'
13543 esac
13545 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13546 hardcode_libdir_separator_CXX=:
13548 # Commands to make compiler produce verbose output that lists
13549 # what "hidden" libraries, object files and flags are used when
13550 # linking a shared library.
13551 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13553 else
13554 # FIXME: insert proper C++ library support
13555 ld_shlibs_CXX=no
13558 esac
13561 psos*)
13562 # FIXME: insert proper C++ library support
13563 ld_shlibs_CXX=no
13566 sunos4*)
13567 case $cc_basename in
13568 CC*)
13569 # Sun C++ 4.x
13570 # FIXME: insert proper C++ library support
13571 ld_shlibs_CXX=no
13573 lcc*)
13574 # Lucid
13575 # FIXME: insert proper C++ library support
13576 ld_shlibs_CXX=no
13579 # FIXME: insert proper C++ library support
13580 ld_shlibs_CXX=no
13582 esac
13585 solaris*)
13586 case $cc_basename in
13587 CC*)
13588 # Sun C++ 4.2, 5.x and Centerline C++
13589 archive_cmds_need_lc_CXX=yes
13590 no_undefined_flag_CXX=' -zdefs'
13591 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13592 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13593 $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'
13595 hardcode_libdir_flag_spec_CXX='-R$libdir'
13596 hardcode_shlibpath_var_CXX=no
13597 case $host_os in
13598 solaris2.[0-5] | solaris2.[0-5].*) ;;
13600 # The compiler driver will combine and reorder linker options,
13601 # but understands `-z linker_flag'.
13602 # Supported since Solaris 2.6 (maybe 2.5.1?)
13603 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13605 esac
13606 link_all_deplibs_CXX=yes
13608 output_verbose_link_cmd='func_echo_all'
13610 # Archives containing C++ object files must be created using
13611 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13612 # necessary to make sure instantiated templates are included
13613 # in the archive.
13614 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13616 gcx*)
13617 # Green Hills C++ Compiler
13618 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13620 # The C++ compiler must be used to create the archive.
13621 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13624 # GNU C++ compiler with Solaris linker
13625 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13626 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13627 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13628 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13629 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13630 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13632 # Commands to make compiler produce verbose output that lists
13633 # what "hidden" libraries, object files and flags are used when
13634 # linking a shared library.
13635 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13636 else
13637 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13638 # platform.
13639 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13640 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13641 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13643 # Commands to make compiler produce verbose output that lists
13644 # what "hidden" libraries, object files and flags are used when
13645 # linking a shared library.
13646 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13649 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13650 case $host_os in
13651 solaris2.[0-5] | solaris2.[0-5].*) ;;
13653 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13655 esac
13658 esac
13661 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13662 no_undefined_flag_CXX='${wl}-z,text'
13663 archive_cmds_need_lc_CXX=no
13664 hardcode_shlibpath_var_CXX=no
13665 runpath_var='LD_RUN_PATH'
13667 case $cc_basename in
13668 CC*)
13669 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13670 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13673 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13674 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13676 esac
13679 sysv5* | sco3.2v5* | sco5v6*)
13680 # Note: We can NOT use -z defs as we might desire, because we do not
13681 # link with -lc, and that would cause any symbols used from libc to
13682 # always be unresolved, which means just about no library would
13683 # ever link correctly. If we're not using GNU ld we use -z text
13684 # though, which does catch some bad symbols but isn't as heavy-handed
13685 # as -z defs.
13686 no_undefined_flag_CXX='${wl}-z,text'
13687 allow_undefined_flag_CXX='${wl}-z,nodefs'
13688 archive_cmds_need_lc_CXX=no
13689 hardcode_shlibpath_var_CXX=no
13690 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13691 hardcode_libdir_separator_CXX=':'
13692 link_all_deplibs_CXX=yes
13693 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13694 runpath_var='LD_RUN_PATH'
13696 case $cc_basename in
13697 CC*)
13698 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13699 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13700 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13701 '"$old_archive_cmds_CXX"
13702 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13703 '"$reload_cmds_CXX"
13706 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13707 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13709 esac
13712 tandem*)
13713 case $cc_basename in
13714 NCC*)
13715 # NonStop-UX NCC 3.20
13716 # FIXME: insert proper C++ library support
13717 ld_shlibs_CXX=no
13720 # FIXME: insert proper C++ library support
13721 ld_shlibs_CXX=no
13723 esac
13726 vxworks*)
13727 # FIXME: insert proper C++ library support
13728 ld_shlibs_CXX=no
13732 # FIXME: insert proper C++ library support
13733 ld_shlibs_CXX=no
13735 esac
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13738 $as_echo "$ld_shlibs_CXX" >&6; }
13739 test "$ld_shlibs_CXX" = no && can_build_shared=no
13741 GCC_CXX="$GXX"
13742 LD_CXX="$LD"
13744 ## CAVEAT EMPTOR:
13745 ## There is no encapsulation within the following macros, do not change
13746 ## the running order or otherwise move them around unless you know exactly
13747 ## what you are doing...
13748 # Dependencies to place before and after the object being linked:
13749 predep_objects_CXX=
13750 postdep_objects_CXX=
13751 predeps_CXX=
13752 postdeps_CXX=
13753 compiler_lib_search_path_CXX=
13755 cat > conftest.$ac_ext <<_LT_EOF
13756 class Foo
13758 public:
13759 Foo (void) { a = 0; }
13760 private:
13761 int a;
13763 _LT_EOF
13765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13766 (eval $ac_compile) 2>&5
13767 ac_status=$?
13768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13769 test $ac_status = 0; }; then
13770 # Parse the compiler output and extract the necessary
13771 # objects, libraries and library flags.
13773 # Sentinel used to keep track of whether or not we are before
13774 # the conftest object file.
13775 pre_test_object_deps_done=no
13777 for p in `eval "$output_verbose_link_cmd"`; do
13778 case $p in
13780 -L* | -R* | -l*)
13781 # Some compilers place space between "-{L,R}" and the path.
13782 # Remove the space.
13783 if test $p = "-L" ||
13784 test $p = "-R"; then
13785 prev=$p
13786 continue
13787 else
13788 prev=
13791 if test "$pre_test_object_deps_done" = no; then
13792 case $p in
13793 -L* | -R*)
13794 # Internal compiler library paths should come after those
13795 # provided the user. The postdeps already come after the
13796 # user supplied libs so there is no need to process them.
13797 if test -z "$compiler_lib_search_path_CXX"; then
13798 compiler_lib_search_path_CXX="${prev}${p}"
13799 else
13800 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13803 # The "-l" case would never come before the object being
13804 # linked, so don't bother handling this case.
13805 esac
13806 else
13807 if test -z "$postdeps_CXX"; then
13808 postdeps_CXX="${prev}${p}"
13809 else
13810 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13815 *.$objext)
13816 # This assumes that the test object file only shows up
13817 # once in the compiler output.
13818 if test "$p" = "conftest.$objext"; then
13819 pre_test_object_deps_done=yes
13820 continue
13823 if test "$pre_test_object_deps_done" = no; then
13824 if test -z "$predep_objects_CXX"; then
13825 predep_objects_CXX="$p"
13826 else
13827 predep_objects_CXX="$predep_objects_CXX $p"
13829 else
13830 if test -z "$postdep_objects_CXX"; then
13831 postdep_objects_CXX="$p"
13832 else
13833 postdep_objects_CXX="$postdep_objects_CXX $p"
13838 *) ;; # Ignore the rest.
13840 esac
13841 done
13843 # Clean up.
13844 rm -f a.out a.exe
13845 else
13846 echo "libtool.m4: error: problem compiling CXX test program"
13849 $RM -f confest.$objext
13851 # PORTME: override above test on systems where it is broken
13852 case $host_os in
13853 interix[3-9]*)
13854 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13855 # hack all around it, let's just trust "g++" to DTRT.
13856 predep_objects_CXX=
13857 postdep_objects_CXX=
13858 postdeps_CXX=
13861 linux*)
13862 case `$CC -V 2>&1 | sed 5q` in
13863 *Sun\ C*)
13864 # Sun C++ 5.9
13866 # The more standards-conforming stlport4 library is
13867 # incompatible with the Cstd library. Avoid specifying
13868 # it if it's in CXXFLAGS. Ignore libCrun as
13869 # -library=stlport4 depends on it.
13870 case " $CXX $CXXFLAGS " in
13871 *" -library=stlport4 "*)
13872 solaris_use_stlport4=yes
13874 esac
13876 if test "$solaris_use_stlport4" != yes; then
13877 postdeps_CXX='-library=Cstd -library=Crun'
13880 esac
13883 solaris*)
13884 case $cc_basename in
13885 CC*)
13886 # The more standards-conforming stlport4 library is
13887 # incompatible with the Cstd library. Avoid specifying
13888 # it if it's in CXXFLAGS. Ignore libCrun as
13889 # -library=stlport4 depends on it.
13890 case " $CXX $CXXFLAGS " in
13891 *" -library=stlport4 "*)
13892 solaris_use_stlport4=yes
13894 esac
13896 # Adding this requires a known-good setup of shared libraries for
13897 # Sun compiler versions before 5.6, else PIC objects from an old
13898 # archive will be linked into the output, leading to subtle bugs.
13899 if test "$solaris_use_stlport4" != yes; then
13900 postdeps_CXX='-library=Cstd -library=Crun'
13903 esac
13905 esac
13908 case " $postdeps_CXX " in
13909 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13910 esac
13911 compiler_lib_search_dirs_CXX=
13912 if test -n "${compiler_lib_search_path_CXX}"; then
13913 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13946 lt_prog_compiler_wl_CXX=
13947 lt_prog_compiler_pic_CXX=
13948 lt_prog_compiler_static_CXX=
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13951 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13953 # C++ specific cases for pic, static, wl, etc.
13954 if test "$GXX" = yes; then
13955 lt_prog_compiler_wl_CXX='-Wl,'
13956 lt_prog_compiler_static_CXX='-static'
13958 case $host_os in
13959 aix*)
13960 # All AIX code is PIC.
13961 if test "$host_cpu" = ia64; then
13962 # AIX 5 now supports IA64 processor
13963 lt_prog_compiler_static_CXX='-Bstatic'
13965 lt_prog_compiler_pic_CXX='-fPIC'
13968 amigaos*)
13969 case $host_cpu in
13970 powerpc)
13971 # see comment about AmigaOS4 .so support
13972 lt_prog_compiler_pic_CXX='-fPIC'
13974 m68k)
13975 # FIXME: we need at least 68020 code to build shared libraries, but
13976 # adding the `-m68020' flag to GCC prevents building anything better,
13977 # like `-m68040'.
13978 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13980 esac
13983 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13984 # PIC is the default for these OSes.
13986 mingw* | cygwin* | os2* | pw32* | cegcc*)
13987 # This hack is so that the source file can tell whether it is being
13988 # built for inclusion in a dll (and should export symbols for example).
13989 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13990 # (--disable-auto-import) libraries
13991 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13993 darwin* | rhapsody*)
13994 # PIC is the default on this platform
13995 # Common symbols not allowed in MH_DYLIB files
13996 lt_prog_compiler_pic_CXX='-fno-common'
13998 *djgpp*)
13999 # DJGPP does not support shared libraries at all
14000 lt_prog_compiler_pic_CXX=
14002 haiku*)
14003 # PIC is the default for Haiku.
14004 # The "-static" flag exists, but is broken.
14005 lt_prog_compiler_static_CXX=
14007 interix[3-9]*)
14008 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14009 # Instead, we relocate shared libraries at runtime.
14011 sysv4*MP*)
14012 if test -d /usr/nec; then
14013 lt_prog_compiler_pic_CXX=-Kconform_pic
14016 hpux*)
14017 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14018 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14019 # sets the default TLS model and affects inlining.
14020 case $host_cpu in
14021 hppa*64*)
14024 lt_prog_compiler_pic_CXX='-fPIC'
14026 esac
14028 *qnx* | *nto*)
14029 # QNX uses GNU C++, but need to define -shared option too, otherwise
14030 # it will coredump.
14031 lt_prog_compiler_pic_CXX='-fPIC -shared'
14034 lt_prog_compiler_pic_CXX='-fPIC'
14036 esac
14037 else
14038 case $host_os in
14039 aix[4-9]*)
14040 # All AIX code is PIC.
14041 if test "$host_cpu" = ia64; then
14042 # AIX 5 now supports IA64 processor
14043 lt_prog_compiler_static_CXX='-Bstatic'
14044 else
14045 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14048 chorus*)
14049 case $cc_basename in
14050 cxch68*)
14051 # Green Hills C++ Compiler
14052 # _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"
14054 esac
14056 dgux*)
14057 case $cc_basename in
14058 ec++*)
14059 lt_prog_compiler_pic_CXX='-KPIC'
14061 ghcx*)
14062 # Green Hills C++ Compiler
14063 lt_prog_compiler_pic_CXX='-pic'
14067 esac
14069 freebsd* | dragonfly*)
14070 # FreeBSD uses GNU C++
14072 hpux9* | hpux10* | hpux11*)
14073 case $cc_basename in
14074 CC*)
14075 lt_prog_compiler_wl_CXX='-Wl,'
14076 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14077 if test "$host_cpu" != ia64; then
14078 lt_prog_compiler_pic_CXX='+Z'
14081 aCC*)
14082 lt_prog_compiler_wl_CXX='-Wl,'
14083 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14084 case $host_cpu in
14085 hppa*64*|ia64*)
14086 # +Z the default
14089 lt_prog_compiler_pic_CXX='+Z'
14091 esac
14095 esac
14097 interix*)
14098 # This is c89, which is MS Visual C++ (no shared libs)
14099 # Anyone wants to do a port?
14101 irix5* | irix6* | nonstopux*)
14102 case $cc_basename in
14103 CC*)
14104 lt_prog_compiler_wl_CXX='-Wl,'
14105 lt_prog_compiler_static_CXX='-non_shared'
14106 # CC pic flag -KPIC is the default.
14110 esac
14112 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14113 case $cc_basename in
14114 KCC*)
14115 # KAI C++ Compiler
14116 lt_prog_compiler_wl_CXX='--backend -Wl,'
14117 lt_prog_compiler_pic_CXX='-fPIC'
14119 ecpc* )
14120 # old Intel C++ for x86_64 which still supported -KPIC.
14121 lt_prog_compiler_wl_CXX='-Wl,'
14122 lt_prog_compiler_pic_CXX='-KPIC'
14123 lt_prog_compiler_static_CXX='-static'
14125 icpc* )
14126 # Intel C++, used to be incompatible with GCC.
14127 # ICC 10 doesn't accept -KPIC any more.
14128 lt_prog_compiler_wl_CXX='-Wl,'
14129 lt_prog_compiler_pic_CXX='-fPIC'
14130 lt_prog_compiler_static_CXX='-static'
14132 pgCC* | pgcpp*)
14133 # Portland Group C++ compiler
14134 lt_prog_compiler_wl_CXX='-Wl,'
14135 lt_prog_compiler_pic_CXX='-fpic'
14136 lt_prog_compiler_static_CXX='-Bstatic'
14138 cxx*)
14139 # Compaq C++
14140 # Make sure the PIC flag is empty. It appears that all Alpha
14141 # Linux and Compaq Tru64 Unix objects are PIC.
14142 lt_prog_compiler_pic_CXX=
14143 lt_prog_compiler_static_CXX='-non_shared'
14145 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14146 # IBM XL 8.0, 9.0 on PPC and BlueGene
14147 lt_prog_compiler_wl_CXX='-Wl,'
14148 lt_prog_compiler_pic_CXX='-qpic'
14149 lt_prog_compiler_static_CXX='-qstaticlink'
14152 case `$CC -V 2>&1 | sed 5q` in
14153 *Sun\ C*)
14154 # Sun C++ 5.9
14155 lt_prog_compiler_pic_CXX='-KPIC'
14156 lt_prog_compiler_static_CXX='-Bstatic'
14157 lt_prog_compiler_wl_CXX='-Qoption ld '
14159 esac
14161 esac
14163 lynxos*)
14165 m88k*)
14167 mvs*)
14168 case $cc_basename in
14169 cxx*)
14170 lt_prog_compiler_pic_CXX='-W c,exportall'
14174 esac
14176 netbsd*)
14178 *qnx* | *nto*)
14179 # QNX uses GNU C++, but need to define -shared option too, otherwise
14180 # it will coredump.
14181 lt_prog_compiler_pic_CXX='-fPIC -shared'
14183 osf3* | osf4* | osf5*)
14184 case $cc_basename in
14185 KCC*)
14186 lt_prog_compiler_wl_CXX='--backend -Wl,'
14188 RCC*)
14189 # Rational C++ 2.4.1
14190 lt_prog_compiler_pic_CXX='-pic'
14192 cxx*)
14193 # Digital/Compaq C++
14194 lt_prog_compiler_wl_CXX='-Wl,'
14195 # Make sure the PIC flag is empty. It appears that all Alpha
14196 # Linux and Compaq Tru64 Unix objects are PIC.
14197 lt_prog_compiler_pic_CXX=
14198 lt_prog_compiler_static_CXX='-non_shared'
14202 esac
14204 psos*)
14206 solaris*)
14207 case $cc_basename in
14208 CC*)
14209 # Sun C++ 4.2, 5.x and Centerline C++
14210 lt_prog_compiler_pic_CXX='-KPIC'
14211 lt_prog_compiler_static_CXX='-Bstatic'
14212 lt_prog_compiler_wl_CXX='-Qoption ld '
14214 gcx*)
14215 # Green Hills C++ Compiler
14216 lt_prog_compiler_pic_CXX='-PIC'
14220 esac
14222 sunos4*)
14223 case $cc_basename in
14224 CC*)
14225 # Sun C++ 4.x
14226 lt_prog_compiler_pic_CXX='-pic'
14227 lt_prog_compiler_static_CXX='-Bstatic'
14229 lcc*)
14230 # Lucid
14231 lt_prog_compiler_pic_CXX='-pic'
14235 esac
14237 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14238 case $cc_basename in
14239 CC*)
14240 lt_prog_compiler_wl_CXX='-Wl,'
14241 lt_prog_compiler_pic_CXX='-KPIC'
14242 lt_prog_compiler_static_CXX='-Bstatic'
14244 esac
14246 tandem*)
14247 case $cc_basename in
14248 NCC*)
14249 # NonStop-UX NCC 3.20
14250 lt_prog_compiler_pic_CXX='-KPIC'
14254 esac
14256 vxworks*)
14259 lt_prog_compiler_can_build_shared_CXX=no
14261 esac
14264 case $host_os in
14265 # For platforms which do not support PIC, -DPIC is meaningless:
14266 *djgpp*)
14267 lt_prog_compiler_pic_CXX=
14270 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14272 esac
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14274 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14279 # Check to make sure the PIC flag actually works.
14281 if test -n "$lt_prog_compiler_pic_CXX"; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14283 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14284 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 lt_cv_prog_compiler_pic_works_CXX=no
14288 ac_outfile=conftest.$ac_objext
14289 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14290 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14291 # Insert the option either (1) after the last *FLAGS variable, or
14292 # (2) before a word containing "conftest.", or (3) at the end.
14293 # Note that $ac_compile itself does not contain backslashes and begins
14294 # with a dollar sign (not a hyphen), so the echo should work correctly.
14295 # The option is referenced via a variable to avoid confusing sed.
14296 lt_compile=`echo "$ac_compile" | $SED \
14297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14299 -e 's:$: $lt_compiler_flag:'`
14300 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14301 (eval "$lt_compile" 2>conftest.err)
14302 ac_status=$?
14303 cat conftest.err >&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 if (exit $ac_status) && test -s "$ac_outfile"; then
14306 # The compiler can only warn and ignore the option if not recognized
14307 # So say no if there are warnings other than the usual output.
14308 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14309 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14310 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14311 lt_cv_prog_compiler_pic_works_CXX=yes
14314 $RM conftest*
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14318 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14320 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14321 case $lt_prog_compiler_pic_CXX in
14322 "" | " "*) ;;
14323 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14324 esac
14325 else
14326 lt_prog_compiler_pic_CXX=
14327 lt_prog_compiler_can_build_shared_CXX=no
14335 # Check to make sure the static flag actually works.
14337 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14339 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14340 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 lt_cv_prog_compiler_static_works_CXX=no
14344 save_LDFLAGS="$LDFLAGS"
14345 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14346 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14347 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14348 # The linker can only warn and ignore the option if not recognized
14349 # So say no if there are warnings
14350 if test -s conftest.err; then
14351 # Append any errors to the config.log.
14352 cat conftest.err 1>&5
14353 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14354 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14355 if diff conftest.exp conftest.er2 >/dev/null; then
14356 lt_cv_prog_compiler_static_works_CXX=yes
14358 else
14359 lt_cv_prog_compiler_static_works_CXX=yes
14362 $RM -r conftest*
14363 LDFLAGS="$save_LDFLAGS"
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14367 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14369 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14371 else
14372 lt_prog_compiler_static_CXX=
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14379 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14380 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 lt_cv_prog_compiler_c_o_CXX=no
14384 $RM -r conftest 2>/dev/null
14385 mkdir conftest
14386 cd conftest
14387 mkdir out
14388 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14390 lt_compiler_flag="-o out/conftest2.$ac_objext"
14391 # Insert the option either (1) after the last *FLAGS variable, or
14392 # (2) before a word containing "conftest.", or (3) at the end.
14393 # Note that $ac_compile itself does not contain backslashes and begins
14394 # with a dollar sign (not a hyphen), so the echo should work correctly.
14395 lt_compile=`echo "$ac_compile" | $SED \
14396 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14397 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14398 -e 's:$: $lt_compiler_flag:'`
14399 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14400 (eval "$lt_compile" 2>out/conftest.err)
14401 ac_status=$?
14402 cat out/conftest.err >&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14405 then
14406 # The compiler can only warn and ignore the option if not recognized
14407 # So say no if there are warnings
14408 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14409 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14410 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14411 lt_cv_prog_compiler_c_o_CXX=yes
14414 chmod u+w . 2>&5
14415 $RM conftest*
14416 # SGI C++ compiler will create directory out/ii_files/ for
14417 # template instantiation
14418 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14419 $RM out/* && rmdir out
14420 cd ..
14421 $RM -r conftest
14422 $RM conftest*
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14426 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14431 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14432 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14433 $as_echo_n "(cached) " >&6
14434 else
14435 lt_cv_prog_compiler_c_o_CXX=no
14436 $RM -r conftest 2>/dev/null
14437 mkdir conftest
14438 cd conftest
14439 mkdir out
14440 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14442 lt_compiler_flag="-o out/conftest2.$ac_objext"
14443 # Insert the option either (1) after the last *FLAGS variable, or
14444 # (2) before a word containing "conftest.", or (3) at the end.
14445 # Note that $ac_compile itself does not contain backslashes and begins
14446 # with a dollar sign (not a hyphen), so the echo should work correctly.
14447 lt_compile=`echo "$ac_compile" | $SED \
14448 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14449 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14450 -e 's:$: $lt_compiler_flag:'`
14451 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14452 (eval "$lt_compile" 2>out/conftest.err)
14453 ac_status=$?
14454 cat out/conftest.err >&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14457 then
14458 # The compiler can only warn and ignore the option if not recognized
14459 # So say no if there are warnings
14460 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14461 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14462 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14463 lt_cv_prog_compiler_c_o_CXX=yes
14466 chmod u+w . 2>&5
14467 $RM conftest*
14468 # SGI C++ compiler will create directory out/ii_files/ for
14469 # template instantiation
14470 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14471 $RM out/* && rmdir out
14472 cd ..
14473 $RM -r conftest
14474 $RM conftest*
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14478 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14483 hard_links="nottested"
14484 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14485 # do not overwrite the value of need_locks provided by the user
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14487 $as_echo_n "checking if we can lock with hard links... " >&6; }
14488 hard_links=yes
14489 $RM conftest*
14490 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14491 touch conftest.a
14492 ln conftest.a conftest.b 2>&5 || hard_links=no
14493 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14495 $as_echo "$hard_links" >&6; }
14496 if test "$hard_links" = no; then
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14498 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14499 need_locks=warn
14501 else
14502 need_locks=no
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14508 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14510 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14511 case $host_os in
14512 aix[4-9]*)
14513 # If we're using GNU nm, then we don't want the "-C" option.
14514 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14515 # Also, AIX nm treats weak defined symbols like other global defined
14516 # symbols, whereas GNU nm marks them as "W".
14517 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14518 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'
14519 else
14520 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'
14523 pw32*)
14524 export_symbols_cmds_CXX="$ltdll_cmds"
14526 cygwin* | mingw* | cegcc*)
14527 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'
14530 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14532 esac
14533 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14536 $as_echo "$ld_shlibs_CXX" >&6; }
14537 test "$ld_shlibs_CXX" = no && can_build_shared=no
14539 with_gnu_ld_CXX=$with_gnu_ld
14547 # Do we need to explicitly link libc?
14549 case "x$archive_cmds_need_lc_CXX" in
14550 x|xyes)
14551 # Assume -lc should be added
14552 archive_cmds_need_lc_CXX=yes
14554 if test "$enable_shared" = yes && test "$GCC" = yes; then
14555 case $archive_cmds_CXX in
14556 *'~'*)
14557 # FIXME: we may have to deal with multi-command sequences.
14559 '$CC '*)
14560 # Test whether the compiler implicitly links with -lc since on some
14561 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14562 # to ld, don't add -lc before -lgcc.
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14564 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14565 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 $RM conftest*
14569 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14572 (eval $ac_compile) 2>&5
14573 ac_status=$?
14574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14575 test $ac_status = 0; } 2>conftest.err; then
14576 soname=conftest
14577 lib=conftest
14578 libobjs=conftest.$ac_objext
14579 deplibs=
14580 wl=$lt_prog_compiler_wl_CXX
14581 pic_flag=$lt_prog_compiler_pic_CXX
14582 compiler_flags=-v
14583 linker_flags=-v
14584 verstring=
14585 output_objdir=.
14586 libname=conftest
14587 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14588 allow_undefined_flag_CXX=
14589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14590 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14591 ac_status=$?
14592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14593 test $ac_status = 0; }
14594 then
14595 lt_cv_archive_cmds_need_lc_CXX=no
14596 else
14597 lt_cv_archive_cmds_need_lc_CXX=yes
14599 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14600 else
14601 cat conftest.err 1>&5
14603 $RM conftest*
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14607 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14608 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14610 esac
14613 esac
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14679 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14681 library_names_spec=
14682 libname_spec='lib$name'
14683 soname_spec=
14684 shrext_cmds=".so"
14685 postinstall_cmds=
14686 postuninstall_cmds=
14687 finish_cmds=
14688 finish_eval=
14689 shlibpath_var=
14690 shlibpath_overrides_runpath=unknown
14691 version_type=none
14692 dynamic_linker="$host_os ld.so"
14693 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14694 need_lib_prefix=unknown
14695 hardcode_into_libs=no
14697 # when you set need_version to no, make sure it does not cause -set_version
14698 # flags to be left without arguments
14699 need_version=unknown
14701 case $host_os in
14702 aix3*)
14703 version_type=linux
14704 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14705 shlibpath_var=LIBPATH
14707 # AIX 3 has no versioning support, so we append a major version to the name.
14708 soname_spec='${libname}${release}${shared_ext}$major'
14711 aix[4-9]*)
14712 version_type=linux
14713 need_lib_prefix=no
14714 need_version=no
14715 hardcode_into_libs=yes
14716 if test "$host_cpu" = ia64; then
14717 # AIX 5 supports IA64
14718 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 else
14721 # With GCC up to 2.95.x, collect2 would create an import file
14722 # for dependence libraries. The import file would start with
14723 # the line `#! .'. This would cause the generated library to
14724 # depend on `.', always an invalid library. This was fixed in
14725 # development snapshots of GCC prior to 3.0.
14726 case $host_os in
14727 aix4 | aix4.[01] | aix4.[01].*)
14728 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14729 echo ' yes '
14730 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14732 else
14733 can_build_shared=no
14736 esac
14737 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14738 # soname into executable. Probably we can add versioning support to
14739 # collect2, so additional links can be useful in future.
14740 if test "$aix_use_runtimelinking" = yes; then
14741 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14742 # instead of lib<name>.a to let people know that these are not
14743 # typical AIX shared libraries.
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 else
14746 # We preserve .a as extension for shared libraries through AIX4.2
14747 # and later when we are not doing run time linking.
14748 library_names_spec='${libname}${release}.a $libname.a'
14749 soname_spec='${libname}${release}${shared_ext}$major'
14751 shlibpath_var=LIBPATH
14755 amigaos*)
14756 case $host_cpu in
14757 powerpc)
14758 # Since July 2007 AmigaOS4 officially supports .so libraries.
14759 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14762 m68k)
14763 library_names_spec='$libname.ixlibrary $libname.a'
14764 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14765 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'
14767 esac
14770 beos*)
14771 library_names_spec='${libname}${shared_ext}'
14772 dynamic_linker="$host_os ld.so"
14773 shlibpath_var=LIBRARY_PATH
14776 bsdi[45]*)
14777 version_type=linux
14778 need_version=no
14779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14780 soname_spec='${libname}${release}${shared_ext}$major'
14781 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14782 shlibpath_var=LD_LIBRARY_PATH
14783 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14784 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14785 # the default ld.so.conf also contains /usr/contrib/lib and
14786 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14787 # libtool to hard-code these into programs
14790 cygwin* | mingw* | pw32* | cegcc*)
14791 version_type=windows
14792 shrext_cmds=".dll"
14793 need_version=no
14794 need_lib_prefix=no
14796 case $GCC,$host_os in
14797 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14798 library_names_spec='$libname.dll.a'
14799 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14800 postinstall_cmds='base_file=`basename \${file}`~
14801 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14802 dldir=$destdir/`dirname \$dlpath`~
14803 test -d \$dldir || mkdir -p \$dldir~
14804 $install_prog $dir/$dlname \$dldir/$dlname~
14805 chmod a+x \$dldir/$dlname~
14806 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14807 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14809 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14810 dlpath=$dir/\$dldll~
14811 $RM \$dlpath'
14812 shlibpath_overrides_runpath=yes
14814 case $host_os in
14815 cygwin*)
14816 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14817 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14820 mingw* | cegcc*)
14821 # MinGW DLLs use traditional 'lib' prefix
14822 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14824 pw32*)
14825 # pw32 DLLs use 'pw' prefix rather than 'lib'
14826 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14828 esac
14832 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14834 esac
14835 dynamic_linker='Win32 ld.exe'
14836 # FIXME: first we should search . and the directory the executable is in
14837 shlibpath_var=PATH
14840 darwin* | rhapsody*)
14841 dynamic_linker="$host_os dyld"
14842 version_type=darwin
14843 need_lib_prefix=no
14844 need_version=no
14845 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14846 soname_spec='${libname}${release}${major}$shared_ext'
14847 shlibpath_overrides_runpath=yes
14848 shlibpath_var=DYLD_LIBRARY_PATH
14849 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14851 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14854 dgux*)
14855 version_type=linux
14856 need_lib_prefix=no
14857 need_version=no
14858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14859 soname_spec='${libname}${release}${shared_ext}$major'
14860 shlibpath_var=LD_LIBRARY_PATH
14863 freebsd* | dragonfly*)
14864 # DragonFly does not have aout. When/if they implement a new
14865 # versioning mechanism, adjust this.
14866 if test -x /usr/bin/objformat; then
14867 objformat=`/usr/bin/objformat`
14868 else
14869 case $host_os in
14870 freebsd[23].*) objformat=aout ;;
14871 *) objformat=elf ;;
14872 esac
14874 version_type=freebsd-$objformat
14875 case $version_type in
14876 freebsd-elf*)
14877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14878 need_version=no
14879 need_lib_prefix=no
14881 freebsd-*)
14882 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14883 need_version=yes
14885 esac
14886 shlibpath_var=LD_LIBRARY_PATH
14887 case $host_os in
14888 freebsd2.*)
14889 shlibpath_overrides_runpath=yes
14891 freebsd3.[01]* | freebsdelf3.[01]*)
14892 shlibpath_overrides_runpath=yes
14893 hardcode_into_libs=yes
14895 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14896 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14897 shlibpath_overrides_runpath=no
14898 hardcode_into_libs=yes
14900 *) # from 4.6 on, and DragonFly
14901 shlibpath_overrides_runpath=yes
14902 hardcode_into_libs=yes
14904 esac
14907 gnu*)
14908 version_type=linux
14909 need_lib_prefix=no
14910 need_version=no
14911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14912 soname_spec='${libname}${release}${shared_ext}$major'
14913 shlibpath_var=LD_LIBRARY_PATH
14914 hardcode_into_libs=yes
14917 haiku*)
14918 version_type=linux
14919 need_lib_prefix=no
14920 need_version=no
14921 dynamic_linker="$host_os runtime_loader"
14922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14923 soname_spec='${libname}${release}${shared_ext}$major'
14924 shlibpath_var=LIBRARY_PATH
14925 shlibpath_overrides_runpath=yes
14926 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14927 hardcode_into_libs=yes
14930 hpux9* | hpux10* | hpux11*)
14931 # Give a soname corresponding to the major version so that dld.sl refuses to
14932 # link against other versions.
14933 version_type=sunos
14934 need_lib_prefix=no
14935 need_version=no
14936 case $host_cpu in
14937 ia64*)
14938 shrext_cmds='.so'
14939 hardcode_into_libs=yes
14940 dynamic_linker="$host_os dld.so"
14941 shlibpath_var=LD_LIBRARY_PATH
14942 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14944 soname_spec='${libname}${release}${shared_ext}$major'
14945 if test "X$HPUX_IA64_MODE" = X32; then
14946 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14947 else
14948 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14950 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14952 hppa*64*)
14953 shrext_cmds='.sl'
14954 hardcode_into_libs=yes
14955 dynamic_linker="$host_os dld.sl"
14956 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14957 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14959 soname_spec='${libname}${release}${shared_ext}$major'
14960 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14961 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14964 shrext_cmds='.sl'
14965 dynamic_linker="$host_os dld.sl"
14966 shlibpath_var=SHLIB_PATH
14967 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14969 soname_spec='${libname}${release}${shared_ext}$major'
14971 esac
14972 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14973 postinstall_cmds='chmod 555 $lib'
14974 # or fails outright, so override atomically:
14975 install_override_mode=555
14978 interix[3-9]*)
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14985 shlibpath_var=LD_LIBRARY_PATH
14986 shlibpath_overrides_runpath=no
14987 hardcode_into_libs=yes
14990 irix5* | irix6* | nonstopux*)
14991 case $host_os in
14992 nonstopux*) version_type=nonstopux ;;
14994 if test "$lt_cv_prog_gnu_ld" = yes; then
14995 version_type=linux
14996 else
14997 version_type=irix
14998 fi ;;
14999 esac
15000 need_lib_prefix=no
15001 need_version=no
15002 soname_spec='${libname}${release}${shared_ext}$major'
15003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15004 case $host_os in
15005 irix5* | nonstopux*)
15006 libsuff= shlibsuff=
15009 case $LD in # libtool.m4 will add one of these switches to LD
15010 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15011 libsuff= shlibsuff= libmagic=32-bit;;
15012 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15013 libsuff=32 shlibsuff=N32 libmagic=N32;;
15014 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15015 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15016 *) libsuff= shlibsuff= libmagic=never-match;;
15017 esac
15019 esac
15020 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15021 shlibpath_overrides_runpath=no
15022 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15023 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15024 hardcode_into_libs=yes
15027 # No shared lib support for Linux oldld, aout, or coff.
15028 linux*oldld* | linux*aout* | linux*coff*)
15029 dynamic_linker=no
15032 # This must be Linux ELF.
15034 # uclinux* changes (here and below) have been submitted to the libtool
15035 # project, but have not yet been accepted: they are GCC-local changes
15036 # for the time being. (See
15037 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15038 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15039 version_type=linux
15040 need_lib_prefix=no
15041 need_version=no
15042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15043 soname_spec='${libname}${release}${shared_ext}$major'
15044 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15045 shlibpath_var=LD_LIBRARY_PATH
15046 shlibpath_overrides_runpath=no
15048 # Some binutils ld are patched to set DT_RUNPATH
15049 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 lt_cv_shlibpath_overrides_runpath=no
15053 save_LDFLAGS=$LDFLAGS
15054 save_libdir=$libdir
15055 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15056 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15057 if test x$gcc_no_link = xyes; then
15058 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15064 main ()
15068 return 0;
15070 _ACEOF
15071 if ac_fn_cxx_try_link "$LINENO"; then :
15072 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15073 lt_cv_shlibpath_overrides_runpath=yes
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LDFLAGS=$save_LDFLAGS
15079 libdir=$save_libdir
15083 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15085 # This implies no fast_install, which is unacceptable.
15086 # Some rework will be needed to allow for fast_install
15087 # before this can be enabled.
15088 hardcode_into_libs=yes
15090 # Append ld.so.conf contents to the search path
15091 if test -f /etc/ld.so.conf; then
15092 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' ' '`
15093 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15096 # We used to test for /lib/ld.so.1 and disable shared libraries on
15097 # powerpc, because MkLinux only supported shared libraries with the
15098 # GNU dynamic linker. Since this was broken with cross compilers,
15099 # most powerpc-linux boxes support dynamic linking these days and
15100 # people can always --disable-shared, the test was removed, and we
15101 # assume the GNU/Linux dynamic linker is in use.
15102 dynamic_linker='GNU/Linux ld.so'
15105 netbsd*)
15106 version_type=sunos
15107 need_lib_prefix=no
15108 need_version=no
15109 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15111 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15112 dynamic_linker='NetBSD (a.out) ld.so'
15113 else
15114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15115 soname_spec='${libname}${release}${shared_ext}$major'
15116 dynamic_linker='NetBSD ld.elf_so'
15118 shlibpath_var=LD_LIBRARY_PATH
15119 shlibpath_overrides_runpath=yes
15120 hardcode_into_libs=yes
15123 newsos6)
15124 version_type=linux
15125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15126 shlibpath_var=LD_LIBRARY_PATH
15127 shlibpath_overrides_runpath=yes
15130 *nto* | *qnx*)
15131 version_type=qnx
15132 need_lib_prefix=no
15133 need_version=no
15134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15135 soname_spec='${libname}${release}${shared_ext}$major'
15136 shlibpath_var=LD_LIBRARY_PATH
15137 shlibpath_overrides_runpath=no
15138 hardcode_into_libs=yes
15139 dynamic_linker='ldqnx.so'
15142 openbsd*)
15143 version_type=sunos
15144 sys_lib_dlsearch_path_spec="/usr/lib"
15145 need_lib_prefix=no
15146 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15147 case $host_os in
15148 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15149 *) need_version=no ;;
15150 esac
15151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15152 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15153 shlibpath_var=LD_LIBRARY_PATH
15154 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15155 case $host_os in
15156 openbsd2.[89] | openbsd2.[89].*)
15157 shlibpath_overrides_runpath=no
15160 shlibpath_overrides_runpath=yes
15162 esac
15163 else
15164 shlibpath_overrides_runpath=yes
15168 os2*)
15169 libname_spec='$name'
15170 shrext_cmds=".dll"
15171 need_lib_prefix=no
15172 library_names_spec='$libname${shared_ext} $libname.a'
15173 dynamic_linker='OS/2 ld.exe'
15174 shlibpath_var=LIBPATH
15177 osf3* | osf4* | osf5*)
15178 version_type=osf
15179 need_lib_prefix=no
15180 need_version=no
15181 soname_spec='${libname}${release}${shared_ext}$major'
15182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15183 shlibpath_var=LD_LIBRARY_PATH
15184 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15185 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15188 rdos*)
15189 dynamic_linker=no
15192 solaris*)
15193 version_type=linux
15194 need_lib_prefix=no
15195 need_version=no
15196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15197 soname_spec='${libname}${release}${shared_ext}$major'
15198 shlibpath_var=LD_LIBRARY_PATH
15199 shlibpath_overrides_runpath=yes
15200 hardcode_into_libs=yes
15201 # ldd complains unless libraries are executable
15202 postinstall_cmds='chmod +x $lib'
15205 sunos4*)
15206 version_type=sunos
15207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15208 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15209 shlibpath_var=LD_LIBRARY_PATH
15210 shlibpath_overrides_runpath=yes
15211 if test "$with_gnu_ld" = yes; then
15212 need_lib_prefix=no
15214 need_version=yes
15217 sysv4 | sysv4.3*)
15218 version_type=linux
15219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15220 soname_spec='${libname}${release}${shared_ext}$major'
15221 shlibpath_var=LD_LIBRARY_PATH
15222 case $host_vendor in
15223 sni)
15224 shlibpath_overrides_runpath=no
15225 need_lib_prefix=no
15226 runpath_var=LD_RUN_PATH
15228 siemens)
15229 need_lib_prefix=no
15231 motorola)
15232 need_lib_prefix=no
15233 need_version=no
15234 shlibpath_overrides_runpath=no
15235 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15237 esac
15240 sysv4*MP*)
15241 if test -d /usr/nec ;then
15242 version_type=linux
15243 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15244 soname_spec='$libname${shared_ext}.$major'
15245 shlibpath_var=LD_LIBRARY_PATH
15249 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15250 version_type=freebsd-elf
15251 need_lib_prefix=no
15252 need_version=no
15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15254 soname_spec='${libname}${release}${shared_ext}$major'
15255 shlibpath_var=LD_LIBRARY_PATH
15256 shlibpath_overrides_runpath=yes
15257 hardcode_into_libs=yes
15258 if test "$with_gnu_ld" = yes; then
15259 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15260 else
15261 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15262 case $host_os in
15263 sco3.2v5*)
15264 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15266 esac
15268 sys_lib_dlsearch_path_spec='/usr/lib'
15271 tpf*)
15272 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15273 version_type=linux
15274 need_lib_prefix=no
15275 need_version=no
15276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15277 shlibpath_var=LD_LIBRARY_PATH
15278 shlibpath_overrides_runpath=no
15279 hardcode_into_libs=yes
15282 uts4*)
15283 version_type=linux
15284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15285 soname_spec='${libname}${release}${shared_ext}$major'
15286 shlibpath_var=LD_LIBRARY_PATH
15290 dynamic_linker=no
15292 esac
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15294 $as_echo "$dynamic_linker" >&6; }
15295 test "$dynamic_linker" = no && can_build_shared=no
15297 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15298 if test "$GCC" = yes; then
15299 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15302 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15303 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15305 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15306 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15347 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15348 hardcode_action_CXX=
15349 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15350 test -n "$runpath_var_CXX" ||
15351 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15353 # We can hardcode non-existent directories.
15354 if test "$hardcode_direct_CXX" != no &&
15355 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15356 # have to relink, otherwise we might link with an installed library
15357 # when we should be linking with a yet-to-be-installed one
15358 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15359 test "$hardcode_minus_L_CXX" != no; then
15360 # Linking always hardcodes the temporary library directory.
15361 hardcode_action_CXX=relink
15362 else
15363 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15364 hardcode_action_CXX=immediate
15366 else
15367 # We cannot hardcode anything, or else we can only hardcode existing
15368 # directories.
15369 hardcode_action_CXX=unsupported
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15372 $as_echo "$hardcode_action_CXX" >&6; }
15374 if test "$hardcode_action_CXX" = relink ||
15375 test "$inherit_rpath_CXX" = yes; then
15376 # Fast installation is not supported
15377 enable_fast_install=no
15378 elif test "$shlibpath_overrides_runpath" = yes ||
15379 test "$enable_shared" = no; then
15380 # Fast installation is not necessary
15381 enable_fast_install=needless
15390 fi # test -n "$compiler"
15392 CC=$lt_save_CC
15393 LDCXX=$LD
15394 LD=$lt_save_LD
15395 GCC=$lt_save_GCC
15396 with_gnu_ld=$lt_save_with_gnu_ld
15397 lt_cv_path_LDCXX=$lt_cv_path_LD
15398 lt_cv_path_LD=$lt_save_path_LD
15399 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15400 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15401 fi # test "$_lt_caught_CXX_error" != yes
15403 ac_ext=c
15404 ac_cpp='$CPP $CPPFLAGS'
15405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15421 ac_config_commands="$ac_config_commands libtool"
15426 # Only expand once:
15432 case $host in
15433 *-cygwin* | *-mingw*)
15434 # 'host' will be top-level target in the case of a target lib,
15435 # we must compare to with_cross_host to decide if this is a native
15436 # or cross-compiler and select where to install dlls appropriately.
15437 if test -n "$with_cross_host" &&
15438 test x"$with_cross_host" != x"no"; then
15439 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15440 else
15441 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15445 lt_host_flags=
15447 esac
15454 if test "$enable_vtable_verify" = yes; then
15455 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15456 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15460 # libtool variables for C++ shared and position-independent compiles.
15462 # Use glibcxx_lt_pic_flag to designate the automake variable
15463 # used to encapsulate the default libtool approach to creating objects
15464 # with position-independent code. Default: -prefer-pic.
15466 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15467 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15469 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15470 # creating position-independent objects. This varies with the target
15471 # hardware and operating system, but is often: -DPIC -fPIC.
15472 if test "$enable_shared" = yes; then
15473 glibcxx_lt_pic_flag="-prefer-pic"
15474 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15475 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15477 else
15478 glibcxx_lt_pic_flag=
15479 glibcxx_compiler_pic_flag=
15480 glibcxx_compiler_shared_flag=
15486 # Override the libtool's pic_flag and pic_mode.
15487 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15488 # NB: this impacts --with-pic and --without-pic.
15489 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15490 pic_mode='default'
15492 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15493 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15495 # Possibly disable most of the library.
15496 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15497 ## than just ignoring the results. Faster /and/ more correct, win win.
15499 # Check whether --enable-hosted-libstdcxx was given.
15500 if test "${enable_hosted_libstdcxx+set}" = set; then :
15501 enableval=$enable_hosted_libstdcxx;
15502 else
15503 case "$host" in
15504 arm*-*-symbianelf*)
15505 enable_hosted_libstdcxx=no
15508 enable_hosted_libstdcxx=yes
15510 esac
15513 if test "$enable_hosted_libstdcxx" = no; then
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15515 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15516 is_hosted=no
15517 hosted_define=0
15518 enable_abi_check=no
15519 enable_libstdcxx_pch=no
15520 else
15521 is_hosted=yes
15522 hosted_define=1
15526 cat >>confdefs.h <<_ACEOF
15527 #define _GLIBCXX_HOSTED $hosted_define
15528 _ACEOF
15532 # Enable descriptive messages to standard output on termination.
15534 # Check whether --enable-libstdcxx-verbose was given.
15535 if test "${enable_libstdcxx_verbose+set}" = set; then :
15536 enableval=$enable_libstdcxx_verbose;
15537 else
15538 enable_libstdcxx_verbose=yes
15541 if test x"$enable_libstdcxx_verbose" = xyes; then
15542 verbose_define=1
15543 else
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15545 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15546 verbose_define=0
15549 cat >>confdefs.h <<_ACEOF
15550 #define _GLIBCXX_VERBOSE $verbose_define
15551 _ACEOF
15555 # Enable compiler support that doesn't require linking.
15557 # Check whether --enable-libstdcxx-pch was given.
15558 if test "${enable_libstdcxx_pch+set}" = set; then :
15559 enableval=$enable_libstdcxx_pch;
15560 case "$enableval" in
15561 yes|no) ;;
15562 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15563 esac
15565 else
15566 enable_libstdcxx_pch=$is_hosted
15570 if test $enable_libstdcxx_pch = yes; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15572 $as_echo_n "checking for compiler with PCH support... " >&6; }
15573 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15574 $as_echo_n "(cached) " >&6
15575 else
15576 ac_save_CXXFLAGS="$CXXFLAGS"
15577 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15579 ac_ext=cpp
15580 ac_cpp='$CXXCPP $CPPFLAGS'
15581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15585 echo '#include <math.h>' > conftest.h
15586 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15587 -o conftest.h.gch 1>&5 2>&1 &&
15588 echo '#error "pch failed"' > conftest.h &&
15589 echo '#include "conftest.h"' > conftest.cc &&
15590 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15591 then
15592 glibcxx_cv_prog_CXX_pch=yes
15593 else
15594 glibcxx_cv_prog_CXX_pch=no
15596 rm -f conftest*
15597 CXXFLAGS=$ac_save_CXXFLAGS
15598 ac_ext=c
15599 ac_cpp='$CPP $CPPFLAGS'
15600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15607 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15608 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15612 $as_echo_n "checking for enabled PCH... " >&6; }
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15614 $as_echo "$enable_libstdcxx_pch" >&6; }
15617 if test $enable_libstdcxx_pch = yes; then
15618 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15619 else
15620 glibcxx_PCHFLAGS=""
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15626 $as_echo_n "checking for thread model used by GCC... " >&6; }
15627 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15629 $as_echo "$target_thread_file" >&6; }
15631 case $target_thread_file in
15632 aix) thread_header=config/rs6000/gthr-aix.h ;;
15633 dce) thread_header=config/pa/gthr-dce.h ;;
15634 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15635 lynx) thread_header=config/gthr-lynx.h ;;
15636 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15637 posix) thread_header=gthr-posix.h ;;
15638 rtems) thread_header=config/gthr-rtems.h ;;
15639 single) thread_header=gthr-single.h ;;
15640 tpf) thread_header=config/s390/gthr-tpf.h ;;
15641 vxworks) thread_header=config/gthr-vxworks.h ;;
15642 win32) thread_header=config/i386/gthr-win32.h ;;
15643 esac
15649 ac_ext=cpp
15650 ac_cpp='$CXXCPP $CPPFLAGS'
15651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15655 old_CXXFLAGS="$CXXFLAGS"
15657 # Do link tests if possible, instead asm tests, limited to some platforms
15658 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15659 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15660 atomic_builtins_link_tests=no
15661 if test x$gcc_no_link != xyes; then
15662 # Can do link tests. Limit to some tested platforms
15663 case "$host" in
15664 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15665 atomic_builtins_link_tests=yes
15667 esac
15670 if test x$atomic_builtins_link_tests = xyes; then
15672 # Do link tests.
15674 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15677 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15678 if ${glibcxx_cv_atomic_bool+:} false; then :
15679 $as_echo_n "(cached) " >&6
15680 else
15682 if test x$gcc_no_link = xyes; then
15683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15689 main ()
15691 typedef bool atomic_type;
15692 atomic_type c1;
15693 atomic_type c2;
15694 atomic_type c3(0);
15695 // N.B. __atomic_fetch_add is not supported for bool.
15696 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15697 __ATOMIC_RELAXED);
15698 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15699 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15702 return 0;
15704 _ACEOF
15705 if ac_fn_cxx_try_link "$LINENO"; then :
15706 glibcxx_cv_atomic_bool=yes
15707 else
15708 glibcxx_cv_atomic_bool=no
15710 rm -f core conftest.err conftest.$ac_objext \
15711 conftest$ac_exeext conftest.$ac_ext
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15716 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15719 $as_echo_n "checking for atomic builtins for short... " >&6; }
15720 if ${glibcxx_cv_atomic_short+:} false; then :
15721 $as_echo_n "(cached) " >&6
15722 else
15724 if test x$gcc_no_link = xyes; then
15725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15731 main ()
15733 typedef short atomic_type;
15734 atomic_type c1;
15735 atomic_type c2;
15736 atomic_type c3(0);
15737 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15738 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15739 __ATOMIC_RELAXED);
15740 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15741 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15744 return 0;
15746 _ACEOF
15747 if ac_fn_cxx_try_link "$LINENO"; then :
15748 glibcxx_cv_atomic_short=yes
15749 else
15750 glibcxx_cv_atomic_short=no
15752 rm -f core conftest.err conftest.$ac_objext \
15753 conftest$ac_exeext conftest.$ac_ext
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15758 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15761 $as_echo_n "checking for atomic builtins for int... " >&6; }
15762 if ${glibcxx_cv_atomic_int+:} false; then :
15763 $as_echo_n "(cached) " >&6
15764 else
15766 if test x$gcc_no_link = xyes; then
15767 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15773 main ()
15775 typedef int atomic_type;
15776 atomic_type c1;
15777 atomic_type c2;
15778 atomic_type c3(0);
15779 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15780 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15781 __ATOMIC_RELAXED);
15782 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15783 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15786 return 0;
15788 _ACEOF
15789 if ac_fn_cxx_try_link "$LINENO"; then :
15790 glibcxx_cv_atomic_int=yes
15791 else
15792 glibcxx_cv_atomic_int=no
15794 rm -f core conftest.err conftest.$ac_objext \
15795 conftest$ac_exeext conftest.$ac_ext
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15800 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15803 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15804 if ${glibcxx_cv_atomic_long_long+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15808 if test x$gcc_no_link = xyes; then
15809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15815 main ()
15817 typedef long long atomic_type;
15818 atomic_type c1;
15819 atomic_type c2;
15820 atomic_type c3(0);
15821 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15822 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15823 __ATOMIC_RELAXED);
15824 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15825 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15828 return 0;
15830 _ACEOF
15831 if ac_fn_cxx_try_link "$LINENO"; then :
15832 glibcxx_cv_atomic_long_long=yes
15833 else
15834 glibcxx_cv_atomic_long_long=no
15836 rm -f core conftest.err conftest.$ac_objext \
15837 conftest$ac_exeext conftest.$ac_ext
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15842 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15844 else
15846 # Do asm tests.
15848 # Compile unoptimized.
15849 CXXFLAGS='-O0 -S'
15851 # Fake what AC_TRY_COMPILE does.
15853 cat > conftest.$ac_ext << EOF
15854 #line 15854 "configure"
15855 int main()
15857 typedef bool atomic_type;
15858 atomic_type c1;
15859 atomic_type c2;
15860 atomic_type c3(0);
15861 // N.B. __atomic_fetch_add is not supported for bool.
15862 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15863 __ATOMIC_RELAXED);
15864 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15865 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15867 return 0;
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15872 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15874 (eval $ac_compile) 2>&5
15875 ac_status=$?
15876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15877 test $ac_status = 0; }; then
15878 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15879 glibcxx_cv_atomic_bool=no
15880 else
15881 glibcxx_cv_atomic_bool=yes
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15885 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15886 rm -f conftest*
15888 cat > conftest.$ac_ext << EOF
15889 #line 15889 "configure"
15890 int main()
15892 typedef short atomic_type;
15893 atomic_type c1;
15894 atomic_type c2;
15895 atomic_type c3(0);
15896 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15897 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15898 __ATOMIC_RELAXED);
15899 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15900 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15902 return 0;
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15907 $as_echo_n "checking for atomic builtins for short... " >&6; }
15908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15909 (eval $ac_compile) 2>&5
15910 ac_status=$?
15911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15912 test $ac_status = 0; }; then
15913 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15914 glibcxx_cv_atomic_short=no
15915 else
15916 glibcxx_cv_atomic_short=yes
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15920 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15921 rm -f conftest*
15923 cat > conftest.$ac_ext << EOF
15924 #line 15924 "configure"
15925 int main()
15927 // NB: _Atomic_word not necessarily int.
15928 typedef int atomic_type;
15929 atomic_type c1;
15930 atomic_type c2;
15931 atomic_type c3(0);
15932 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15933 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15934 __ATOMIC_RELAXED);
15935 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15936 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15938 return 0;
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15943 $as_echo_n "checking for atomic builtins for int... " >&6; }
15944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15945 (eval $ac_compile) 2>&5
15946 ac_status=$?
15947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15948 test $ac_status = 0; }; then
15949 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15950 glibcxx_cv_atomic_int=no
15951 else
15952 glibcxx_cv_atomic_int=yes
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15956 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15957 rm -f conftest*
15959 cat > conftest.$ac_ext << EOF
15960 #line 15960 "configure"
15961 int main()
15963 typedef long long atomic_type;
15964 atomic_type c1;
15965 atomic_type c2;
15966 atomic_type c3(0);
15967 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15968 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15969 __ATOMIC_RELAXED);
15970 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15971 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15973 return 0;
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15978 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15980 (eval $ac_compile) 2>&5
15981 ac_status=$?
15982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15983 test $ac_status = 0; }; then
15984 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15985 glibcxx_cv_atomic_long_long=no
15986 else
15987 glibcxx_cv_atomic_long_long=yes
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15991 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15992 rm -f conftest*
15996 CXXFLAGS="$old_CXXFLAGS"
15997 ac_ext=c
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16004 # Set atomicity_dir to builtins if all but the long long test above passes,
16005 # or if the builtins were already chosen (e.g. by configure.host).
16006 if { test "$glibcxx_cv_atomic_bool" = yes \
16007 && test "$glibcxx_cv_atomic_short" = yes \
16008 && test "$glibcxx_cv_atomic_int" = yes; } \
16009 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16011 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16013 atomicity_dir=cpu/generic/atomicity_builtins
16016 # If still generic, set to mutex.
16017 if test $atomicity_dir = "cpu/generic" ; then
16018 atomicity_dir=cpu/generic/atomicity_mutex
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16020 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16021 if test "x$target_thread_file" = xsingle; then
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16023 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16025 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16026 else
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16028 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16030 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16038 # Check whether --with-libstdcxx-lock-policy was given.
16039 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16040 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16041 else
16042 libstdcxx_atomic_lock_policy=auto
16046 case "$libstdcxx_atomic_lock_policy" in
16047 atomic|mutex|auto) ;;
16048 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16049 esac
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16051 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16053 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16055 ac_ext=cpp
16056 ac_cpp='$CXXCPP $CPPFLAGS'
16057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16061 ac_save_CXXFLAGS="$CXXFLAGS"
16063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h. */
16066 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16067 # error "No 2-byte compare-and-swap"
16068 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16069 # error "No 4-byte compare-and-swap"
16070 #endif
16073 main ()
16077 return 0;
16079 _ACEOF
16080 if ac_fn_cxx_try_compile "$LINENO"; then :
16081 libstdcxx_atomic_lock_policy=atomic
16082 else
16083 libstdcxx_atomic_lock_policy=mutex
16085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16086 ac_ext=c
16087 ac_cpp='$CPP $CPPFLAGS'
16088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092 CXXFLAGS="$ac_save_CXXFLAGS"
16095 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16097 $as_echo "atomic" >&6; }
16099 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16101 else
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16103 $as_echo "mutex" >&6; }
16109 # Fake what AC_TRY_COMPILE does, without linking as this is
16110 # unnecessary for this test.
16112 cat > conftest.$ac_ext << EOF
16113 #line 16113 "configure"
16114 int main()
16116 _Decimal32 d1;
16117 _Decimal64 d2;
16118 _Decimal128 d3;
16119 return 0;
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16124 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16126 (eval $ac_compile) 2>&5
16127 ac_status=$?
16128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16129 test $ac_status = 0; }; then
16131 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16133 enable_dfp=yes
16134 else
16135 enable_dfp=no
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16138 $as_echo "$enable_dfp" >&6; }
16139 rm -f conftest*
16144 ac_ext=cpp
16145 ac_cpp='$CXXCPP $CPPFLAGS'
16146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16151 # Fake what AC_TRY_COMPILE does, without linking as this is
16152 # unnecessary for this test.
16154 cat > conftest.$ac_ext << EOF
16155 #line 16155 "configure"
16156 template<typename T1, typename T2>
16157 struct same
16158 { typedef T2 type; };
16160 template<typename T>
16161 struct same<T, T>;
16163 int main()
16165 typename same<long, __int128>::type i1;
16166 typename same<long long, __int128>::type i2;
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16171 $as_echo_n "checking for __int128... " >&6; }
16172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16173 (eval $ac_compile) 2>&5
16174 ac_status=$?
16175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16176 test $ac_status = 0; }; then
16178 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16180 enable_int128=yes
16181 else
16182 enable_int128=no
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16185 $as_echo "$enable_int128" >&6; }
16186 rm -f conftest*
16188 cat > conftest.$ac_ext << EOF
16189 #line 16189 "configure"
16190 template<typename T1, typename T2>
16191 struct same
16192 { typedef T2 type; };
16194 template<typename T>
16195 struct same<T, T>;
16197 int main()
16199 typename same<double, __float128>::type f1;
16200 typename same<long double, __float128>::type f2;
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16205 $as_echo_n "checking for __float128... " >&6; }
16206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16207 (eval $ac_compile) 2>&5
16208 ac_status=$?
16209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16210 test $ac_status = 0; }; then
16211 enable_float128=yes
16212 else
16213 enable_float128=no
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16216 $as_echo "$enable_float128" >&6; }
16218 rm -f conftest*
16220 ac_ext=c
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16227 if test "$enable_float128" = yes; then
16228 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16231 # Checks for compiler support that doesn't require linking.
16233 # All these tests are for C++; save the language and the compiler flags.
16234 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16235 # found in GLIBCXX_CONFIGURE.
16237 ac_ext=cpp
16238 ac_cpp='$CXXCPP $CPPFLAGS'
16239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16244 ac_save_CXXFLAGS="$CXXFLAGS"
16246 # Check for -ffunction-sections -fdata-sections
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16248 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16249 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 int foo; void bar() { };
16254 main ()
16258 return 0;
16260 _ACEOF
16261 if ac_fn_cxx_try_compile "$LINENO"; then :
16262 ac_fdsections=yes
16263 else
16264 ac_fdsections=no
16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267 if test "$ac_test_CXXFLAGS" = set; then
16268 CXXFLAGS="$ac_save_CXXFLAGS"
16269 else
16270 # this is the suspicious part
16271 CXXFLAGS=''
16273 if test x"$ac_fdsections" = x"yes"; then
16274 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16277 $as_echo "$ac_fdsections" >&6; }
16279 ac_ext=c
16280 ac_cpp='$CPP $CPPFLAGS'
16281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16288 # Enable all the variable C++ runtime options that don't require linking.
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16291 $as_echo_n "checking for underlying I/O to use... " >&6; }
16292 # Check whether --enable-cstdio was given.
16293 if test "${enable_cstdio+set}" = set; then :
16294 enableval=$enable_cstdio;
16295 case "$enableval" in
16296 stdio) ;;
16297 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16298 esac
16300 else
16301 enable_cstdio=stdio
16306 # Now that libio has been removed, you can have any color you want as long
16307 # as it's black. This is one big no-op until other packages are added, but
16308 # showing the framework never hurts.
16309 case ${enable_cstdio} in
16310 stdio)
16311 CSTDIO_H=config/io/c_io_stdio.h
16312 BASIC_FILE_H=config/io/basic_file_stdio.h
16313 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16315 $as_echo "stdio" >&6; }
16317 esac
16324 # Check whether --enable-clocale was given.
16325 if test "${enable_clocale+set}" = set; then :
16326 enableval=$enable_clocale;
16327 case "$enableval" in
16328 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16329 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16330 esac
16332 else
16333 enable_clocale=auto
16338 # Deal with gettext issues. Default to not using it (=no) until we detect
16339 # support for it later. Let the user turn it off via --e/d, but let that
16340 # default to on for easier handling.
16341 USE_NLS=no
16342 # Check whether --enable-nls was given.
16343 if test "${enable_nls+set}" = set; then :
16344 enableval=$enable_nls;
16345 else
16346 enable_nls=yes
16350 # Either a known package, or "auto"
16351 if test $enable_clocale = no || test $enable_clocale = yes; then
16352 enable_clocale=auto
16354 enable_clocale_flag=$enable_clocale
16356 # Probe for locale model to use if none specified.
16357 # Default to "generic".
16358 if test $enable_clocale_flag = auto; then
16359 case ${target_os} in
16360 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16361 enable_clocale_flag=gnu
16363 darwin*)
16364 enable_clocale_flag=darwin
16366 dragonfly* | freebsd*)
16367 enable_clocale_flag=dragonfly
16369 openbsd*)
16370 enable_clocale_flag=newlib
16373 if test x"$with_newlib" = x"yes"; then
16374 enable_clocale_flag=newlib
16375 else
16376 enable_clocale_flag=generic
16379 esac
16382 # Sanity check model, and test for special functionality.
16383 if test $enable_clocale_flag = gnu; then
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16387 #include <features.h>
16388 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16389 _GLIBCXX_ok
16390 #endif
16392 _ACEOF
16393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16394 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16395 enable_clocale_flag=gnu
16396 else
16397 enable_clocale_flag=generic
16399 rm -f conftest*
16402 # Set it to scream when it hurts.
16403 ac_save_CFLAGS="$CFLAGS"
16404 CFLAGS="-Wimplicit-function-declaration -Werror"
16406 # Use strxfrm_l if available.
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409 #define _GNU_SOURCE 1
16410 #include <string.h>
16411 #include <locale.h>
16413 main ()
16415 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16417 return 0;
16419 _ACEOF
16420 if ac_fn_c_try_compile "$LINENO"; then :
16422 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16427 # Use strerror_l if available.
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #define _GNU_SOURCE 1
16431 #include <string.h>
16432 #include <locale.h>
16434 main ()
16436 __locale_t loc; strerror_l(5, loc);
16438 return 0;
16440 _ACEOF
16441 if ac_fn_c_try_compile "$LINENO"; then :
16443 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16448 CFLAGS="$ac_save_CFLAGS"
16451 # Perhaps use strerror_r if available, and strerror_l isn't.
16452 ac_save_CFLAGS="$CFLAGS"
16453 CFLAGS="-Wimplicit-function-declaration -Werror"
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16456 #define _GNU_SOURCE 1
16457 #include <string.h>
16458 #include <locale.h>
16460 main ()
16462 char s[128]; strerror_r(5, s, 128);
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_compile "$LINENO"; then :
16469 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16473 CFLAGS="$ac_save_CFLAGS"
16475 # Set configure bits for specified locale package
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16477 $as_echo_n "checking for C locale to use... " >&6; }
16478 case ${enable_clocale_flag} in
16479 generic)
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16481 $as_echo "generic" >&6; }
16483 CLOCALE_H=config/locale/generic/c_locale.h
16484 CLOCALE_CC=config/locale/generic/c_locale.cc
16485 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16486 CCOLLATE_CC=config/locale/generic/collate_members.cc
16487 CCTYPE_CC=config/locale/generic/ctype_members.cc
16488 CMESSAGES_H=config/locale/generic/messages_members.h
16489 CMESSAGES_CC=config/locale/generic/messages_members.cc
16490 CMONEY_CC=config/locale/generic/monetary_members.cc
16491 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16492 CTIME_H=config/locale/generic/time_members.h
16493 CTIME_CC=config/locale/generic/time_members.cc
16494 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16496 darwin)
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16498 $as_echo "darwin" >&6; }
16500 CLOCALE_H=config/locale/generic/c_locale.h
16501 CLOCALE_CC=config/locale/generic/c_locale.cc
16502 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16503 CCOLLATE_CC=config/locale/generic/collate_members.cc
16504 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16505 CMESSAGES_H=config/locale/generic/messages_members.h
16506 CMESSAGES_CC=config/locale/generic/messages_members.cc
16507 CMONEY_CC=config/locale/generic/monetary_members.cc
16508 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16509 CTIME_H=config/locale/generic/time_members.h
16510 CTIME_CC=config/locale/generic/time_members.cc
16511 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16514 dragonfly)
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16516 $as_echo "dragonfly or freebsd" >&6; }
16518 CLOCALE_H=config/locale/dragonfly/c_locale.h
16519 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16520 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16521 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16522 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16523 CMESSAGES_H=config/locale/generic/messages_members.h
16524 CMESSAGES_CC=config/locale/generic/messages_members.cc
16525 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16526 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16527 CTIME_H=config/locale/dragonfly/time_members.h
16528 CTIME_CC=config/locale/dragonfly/time_members.cc
16529 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16532 gnu)
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16534 $as_echo "gnu" >&6; }
16536 # Declare intention to use gettext, and add support for specific
16537 # languages.
16538 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16539 ALL_LINGUAS="de fr"
16541 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16542 # Extract the first word of "msgfmt", so it can be a program name with args.
16543 set dummy msgfmt; ac_word=$2
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16545 $as_echo_n "checking for $ac_word... " >&6; }
16546 if ${ac_cv_prog_check_msgfmt+:} false; then :
16547 $as_echo_n "(cached) " >&6
16548 else
16549 if test -n "$check_msgfmt"; then
16550 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16551 else
16552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16555 IFS=$as_save_IFS
16556 test -z "$as_dir" && as_dir=.
16557 for ac_exec_ext in '' $ac_executable_extensions; do
16558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16559 ac_cv_prog_check_msgfmt="yes"
16560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16561 break 2
16563 done
16564 done
16565 IFS=$as_save_IFS
16567 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16570 check_msgfmt=$ac_cv_prog_check_msgfmt
16571 if test -n "$check_msgfmt"; then
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16573 $as_echo "$check_msgfmt" >&6; }
16574 else
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16576 $as_echo "no" >&6; }
16580 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16581 USE_NLS=yes
16583 # Export the build objects.
16584 for ling in $ALL_LINGUAS; do \
16585 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16586 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16587 done
16591 CLOCALE_H=config/locale/gnu/c_locale.h
16592 CLOCALE_CC=config/locale/gnu/c_locale.cc
16593 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16594 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16595 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16596 CMESSAGES_H=config/locale/gnu/messages_members.h
16597 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16598 CMONEY_CC=config/locale/gnu/monetary_members.cc
16599 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16600 CTIME_H=config/locale/gnu/time_members.h
16601 CTIME_CC=config/locale/gnu/time_members.cc
16602 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16604 ieee_1003.1-2001)
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16606 $as_echo "IEEE 1003.1" >&6; }
16608 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16609 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16610 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16611 CCOLLATE_CC=config/locale/generic/collate_members.cc
16612 CCTYPE_CC=config/locale/generic/ctype_members.cc
16613 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16614 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16615 CMONEY_CC=config/locale/generic/monetary_members.cc
16616 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16617 CTIME_H=config/locale/generic/time_members.h
16618 CTIME_CC=config/locale/generic/time_members.cc
16619 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16621 newlib)
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16623 $as_echo "newlib" >&6; }
16625 CLOCALE_H=config/locale/generic/c_locale.h
16626 CLOCALE_CC=config/locale/generic/c_locale.cc
16627 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16628 CCOLLATE_CC=config/locale/generic/collate_members.cc
16629 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16630 CMESSAGES_H=config/locale/generic/messages_members.h
16631 CMESSAGES_CC=config/locale/generic/messages_members.cc
16632 CMONEY_CC=config/locale/generic/monetary_members.cc
16633 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16634 CTIME_H=config/locale/generic/time_members.h
16635 CTIME_CC=config/locale/generic/time_members.cc
16636 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16638 esac
16640 # This is where the testsuite looks for locale catalogs, using the
16641 # -DLOCALEDIR define during testsuite compilation.
16642 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16645 # A standalone libintl (e.g., GNU libintl) may be in use.
16646 if test $USE_NLS = yes; then
16647 for ac_header in libintl.h
16648 do :
16649 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16650 if test "x$ac_cv_header_libintl_h" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_LIBINTL_H 1
16653 _ACEOF
16655 else
16656 USE_NLS=no
16659 done
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16662 $as_echo_n "checking for library containing gettext... " >&6; }
16663 if ${ac_cv_search_gettext+:} false; then :
16664 $as_echo_n "(cached) " >&6
16665 else
16666 ac_func_search_save_LIBS=$LIBS
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16670 /* Override any GCC internal prototype to avoid an error.
16671 Use char because int might match the return type of a GCC
16672 builtin and then its argument prototype would still apply. */
16673 #ifdef __cplusplus
16674 extern "C"
16675 #endif
16676 char gettext ();
16678 main ()
16680 return gettext ();
16682 return 0;
16684 _ACEOF
16685 for ac_lib in '' intl; do
16686 if test -z "$ac_lib"; then
16687 ac_res="none required"
16688 else
16689 ac_res=-l$ac_lib
16690 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16692 if test x$gcc_no_link = xyes; then
16693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16695 if ac_fn_c_try_link "$LINENO"; then :
16696 ac_cv_search_gettext=$ac_res
16698 rm -f core conftest.err conftest.$ac_objext \
16699 conftest$ac_exeext
16700 if ${ac_cv_search_gettext+:} false; then :
16701 break
16703 done
16704 if ${ac_cv_search_gettext+:} false; then :
16706 else
16707 ac_cv_search_gettext=no
16709 rm conftest.$ac_ext
16710 LIBS=$ac_func_search_save_LIBS
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16713 $as_echo "$ac_cv_search_gettext" >&6; }
16714 ac_res=$ac_cv_search_gettext
16715 if test "$ac_res" != no; then :
16716 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16718 else
16719 USE_NLS=no
16723 if test $USE_NLS = yes; then
16725 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16745 $as_echo_n "checking for std::allocator base class... " >&6; }
16746 # Check whether --enable-libstdcxx-allocator was given.
16747 if test "${enable_libstdcxx_allocator+set}" = set; then :
16748 enableval=$enable_libstdcxx_allocator;
16749 case "$enableval" in
16750 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16751 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16752 esac
16754 else
16755 enable_libstdcxx_allocator=auto
16760 # If they didn't use this option switch, or if they specified --enable
16761 # with no specific model, we'll have to look for one. If they
16762 # specified --disable (???), do likewise.
16763 if test $enable_libstdcxx_allocator = no ||
16764 test $enable_libstdcxx_allocator = yes;
16765 then
16766 enable_libstdcxx_allocator=auto
16769 # Either a known package, or "auto". Auto implies the default choice
16770 # for a particular platform.
16771 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16773 # Probe for host-specific support if no specific model is specified.
16774 # Default to "new".
16775 if test $enable_libstdcxx_allocator_flag = auto; then
16776 case ${target_os} in
16777 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16778 enable_libstdcxx_allocator_flag=new
16781 enable_libstdcxx_allocator_flag=new
16783 esac
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16786 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16789 # Set configure bits for specified locale package
16790 case ${enable_libstdcxx_allocator_flag} in
16791 bitmap)
16792 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16793 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16795 malloc)
16796 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16797 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16800 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16801 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16803 new)
16804 ALLOCATOR_H=config/allocator/new_allocator_base.h
16805 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16807 pool)
16808 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16809 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16811 esac
16818 # Check whether --enable-cheaders was given.
16819 if test "${enable_cheaders+set}" = set; then :
16820 enableval=$enable_cheaders;
16821 case "$enableval" in
16822 c|c_std|c_global) ;;
16823 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16824 esac
16826 else
16827 enable_cheaders=$c_model
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16832 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16834 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16836 # Allow overrides to configure.host here.
16837 if test $enable_cheaders = c_global; then
16838 c_compatibility=yes
16847 # Check whether --enable-long-long was given.
16848 if test "${enable_long_long+set}" = set; then :
16849 enableval=$enable_long_long;
16850 case "$enableval" in
16851 yes|no) ;;
16852 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16853 esac
16855 else
16856 enable_long_long=yes
16860 if test $enable_long_long = yes; then
16862 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16866 $as_echo_n "checking for enabled long long specializations... " >&6; }
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16868 $as_echo "$enable_long_long" >&6; }
16871 # Check whether --enable-wchar_t was given.
16872 if test "${enable_wchar_t+set}" = set; then :
16873 enableval=$enable_wchar_t;
16874 case "$enableval" in
16875 yes|no) ;;
16876 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16877 esac
16879 else
16880 enable_wchar_t=yes
16885 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16886 for ac_header in wchar.h
16887 do :
16888 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16889 if test "x$ac_cv_header_wchar_h" = xyes; then :
16890 cat >>confdefs.h <<_ACEOF
16891 #define HAVE_WCHAR_H 1
16892 _ACEOF
16893 ac_has_wchar_h=yes
16894 else
16895 ac_has_wchar_h=no
16898 done
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16901 $as_echo_n "checking for mbstate_t... " >&6; }
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <wchar.h>
16906 main ()
16908 mbstate_t teststate;
16910 return 0;
16912 _ACEOF
16913 if ac_fn_c_try_compile "$LINENO"; then :
16914 have_mbstate_t=yes
16915 else
16916 have_mbstate_t=no
16918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16920 $as_echo "$have_mbstate_t" >&6; }
16921 if test x"$have_mbstate_t" = xyes; then
16923 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16927 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16928 # ac_has_wchar_h.
16929 for ac_header in wctype.h
16930 do :
16931 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16932 if test "x$ac_cv_header_wctype_h" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_WCTYPE_H 1
16935 _ACEOF
16936 ac_has_wctype_h=yes
16937 else
16938 ac_has_wctype_h=no
16941 done
16944 if test x"$enable_wchar_t" = x"yes"; then
16947 ac_ext=cpp
16948 ac_cpp='$CXXCPP $CPPFLAGS'
16949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16954 if test x"$ac_has_wchar_h" = xyes &&
16955 test x"$ac_has_wctype_h" = xyes; then
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #include <wchar.h>
16959 #include <stddef.h>
16960 wint_t i;
16961 long l = WEOF;
16962 long j = WCHAR_MIN;
16963 long k = WCHAR_MAX;
16964 namespace test
16966 using ::btowc;
16967 using ::fgetwc;
16968 using ::fgetws;
16969 using ::fputwc;
16970 using ::fputws;
16971 using ::fwide;
16972 using ::fwprintf;
16973 using ::fwscanf;
16974 using ::getwc;
16975 using ::getwchar;
16976 using ::mbrlen;
16977 using ::mbrtowc;
16978 using ::mbsinit;
16979 using ::mbsrtowcs;
16980 using ::putwc;
16981 using ::putwchar;
16982 using ::swprintf;
16983 using ::swscanf;
16984 using ::ungetwc;
16985 using ::vfwprintf;
16986 using ::vswprintf;
16987 using ::vwprintf;
16988 using ::wcrtomb;
16989 using ::wcscat;
16990 using ::wcschr;
16991 using ::wcscmp;
16992 using ::wcscoll;
16993 using ::wcscpy;
16994 using ::wcscspn;
16995 using ::wcsftime;
16996 using ::wcslen;
16997 using ::wcsncat;
16998 using ::wcsncmp;
16999 using ::wcsncpy;
17000 using ::wcspbrk;
17001 using ::wcsrchr;
17002 using ::wcsrtombs;
17003 using ::wcsspn;
17004 using ::wcsstr;
17005 using ::wcstod;
17006 using ::wcstok;
17007 using ::wcstol;
17008 using ::wcstoul;
17009 using ::wcsxfrm;
17010 using ::wctob;
17011 using ::wmemchr;
17012 using ::wmemcmp;
17013 using ::wmemcpy;
17014 using ::wmemmove;
17015 using ::wmemset;
17016 using ::wprintf;
17017 using ::wscanf;
17021 main ()
17025 return 0;
17027 _ACEOF
17028 if ac_fn_cxx_try_compile "$LINENO"; then :
17030 else
17031 enable_wchar_t=no
17033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17034 else
17035 enable_wchar_t=no
17038 ac_ext=c
17039 ac_cpp='$CPP $CPPFLAGS'
17040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17046 if test x"$enable_wchar_t" = x"yes"; then
17048 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17053 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17055 $as_echo "$enable_wchar_t" >&6; }
17059 # Check whether --enable-c99 was given.
17060 if test "${enable_c99+set}" = set; then :
17061 enableval=$enable_c99;
17062 case "$enableval" in
17063 yes|no) ;;
17064 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17065 esac
17067 else
17068 enable_c99=yes
17073 if test x"$enable_c99" = x"yes"; then
17075 ac_ext=cpp
17076 ac_cpp='$CXXCPP $CPPFLAGS'
17077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17082 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17083 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17084 # to be spuriously enabled.
17085 ac_save_CXXFLAGS="$CXXFLAGS"
17086 CXXFLAGS="$CXXFLAGS -std=c++98"
17087 ac_save_LIBS="$LIBS"
17088 ac_save_gcc_no_link="$gcc_no_link"
17090 if test x$gcc_no_link != xyes; then
17091 # Use -fno-exceptions to that the C driver can link these tests without
17092 # hitting undefined references to personality routines.
17093 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17095 $as_echo_n "checking for sin in -lm... " >&6; }
17096 if ${ac_cv_lib_m_sin+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 ac_check_lib_save_LIBS=$LIBS
17100 LIBS="-lm $LIBS"
17101 if test x$gcc_no_link = xyes; then
17102 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17107 /* Override any GCC internal prototype to avoid an error.
17108 Use char because int might match the return type of a GCC
17109 builtin and then its argument prototype would still apply. */
17110 #ifdef __cplusplus
17111 extern "C"
17112 #endif
17113 char sin ();
17115 main ()
17117 return sin ();
17119 return 0;
17121 _ACEOF
17122 if ac_fn_cxx_try_link "$LINENO"; then :
17123 ac_cv_lib_m_sin=yes
17124 else
17125 ac_cv_lib_m_sin=no
17127 rm -f core conftest.err conftest.$ac_objext \
17128 conftest$ac_exeext conftest.$ac_ext
17129 LIBS=$ac_check_lib_save_LIBS
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17132 $as_echo "$ac_cv_lib_m_sin" >&6; }
17133 if test "x$ac_cv_lib_m_sin" = xyes; then :
17134 LIBS="$LIBS -lm"
17135 else
17137 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17138 gcc_no_link=yes
17144 # Check for the existence of <math.h> functions used if C99 is enabled.
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17146 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17147 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17151 if test x$gcc_no_link = xyes; then
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #include <math.h>
17155 volatile double d1, d2;
17156 volatile int i;
17158 main ()
17160 i = fpclassify(d1);
17161 i = isfinite(d1);
17162 i = isinf(d1);
17163 i = isnan(d1);
17164 i = isnormal(d1);
17165 i = signbit(d1);
17166 i = isgreater(d1, d2);
17167 i = isgreaterequal(d1, d2);
17168 i = isless(d1, d2);
17169 i = islessequal(d1, d2);
17170 i = islessgreater(d1, d2);
17171 i = islessgreater(d1, d2);
17172 i = isunordered(d1, d2);
17175 return 0;
17177 _ACEOF
17178 if ac_fn_cxx_try_compile "$LINENO"; then :
17179 glibcxx_cv_c99_math_cxx98=yes
17180 else
17181 glibcxx_cv_c99_math_cxx98=no
17183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17184 else
17185 if test x$gcc_no_link = xyes; then
17186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 #include <math.h>
17191 volatile double d1, d2;
17192 volatile int i;
17194 main ()
17196 i = fpclassify(d1);
17197 i = isfinite(d1);
17198 i = isinf(d1);
17199 i = isnan(d1);
17200 i = isnormal(d1);
17201 i = signbit(d1);
17202 i = isgreater(d1, d2);
17203 i = isgreaterequal(d1, d2);
17204 i = isless(d1, d2);
17205 i = islessequal(d1, d2);
17206 i = islessgreater(d1, d2);
17207 i = islessgreater(d1, d2);
17208 i = isunordered(d1, d2);
17211 return 0;
17213 _ACEOF
17214 if ac_fn_cxx_try_link "$LINENO"; then :
17215 glibcxx_cv_c99_math_cxx98=yes
17216 else
17217 glibcxx_cv_c99_math_cxx98=no
17219 rm -f core conftest.err conftest.$ac_objext \
17220 conftest$ac_exeext conftest.$ac_ext
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17226 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17227 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17229 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17233 # Check for the existence of <complex.h> complex math functions.
17234 # This is necessary even though libstdc++ uses the builtin versions
17235 # of these functions, because if the builtin cannot be used, a reference
17236 # to the library function is emitted.
17237 for ac_header in tgmath.h
17238 do :
17239 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17240 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_TGMATH_H 1
17243 _ACEOF
17244 ac_has_tgmath_h=yes
17245 else
17246 ac_has_tgmath_h=no
17249 done
17251 for ac_header in complex.h
17252 do :
17253 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17254 if test "x$ac_cv_header_complex_h" = xyes; then :
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_COMPLEX_H 1
17257 _ACEOF
17258 ac_has_complex_h=yes
17259 else
17260 ac_has_complex_h=no
17263 done
17265 if test x"$ac_has_complex_h" = x"yes"; then
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17267 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17268 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17269 $as_echo_n "(cached) " >&6
17270 else
17272 if test x$gcc_no_link = xyes; then
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17275 #include <complex.h>
17276 typedef __complex__ float float_type;
17277 typedef __complex__ double double_type;
17278 typedef __complex__ long double ld_type;
17279 volatile float_type tmpf;
17280 volatile double_type tmpd;
17281 volatile ld_type tmpld;
17282 volatile float f;
17283 volatile double d;
17284 volatile long double ld;
17286 main ()
17288 f = cabsf(tmpf);
17289 f = cargf(tmpf);
17290 tmpf = ccosf(tmpf);
17291 tmpf = ccoshf(tmpf);
17292 tmpf = cexpf(tmpf);
17293 tmpf = clogf(tmpf);
17294 tmpf = csinf(tmpf);
17295 tmpf = csinhf(tmpf);
17296 tmpf = csqrtf(tmpf);
17297 tmpf = ctanf(tmpf);
17298 tmpf = ctanhf(tmpf);
17299 tmpf = cpowf(tmpf, tmpf);
17300 tmpf = cprojf(tmpf);
17301 d = cabs(tmpd);
17302 d = carg(tmpd);
17303 tmpd = ccos(tmpd);
17304 tmpd = ccosh(tmpd);
17305 tmpd = cexp(tmpd);
17306 tmpd = clog(tmpd);
17307 tmpd = csin(tmpd);
17308 tmpd = csinh(tmpd);
17309 tmpd = csqrt(tmpd);
17310 tmpd = ctan(tmpd);
17311 tmpd = ctanh(tmpd);
17312 tmpd = cpow(tmpd, tmpd);
17313 tmpd = cproj(tmpd);
17314 ld = cabsl(tmpld);
17315 ld = cargl(tmpld);
17316 tmpld = ccosl(tmpld);
17317 tmpld = ccoshl(tmpld);
17318 tmpld = cexpl(tmpld);
17319 tmpld = clogl(tmpld);
17320 tmpld = csinl(tmpld);
17321 tmpld = csinhl(tmpld);
17322 tmpld = csqrtl(tmpld);
17323 tmpld = ctanl(tmpld);
17324 tmpld = ctanhl(tmpld);
17325 tmpld = cpowl(tmpld, tmpld);
17326 tmpld = cprojl(tmpld);
17329 return 0;
17331 _ACEOF
17332 if ac_fn_cxx_try_compile "$LINENO"; then :
17333 glibcxx_cv_c99_complex_cxx98=yes
17334 else
17335 glibcxx_cv_c99_complex_cxx98=no
17337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17338 else
17339 if test x$gcc_no_link = xyes; then
17340 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #include <complex.h>
17345 typedef __complex__ float float_type;
17346 typedef __complex__ double double_type;
17347 typedef __complex__ long double ld_type;
17348 volatile float_type tmpf;
17349 volatile double_type tmpd;
17350 volatile ld_type tmpld;
17351 volatile float f;
17352 volatile double d;
17353 volatile long double ld;
17355 main ()
17357 f = cabsf(tmpf);
17358 f = cargf(tmpf);
17359 tmpf = ccosf(tmpf);
17360 tmpf = ccoshf(tmpf);
17361 tmpf = cexpf(tmpf);
17362 tmpf = clogf(tmpf);
17363 tmpf = csinf(tmpf);
17364 tmpf = csinhf(tmpf);
17365 tmpf = csqrtf(tmpf);
17366 tmpf = ctanf(tmpf);
17367 tmpf = ctanhf(tmpf);
17368 tmpf = cpowf(tmpf, tmpf);
17369 tmpf = cprojf(tmpf);
17370 d = cabs(tmpd);
17371 d = carg(tmpd);
17372 tmpd = ccos(tmpd);
17373 tmpd = ccosh(tmpd);
17374 tmpd = cexp(tmpd);
17375 tmpd = clog(tmpd);
17376 tmpd = csin(tmpd);
17377 tmpd = csinh(tmpd);
17378 tmpd = csqrt(tmpd);
17379 tmpd = ctan(tmpd);
17380 tmpd = ctanh(tmpd);
17381 tmpd = cpow(tmpd, tmpd);
17382 tmpd = cproj(tmpd);
17383 ld = cabsl(tmpld);
17384 ld = cargl(tmpld);
17385 tmpld = ccosl(tmpld);
17386 tmpld = ccoshl(tmpld);
17387 tmpld = cexpl(tmpld);
17388 tmpld = clogl(tmpld);
17389 tmpld = csinl(tmpld);
17390 tmpld = csinhl(tmpld);
17391 tmpld = csqrtl(tmpld);
17392 tmpld = ctanl(tmpld);
17393 tmpld = ctanhl(tmpld);
17394 tmpld = cpowl(tmpld, tmpld);
17395 tmpld = cprojl(tmpld);
17398 return 0;
17400 _ACEOF
17401 if ac_fn_cxx_try_link "$LINENO"; then :
17402 glibcxx_cv_c99_complex_cxx98=yes
17403 else
17404 glibcxx_cv_c99_complex_cxx98=no
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17414 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17415 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17417 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17421 # Check for the existence in <stdio.h> of vscanf, et. al.
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17423 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17424 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17428 if test x$gcc_no_link = xyes; then
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 #include <stdio.h>
17432 #include <stdarg.h>
17433 void foo(char* fmt, ...)
17435 va_list args; va_start(args, fmt);
17436 vfscanf(stderr, "%i", args);
17437 vscanf("%i", args);
17438 vsnprintf(fmt, 0, "%i", args);
17439 vsscanf(fmt, "%i", args);
17440 snprintf(fmt, 0, "%i");
17443 main ()
17447 return 0;
17449 _ACEOF
17450 if ac_fn_cxx_try_compile "$LINENO"; then :
17451 glibcxx_cv_c99_stdio_cxx98=yes
17452 else
17453 glibcxx_cv_c99_stdio_cxx98=no
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17456 else
17457 if test x$gcc_no_link = xyes; then
17458 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 #include <stdio.h>
17463 #include <stdarg.h>
17464 void foo(char* fmt, ...)
17466 va_list args; va_start(args, fmt);
17467 vfscanf(stderr, "%i", args);
17468 vscanf("%i", args);
17469 vsnprintf(fmt, 0, "%i", args);
17470 vsscanf(fmt, "%i", args);
17471 snprintf(fmt, 0, "%i");
17474 main ()
17478 return 0;
17480 _ACEOF
17481 if ac_fn_cxx_try_link "$LINENO"; then :
17482 glibcxx_cv_c99_stdio_cxx98=yes
17483 else
17484 glibcxx_cv_c99_stdio_cxx98=no
17486 rm -f core conftest.err conftest.$ac_objext \
17487 conftest$ac_exeext conftest.$ac_ext
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17493 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17494 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17496 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17500 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17502 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17503 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17507 if test x$gcc_no_link = xyes; then
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <stdlib.h>
17511 volatile float f;
17512 volatile long double ld;
17513 volatile unsigned long long ll;
17514 lldiv_t mydivt;
17516 main ()
17518 char* tmp;
17519 f = strtof("gnu", &tmp);
17520 ld = strtold("gnu", &tmp);
17521 ll = strtoll("gnu", &tmp, 10);
17522 ll = strtoull("gnu", &tmp, 10);
17523 ll = llabs(10);
17524 mydivt = lldiv(10,1);
17525 ll = mydivt.quot;
17526 ll = mydivt.rem;
17527 ll = atoll("10");
17528 _Exit(0);
17531 return 0;
17533 _ACEOF
17534 if ac_fn_cxx_try_compile "$LINENO"; then :
17535 glibcxx_cv_c99_stdlib_cxx98=yes
17536 else
17537 glibcxx_cv_c99_stdlib_cxx98=no
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17540 else
17541 if test x$gcc_no_link = xyes; then
17542 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17546 #include <stdlib.h>
17547 volatile float f;
17548 volatile long double ld;
17549 volatile unsigned long long ll;
17550 lldiv_t mydivt;
17552 main ()
17554 char* tmp;
17555 f = strtof("gnu", &tmp);
17556 ld = strtold("gnu", &tmp);
17557 ll = strtoll("gnu", &tmp, 10);
17558 ll = strtoull("gnu", &tmp, 10);
17559 ll = llabs(10);
17560 mydivt = lldiv(10,1);
17561 ll = mydivt.quot;
17562 ll = mydivt.rem;
17563 ll = atoll("10");
17564 _Exit(0);
17567 return 0;
17569 _ACEOF
17570 if ac_fn_cxx_try_link "$LINENO"; then :
17571 glibcxx_cv_c99_stdlib_cxx98=yes
17572 else
17573 glibcxx_cv_c99_stdlib_cxx98=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17582 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17583 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17585 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17589 # Check for the existence in <wchar.h> of wcstold, etc.
17590 if test x"$ac_has_wchar_h" = xyes &&
17591 test x"$ac_has_wctype_h" = xyes; then
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17593 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17594 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17595 $as_echo_n "(cached) " >&6
17596 else
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 #include <wchar.h>
17601 namespace test
17603 using ::wcstold;
17604 using ::wcstoll;
17605 using ::wcstoull;
17609 main ()
17613 return 0;
17615 _ACEOF
17616 if ac_fn_cxx_try_compile "$LINENO"; then :
17617 glibcxx_cv_c99_wchar_cxx98=yes
17618 else
17619 glibcxx_cv_c99_wchar_cxx98=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 # Checks for wide character functions that may not be present.
17627 # Injection of these is wrapped with guard macros.
17628 # NB: only put functions here, instead of immediately above, if
17629 # absolutely necessary.
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632 #include <wchar.h>
17633 namespace test { using ::vfwscanf; }
17635 main ()
17639 return 0;
17641 _ACEOF
17642 if ac_fn_cxx_try_compile "$LINENO"; then :
17644 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17651 #include <wchar.h>
17652 namespace test { using ::vswscanf; }
17654 main ()
17658 return 0;
17660 _ACEOF
17661 if ac_fn_cxx_try_compile "$LINENO"; then :
17663 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17670 #include <wchar.h>
17671 namespace test { using ::vwscanf; }
17673 main ()
17677 return 0;
17679 _ACEOF
17680 if ac_fn_cxx_try_compile "$LINENO"; then :
17682 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17689 #include <wchar.h>
17690 namespace test { using ::wcstof; }
17692 main ()
17696 return 0;
17698 _ACEOF
17699 if ac_fn_cxx_try_compile "$LINENO"; then :
17701 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17708 #include <wctype.h>
17710 main ()
17712 wint_t t; int i = iswblank(t);
17714 return 0;
17716 _ACEOF
17717 if ac_fn_cxx_try_compile "$LINENO"; then :
17719 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17725 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17726 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17728 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17733 # Option parsed, now set things appropriately.
17734 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17735 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17736 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17737 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17738 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17739 enable_c99=no;
17740 else
17742 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17746 gcc_no_link="$ac_save_gcc_no_link"
17747 LIBS="$ac_save_LIBS"
17748 CXXFLAGS="$ac_save_CXXFLAGS"
17749 ac_ext=c
17750 ac_cpp='$CPP $CPPFLAGS'
17751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17757 ac_ext=cpp
17758 ac_cpp='$CXXCPP $CPPFLAGS'
17759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17764 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17765 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17766 ac_save_CXXFLAGS="$CXXFLAGS"
17767 CXXFLAGS="$CXXFLAGS -std=c++11"
17768 ac_save_LIBS="$LIBS"
17769 ac_save_gcc_no_link="$gcc_no_link"
17771 if test x$gcc_no_link != xyes; then
17772 # Use -fno-exceptions to that the C driver can link these tests without
17773 # hitting undefined references to personality routines.
17774 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17776 $as_echo_n "checking for sin in -lm... " >&6; }
17777 if ${ac_cv_lib_m_sin+:} false; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17780 ac_check_lib_save_LIBS=$LIBS
17781 LIBS="-lm $LIBS"
17782 if test x$gcc_no_link = xyes; then
17783 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17788 /* Override any GCC internal prototype to avoid an error.
17789 Use char because int might match the return type of a GCC
17790 builtin and then its argument prototype would still apply. */
17791 #ifdef __cplusplus
17792 extern "C"
17793 #endif
17794 char sin ();
17796 main ()
17798 return sin ();
17800 return 0;
17802 _ACEOF
17803 if ac_fn_cxx_try_link "$LINENO"; then :
17804 ac_cv_lib_m_sin=yes
17805 else
17806 ac_cv_lib_m_sin=no
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17810 LIBS=$ac_check_lib_save_LIBS
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17813 $as_echo "$ac_cv_lib_m_sin" >&6; }
17814 if test "x$ac_cv_lib_m_sin" = xyes; then :
17815 LIBS="$LIBS -lm"
17816 else
17818 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17819 gcc_no_link=yes
17825 # Check for the existence of <math.h> functions used if C99 is enabled.
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17827 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17828 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17832 if test x$gcc_no_link = xyes; then
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17835 #include <math.h>
17836 volatile double d1, d2;
17837 volatile int i;
17839 main ()
17841 i = fpclassify(d1);
17842 i = isfinite(d1);
17843 i = isinf(d1);
17844 i = isnan(d1);
17845 i = isnormal(d1);
17846 i = signbit(d1);
17847 i = isgreater(d1, d2);
17848 i = isgreaterequal(d1, d2);
17849 i = isless(d1, d2);
17850 i = islessequal(d1, d2);
17851 i = islessgreater(d1, d2);
17852 i = islessgreater(d1, d2);
17853 i = isunordered(d1, d2);
17856 return 0;
17858 _ACEOF
17859 if ac_fn_cxx_try_compile "$LINENO"; then :
17860 glibcxx_cv_c99_math_cxx11=yes
17861 else
17862 glibcxx_cv_c99_math_cxx11=no
17864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865 else
17866 if test x$gcc_no_link = xyes; then
17867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #include <math.h>
17872 volatile double d1, d2;
17873 volatile int i;
17875 main ()
17877 i = fpclassify(d1);
17878 i = isfinite(d1);
17879 i = isinf(d1);
17880 i = isnan(d1);
17881 i = isnormal(d1);
17882 i = signbit(d1);
17883 i = isgreater(d1, d2);
17884 i = isgreaterequal(d1, d2);
17885 i = isless(d1, d2);
17886 i = islessequal(d1, d2);
17887 i = islessgreater(d1, d2);
17888 i = islessgreater(d1, d2);
17889 i = isunordered(d1, d2);
17892 return 0;
17894 _ACEOF
17895 if ac_fn_cxx_try_link "$LINENO"; then :
17896 glibcxx_cv_c99_math_cxx11=yes
17897 else
17898 glibcxx_cv_c99_math_cxx11=no
17900 rm -f core conftest.err conftest.$ac_objext \
17901 conftest$ac_exeext conftest.$ac_ext
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17907 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17908 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17910 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17914 # Check for the existence of <complex.h> complex math functions.
17915 # This is necessary even though libstdc++ uses the builtin versions
17916 # of these functions, because if the builtin cannot be used, a reference
17917 # to the library function is emitted.
17918 for ac_header in tgmath.h
17919 do :
17920 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17921 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17922 cat >>confdefs.h <<_ACEOF
17923 #define HAVE_TGMATH_H 1
17924 _ACEOF
17925 ac_has_tgmath_h=yes
17926 else
17927 ac_has_tgmath_h=no
17930 done
17932 for ac_header in complex.h
17933 do :
17934 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17935 if test "x$ac_cv_header_complex_h" = xyes; then :
17936 cat >>confdefs.h <<_ACEOF
17937 #define HAVE_COMPLEX_H 1
17938 _ACEOF
17939 ac_has_complex_h=yes
17940 else
17941 ac_has_complex_h=no
17944 done
17946 if test x"$ac_has_complex_h" = x"yes"; then
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17948 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17949 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17953 if test x$gcc_no_link = xyes; then
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17956 #include <complex.h>
17957 typedef __complex__ float float_type;
17958 typedef __complex__ double double_type;
17959 typedef __complex__ long double ld_type;
17960 volatile float_type tmpf;
17961 volatile double_type tmpd;
17962 volatile ld_type tmpld;
17963 volatile float f;
17964 volatile double d;
17965 volatile long double ld;
17967 main ()
17969 f = cabsf(tmpf);
17970 f = cargf(tmpf);
17971 tmpf = ccosf(tmpf);
17972 tmpf = ccoshf(tmpf);
17973 tmpf = cexpf(tmpf);
17974 tmpf = clogf(tmpf);
17975 tmpf = csinf(tmpf);
17976 tmpf = csinhf(tmpf);
17977 tmpf = csqrtf(tmpf);
17978 tmpf = ctanf(tmpf);
17979 tmpf = ctanhf(tmpf);
17980 tmpf = cpowf(tmpf, tmpf);
17981 tmpf = cprojf(tmpf);
17982 d = cabs(tmpd);
17983 d = carg(tmpd);
17984 tmpd = ccos(tmpd);
17985 tmpd = ccosh(tmpd);
17986 tmpd = cexp(tmpd);
17987 tmpd = clog(tmpd);
17988 tmpd = csin(tmpd);
17989 tmpd = csinh(tmpd);
17990 tmpd = csqrt(tmpd);
17991 tmpd = ctan(tmpd);
17992 tmpd = ctanh(tmpd);
17993 tmpd = cpow(tmpd, tmpd);
17994 tmpd = cproj(tmpd);
17995 ld = cabsl(tmpld);
17996 ld = cargl(tmpld);
17997 tmpld = ccosl(tmpld);
17998 tmpld = ccoshl(tmpld);
17999 tmpld = cexpl(tmpld);
18000 tmpld = clogl(tmpld);
18001 tmpld = csinl(tmpld);
18002 tmpld = csinhl(tmpld);
18003 tmpld = csqrtl(tmpld);
18004 tmpld = ctanl(tmpld);
18005 tmpld = ctanhl(tmpld);
18006 tmpld = cpowl(tmpld, tmpld);
18007 tmpld = cprojl(tmpld);
18010 return 0;
18012 _ACEOF
18013 if ac_fn_cxx_try_compile "$LINENO"; then :
18014 glibcxx_cv_c99_complex_cxx11=yes
18015 else
18016 glibcxx_cv_c99_complex_cxx11=no
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 else
18020 if test x$gcc_no_link = xyes; then
18021 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18025 #include <complex.h>
18026 typedef __complex__ float float_type;
18027 typedef __complex__ double double_type;
18028 typedef __complex__ long double ld_type;
18029 volatile float_type tmpf;
18030 volatile double_type tmpd;
18031 volatile ld_type tmpld;
18032 volatile float f;
18033 volatile double d;
18034 volatile long double ld;
18036 main ()
18038 f = cabsf(tmpf);
18039 f = cargf(tmpf);
18040 tmpf = ccosf(tmpf);
18041 tmpf = ccoshf(tmpf);
18042 tmpf = cexpf(tmpf);
18043 tmpf = clogf(tmpf);
18044 tmpf = csinf(tmpf);
18045 tmpf = csinhf(tmpf);
18046 tmpf = csqrtf(tmpf);
18047 tmpf = ctanf(tmpf);
18048 tmpf = ctanhf(tmpf);
18049 tmpf = cpowf(tmpf, tmpf);
18050 tmpf = cprojf(tmpf);
18051 d = cabs(tmpd);
18052 d = carg(tmpd);
18053 tmpd = ccos(tmpd);
18054 tmpd = ccosh(tmpd);
18055 tmpd = cexp(tmpd);
18056 tmpd = clog(tmpd);
18057 tmpd = csin(tmpd);
18058 tmpd = csinh(tmpd);
18059 tmpd = csqrt(tmpd);
18060 tmpd = ctan(tmpd);
18061 tmpd = ctanh(tmpd);
18062 tmpd = cpow(tmpd, tmpd);
18063 tmpd = cproj(tmpd);
18064 ld = cabsl(tmpld);
18065 ld = cargl(tmpld);
18066 tmpld = ccosl(tmpld);
18067 tmpld = ccoshl(tmpld);
18068 tmpld = cexpl(tmpld);
18069 tmpld = clogl(tmpld);
18070 tmpld = csinl(tmpld);
18071 tmpld = csinhl(tmpld);
18072 tmpld = csqrtl(tmpld);
18073 tmpld = ctanl(tmpld);
18074 tmpld = ctanhl(tmpld);
18075 tmpld = cpowl(tmpld, tmpld);
18076 tmpld = cprojl(tmpld);
18079 return 0;
18081 _ACEOF
18082 if ac_fn_cxx_try_link "$LINENO"; then :
18083 glibcxx_cv_c99_complex_cxx11=yes
18084 else
18085 glibcxx_cv_c99_complex_cxx11=no
18087 rm -f core conftest.err conftest.$ac_objext \
18088 conftest$ac_exeext conftest.$ac_ext
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18095 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18096 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18098 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18102 # Check for the existence in <stdio.h> of vscanf, et. al.
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18104 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18105 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18109 if test x$gcc_no_link = xyes; then
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18112 #include <stdio.h>
18113 #include <stdarg.h>
18114 void foo(char* fmt, ...)
18116 va_list args; va_start(args, fmt);
18117 vfscanf(stderr, "%i", args);
18118 vscanf("%i", args);
18119 vsnprintf(fmt, 0, "%i", args);
18120 vsscanf(fmt, "%i", args);
18121 snprintf(fmt, 0, "%i");
18124 main ()
18128 return 0;
18130 _ACEOF
18131 if ac_fn_cxx_try_compile "$LINENO"; then :
18132 glibcxx_cv_c99_stdio_cxx11=yes
18133 else
18134 glibcxx_cv_c99_stdio_cxx11=no
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137 else
18138 if test x$gcc_no_link = xyes; then
18139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18142 /* end confdefs.h. */
18143 #include <stdio.h>
18144 #include <stdarg.h>
18145 void foo(char* fmt, ...)
18147 va_list args; va_start(args, fmt);
18148 vfscanf(stderr, "%i", args);
18149 vscanf("%i", args);
18150 vsnprintf(fmt, 0, "%i", args);
18151 vsscanf(fmt, "%i", args);
18152 snprintf(fmt, 0, "%i");
18155 main ()
18159 return 0;
18161 _ACEOF
18162 if ac_fn_cxx_try_link "$LINENO"; then :
18163 glibcxx_cv_c99_stdio_cxx11=yes
18164 else
18165 glibcxx_cv_c99_stdio_cxx11=no
18167 rm -f core conftest.err conftest.$ac_objext \
18168 conftest$ac_exeext conftest.$ac_ext
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18174 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18175 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18177 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18181 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18183 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18184 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18185 $as_echo_n "(cached) " >&6
18186 else
18188 if test x$gcc_no_link = xyes; then
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18191 #include <stdlib.h>
18192 volatile float f;
18193 volatile long double ld;
18194 volatile unsigned long long ll;
18195 lldiv_t mydivt;
18197 main ()
18199 char* tmp;
18200 f = strtof("gnu", &tmp);
18201 ld = strtold("gnu", &tmp);
18202 ll = strtoll("gnu", &tmp, 10);
18203 ll = strtoull("gnu", &tmp, 10);
18204 ll = llabs(10);
18205 mydivt = lldiv(10,1);
18206 ll = mydivt.quot;
18207 ll = mydivt.rem;
18208 ll = atoll("10");
18209 _Exit(0);
18212 return 0;
18214 _ACEOF
18215 if ac_fn_cxx_try_compile "$LINENO"; then :
18216 glibcxx_cv_c99_stdlib_cxx11=yes
18217 else
18218 glibcxx_cv_c99_stdlib_cxx11=no
18220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 else
18222 if test x$gcc_no_link = xyes; then
18223 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18226 /* end confdefs.h. */
18227 #include <stdlib.h>
18228 volatile float f;
18229 volatile long double ld;
18230 volatile unsigned long long ll;
18231 lldiv_t mydivt;
18233 main ()
18235 char* tmp;
18236 f = strtof("gnu", &tmp);
18237 ld = strtold("gnu", &tmp);
18238 ll = strtoll("gnu", &tmp, 10);
18239 ll = strtoull("gnu", &tmp, 10);
18240 ll = llabs(10);
18241 mydivt = lldiv(10,1);
18242 ll = mydivt.quot;
18243 ll = mydivt.rem;
18244 ll = atoll("10");
18245 _Exit(0);
18248 return 0;
18250 _ACEOF
18251 if ac_fn_cxx_try_link "$LINENO"; then :
18252 glibcxx_cv_c99_stdlib_cxx11=yes
18253 else
18254 glibcxx_cv_c99_stdlib_cxx11=no
18256 rm -f core conftest.err conftest.$ac_objext \
18257 conftest$ac_exeext conftest.$ac_ext
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18263 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18264 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18266 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18270 # Check for the existence in <wchar.h> of wcstold, etc.
18271 if test x"$ac_has_wchar_h" = xyes &&
18272 test x"$ac_has_wctype_h" = xyes; then
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18274 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18275 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18276 $as_echo_n "(cached) " >&6
18277 else
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18281 #include <wchar.h>
18282 namespace test
18284 using ::wcstold;
18285 using ::wcstoll;
18286 using ::wcstoull;
18290 main ()
18294 return 0;
18296 _ACEOF
18297 if ac_fn_cxx_try_compile "$LINENO"; then :
18298 glibcxx_cv_c99_wchar_cxx11=yes
18299 else
18300 glibcxx_cv_c99_wchar_cxx11=no
18302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18307 # Checks for wide character functions that may not be present.
18308 # Injection of these is wrapped with guard macros.
18309 # NB: only put functions here, instead of immediately above, if
18310 # absolutely necessary.
18311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h. */
18313 #include <wchar.h>
18314 namespace test { using ::vfwscanf; }
18316 main ()
18320 return 0;
18322 _ACEOF
18323 if ac_fn_cxx_try_compile "$LINENO"; then :
18325 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332 #include <wchar.h>
18333 namespace test { using ::vswscanf; }
18335 main ()
18339 return 0;
18341 _ACEOF
18342 if ac_fn_cxx_try_compile "$LINENO"; then :
18344 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18350 /* end confdefs.h. */
18351 #include <wchar.h>
18352 namespace test { using ::vwscanf; }
18354 main ()
18358 return 0;
18360 _ACEOF
18361 if ac_fn_cxx_try_compile "$LINENO"; then :
18363 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18370 #include <wchar.h>
18371 namespace test { using ::wcstof; }
18373 main ()
18377 return 0;
18379 _ACEOF
18380 if ac_fn_cxx_try_compile "$LINENO"; then :
18382 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <wctype.h>
18391 main ()
18393 wint_t t; int i = iswblank(t);
18395 return 0;
18397 _ACEOF
18398 if ac_fn_cxx_try_compile "$LINENO"; then :
18400 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18406 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18407 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18409 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18414 gcc_no_link="$ac_save_gcc_no_link"
18415 LIBS="$ac_save_LIBS"
18416 CXXFLAGS="$ac_save_CXXFLAGS"
18417 ac_ext=c
18418 ac_cpp='$CPP $CPPFLAGS'
18419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18426 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18428 $as_echo "$enable_c99" >&6; }
18431 # Check whether --enable-concept-checks was given.
18432 if test "${enable_concept_checks+set}" = set; then :
18433 enableval=$enable_concept_checks;
18434 case "$enableval" in
18435 yes|no) ;;
18436 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18437 esac
18439 else
18440 enable_concept_checks=no
18444 if test $enable_concept_checks = yes; then
18446 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18451 # Check whether --enable-libstdcxx-debug-flags was given.
18452 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18453 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18454 xno | x) enable_libstdcxx_debug_flags= ;;
18455 x-*) ;;
18456 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18457 esac
18458 else
18459 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18464 # Option parsed, now set things appropriately
18465 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18469 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18473 $as_echo_n "checking for additional debug build... " >&6; }
18474 skip_debug_build=
18475 # Check whether --enable-libstdcxx-debug was given.
18476 if test "${enable_libstdcxx_debug+set}" = set; then :
18477 enableval=$enable_libstdcxx_debug;
18478 case "$enableval" in
18479 yes|no) ;;
18480 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18481 esac
18483 else
18484 enable_libstdcxx_debug=no
18488 if test x$enable_libstdcxx_debug = xyes; then
18489 if test -f $toplevel_builddir/../stage_final \
18490 && test -f $toplevel_builddir/../stage_current; then
18491 stage_final=`cat $toplevel_builddir/../stage_final`
18492 stage_current=`cat $toplevel_builddir/../stage_current`
18493 if test x$stage_current != x$stage_final ; then
18494 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18495 enable_libstdcxx_debug=no
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18500 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18505 enable_parallel=no;
18507 # See if configured libgomp/omp.h exists. (libgomp may be in
18508 # noconfigdirs but not explicitly disabled.)
18509 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18510 enable_parallel=yes;
18511 else
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18513 $as_echo "$as_me: target-libgomp not built" >&6;}
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18517 $as_echo_n "checking for parallel mode support... " >&6; }
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18519 $as_echo "$enable_parallel" >&6; }
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18522 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18523 # Check whether --enable-cxx-flags was given.
18524 if test "${enable_cxx_flags+set}" = set; then :
18525 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18526 xno | x) enable_cxx_flags= ;;
18527 x-*) ;;
18528 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18529 esac
18530 else
18531 enable_cxx_flags=
18536 # Run through flags (either default or command-line) and set anything
18537 # extra (e.g., #defines) that must accompany particular g++ options.
18538 if test -n "$enable_cxx_flags"; then
18539 for f in $enable_cxx_flags; do
18540 case "$f" in
18541 -fhonor-std) ;;
18542 -*) ;;
18543 *) # and we're trying to pass /what/ exactly?
18544 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18545 esac
18546 done
18549 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18551 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18555 # Check whether --enable-fully-dynamic-string was given.
18556 if test "${enable_fully_dynamic_string+set}" = set; then :
18557 enableval=$enable_fully_dynamic_string;
18558 case "$enableval" in
18559 yes|no) ;;
18560 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18561 esac
18563 else
18564 enable_fully_dynamic_string=no
18568 if test $enable_fully_dynamic_string = yes; then
18569 enable_fully_dynamic_string_def=1
18570 else
18571 enable_fully_dynamic_string_def=0
18574 cat >>confdefs.h <<_ACEOF
18575 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18576 _ACEOF
18581 # Check whether --enable-extern-template was given.
18582 if test "${enable_extern_template+set}" = set; then :
18583 enableval=$enable_extern_template;
18584 case "$enableval" in
18585 yes|no) ;;
18586 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18587 esac
18589 else
18590 enable_extern_template=yes
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18596 $as_echo_n "checking for extern template support... " >&6; }
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18598 $as_echo "$enable_extern_template" >&6; }
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18605 $as_echo_n "checking for custom python install directory... " >&6; }
18607 # Check whether --with-python-dir was given.
18608 if test "${with_python_dir+set}" = set; then :
18609 withval=$with_python_dir; with_python_dir=$withval
18610 else
18611 with_python_dir="no"
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18615 $as_echo "${with_python_dir}" >&6; }
18617 # Needed for installing Python modules during make install.
18618 python_mod_dir="${with_python_dir}"
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18624 $as_echo_n "checking for -Werror... " >&6; }
18625 # Check whether --enable-werror was given.
18626 if test "${enable_werror+set}" = set; then :
18627 enableval=$enable_werror;
18628 case "$enableval" in
18629 yes|no) ;;
18630 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18631 esac
18633 else
18634 enable_werror=no
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18639 $as_echo "$enable_werror" >&6; }
18644 # Check whether --enable-vtable-verify was given.
18645 if test "${enable_vtable_verify+set}" = set; then :
18646 enableval=$enable_vtable_verify;
18647 case "$enableval" in
18648 yes|no) ;;
18649 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18650 esac
18652 else
18653 enable_vtable_verify=no
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18659 $as_echo_n "checking for vtable verify support... " >&6; }
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18661 $as_echo "$enable_vtable_verify" >&6; }
18663 vtv_cygmin=no
18664 if test $enable_vtable_verify = yes; then
18665 case ${target_os} in
18666 cygwin*|mingw32*)
18667 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18668 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18669 vtv_cygmin=yes
18671 darwin*)
18672 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18673 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18675 solaris2*)
18676 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18677 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18680 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18681 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18683 esac
18684 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18685 else
18686 VTV_CXXFLAGS=
18687 VTV_PCH_CXXFLAGS=
18688 VTV_CXXLINKFLAGS=
18694 if test x$vtv_cygmin = xyes; then
18695 VTV_CYGMIN_TRUE=
18696 VTV_CYGMIN_FALSE='#'
18697 else
18698 VTV_CYGMIN_TRUE='#'
18699 VTV_CYGMIN_FALSE=
18705 # Checks for operating systems support that doesn't require linking.
18709 ac_ext=cpp
18710 ac_cpp='$CXXCPP $CPPFLAGS'
18711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18715 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18716 # and we don't need a declaration for C++14 anyway.
18717 ac_save_CXXFLAGS="$CXXFLAGS"
18718 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18721 $as_echo_n "checking for gets declaration... " >&6; }
18722 if ${glibcxx_cv_gets+:} false; then :
18723 $as_echo_n "(cached) " >&6
18724 else
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18728 #include <stdio.h>
18729 namespace test
18731 using ::gets;
18734 _ACEOF
18735 if ac_fn_cxx_try_compile "$LINENO"; then :
18736 glibcxx_cv_gets=yes
18737 else
18738 glibcxx_cv_gets=no
18741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 if test $glibcxx_cv_gets = yes; then
18747 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18751 $as_echo "$glibcxx_cv_gets" >&6; }
18753 CXXFLAGS="$ac_save_CXXFLAGS"
18754 ac_ext=c
18755 ac_cpp='$CPP $CPPFLAGS'
18756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18764 ac_ext=cpp
18765 ac_cpp='$CXXCPP $CPPFLAGS'
18766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18770 ac_save_CXXFLAGS="$CXXFLAGS"
18771 CXXFLAGS="$CXXFLAGS -std=c++11"
18773 case "$host" in
18774 *-*-solaris2.*)
18775 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18776 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18778 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18779 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18780 $as_echo_n "(cached) " >&6
18781 else
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 #include <math.h>
18786 #undef isfinite
18787 namespace std {
18788 inline bool isfinite(float __x)
18789 { return __builtin_isfinite(__x); }
18792 _ACEOF
18793 if ac_fn_cxx_try_compile "$LINENO"; then :
18794 glibcxx_cv_math11_fp_overload=no
18795 else
18796 glibcxx_cv_math11_fp_overload=yes
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 # autoheader cannot handle indented templates.
18806 if test $glibcxx_cv_math11_fp_overload = yes; then
18807 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18811 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18813 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18814 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18816 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18817 if ${glibcxx_cv_math11_int_overload+:} false; then :
18818 $as_echo_n "(cached) " >&6
18819 else
18821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18822 /* end confdefs.h. */
18823 #include <math.h>
18824 namespace std {
18825 template<typename _Tp>
18826 struct __is_integer;
18827 template<>
18828 struct __is_integer<int>
18830 enum { __value = 1 };
18833 namespace __gnu_cxx {
18834 template<bool, typename>
18835 struct __enable_if;
18836 template<typename _Tp>
18837 struct __enable_if<true, _Tp>
18838 { typedef _Tp __type; };
18840 namespace std {
18841 template<typename _Tp>
18842 constexpr typename __gnu_cxx::__enable_if
18843 <__is_integer<_Tp>::__value, double>::__type
18844 log2(_Tp __x)
18845 { return __builtin_log2(__x); }
18848 main (void)
18850 int i = 1000;
18851 return std::log2(i);
18854 _ACEOF
18855 if ac_fn_cxx_try_compile "$LINENO"; then :
18856 glibcxx_cv_math11_int_overload=no
18857 else
18858 glibcxx_cv_math11_int_overload=yes
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18865 # autoheader cannot handle indented templates.
18868 if test $glibcxx_cv_math11_int_overload = yes; then
18869 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18873 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18876 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18877 # functions (instead of or as well as the C99 generic macros) then we
18878 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18879 # and must use the ones from <math.h> instead.
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18881 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18882 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18883 $as_echo_n "(cached) " >&6
18884 else
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18889 #include <math.h>
18890 #undef isinf
18891 namespace std {
18892 using ::isinf;
18893 bool isinf(float);
18894 bool isinf(long double);
18896 using std::isinf;
18897 bool b = isinf(0.0);
18899 _ACEOF
18900 if ac_fn_cxx_try_compile "$LINENO"; then :
18901 glibcxx_cv_obsolete_isinf=yes
18902 else
18903 glibcxx_cv_obsolete_isinf=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18910 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18911 if test $glibcxx_cv_obsolete_isinf = yes; then
18913 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18918 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18919 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18920 $as_echo_n "(cached) " >&6
18921 else
18923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18924 /* end confdefs.h. */
18925 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18926 #include <math.h>
18927 #undef isnan
18928 namespace std {
18929 using ::isnan;
18930 bool isnan(float);
18931 bool isnan(long double);
18933 using std::isnan;
18934 bool b = isnan(0.0);
18936 _ACEOF
18937 if ac_fn_cxx_try_compile "$LINENO"; then :
18938 glibcxx_cv_obsolete_isnan=yes
18939 else
18940 glibcxx_cv_obsolete_isnan=no
18943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18947 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18948 if test $glibcxx_cv_obsolete_isnan = yes; then
18950 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18954 esac
18956 CXXFLAGS="$ac_save_CXXFLAGS"
18957 ac_ext=c
18958 ac_cpp='$CPP $CPPFLAGS'
18959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18967 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18968 if ${glibcxx_cv_system_error1+:} false; then :
18969 $as_echo_n "(cached) " >&6
18970 else
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 #include <errno.h>
18976 main ()
18978 int i = EOWNERDEAD;
18980 return 0;
18982 _ACEOF
18983 if ac_fn_c_try_compile "$LINENO"; then :
18984 glibcxx_cv_system_error1=yes
18985 else
18986 glibcxx_cv_system_error1=no
18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18993 $as_echo "$glibcxx_cv_system_error1" >&6; }
18994 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18996 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
19000 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
19001 if ${glibcxx_cv_system_error2+:} false; then :
19002 $as_echo_n "(cached) " >&6
19003 else
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 #include <errno.h>
19009 main ()
19011 int i = ENOTRECOVERABLE;
19013 return 0;
19015 _ACEOF
19016 if ac_fn_c_try_compile "$LINENO"; then :
19017 glibcxx_cv_system_error2=yes
19018 else
19019 glibcxx_cv_system_error2=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
19026 $as_echo "$glibcxx_cv_system_error2" >&6; }
19027 if test x"$glibcxx_cv_system_error2" = x"yes"; then
19029 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
19033 $as_echo_n "checking for ENOLINK... " >&6; }
19034 if ${glibcxx_cv_system_error3+:} false; then :
19035 $as_echo_n "(cached) " >&6
19036 else
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #include <errno.h>
19042 main ()
19044 int i = ENOLINK;
19046 return 0;
19048 _ACEOF
19049 if ac_fn_c_try_compile "$LINENO"; then :
19050 glibcxx_cv_system_error3=yes
19051 else
19052 glibcxx_cv_system_error3=no
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
19059 $as_echo "$glibcxx_cv_system_error3" >&6; }
19060 if test x"$glibcxx_cv_system_error3" = x"yes"; then
19062 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
19066 $as_echo_n "checking for EPROTO... " >&6; }
19067 if ${glibcxx_cv_system_error4+:} false; then :
19068 $as_echo_n "(cached) " >&6
19069 else
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19073 #include <errno.h>
19075 main ()
19077 int i = EPROTO;
19079 return 0;
19081 _ACEOF
19082 if ac_fn_c_try_compile "$LINENO"; then :
19083 glibcxx_cv_system_error4=yes
19084 else
19085 glibcxx_cv_system_error4=no
19087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
19092 $as_echo "$glibcxx_cv_system_error4" >&6; }
19093 if test x"$glibcxx_cv_system_error4" = x"yes"; then
19095 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
19099 $as_echo_n "checking for ENODATA... " >&6; }
19100 if ${glibcxx_cv_system_error5+:} false; then :
19101 $as_echo_n "(cached) " >&6
19102 else
19104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19106 #include <errno.h>
19108 main ()
19110 int i = ENODATA;
19112 return 0;
19114 _ACEOF
19115 if ac_fn_c_try_compile "$LINENO"; then :
19116 glibcxx_cv_system_error5=yes
19117 else
19118 glibcxx_cv_system_error5=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
19125 $as_echo "$glibcxx_cv_system_error5" >&6; }
19126 if test x"$glibcxx_cv_system_error5" = x"yes"; then
19128 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
19132 $as_echo_n "checking for ENOSR... " >&6; }
19133 if ${glibcxx_cv_system_error6+:} false; then :
19134 $as_echo_n "(cached) " >&6
19135 else
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19139 #include <errno.h>
19141 main ()
19143 int i = ENOSR;
19145 return 0;
19147 _ACEOF
19148 if ac_fn_c_try_compile "$LINENO"; then :
19149 glibcxx_cv_system_error6=yes
19150 else
19151 glibcxx_cv_system_error6=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
19158 $as_echo "$glibcxx_cv_system_error6" >&6; }
19159 if test x"$glibcxx_cv_system_error6" = x"yes"; then
19161 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
19165 $as_echo_n "checking for ENOSTR... " >&6; }
19166 if ${glibcxx_cv_system_error7+:} false; then :
19167 $as_echo_n "(cached) " >&6
19168 else
19170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h. */
19172 #include <errno.h>
19174 main ()
19176 int i = ENOSTR;
19178 return 0;
19180 _ACEOF
19181 if ac_fn_c_try_compile "$LINENO"; then :
19182 glibcxx_cv_system_error7=yes
19183 else
19184 glibcxx_cv_system_error7=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
19191 $as_echo "$glibcxx_cv_system_error7" >&6; }
19192 if test x"$glibcxx_cv_system_error7" = x"yes"; then
19194 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
19198 $as_echo_n "checking for ETIME... " >&6; }
19199 if ${glibcxx_cv_system_error8+:} false; then :
19200 $as_echo_n "(cached) " >&6
19201 else
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <errno.h>
19207 main ()
19209 int i = ETIME;
19211 return 0;
19213 _ACEOF
19214 if ac_fn_c_try_compile "$LINENO"; then :
19215 glibcxx_cv_system_error8=yes
19216 else
19217 glibcxx_cv_system_error8=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19224 $as_echo "$glibcxx_cv_system_error8" >&6; }
19225 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19227 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19231 $as_echo_n "checking for EBADMSG... " >&6; }
19232 if ${glibcxx_cv_system_error9+:} false; then :
19233 $as_echo_n "(cached) " >&6
19234 else
19236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19237 /* end confdefs.h. */
19238 #include <errno.h>
19240 main ()
19242 int i = EBADMSG;
19244 return 0;
19246 _ACEOF
19247 if ac_fn_c_try_compile "$LINENO"; then :
19248 glibcxx_cv_system_error9=yes
19249 else
19250 glibcxx_cv_system_error9=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19257 $as_echo "$glibcxx_cv_system_error9" >&6; }
19258 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19260 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19264 $as_echo_n "checking for ECANCELED... " >&6; }
19265 if ${glibcxx_cv_system_error10+:} false; then :
19266 $as_echo_n "(cached) " >&6
19267 else
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271 #include <errno.h>
19273 main ()
19275 int i = ECANCELED;
19277 return 0;
19279 _ACEOF
19280 if ac_fn_c_try_compile "$LINENO"; then :
19281 glibcxx_cv_system_error10=yes
19282 else
19283 glibcxx_cv_system_error10=no
19285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19290 $as_echo "$glibcxx_cv_system_error10" >&6; }
19291 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19293 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19297 $as_echo_n "checking for EOVERFLOW... " >&6; }
19298 if ${glibcxx_cv_system_error11+:} false; then :
19299 $as_echo_n "(cached) " >&6
19300 else
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304 #include <errno.h>
19306 main ()
19308 int i = EOVERFLOW;
19310 return 0;
19312 _ACEOF
19313 if ac_fn_c_try_compile "$LINENO"; then :
19314 glibcxx_cv_system_error11=yes
19315 else
19316 glibcxx_cv_system_error11=no
19318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19323 $as_echo "$glibcxx_cv_system_error11" >&6; }
19324 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19326 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19330 $as_echo_n "checking for ENOTSUP... " >&6; }
19331 if ${glibcxx_cv_system_error12+:} false; then :
19332 $as_echo_n "(cached) " >&6
19333 else
19335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19337 #include <errno.h>
19339 main ()
19341 int i = ENOTSUP;
19343 return 0;
19345 _ACEOF
19346 if ac_fn_c_try_compile "$LINENO"; then :
19347 glibcxx_cv_system_error12=yes
19348 else
19349 glibcxx_cv_system_error12=no
19351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19356 $as_echo "$glibcxx_cv_system_error12" >&6; }
19357 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19359 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19363 $as_echo_n "checking for EIDRM... " >&6; }
19364 if ${glibcxx_cv_system_error13+:} false; then :
19365 $as_echo_n "(cached) " >&6
19366 else
19368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h. */
19370 #include <errno.h>
19372 main ()
19374 int i = EIDRM;
19376 return 0;
19378 _ACEOF
19379 if ac_fn_c_try_compile "$LINENO"; then :
19380 glibcxx_cv_system_error13=yes
19381 else
19382 glibcxx_cv_system_error13=no
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19389 $as_echo "$glibcxx_cv_system_error13" >&6; }
19390 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19392 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19396 $as_echo_n "checking for ETXTBSY... " >&6; }
19397 if ${glibcxx_cv_system_error14+:} false; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include <errno.h>
19405 main ()
19407 int i = ETXTBSY;
19409 return 0;
19411 _ACEOF
19412 if ac_fn_c_try_compile "$LINENO"; then :
19413 glibcxx_cv_system_error14=yes
19414 else
19415 glibcxx_cv_system_error14=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19422 $as_echo "$glibcxx_cv_system_error14" >&6; }
19423 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19425 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19429 $as_echo_n "checking for ECHILD... " >&6; }
19430 if ${glibcxx_cv_system_error15+:} false; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 #include <errno.h>
19438 main ()
19440 int i = ECHILD;
19442 return 0;
19444 _ACEOF
19445 if ac_fn_c_try_compile "$LINENO"; then :
19446 glibcxx_cv_system_error15=yes
19447 else
19448 glibcxx_cv_system_error15=no
19450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19455 $as_echo "$glibcxx_cv_system_error15" >&6; }
19456 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19458 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19462 $as_echo_n "checking for ENOSPC... " >&6; }
19463 if ${glibcxx_cv_system_error16+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <errno.h>
19471 main ()
19473 int i = ENOSPC;
19475 return 0;
19477 _ACEOF
19478 if ac_fn_c_try_compile "$LINENO"; then :
19479 glibcxx_cv_system_error16=yes
19480 else
19481 glibcxx_cv_system_error16=no
19483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19488 $as_echo "$glibcxx_cv_system_error16" >&6; }
19489 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19491 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19495 $as_echo_n "checking for EPERM... " >&6; }
19496 if ${glibcxx_cv_system_error17+:} false; then :
19497 $as_echo_n "(cached) " >&6
19498 else
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19502 #include <errno.h>
19504 main ()
19506 int i = EPERM;
19508 return 0;
19510 _ACEOF
19511 if ac_fn_c_try_compile "$LINENO"; then :
19512 glibcxx_cv_system_error17=yes
19513 else
19514 glibcxx_cv_system_error17=no
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19521 $as_echo "$glibcxx_cv_system_error17" >&6; }
19522 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19524 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19528 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19529 if ${glibcxx_cv_system_error18+:} false; then :
19530 $as_echo_n "(cached) " >&6
19531 else
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <errno.h>
19537 main ()
19539 int i = ETIMEDOUT;
19541 return 0;
19543 _ACEOF
19544 if ac_fn_c_try_compile "$LINENO"; then :
19545 glibcxx_cv_system_error18=yes
19546 else
19547 glibcxx_cv_system_error18=no
19549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19554 $as_echo "$glibcxx_cv_system_error18" >&6; }
19555 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19557 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19561 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19562 if ${glibcxx_cv_system_error19+:} false; then :
19563 $as_echo_n "(cached) " >&6
19564 else
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <errno.h>
19570 main ()
19572 int i = EWOULDBLOCK;
19574 return 0;
19576 _ACEOF
19577 if ac_fn_c_try_compile "$LINENO"; then :
19578 glibcxx_cv_system_error19=yes
19579 else
19580 glibcxx_cv_system_error19=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19587 $as_echo "$glibcxx_cv_system_error19" >&6; }
19588 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19590 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19597 # Test uchar.h.
19598 for ac_header in uchar.h
19599 do :
19600 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19601 if test "x$ac_cv_header_uchar_h" = xyes; then :
19602 cat >>confdefs.h <<_ACEOF
19603 #define HAVE_UCHAR_H 1
19604 _ACEOF
19605 ac_has_uchar_h=yes
19606 else
19607 ac_has_uchar_h=no
19610 done
19614 ac_ext=cpp
19615 ac_cpp='$CXXCPP $CPPFLAGS'
19616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19620 ac_save_CXXFLAGS="$CXXFLAGS"
19621 CXXFLAGS="$CXXFLAGS -std=c++11"
19623 if test x"$ac_has_uchar_h" = x"yes"; then
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19625 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19628 #include <uchar.h>
19629 #ifdef __STDC_UTF_16__
19630 long i = __STDC_UTF_16__;
19631 #endif
19632 #ifdef __STDC_UTF_32__
19633 long j = __STDC_UTF_32__;
19634 #endif
19635 namespace test
19637 using ::c16rtomb;
19638 using ::c32rtomb;
19639 using ::mbrtoc16;
19640 using ::mbrtoc32;
19644 main ()
19648 return 0;
19650 _ACEOF
19651 if ac_fn_cxx_try_compile "$LINENO"; then :
19652 ac_c11_uchar_cxx11=yes
19653 else
19654 ac_c11_uchar_cxx11=no
19656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19657 else
19658 ac_c11_uchar_cxx11=no
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19661 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19662 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19664 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19668 CXXFLAGS="$ac_save_CXXFLAGS"
19669 ac_ext=c
19670 ac_cpp='$CPP $CPPFLAGS'
19671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19677 # For the streamoff typedef.
19681 ac_ext=cpp
19682 ac_cpp='$CXXCPP $CPPFLAGS'
19683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19689 $as_echo_n "checking for int64_t... " >&6; }
19690 if ${glibcxx_cv_INT64_T+:} false; then :
19691 $as_echo_n "(cached) " >&6
19692 else
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19696 #include <stdint.h>
19698 main ()
19700 int64_t var;
19702 return 0;
19704 _ACEOF
19705 if ac_fn_cxx_try_compile "$LINENO"; then :
19706 glibcxx_cv_INT64_T=yes
19707 else
19708 glibcxx_cv_INT64_T=no
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 if test $glibcxx_cv_INT64_T = yes; then
19717 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19720 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19723 $as_echo_n "checking for int64_t as long... " >&6; }
19724 if ${glibcxx_cv_int64_t_long+:} false; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #include <stdint.h>
19731 template<typename, typename> struct same { enum { value = -1 }; };
19732 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19733 int array[same<int64_t, long>::value];
19735 main ()
19739 return 0;
19741 _ACEOF
19742 if ac_fn_cxx_try_compile "$LINENO"; then :
19743 glibcxx_cv_int64_t_long=yes
19744 else
19745 glibcxx_cv_int64_t_long=no
19747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19752 if test $glibcxx_cv_int64_t_long = yes; then
19754 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19757 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19761 $as_echo_n "checking for int64_t as long long... " >&6; }
19762 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19763 $as_echo_n "(cached) " >&6
19764 else
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #include <stdint.h>
19769 template<typename, typename> struct same { enum { value = -1 }; };
19770 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19771 int array[same<int64_t, long long>::value];
19773 main ()
19777 return 0;
19779 _ACEOF
19780 if ac_fn_cxx_try_compile "$LINENO"; then :
19781 glibcxx_cv_int64_t_long_long=yes
19782 else
19783 glibcxx_cv_int64_t_long_long=no
19785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19790 if test $glibcxx_cv_int64_t_long_long = yes; then
19792 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19795 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19799 ac_ext=c
19800 ac_cpp='$CPP $CPPFLAGS'
19801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19807 # For LFS support.
19810 ac_ext=cpp
19811 ac_cpp='$CXXCPP $CPPFLAGS'
19812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19816 ac_save_CXXFLAGS="$CXXFLAGS"
19817 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19819 $as_echo_n "checking for LFS support... " >&6; }
19820 if ${glibcxx_cv_LFS+:} false; then :
19821 $as_echo_n "(cached) " >&6
19822 else
19824 if test x$gcc_no_link = xyes; then
19825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19826 /* end confdefs.h. */
19827 #include <unistd.h>
19828 #include <stdio.h>
19829 #include <sys/stat.h>
19832 main ()
19834 FILE* fp;
19835 fopen64("t", "w");
19836 fseeko64(fp, 0, SEEK_CUR);
19837 ftello64(fp);
19838 lseek64(1, 0, SEEK_CUR);
19839 struct stat64 buf;
19840 fstat64(1, &buf);
19842 return 0;
19844 _ACEOF
19845 if ac_fn_cxx_try_compile "$LINENO"; then :
19846 glibcxx_cv_LFS=yes
19847 else
19848 glibcxx_cv_LFS=no
19850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19851 else
19852 if test x$gcc_no_link = xyes; then
19853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19857 #include <unistd.h>
19858 #include <stdio.h>
19859 #include <sys/stat.h>
19862 main ()
19864 FILE* fp;
19865 fopen64("t", "w");
19866 fseeko64(fp, 0, SEEK_CUR);
19867 ftello64(fp);
19868 lseek64(1, 0, SEEK_CUR);
19869 struct stat64 buf;
19870 fstat64(1, &buf);
19872 return 0;
19874 _ACEOF
19875 if ac_fn_cxx_try_link "$LINENO"; then :
19876 glibcxx_cv_LFS=yes
19877 else
19878 glibcxx_cv_LFS=no
19880 rm -f core conftest.err conftest.$ac_objext \
19881 conftest$ac_exeext conftest.$ac_ext
19886 if test $glibcxx_cv_LFS = yes; then
19888 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19892 $as_echo "$glibcxx_cv_LFS" >&6; }
19893 CXXFLAGS="$ac_save_CXXFLAGS"
19894 ac_ext=c
19895 ac_cpp='$CPP $CPPFLAGS'
19896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19902 # For showmanyc_helper().
19903 for ac_header in sys/ioctl.h sys/filio.h
19904 do :
19905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19906 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19908 cat >>confdefs.h <<_ACEOF
19909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19910 _ACEOF
19914 done
19919 ac_ext=cpp
19920 ac_cpp='$CXXCPP $CPPFLAGS'
19921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19925 ac_save_CXXFLAGS="$CXXFLAGS"
19926 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19929 $as_echo_n "checking for poll... " >&6; }
19930 if ${glibcxx_cv_POLL+:} false; then :
19931 $as_echo_n "(cached) " >&6
19932 else
19934 if test x$gcc_no_link = xyes; then
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19937 #include <poll.h>
19939 main ()
19941 struct pollfd pfd[1];
19942 pfd[0].events = POLLIN;
19943 poll(pfd, 1, 0);
19945 return 0;
19947 _ACEOF
19948 if ac_fn_cxx_try_compile "$LINENO"; then :
19949 glibcxx_cv_POLL=yes
19950 else
19951 glibcxx_cv_POLL=no
19953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19954 else
19955 if test x$gcc_no_link = xyes; then
19956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #include <poll.h>
19962 main ()
19964 struct pollfd pfd[1];
19965 pfd[0].events = POLLIN;
19966 poll(pfd, 1, 0);
19968 return 0;
19970 _ACEOF
19971 if ac_fn_cxx_try_link "$LINENO"; then :
19972 glibcxx_cv_POLL=yes
19973 else
19974 glibcxx_cv_POLL=no
19976 rm -f core conftest.err conftest.$ac_objext \
19977 conftest$ac_exeext conftest.$ac_ext
19982 if test $glibcxx_cv_POLL = yes; then
19984 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19988 $as_echo "$glibcxx_cv_POLL" >&6; }
19990 CXXFLAGS="$ac_save_CXXFLAGS"
19991 ac_ext=c
19992 ac_cpp='$CPP $CPPFLAGS'
19993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20001 ac_ext=cpp
20002 ac_cpp='$CXXCPP $CPPFLAGS'
20003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20007 ac_save_CXXFLAGS="$CXXFLAGS"
20008 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20011 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20012 if ${glibcxx_cv_S_ISREG+:} false; then :
20013 $as_echo_n "(cached) " >&6
20014 else
20016 if test x$gcc_no_link = xyes; then
20017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20018 /* end confdefs.h. */
20019 #include <sys/stat.h>
20021 main ()
20023 struct stat buffer;
20024 fstat(0, &buffer);
20025 S_ISREG(buffer.st_mode);
20027 return 0;
20029 _ACEOF
20030 if ac_fn_cxx_try_compile "$LINENO"; then :
20031 glibcxx_cv_S_ISREG=yes
20032 else
20033 glibcxx_cv_S_ISREG=no
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 else
20037 if test x$gcc_no_link = xyes; then
20038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20042 #include <sys/stat.h>
20044 main ()
20046 struct stat buffer;
20047 fstat(0, &buffer);
20048 S_ISREG(buffer.st_mode);
20050 return 0;
20052 _ACEOF
20053 if ac_fn_cxx_try_link "$LINENO"; then :
20054 glibcxx_cv_S_ISREG=yes
20055 else
20056 glibcxx_cv_S_ISREG=no
20058 rm -f core conftest.err conftest.$ac_objext \
20059 conftest$ac_exeext conftest.$ac_ext
20064 if ${glibcxx_cv_S_IFREG+:} false; then :
20065 $as_echo_n "(cached) " >&6
20066 else
20068 if test x$gcc_no_link = xyes; then
20069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h. */
20071 #include <sys/stat.h>
20073 main ()
20075 struct stat buffer;
20076 fstat(0, &buffer);
20077 S_IFREG & buffer.st_mode;
20079 return 0;
20081 _ACEOF
20082 if ac_fn_cxx_try_compile "$LINENO"; then :
20083 glibcxx_cv_S_IFREG=yes
20084 else
20085 glibcxx_cv_S_IFREG=no
20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20088 else
20089 if test x$gcc_no_link = xyes; then
20090 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20094 #include <sys/stat.h>
20096 main ()
20098 struct stat buffer;
20099 fstat(0, &buffer);
20100 S_IFREG & buffer.st_mode;
20102 return 0;
20104 _ACEOF
20105 if ac_fn_cxx_try_link "$LINENO"; then :
20106 glibcxx_cv_S_IFREG=yes
20107 else
20108 glibcxx_cv_S_IFREG=no
20110 rm -f core conftest.err conftest.$ac_objext \
20111 conftest$ac_exeext conftest.$ac_ext
20116 res=no
20117 if test $glibcxx_cv_S_ISREG = yes; then
20119 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20121 res=S_ISREG
20122 elif test $glibcxx_cv_S_IFREG = yes; then
20124 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20126 res=S_IFREG
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20129 $as_echo "$res" >&6; }
20131 CXXFLAGS="$ac_save_CXXFLAGS"
20132 ac_ext=c
20133 ac_cpp='$CPP $CPPFLAGS'
20134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20140 # For xsputn_2().
20141 for ac_header in sys/uio.h
20142 do :
20143 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20144 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20145 cat >>confdefs.h <<_ACEOF
20146 #define HAVE_SYS_UIO_H 1
20147 _ACEOF
20151 done
20156 ac_ext=cpp
20157 ac_cpp='$CXXCPP $CPPFLAGS'
20158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20162 ac_save_CXXFLAGS="$CXXFLAGS"
20163 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20166 $as_echo_n "checking for writev... " >&6; }
20167 if ${glibcxx_cv_WRITEV+:} false; then :
20168 $as_echo_n "(cached) " >&6
20169 else
20171 if test x$gcc_no_link = xyes; then
20172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20173 /* end confdefs.h. */
20174 #include <sys/uio.h>
20176 main ()
20178 struct iovec iov[2];
20179 writev(0, iov, 0);
20181 return 0;
20183 _ACEOF
20184 if ac_fn_cxx_try_compile "$LINENO"; then :
20185 glibcxx_cv_WRITEV=yes
20186 else
20187 glibcxx_cv_WRITEV=no
20189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20190 else
20191 if test x$gcc_no_link = xyes; then
20192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20195 /* end confdefs.h. */
20196 #include <sys/uio.h>
20198 main ()
20200 struct iovec iov[2];
20201 writev(0, iov, 0);
20203 return 0;
20205 _ACEOF
20206 if ac_fn_cxx_try_link "$LINENO"; then :
20207 glibcxx_cv_WRITEV=yes
20208 else
20209 glibcxx_cv_WRITEV=no
20211 rm -f core conftest.err conftest.$ac_objext \
20212 conftest$ac_exeext conftest.$ac_ext
20217 if test $glibcxx_cv_WRITEV = yes; then
20219 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20223 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20225 CXXFLAGS="$ac_save_CXXFLAGS"
20226 ac_ext=c
20227 ac_cpp='$CPP $CPPFLAGS'
20228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20234 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20235 # so that the check is done with the C compiler (not C++).
20236 # Checking with C++ can break a canadian cross build if either
20237 # file does not exist in C but does in C++.
20238 for ac_header in fenv.h complex.h
20239 do :
20240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20241 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20243 cat >>confdefs.h <<_ACEOF
20244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20245 _ACEOF
20249 done
20252 # For C99 support to TR1.
20256 ac_ext=cpp
20257 ac_cpp='$CXXCPP $CPPFLAGS'
20258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20263 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20264 # undefined and fake C99 facilities may be spuriously enabled.
20265 ac_save_CXXFLAGS="$CXXFLAGS"
20266 CXXFLAGS="$CXXFLAGS -std=c++98"
20268 # Check for the existence of <complex.h> complex math functions used
20269 # by tr1/complex.
20270 for ac_header in complex.h
20271 do :
20272 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20273 if test "x$ac_cv_header_complex_h" = xyes; then :
20274 cat >>confdefs.h <<_ACEOF
20275 #define HAVE_COMPLEX_H 1
20276 _ACEOF
20277 ac_has_complex_h=yes
20278 else
20279 ac_has_complex_h=no
20282 done
20284 ac_c99_complex_tr1=no;
20285 if test x"$ac_has_complex_h" = x"yes"; then
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20287 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20289 /* end confdefs.h. */
20290 #include <complex.h>
20292 main ()
20294 typedef __complex__ float float_type; float_type tmpf;
20295 cacosf(tmpf);
20296 casinf(tmpf);
20297 catanf(tmpf);
20298 cacoshf(tmpf);
20299 casinhf(tmpf);
20300 catanhf(tmpf);
20301 typedef __complex__ double double_type; double_type tmpd;
20302 cacos(tmpd);
20303 casin(tmpd);
20304 catan(tmpd);
20305 cacosh(tmpd);
20306 casinh(tmpd);
20307 catanh(tmpd);
20308 typedef __complex__ long double ld_type; ld_type tmpld;
20309 cacosl(tmpld);
20310 casinl(tmpld);
20311 catanl(tmpld);
20312 cacoshl(tmpld);
20313 casinhl(tmpld);
20314 catanhl(tmpld);
20317 return 0;
20319 _ACEOF
20320 if ac_fn_cxx_try_compile "$LINENO"; then :
20321 ac_c99_complex_tr1=yes
20322 else
20323 ac_c99_complex_tr1=no
20325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20328 $as_echo "$ac_c99_complex_tr1" >&6; }
20329 if test x"$ac_c99_complex_tr1" = x"yes"; then
20331 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20335 # Check for the existence of <ctype.h> functions.
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20337 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20338 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20339 $as_echo_n "(cached) " >&6
20340 else
20342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20343 /* end confdefs.h. */
20344 #include <ctype.h>
20346 main ()
20348 int ch;
20349 int ret;
20350 ret = isblank(ch);
20353 return 0;
20355 _ACEOF
20356 if ac_fn_cxx_try_compile "$LINENO"; then :
20357 glibcxx_cv_c99_ctype_tr1=yes
20358 else
20359 glibcxx_cv_c99_ctype_tr1=no
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20366 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20367 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20369 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20373 # Check for the existence of <fenv.h> functions.
20374 for ac_header in fenv.h
20375 do :
20376 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20377 if test "x$ac_cv_header_fenv_h" = xyes; then :
20378 cat >>confdefs.h <<_ACEOF
20379 #define HAVE_FENV_H 1
20380 _ACEOF
20381 ac_has_fenv_h=yes
20382 else
20383 ac_has_fenv_h=no
20386 done
20388 ac_c99_fenv_tr1=no;
20389 if test x"$ac_has_fenv_h" = x"yes"; then
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20391 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20393 /* end confdefs.h. */
20394 #include <fenv.h>
20396 main ()
20398 int except, mode;
20399 fexcept_t* pflag;
20400 fenv_t* penv;
20401 int ret;
20402 ret = feclearexcept(except);
20403 ret = fegetexceptflag(pflag, except);
20404 ret = feraiseexcept(except);
20405 ret = fesetexceptflag(pflag, except);
20406 ret = fetestexcept(except);
20407 ret = fegetround();
20408 ret = fesetround(mode);
20409 ret = fegetenv(penv);
20410 ret = feholdexcept(penv);
20411 ret = fesetenv(penv);
20412 ret = feupdateenv(penv);
20415 return 0;
20417 _ACEOF
20418 if ac_fn_cxx_try_compile "$LINENO"; then :
20419 ac_c99_fenv_tr1=yes
20420 else
20421 ac_c99_fenv_tr1=no
20423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20426 $as_echo "$ac_c99_fenv_tr1" >&6; }
20427 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20429 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20433 # Check for the existence of <stdint.h> types.
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20435 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20436 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20437 $as_echo_n "(cached) " >&6
20438 else
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442 #define __STDC_LIMIT_MACROS
20443 #define __STDC_CONSTANT_MACROS
20444 #include <stdint.h>
20446 main ()
20448 typedef int8_t my_int8_t;
20449 my_int8_t i8 = INT8_MIN;
20450 i8 = INT8_MAX;
20451 typedef int16_t my_int16_t;
20452 my_int16_t i16 = INT16_MIN;
20453 i16 = INT16_MAX;
20454 typedef int32_t my_int32_t;
20455 my_int32_t i32 = INT32_MIN;
20456 i32 = INT32_MAX;
20457 typedef int64_t my_int64_t;
20458 my_int64_t i64 = INT64_MIN;
20459 i64 = INT64_MAX;
20460 typedef int_fast8_t my_int_fast8_t;
20461 my_int_fast8_t if8 = INT_FAST8_MIN;
20462 if8 = INT_FAST8_MAX;
20463 typedef int_fast16_t my_int_fast16_t;
20464 my_int_fast16_t if16 = INT_FAST16_MIN;
20465 if16 = INT_FAST16_MAX;
20466 typedef int_fast32_t my_int_fast32_t;
20467 my_int_fast32_t if32 = INT_FAST32_MIN;
20468 if32 = INT_FAST32_MAX;
20469 typedef int_fast64_t my_int_fast64_t;
20470 my_int_fast64_t if64 = INT_FAST64_MIN;
20471 if64 = INT_FAST64_MAX;
20472 typedef int_least8_t my_int_least8_t;
20473 my_int_least8_t il8 = INT_LEAST8_MIN;
20474 il8 = INT_LEAST8_MAX;
20475 typedef int_least16_t my_int_least16_t;
20476 my_int_least16_t il16 = INT_LEAST16_MIN;
20477 il16 = INT_LEAST16_MAX;
20478 typedef int_least32_t my_int_least32_t;
20479 my_int_least32_t il32 = INT_LEAST32_MIN;
20480 il32 = INT_LEAST32_MAX;
20481 typedef int_least64_t my_int_least64_t;
20482 my_int_least64_t il64 = INT_LEAST64_MIN;
20483 il64 = INT_LEAST64_MAX;
20484 typedef intmax_t my_intmax_t;
20485 my_intmax_t im = INTMAX_MAX;
20486 im = INTMAX_MIN;
20487 typedef intptr_t my_intptr_t;
20488 my_intptr_t ip = INTPTR_MAX;
20489 ip = INTPTR_MIN;
20490 typedef uint8_t my_uint8_t;
20491 my_uint8_t ui8 = UINT8_MAX;
20492 ui8 = UINT8_MAX;
20493 typedef uint16_t my_uint16_t;
20494 my_uint16_t ui16 = UINT16_MAX;
20495 ui16 = UINT16_MAX;
20496 typedef uint32_t my_uint32_t;
20497 my_uint32_t ui32 = UINT32_MAX;
20498 ui32 = UINT32_MAX;
20499 typedef uint64_t my_uint64_t;
20500 my_uint64_t ui64 = UINT64_MAX;
20501 ui64 = UINT64_MAX;
20502 typedef uint_fast8_t my_uint_fast8_t;
20503 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20504 uif8 = UINT_FAST8_MAX;
20505 typedef uint_fast16_t my_uint_fast16_t;
20506 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20507 uif16 = UINT_FAST16_MAX;
20508 typedef uint_fast32_t my_uint_fast32_t;
20509 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20510 uif32 = UINT_FAST32_MAX;
20511 typedef uint_fast64_t my_uint_fast64_t;
20512 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20513 uif64 = UINT_FAST64_MAX;
20514 typedef uint_least8_t my_uint_least8_t;
20515 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20516 uil8 = UINT_LEAST8_MAX;
20517 typedef uint_least16_t my_uint_least16_t;
20518 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20519 uil16 = UINT_LEAST16_MAX;
20520 typedef uint_least32_t my_uint_least32_t;
20521 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20522 uil32 = UINT_LEAST32_MAX;
20523 typedef uint_least64_t my_uint_least64_t;
20524 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20525 uil64 = UINT_LEAST64_MAX;
20526 typedef uintmax_t my_uintmax_t;
20527 my_uintmax_t uim = UINTMAX_MAX;
20528 uim = UINTMAX_MAX;
20529 typedef uintptr_t my_uintptr_t;
20530 my_uintptr_t uip = UINTPTR_MAX;
20531 uip = UINTPTR_MAX;
20534 return 0;
20536 _ACEOF
20537 if ac_fn_cxx_try_compile "$LINENO"; then :
20538 glibcxx_cv_c99_stdint_tr1=yes
20539 else
20540 glibcxx_cv_c99_stdint_tr1=no
20542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20547 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20548 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20550 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20554 # Check for the existence of <math.h> functions.
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20556 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20557 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20558 $as_echo_n "(cached) " >&6
20559 else
20561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20562 /* end confdefs.h. */
20563 #include <math.h>
20565 main ()
20567 typedef double_t my_double_t;
20568 typedef float_t my_float_t;
20569 acosh(0.0);
20570 acoshf(0.0f);
20571 acoshl(0.0l);
20572 asinh(0.0);
20573 asinhf(0.0f);
20574 asinhl(0.0l);
20575 atanh(0.0);
20576 atanhf(0.0f);
20577 atanhl(0.0l);
20578 cbrt(0.0);
20579 cbrtf(0.0f);
20580 cbrtl(0.0l);
20581 copysign(0.0, 0.0);
20582 copysignf(0.0f, 0.0f);
20583 copysignl(0.0l, 0.0l);
20584 erf(0.0);
20585 erff(0.0f);
20586 erfl(0.0l);
20587 erfc(0.0);
20588 erfcf(0.0f);
20589 erfcl(0.0l);
20590 exp2(0.0);
20591 exp2f(0.0f);
20592 exp2l(0.0l);
20593 expm1(0.0);
20594 expm1f(0.0f);
20595 expm1l(0.0l);
20596 fdim(0.0, 0.0);
20597 fdimf(0.0f, 0.0f);
20598 fdiml(0.0l, 0.0l);
20599 fma(0.0, 0.0, 0.0);
20600 fmaf(0.0f, 0.0f, 0.0f);
20601 fmal(0.0l, 0.0l, 0.0l);
20602 fmax(0.0, 0.0);
20603 fmaxf(0.0f, 0.0f);
20604 fmaxl(0.0l, 0.0l);
20605 fmin(0.0, 0.0);
20606 fminf(0.0f, 0.0f);
20607 fminl(0.0l, 0.0l);
20608 hypot(0.0, 0.0);
20609 hypotf(0.0f, 0.0f);
20610 hypotl(0.0l, 0.0l);
20611 ilogb(0.0);
20612 ilogbf(0.0f);
20613 ilogbl(0.0l);
20614 lgamma(0.0);
20615 lgammaf(0.0f);
20616 lgammal(0.0l);
20617 #ifndef __APPLE__ /* see below */
20618 llrint(0.0);
20619 llrintf(0.0f);
20620 llrintl(0.0l);
20621 llround(0.0);
20622 llroundf(0.0f);
20623 llroundl(0.0l);
20624 #endif
20625 log1p(0.0);
20626 log1pf(0.0f);
20627 log1pl(0.0l);
20628 log2(0.0);
20629 log2f(0.0f);
20630 log2l(0.0l);
20631 logb(0.0);
20632 logbf(0.0f);
20633 logbl(0.0l);
20634 lrint(0.0);
20635 lrintf(0.0f);
20636 lrintl(0.0l);
20637 lround(0.0);
20638 lroundf(0.0f);
20639 lroundl(0.0l);
20640 nan(0);
20641 nanf(0);
20642 nanl(0);
20643 nearbyint(0.0);
20644 nearbyintf(0.0f);
20645 nearbyintl(0.0l);
20646 nextafter(0.0, 0.0);
20647 nextafterf(0.0f, 0.0f);
20648 nextafterl(0.0l, 0.0l);
20649 nexttoward(0.0, 0.0);
20650 nexttowardf(0.0f, 0.0f);
20651 nexttowardl(0.0l, 0.0l);
20652 remainder(0.0, 0.0);
20653 remainderf(0.0f, 0.0f);
20654 remainderl(0.0l, 0.0l);
20655 remquo(0.0, 0.0, 0);
20656 remquof(0.0f, 0.0f, 0);
20657 remquol(0.0l, 0.0l, 0);
20658 rint(0.0);
20659 rintf(0.0f);
20660 rintl(0.0l);
20661 round(0.0);
20662 roundf(0.0f);
20663 roundl(0.0l);
20664 scalbln(0.0, 0l);
20665 scalblnf(0.0f, 0l);
20666 scalblnl(0.0l, 0l);
20667 scalbn(0.0, 0);
20668 scalbnf(0.0f, 0);
20669 scalbnl(0.0l, 0);
20670 tgamma(0.0);
20671 tgammaf(0.0f);
20672 tgammal(0.0l);
20673 trunc(0.0);
20674 truncf(0.0f);
20675 truncl(0.0l);
20678 return 0;
20680 _ACEOF
20681 if ac_fn_cxx_try_compile "$LINENO"; then :
20682 glibcxx_cv_c99_math_tr1=yes
20683 else
20684 glibcxx_cv_c99_math_tr1=no
20686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20691 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20692 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20694 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20697 case "${target_os}" in
20698 darwin*)
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20700 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20701 if ${glibcxx_cv_c99_math_llround+:} false; then :
20702 $as_echo_n "(cached) " >&6
20703 else
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20707 #include <math.h>
20709 main ()
20711 llrint(0.0);
20712 llrintf(0.0f);
20713 llrintl(0.0l);
20714 llround(0.0);
20715 llroundf(0.0f);
20716 llroundl(0.0l);
20719 return 0;
20721 _ACEOF
20722 if ac_fn_cxx_try_compile "$LINENO"; then :
20723 glibcxx_cv_c99_math_llround=yes
20724 else
20725 glibcxx_cv_c99_math_llround=no
20727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20732 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20734 esac
20735 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20737 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20742 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20743 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20744 ac_c99_inttypes_tr1=no;
20745 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20747 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20749 /* end confdefs.h. */
20750 #include <inttypes.h>
20752 main ()
20754 intmax_t i, numer, denom, base;
20755 const char* s;
20756 char** endptr;
20757 intmax_t ret = imaxabs(i);
20758 imaxdiv_t dret = imaxdiv(numer, denom);
20759 ret = strtoimax(s, endptr, base);
20760 uintmax_t uret = strtoumax(s, endptr, base);
20763 return 0;
20765 _ACEOF
20766 if ac_fn_cxx_try_compile "$LINENO"; then :
20767 ac_c99_inttypes_tr1=yes
20768 else
20769 ac_c99_inttypes_tr1=no
20771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20774 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20775 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20777 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20781 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20782 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20783 ac_c99_inttypes_wchar_t_tr1=no;
20784 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20786 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20788 /* end confdefs.h. */
20789 #include <inttypes.h>
20791 main ()
20793 intmax_t base;
20794 const wchar_t* s;
20795 wchar_t** endptr;
20796 intmax_t ret = wcstoimax(s, endptr, base);
20797 uintmax_t uret = wcstoumax(s, endptr, base);
20800 return 0;
20802 _ACEOF
20803 if ac_fn_cxx_try_compile "$LINENO"; then :
20804 ac_c99_inttypes_wchar_t_tr1=yes
20805 else
20806 ac_c99_inttypes_wchar_t_tr1=no
20808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20811 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20812 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20814 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20818 # Check for the existence of the <stdbool.h> header.
20819 for ac_header in stdbool.h
20820 do :
20821 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20822 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20823 cat >>confdefs.h <<_ACEOF
20824 #define HAVE_STDBOOL_H 1
20825 _ACEOF
20829 done
20832 # Check for the existence of the <stdalign.h> header.
20833 for ac_header in stdalign.h
20834 do :
20835 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20836 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20837 cat >>confdefs.h <<_ACEOF
20838 #define HAVE_STDALIGN_H 1
20839 _ACEOF
20843 done
20846 CXXFLAGS="$ac_save_CXXFLAGS"
20847 ac_ext=c
20848 ac_cpp='$CPP $CPPFLAGS'
20849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20855 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20859 $as_echo_n "checking for the value of EOF... " >&6; }
20860 if ${glibcxx_cv_stdio_eof+:} false; then :
20861 $as_echo_n "(cached) " >&6
20862 else
20864 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20866 else
20867 as_fn_error $? "computing EOF failed" "$LINENO" 5
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20873 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20875 cat >>confdefs.h <<_ACEOF
20876 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20877 _ACEOF
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20881 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20882 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20883 $as_echo_n "(cached) " >&6
20884 else
20886 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20888 else
20889 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20895 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20897 cat >>confdefs.h <<_ACEOF
20898 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20899 _ACEOF
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20903 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20904 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20905 $as_echo_n "(cached) " >&6
20906 else
20908 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20910 else
20911 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20917 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20919 cat >>confdefs.h <<_ACEOF
20920 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20921 _ACEOF
20925 # For gettimeofday support.
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20929 $as_echo_n "checking for gettimeofday... " >&6; }
20932 ac_ext=cpp
20933 ac_cpp='$CXXCPP $CPPFLAGS'
20934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20938 ac_save_CXXFLAGS="$CXXFLAGS"
20939 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20941 ac_has_gettimeofday=no;
20942 for ac_header in sys/time.h
20943 do :
20944 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20945 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20946 cat >>confdefs.h <<_ACEOF
20947 #define HAVE_SYS_TIME_H 1
20948 _ACEOF
20949 ac_has_sys_time_h=yes
20950 else
20951 ac_has_sys_time_h=no
20954 done
20956 if test x"$ac_has_sys_time_h" = x"yes"; then
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20958 $as_echo_n "checking for gettimeofday... " >&6; }
20959 if test x$gcc_no_link = xyes; then
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #include <sys/time.h>
20964 main ()
20966 timeval tv; gettimeofday(&tv, 0);
20968 return 0;
20970 _ACEOF
20971 if ac_fn_cxx_try_compile "$LINENO"; then :
20972 ac_has_gettimeofday=yes
20973 else
20974 ac_has_gettimeofday=no
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 else
20978 if test x$gcc_no_link = xyes; then
20979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20983 #include <sys/time.h>
20985 main ()
20987 timeval tv; gettimeofday(&tv, 0);
20989 return 0;
20991 _ACEOF
20992 if ac_fn_cxx_try_link "$LINENO"; then :
20993 ac_has_gettimeofday=yes
20994 else
20995 ac_has_gettimeofday=no
20997 rm -f core conftest.err conftest.$ac_objext \
20998 conftest$ac_exeext conftest.$ac_ext
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21002 $as_echo "$ac_has_gettimeofday" >&6; }
21005 if test x"$ac_has_gettimeofday" = x"yes"; then
21007 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21011 CXXFLAGS="$ac_save_CXXFLAGS"
21012 ac_ext=c
21013 ac_cpp='$CPP $CPPFLAGS'
21014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21020 # For clock_gettime, nanosleep and sched_yield support.
21023 # Check whether --enable-libstdcxx-time was given.
21024 if test "${enable_libstdcxx_time+set}" = set; then :
21025 enableval=$enable_libstdcxx_time;
21026 case "$enableval" in
21027 yes|no|rt) ;;
21028 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21029 esac
21031 else
21032 enable_libstdcxx_time=auto
21038 ac_ext=cpp
21039 ac_cpp='$CXXCPP $CPPFLAGS'
21040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21044 ac_save_CXXFLAGS="$CXXFLAGS"
21045 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21046 ac_save_LIBS="$LIBS"
21048 ac_has_clock_monotonic=no
21049 ac_has_clock_realtime=no
21050 ac_has_nanosleep=no
21051 ac_has_sched_yield=no
21053 if test x"$enable_libstdcxx_time" = x"auto"; then
21055 case "${target_os}" in
21056 cygwin*)
21057 ac_has_nanosleep=yes
21059 darwin*)
21060 ac_has_nanosleep=yes
21061 ac_has_sched_yield=yes
21063 # VxWorks has nanosleep as soon as the kernel is configured with
21064 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21065 vxworks*)
21066 ac_has_nanosleep=yes
21068 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
21070 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
21071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21073 #include <features.h>
21075 main ()
21078 #if ! __GLIBC_PREREQ(2, 17)
21079 #error
21080 #endif
21083 return 0;
21085 _ACEOF
21086 if ac_fn_cxx_try_compile "$LINENO"; then :
21087 glibcxx_glibc217=yes
21088 else
21089 glibcxx_glibc217=no
21091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
21093 $as_echo "$glibcxx_glibc217" >&6; }
21095 if test x"$glibcxx_glibc217" = x"yes"; then
21096 ac_has_clock_monotonic=yes
21097 ac_has_clock_realtime=yes
21099 ac_has_nanosleep=yes
21100 ac_has_sched_yield=yes
21102 freebsd*|netbsd*|dragonfly*|rtems*)
21103 ac_has_clock_monotonic=yes
21104 ac_has_clock_realtime=yes
21105 ac_has_nanosleep=yes
21106 ac_has_sched_yield=yes
21108 openbsd*)
21109 ac_has_clock_monotonic=yes
21110 ac_has_clock_realtime=yes
21111 ac_has_nanosleep=yes
21113 solaris*)
21114 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
21115 ac_has_clock_monotonic=yes
21116 ac_has_clock_realtime=yes
21117 ac_has_nanosleep=yes
21118 ac_has_sched_yield=yes
21120 uclinux*)
21121 ac_has_nanosleep=yes
21122 ac_has_sched_yield=yes
21123 esac
21125 elif test x"$enable_libstdcxx_time" != x"no"; then
21127 if test x"$enable_libstdcxx_time" = x"rt"; then
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21129 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21130 if ${ac_cv_search_clock_gettime+:} false; then :
21131 $as_echo_n "(cached) " >&6
21132 else
21133 ac_func_search_save_LIBS=$LIBS
21134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21135 /* end confdefs.h. */
21137 /* Override any GCC internal prototype to avoid an error.
21138 Use char because int might match the return type of a GCC
21139 builtin and then its argument prototype would still apply. */
21140 #ifdef __cplusplus
21141 extern "C"
21142 #endif
21143 char clock_gettime ();
21145 main ()
21147 return clock_gettime ();
21149 return 0;
21151 _ACEOF
21152 for ac_lib in '' rt posix4; do
21153 if test -z "$ac_lib"; then
21154 ac_res="none required"
21155 else
21156 ac_res=-l$ac_lib
21157 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21159 if test x$gcc_no_link = xyes; then
21160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21162 if ac_fn_cxx_try_link "$LINENO"; then :
21163 ac_cv_search_clock_gettime=$ac_res
21165 rm -f core conftest.err conftest.$ac_objext \
21166 conftest$ac_exeext
21167 if ${ac_cv_search_clock_gettime+:} false; then :
21168 break
21170 done
21171 if ${ac_cv_search_clock_gettime+:} false; then :
21173 else
21174 ac_cv_search_clock_gettime=no
21176 rm conftest.$ac_ext
21177 LIBS=$ac_func_search_save_LIBS
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21180 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21181 ac_res=$ac_cv_search_clock_gettime
21182 if test "$ac_res" != no; then :
21183 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21188 $as_echo_n "checking for library containing nanosleep... " >&6; }
21189 if ${ac_cv_search_nanosleep+:} false; then :
21190 $as_echo_n "(cached) " >&6
21191 else
21192 ac_func_search_save_LIBS=$LIBS
21193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h. */
21196 /* Override any GCC internal prototype to avoid an error.
21197 Use char because int might match the return type of a GCC
21198 builtin and then its argument prototype would still apply. */
21199 #ifdef __cplusplus
21200 extern "C"
21201 #endif
21202 char nanosleep ();
21204 main ()
21206 return nanosleep ();
21208 return 0;
21210 _ACEOF
21211 for ac_lib in '' rt posix4; do
21212 if test -z "$ac_lib"; then
21213 ac_res="none required"
21214 else
21215 ac_res=-l$ac_lib
21216 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21218 if test x$gcc_no_link = xyes; then
21219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21221 if ac_fn_cxx_try_link "$LINENO"; then :
21222 ac_cv_search_nanosleep=$ac_res
21224 rm -f core conftest.err conftest.$ac_objext \
21225 conftest$ac_exeext
21226 if ${ac_cv_search_nanosleep+:} false; then :
21227 break
21229 done
21230 if ${ac_cv_search_nanosleep+:} false; then :
21232 else
21233 ac_cv_search_nanosleep=no
21235 rm conftest.$ac_ext
21236 LIBS=$ac_func_search_save_LIBS
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21239 $as_echo "$ac_cv_search_nanosleep" >&6; }
21240 ac_res=$ac_cv_search_nanosleep
21241 if test "$ac_res" != no; then :
21242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21246 else
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21248 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21249 if ${ac_cv_search_clock_gettime+:} false; then :
21250 $as_echo_n "(cached) " >&6
21251 else
21252 ac_func_search_save_LIBS=$LIBS
21253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21254 /* end confdefs.h. */
21256 /* Override any GCC internal prototype to avoid an error.
21257 Use char because int might match the return type of a GCC
21258 builtin and then its argument prototype would still apply. */
21259 #ifdef __cplusplus
21260 extern "C"
21261 #endif
21262 char clock_gettime ();
21264 main ()
21266 return clock_gettime ();
21268 return 0;
21270 _ACEOF
21271 for ac_lib in '' posix4; do
21272 if test -z "$ac_lib"; then
21273 ac_res="none required"
21274 else
21275 ac_res=-l$ac_lib
21276 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21278 if test x$gcc_no_link = xyes; then
21279 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21281 if ac_fn_cxx_try_link "$LINENO"; then :
21282 ac_cv_search_clock_gettime=$ac_res
21284 rm -f core conftest.err conftest.$ac_objext \
21285 conftest$ac_exeext
21286 if ${ac_cv_search_clock_gettime+:} false; then :
21287 break
21289 done
21290 if ${ac_cv_search_clock_gettime+:} false; then :
21292 else
21293 ac_cv_search_clock_gettime=no
21295 rm conftest.$ac_ext
21296 LIBS=$ac_func_search_save_LIBS
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21299 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21300 ac_res=$ac_cv_search_clock_gettime
21301 if test "$ac_res" != no; then :
21302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21307 $as_echo_n "checking for library containing nanosleep... " >&6; }
21308 if ${ac_cv_search_nanosleep+:} false; then :
21309 $as_echo_n "(cached) " >&6
21310 else
21311 ac_func_search_save_LIBS=$LIBS
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21315 /* Override any GCC internal prototype to avoid an error.
21316 Use char because int might match the return type of a GCC
21317 builtin and then its argument prototype would still apply. */
21318 #ifdef __cplusplus
21319 extern "C"
21320 #endif
21321 char nanosleep ();
21323 main ()
21325 return nanosleep ();
21327 return 0;
21329 _ACEOF
21330 for ac_lib in '' posix4; do
21331 if test -z "$ac_lib"; then
21332 ac_res="none required"
21333 else
21334 ac_res=-l$ac_lib
21335 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21337 if test x$gcc_no_link = xyes; then
21338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21340 if ac_fn_cxx_try_link "$LINENO"; then :
21341 ac_cv_search_nanosleep=$ac_res
21343 rm -f core conftest.err conftest.$ac_objext \
21344 conftest$ac_exeext
21345 if ${ac_cv_search_nanosleep+:} false; then :
21346 break
21348 done
21349 if ${ac_cv_search_nanosleep+:} false; then :
21351 else
21352 ac_cv_search_nanosleep=no
21354 rm conftest.$ac_ext
21355 LIBS=$ac_func_search_save_LIBS
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21358 $as_echo "$ac_cv_search_nanosleep" >&6; }
21359 ac_res=$ac_cv_search_nanosleep
21360 if test "$ac_res" != no; then :
21361 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21367 case "$ac_cv_search_clock_gettime" in
21368 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21370 esac
21371 case "$ac_cv_search_nanosleep" in
21372 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21374 esac
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21377 $as_echo_n "checking for library containing sched_yield... " >&6; }
21378 if ${ac_cv_search_sched_yield+:} false; then :
21379 $as_echo_n "(cached) " >&6
21380 else
21381 ac_func_search_save_LIBS=$LIBS
21382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21383 /* end confdefs.h. */
21385 /* Override any GCC internal prototype to avoid an error.
21386 Use char because int might match the return type of a GCC
21387 builtin and then its argument prototype would still apply. */
21388 #ifdef __cplusplus
21389 extern "C"
21390 #endif
21391 char sched_yield ();
21393 main ()
21395 return sched_yield ();
21397 return 0;
21399 _ACEOF
21400 for ac_lib in '' rt posix4; do
21401 if test -z "$ac_lib"; then
21402 ac_res="none required"
21403 else
21404 ac_res=-l$ac_lib
21405 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21407 if test x$gcc_no_link = xyes; then
21408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21410 if ac_fn_cxx_try_link "$LINENO"; then :
21411 ac_cv_search_sched_yield=$ac_res
21413 rm -f core conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext
21415 if ${ac_cv_search_sched_yield+:} false; then :
21416 break
21418 done
21419 if ${ac_cv_search_sched_yield+:} false; then :
21421 else
21422 ac_cv_search_sched_yield=no
21424 rm conftest.$ac_ext
21425 LIBS=$ac_func_search_save_LIBS
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21428 $as_echo "$ac_cv_search_sched_yield" >&6; }
21429 ac_res=$ac_cv_search_sched_yield
21430 if test "$ac_res" != no; then :
21431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21436 case "$ac_cv_search_sched_yield" in
21437 -lposix4*)
21438 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21439 ac_has_sched_yield=yes
21441 -lrt*)
21442 if test x"$enable_libstdcxx_time" = x"rt"; then
21443 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21444 ac_has_sched_yield=yes
21448 ac_has_sched_yield=yes
21450 esac
21452 for ac_header in unistd.h
21453 do :
21454 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21455 if test "x$ac_cv_header_unistd_h" = xyes; then :
21456 cat >>confdefs.h <<_ACEOF
21457 #define HAVE_UNISTD_H 1
21458 _ACEOF
21459 ac_has_unistd_h=yes
21460 else
21461 ac_has_unistd_h=no
21464 done
21467 if test x"$ac_has_unistd_h" = x"yes"; then
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21469 $as_echo_n "checking for monotonic clock... " >&6; }
21470 if test x$gcc_no_link = xyes; then
21471 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h. */
21475 #include <unistd.h>
21476 #include <time.h>
21479 main ()
21481 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21482 timespec tp;
21483 #endif
21484 clock_gettime(CLOCK_MONOTONIC, &tp);
21487 return 0;
21489 _ACEOF
21490 if ac_fn_cxx_try_link "$LINENO"; then :
21491 ac_has_clock_monotonic=yes
21492 else
21493 ac_has_clock_monotonic=no
21495 rm -f core conftest.err conftest.$ac_objext \
21496 conftest$ac_exeext conftest.$ac_ext
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21499 $as_echo "$ac_has_clock_monotonic" >&6; }
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21502 $as_echo_n "checking for realtime clock... " >&6; }
21503 if test x$gcc_no_link = xyes; then
21504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21507 /* end confdefs.h. */
21508 #include <unistd.h>
21509 #include <time.h>
21512 main ()
21514 #if _POSIX_TIMERS > 0
21515 timespec tp;
21516 #endif
21517 clock_gettime(CLOCK_REALTIME, &tp);
21520 return 0;
21522 _ACEOF
21523 if ac_fn_cxx_try_link "$LINENO"; then :
21524 ac_has_clock_realtime=yes
21525 else
21526 ac_has_clock_realtime=no
21528 rm -f core conftest.err conftest.$ac_objext \
21529 conftest$ac_exeext conftest.$ac_ext
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21532 $as_echo "$ac_has_clock_realtime" >&6; }
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21535 $as_echo_n "checking for nanosleep... " >&6; }
21536 if test x$gcc_no_link = xyes; then
21537 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21540 /* end confdefs.h. */
21541 #include <unistd.h>
21542 #include <time.h>
21545 main ()
21547 #if _POSIX_TIMERS > 0
21548 timespec tp;
21549 #endif
21550 nanosleep(&tp, 0);
21553 return 0;
21555 _ACEOF
21556 if ac_fn_cxx_try_link "$LINENO"; then :
21557 ac_has_nanosleep=yes
21558 else
21559 ac_has_nanosleep=no
21561 rm -f core conftest.err conftest.$ac_objext \
21562 conftest$ac_exeext conftest.$ac_ext
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21565 $as_echo "$ac_has_nanosleep" >&6; }
21569 if test x"$ac_has_clock_monotonic" != x"yes"; then
21570 case ${target_os} in
21571 linux* | uclinux*)
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21573 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576 #include <unistd.h>
21577 #include <time.h>
21578 #include <sys/syscall.h>
21581 main ()
21583 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21584 timespec tp;
21585 #endif
21586 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21587 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21590 return 0;
21592 _ACEOF
21593 if ac_fn_cxx_try_compile "$LINENO"; then :
21594 ac_has_clock_monotonic_syscall=yes
21595 else
21596 ac_has_clock_monotonic_syscall=no
21598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21600 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21601 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21603 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21605 ac_has_clock_monotonic=yes
21606 ac_has_clock_realtime=yes
21607 fi;;
21608 esac
21611 if test x"$ac_has_clock_monotonic" = x"yes"; then
21613 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21617 if test x"$ac_has_clock_realtime" = x"yes"; then
21619 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21623 if test x"$ac_has_sched_yield" = x"yes"; then
21625 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21629 if test x"$ac_has_nanosleep" = x"yes"; then
21631 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21633 else
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21635 $as_echo_n "checking for sleep... " >&6; }
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #include <unistd.h>
21640 main ()
21642 sleep(1)
21644 return 0;
21646 _ACEOF
21647 if ac_fn_cxx_try_compile "$LINENO"; then :
21648 ac_has_sleep=yes
21649 else
21650 ac_has_sleep=no
21652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21653 if test x"$ac_has_sleep" = x"yes"; then
21655 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21659 $as_echo "$ac_has_sleep" >&6; }
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21661 $as_echo_n "checking for usleep... " >&6; }
21662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21664 #include <unistd.h>
21666 main ()
21668 sleep(1);
21669 usleep(100);
21671 return 0;
21673 _ACEOF
21674 if ac_fn_cxx_try_compile "$LINENO"; then :
21675 ac_has_usleep=yes
21676 else
21677 ac_has_usleep=no
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 if test x"$ac_has_usleep" = x"yes"; then
21682 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21686 $as_echo "$ac_has_usleep" >&6; }
21689 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21691 $as_echo_n "checking for Sleep... " >&6; }
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <windows.h>
21696 main ()
21698 Sleep(1)
21700 return 0;
21702 _ACEOF
21703 if ac_fn_cxx_try_compile "$LINENO"; then :
21704 ac_has_win32_sleep=yes
21705 else
21706 ac_has_win32_sleep=no
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 if test x"$ac_has_win32_sleep" = x"yes"; then
21711 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21715 $as_echo "$ac_has_win32_sleep" >&6; }
21720 CXXFLAGS="$ac_save_CXXFLAGS"
21721 LIBS="$ac_save_LIBS"
21722 ac_ext=c
21723 ac_cpp='$CPP $CPPFLAGS'
21724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21730 # Check for tmpnam which is obsolescent in POSIX.1-2008
21732 ac_ext=cpp
21733 ac_cpp='$CXXCPP $CPPFLAGS'
21734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738 ac_save_CXXFLAGS="$CXXFLAGS"
21739 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21741 $as_echo_n "checking for tmpnam... " >&6; }
21742 if ${glibcxx_cv_TMPNAM+:} false; then :
21743 $as_echo_n "(cached) " >&6
21744 else
21745 if test x$gcc_no_link = xyes; then
21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21748 #include <stdio.h>
21750 main ()
21752 char *tmp = tmpnam(NULL);
21754 return 0;
21756 _ACEOF
21757 if ac_fn_cxx_try_compile "$LINENO"; then :
21758 glibcxx_cv_TMPNAM=yes
21759 else
21760 glibcxx_cv_TMPNAM=no
21762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763 else
21764 if test x$gcc_no_link = xyes; then
21765 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21769 #include <stdio.h>
21771 main ()
21773 char *tmp = tmpnam(NULL);
21775 return 0;
21777 _ACEOF
21778 if ac_fn_cxx_try_link "$LINENO"; then :
21779 glibcxx_cv_TMPNAM=yes
21780 else
21781 glibcxx_cv_TMPNAM=no
21783 rm -f core conftest.err conftest.$ac_objext \
21784 conftest$ac_exeext conftest.$ac_ext
21789 if test $glibcxx_cv_TMPNAM = yes; then
21791 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21795 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21796 CXXFLAGS="$ac_save_CXXFLAGS"
21797 ac_ext=c
21798 ac_cpp='$CPP $CPPFLAGS'
21799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21805 # For pthread_cond_clockwait
21809 ac_ext=cpp
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21815 ac_save_CXXFLAGS="$CXXFLAGS"
21816 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21817 ac_save_LIBS="$LIBS"
21818 LIBS="$LIBS -lpthread"
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21821 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21822 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21823 $as_echo_n "(cached) " >&6
21824 else
21826 if test x$gcc_no_link = xyes; then
21827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21828 /* end confdefs.h. */
21829 #include <pthread.h>
21831 main ()
21833 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21835 return 0;
21837 _ACEOF
21838 if ac_fn_cxx_try_compile "$LINENO"; then :
21839 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21840 else
21841 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21844 else
21845 if test x$gcc_no_link = xyes; then
21846 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21849 /* end confdefs.h. */
21850 #include <pthread.h>
21852 main ()
21854 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21856 return 0;
21858 _ACEOF
21859 if ac_fn_cxx_try_link "$LINENO"; then :
21860 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21861 else
21862 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21864 rm -f core conftest.err conftest.$ac_objext \
21865 conftest$ac_exeext conftest.$ac_ext
21870 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21872 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21876 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21878 CXXFLAGS="$ac_save_CXXFLAGS"
21879 LIBS="$ac_save_LIBS"
21880 ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21888 # For pthread_mutex_clocklock
21892 ac_ext=cpp
21893 ac_cpp='$CXXCPP $CPPFLAGS'
21894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21898 ac_save_CXXFLAGS="$CXXFLAGS"
21899 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21900 ac_save_LIBS="$LIBS"
21901 LIBS="$LIBS -lpthread"
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21904 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21905 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21906 $as_echo_n "(cached) " >&6
21907 else
21909 if test x$gcc_no_link = xyes; then
21910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21911 /* end confdefs.h. */
21912 #include <pthread.h>
21914 main ()
21916 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21918 return 0;
21920 _ACEOF
21921 if ac_fn_cxx_try_compile "$LINENO"; then :
21922 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21923 else
21924 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 else
21928 if test x$gcc_no_link = xyes; then
21929 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21932 /* end confdefs.h. */
21933 #include <pthread.h>
21935 main ()
21937 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21939 return 0;
21941 _ACEOF
21942 if ac_fn_cxx_try_link "$LINENO"; then :
21943 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21944 else
21945 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21947 rm -f core conftest.err conftest.$ac_objext \
21948 conftest$ac_exeext conftest.$ac_ext
21953 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21955 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21959 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21961 CXXFLAGS="$ac_save_CXXFLAGS"
21962 LIBS="$ac_save_LIBS"
21963 ac_ext=c
21964 ac_cpp='$CPP $CPPFLAGS'
21965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21971 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21975 ac_ext=cpp
21976 ac_cpp='$CXXCPP $CPPFLAGS'
21977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21981 ac_save_CXXFLAGS="$CXXFLAGS"
21982 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21983 ac_save_LIBS="$LIBS"
21984 LIBS="$LIBS -lpthread"
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21987 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21988 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21989 $as_echo_n "(cached) " >&6
21990 else
21992 if test x$gcc_no_link = xyes; then
21993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h. */
21995 #include <pthread.h>
21997 main ()
21999 pthread_rwlock_t rwl; struct timespec ts;
22000 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22001 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22003 return 0;
22005 _ACEOF
22006 if ac_fn_cxx_try_compile "$LINENO"; then :
22007 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22008 else
22009 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22012 else
22013 if test x$gcc_no_link = xyes; then
22014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22017 /* end confdefs.h. */
22018 #include <pthread.h>
22020 main ()
22022 pthread_rwlock_t rwl; struct timespec ts;
22023 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22024 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22026 return 0;
22028 _ACEOF
22029 if ac_fn_cxx_try_link "$LINENO"; then :
22030 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22031 else
22032 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22034 rm -f core conftest.err conftest.$ac_objext \
22035 conftest$ac_exeext conftest.$ac_ext
22040 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22042 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22046 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22048 CXXFLAGS="$ac_save_CXXFLAGS"
22049 LIBS="$ac_save_LIBS"
22050 ac_ext=c
22051 ac_cpp='$CPP $CPPFLAGS'
22052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22059 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22060 if test "x$ac_cv_header_locale_h" = xyes; then :
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22063 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22064 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22065 $as_echo_n "(cached) " >&6
22066 else
22067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22068 /* end confdefs.h. */
22069 #include <locale.h>
22071 main ()
22073 return LC_MESSAGES
22075 return 0;
22077 _ACEOF
22078 if ac_fn_c_try_compile "$LINENO"; then :
22079 ac_cv_val_LC_MESSAGES=yes
22080 else
22081 ac_cv_val_LC_MESSAGES=no
22083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22086 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22087 if test $ac_cv_val_LC_MESSAGES = yes; then
22089 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22098 # For hardware_concurrency
22099 for ac_header in sys/sysinfo.h
22100 do :
22101 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22102 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22103 cat >>confdefs.h <<_ACEOF
22104 #define HAVE_SYS_SYSINFO_H 1
22105 _ACEOF
22109 done
22114 ac_ext=cpp
22115 ac_cpp='$CXXCPP $CPPFLAGS'
22116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22120 ac_save_CXXFLAGS="$CXXFLAGS"
22121 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22124 $as_echo_n "checking for get_nprocs... " >&6; }
22125 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22126 $as_echo_n "(cached) " >&6
22127 else
22129 if test x$gcc_no_link = xyes; then
22130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22131 /* end confdefs.h. */
22132 #include <sys/sysinfo.h>
22134 main ()
22136 int n = get_nprocs();
22138 return 0;
22140 _ACEOF
22141 if ac_fn_cxx_try_compile "$LINENO"; then :
22142 glibcxx_cv_GET_NPROCS=yes
22143 else
22144 glibcxx_cv_GET_NPROCS=no
22146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22147 else
22148 if test x$gcc_no_link = xyes; then
22149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22153 #include <sys/sysinfo.h>
22155 main ()
22157 int n = get_nprocs();
22159 return 0;
22161 _ACEOF
22162 if ac_fn_cxx_try_link "$LINENO"; then :
22163 glibcxx_cv_GET_NPROCS=yes
22164 else
22165 glibcxx_cv_GET_NPROCS=no
22167 rm -f core conftest.err conftest.$ac_objext \
22168 conftest$ac_exeext conftest.$ac_ext
22173 if test $glibcxx_cv_GET_NPROCS = yes; then
22175 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22179 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22181 CXXFLAGS="$ac_save_CXXFLAGS"
22182 ac_ext=c
22183 ac_cpp='$CPP $CPPFLAGS'
22184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22189 for ac_header in unistd.h
22190 do :
22191 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22192 if test "x$ac_cv_header_unistd_h" = xyes; then :
22193 cat >>confdefs.h <<_ACEOF
22194 #define HAVE_UNISTD_H 1
22195 _ACEOF
22199 done
22204 ac_ext=cpp
22205 ac_cpp='$CXXCPP $CPPFLAGS'
22206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22210 ac_save_CXXFLAGS="$CXXFLAGS"
22211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22214 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22215 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22216 $as_echo_n "(cached) " >&6
22217 else
22219 if test x$gcc_no_link = xyes; then
22220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22221 /* end confdefs.h. */
22222 #include <unistd.h>
22224 main ()
22226 int n = sysconf(_SC_NPROCESSORS_ONLN);
22228 return 0;
22230 _ACEOF
22231 if ac_fn_cxx_try_compile "$LINENO"; then :
22232 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22233 else
22234 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22237 else
22238 if test x$gcc_no_link = xyes; then
22239 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22242 /* end confdefs.h. */
22243 #include <unistd.h>
22245 main ()
22247 int n = sysconf(_SC_NPROCESSORS_ONLN);
22249 return 0;
22251 _ACEOF
22252 if ac_fn_cxx_try_link "$LINENO"; then :
22253 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22254 else
22255 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22257 rm -f core conftest.err conftest.$ac_objext \
22258 conftest$ac_exeext conftest.$ac_ext
22263 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22265 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22269 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22271 CXXFLAGS="$ac_save_CXXFLAGS"
22272 ac_ext=c
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22282 ac_ext=cpp
22283 ac_cpp='$CXXCPP $CPPFLAGS'
22284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22288 ac_save_CXXFLAGS="$CXXFLAGS"
22289 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22292 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22293 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22294 $as_echo_n "(cached) " >&6
22295 else
22297 if test x$gcc_no_link = xyes; then
22298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22300 #include <unistd.h>
22302 main ()
22304 int n = sysconf(_SC_NPROC_ONLN);
22306 return 0;
22308 _ACEOF
22309 if ac_fn_cxx_try_compile "$LINENO"; then :
22310 glibcxx_cv_SC_NPROC_ONLN=yes
22311 else
22312 glibcxx_cv_SC_NPROC_ONLN=no
22314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22315 else
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 #include <unistd.h>
22323 main ()
22325 int n = sysconf(_SC_NPROC_ONLN);
22327 return 0;
22329 _ACEOF
22330 if ac_fn_cxx_try_link "$LINENO"; then :
22331 glibcxx_cv_SC_NPROC_ONLN=yes
22332 else
22333 glibcxx_cv_SC_NPROC_ONLN=no
22335 rm -f core conftest.err conftest.$ac_objext \
22336 conftest$ac_exeext conftest.$ac_ext
22341 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22343 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22347 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22349 CXXFLAGS="$ac_save_CXXFLAGS"
22350 ac_ext=c
22351 ac_cpp='$CPP $CPPFLAGS'
22352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22360 ac_ext=cpp
22361 ac_cpp='$CXXCPP $CPPFLAGS'
22362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22366 ac_save_CXXFLAGS="$CXXFLAGS"
22367 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22370 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22371 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22372 $as_echo_n "(cached) " >&6
22373 else
22375 if test x$gcc_no_link = xyes; then
22376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22377 /* end confdefs.h. */
22378 #include <pthread.h>
22380 main ()
22382 int n = pthread_num_processors_np();
22384 return 0;
22386 _ACEOF
22387 if ac_fn_cxx_try_compile "$LINENO"; then :
22388 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22389 else
22390 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22393 else
22394 if test x$gcc_no_link = xyes; then
22395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22398 /* end confdefs.h. */
22399 #include <pthread.h>
22401 main ()
22403 int n = pthread_num_processors_np();
22405 return 0;
22407 _ACEOF
22408 if ac_fn_cxx_try_link "$LINENO"; then :
22409 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22410 else
22411 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22413 rm -f core conftest.err conftest.$ac_objext \
22414 conftest$ac_exeext conftest.$ac_ext
22419 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22421 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22425 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22427 CXXFLAGS="$ac_save_CXXFLAGS"
22428 ac_ext=c
22429 ac_cpp='$CPP $CPPFLAGS'
22430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22438 ac_ext=cpp
22439 ac_cpp='$CXXCPP $CPPFLAGS'
22440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22444 ac_save_CXXFLAGS="$CXXFLAGS"
22445 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22448 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22449 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22450 $as_echo_n "(cached) " >&6
22451 else
22453 if test x$gcc_no_link = xyes; then
22454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22457 #include <stddef.h>
22458 #include <sys/sysctl.h>
22461 main ()
22464 int count;
22465 size_t size = sizeof(count);
22466 int mib[] = { CTL_HW, HW_NCPU };
22467 sysctl(mib, 2, &count, &size, NULL, 0);
22470 return 0;
22472 _ACEOF
22473 if ac_fn_cxx_try_compile "$LINENO"; then :
22474 glibcxx_cv_SYSCTL_HW_NCPU=yes
22475 else
22476 glibcxx_cv_SYSCTL_HW_NCPU=no
22478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 else
22480 if test x$gcc_no_link = xyes; then
22481 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22484 /* end confdefs.h. */
22486 #include <stddef.h>
22487 #include <sys/sysctl.h>
22490 main ()
22493 int count;
22494 size_t size = sizeof(count);
22495 int mib[] = { CTL_HW, HW_NCPU };
22496 sysctl(mib, 2, &count, &size, NULL, 0);
22499 return 0;
22501 _ACEOF
22502 if ac_fn_cxx_try_link "$LINENO"; then :
22503 glibcxx_cv_SYSCTL_HW_NCPU=yes
22504 else
22505 glibcxx_cv_SYSCTL_HW_NCPU=no
22507 rm -f core conftest.err conftest.$ac_objext \
22508 conftest$ac_exeext conftest.$ac_ext
22513 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22515 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22519 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22521 CXXFLAGS="$ac_save_CXXFLAGS"
22522 ac_ext=c
22523 ac_cpp='$CPP $CPPFLAGS'
22524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22531 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22532 # Note that this test has to be run with the C language.
22533 # Otherwise, sdt.h will try to include some headers from
22534 # libstdc++ itself.
22536 ac_ext=c
22537 ac_cpp='$CPP $CPPFLAGS'
22538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22542 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22543 $as_echo_n "(cached) " >&6
22544 else
22546 # Because we have to run the test in C, we use grep rather
22547 # than the compiler to check for the bug. The bug is that
22548 # were strings without trailing whitespace, causing g++
22549 # to look for operator"". The pattern searches for the fixed
22550 # output.
22551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h. */
22554 #include <sys/sdt.h>
22555 int f() { STAP_PROBE(hi, bob); }
22557 _ACEOF
22558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22559 $EGREP " \",\" " >/dev/null 2>&1; then :
22560 glibcxx_cv_sys_sdt_h=yes
22561 else
22562 glibcxx_cv_sys_sdt_h=no
22564 rm -f conftest*
22569 ac_ext=c
22570 ac_cpp='$CPP $CPPFLAGS'
22571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22575 if test $glibcxx_cv_sys_sdt_h = yes; then
22577 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22581 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22584 # Check for available headers.
22585 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22586 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22587 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22588 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22589 wchar.h wctype.h linux/types.h
22590 do :
22591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22592 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22594 cat >>confdefs.h <<_ACEOF
22595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22596 _ACEOF
22600 done
22603 for ac_header in linux/random.h
22604 do :
22605 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22606 # include <linux/types.h>
22607 #endif
22610 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22611 cat >>confdefs.h <<_ACEOF
22612 #define HAVE_LINUX_RANDOM_H 1
22613 _ACEOF
22617 done
22620 # Only do link tests if native. Else, hardcode.
22621 if $GLIBCXX_IS_NATIVE; then
22623 # We can do more elaborate tests that assume a working linker.
22624 CANADIAN=no
22628 # Check whether --with-gnu-ld was given.
22629 if test "${with_gnu_ld+set}" = set; then :
22630 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22631 else
22632 with_gnu_ld=no
22635 ac_prog=ld
22636 if test "$GCC" = yes; then
22637 # Check if gcc -print-prog-name=ld gives a path.
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22639 $as_echo_n "checking for ld used by $CC... " >&6; }
22640 case $host in
22641 *-*-mingw*)
22642 # gcc leaves a trailing carriage return which upsets mingw
22643 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22645 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22646 esac
22647 case $ac_prog in
22648 # Accept absolute paths.
22649 [\\/]* | ?:[\\/]*)
22650 re_direlt='/[^/][^/]*/\.\./'
22651 # Canonicalize the pathname of ld
22652 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22653 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22654 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22655 done
22656 test -z "$LD" && LD="$ac_prog"
22659 # If it fails, then pretend we aren't using GCC.
22660 ac_prog=ld
22663 # If it is relative, then search for the first ld in PATH.
22664 with_gnu_ld=unknown
22666 esac
22667 elif test "$with_gnu_ld" = yes; then
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22669 $as_echo_n "checking for GNU ld... " >&6; }
22670 else
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22672 $as_echo_n "checking for non-GNU ld... " >&6; }
22674 if ${lt_cv_path_LD+:} false; then :
22675 $as_echo_n "(cached) " >&6
22676 else
22677 if test -z "$LD"; then
22678 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22679 for ac_dir in $PATH; do
22680 IFS="$lt_save_ifs"
22681 test -z "$ac_dir" && ac_dir=.
22682 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22683 lt_cv_path_LD="$ac_dir/$ac_prog"
22684 # Check to see if the program is GNU ld. I'd rather use --version,
22685 # but apparently some variants of GNU ld only accept -v.
22686 # Break only if it was the GNU/non-GNU ld that we prefer.
22687 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22688 *GNU* | *'with BFD'*)
22689 test "$with_gnu_ld" != no && break
22692 test "$with_gnu_ld" != yes && break
22694 esac
22696 done
22697 IFS="$lt_save_ifs"
22698 else
22699 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22703 LD="$lt_cv_path_LD"
22704 if test -n "$LD"; then
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22706 $as_echo "$LD" >&6; }
22707 else
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22709 $as_echo "no" >&6; }
22711 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22713 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22714 if ${lt_cv_prog_gnu_ld+:} false; then :
22715 $as_echo_n "(cached) " >&6
22716 else
22717 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22718 case `$LD -v 2>&1 </dev/null` in
22719 *GNU* | *'with BFD'*)
22720 lt_cv_prog_gnu_ld=yes
22723 lt_cv_prog_gnu_ld=no
22725 esac
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22728 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22729 with_gnu_ld=$lt_cv_prog_gnu_ld
22737 # If we're not using GNU ld, then there's no point in even trying these
22738 # tests. Check for that first. We should have already tested for gld
22739 # by now (in libtool), but require it now just to be safe...
22740 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22741 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22745 # The name set by libtool depends on the version of libtool. Shame on us
22746 # for depending on an impl detail, but c'est la vie. Older versions used
22747 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22748 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22749 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22750 # set (hence we're using an older libtool), then set it.
22751 if test x${with_gnu_ld+set} != xset; then
22752 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22753 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22754 with_gnu_ld=no
22755 else
22756 with_gnu_ld=$ac_cv_prog_gnu_ld
22760 # Start by getting the version number. I think the libtool test already
22761 # does some of this, but throws away the result.
22762 glibcxx_ld_is_gold=no
22763 if test x"$with_gnu_ld" = x"yes"; then
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22765 $as_echo_n "checking for ld version... " >&6; }
22767 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22768 glibcxx_ld_is_gold=yes
22770 ldver=`$LD --version 2>/dev/null |
22771 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22773 glibcxx_gnu_ld_version=`echo $ldver | \
22774 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22776 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22779 # Set --gc-sections.
22780 glibcxx_have_gc_sections=no
22781 if test "$glibcxx_ld_is_gold" = "yes"; then
22782 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22783 glibcxx_have_gc_sections=yes
22785 else
22786 glibcxx_gcsections_min_ld=21602
22787 if test x"$with_gnu_ld" = x"yes" &&
22788 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22789 glibcxx_have_gc_sections=yes
22792 if test "$glibcxx_have_gc_sections" = "yes"; then
22793 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22794 # NB: This flag only works reliably after 2.16.1. Configure tests
22795 # for this are difficult, so hard wire a value that should work.
22797 ac_test_CFLAGS="${CFLAGS+set}"
22798 ac_save_CFLAGS="$CFLAGS"
22799 CFLAGS='-Wl,--gc-sections'
22801 # Check for -Wl,--gc-sections
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22803 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22804 if test x$gcc_no_link = xyes; then
22805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22808 /* end confdefs.h. */
22809 int one(void) { return 1; }
22810 int two(void) { return 2; }
22813 main ()
22815 two();
22817 return 0;
22819 _ACEOF
22820 if ac_fn_c_try_link "$LINENO"; then :
22821 ac_gcsections=yes
22822 else
22823 ac_gcsections=no
22825 rm -f core conftest.err conftest.$ac_objext \
22826 conftest$ac_exeext conftest.$ac_ext
22827 if test "$ac_gcsections" = "yes"; then
22828 rm -f conftest.c
22829 touch conftest.c
22830 if $CC -c conftest.c; then
22831 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22832 grep "Warning: gc-sections option ignored" > /dev/null; then
22833 ac_gcsections=no
22836 rm -f conftest.c conftest.o conftest
22838 if test "$ac_gcsections" = "yes"; then
22839 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22842 $as_echo "$ac_gcsections" >&6; }
22844 if test "$ac_test_CFLAGS" = set; then
22845 CFLAGS="$ac_save_CFLAGS"
22846 else
22847 # this is the suspicious part
22848 CFLAGS=''
22852 # Set -z,relro.
22853 # Note this is only for shared objects.
22854 ac_ld_relro=no
22855 if test x"$with_gnu_ld" = x"yes"; then
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22857 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22858 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22859 if test -n "$cxx_z_relo"; then
22860 OPT_LDFLAGS="-Wl,-z,relro"
22861 ac_ld_relro=yes
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22864 $as_echo "$ac_ld_relro" >&6; }
22867 # Set linker optimization flags.
22868 if test x"$with_gnu_ld" = x"yes"; then
22869 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22876 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22877 ac_save_CXXFLAGS="$CXXFLAGS"
22878 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22881 $as_echo_n "checking for sin in -lm... " >&6; }
22882 if ${ac_cv_lib_m_sin+:} false; then :
22883 $as_echo_n "(cached) " >&6
22884 else
22885 ac_check_lib_save_LIBS=$LIBS
22886 LIBS="-lm $LIBS"
22887 if test x$gcc_no_link = xyes; then
22888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22893 /* Override any GCC internal prototype to avoid an error.
22894 Use char because int might match the return type of a GCC
22895 builtin and then its argument prototype would still apply. */
22896 #ifdef __cplusplus
22897 extern "C"
22898 #endif
22899 char sin ();
22901 main ()
22903 return sin ();
22905 return 0;
22907 _ACEOF
22908 if ac_fn_c_try_link "$LINENO"; then :
22909 ac_cv_lib_m_sin=yes
22910 else
22911 ac_cv_lib_m_sin=no
22913 rm -f core conftest.err conftest.$ac_objext \
22914 conftest$ac_exeext conftest.$ac_ext
22915 LIBS=$ac_check_lib_save_LIBS
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22918 $as_echo "$ac_cv_lib_m_sin" >&6; }
22919 if test "x$ac_cv_lib_m_sin" = xyes; then :
22920 libm="-lm"
22923 ac_save_LIBS="$LIBS"
22924 LIBS="$LIBS $libm"
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22929 $as_echo_n "checking for isinf declaration... " >&6; }
22930 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22931 if ${glibcxx_cv_func_isinf_use+:} false; then :
22932 $as_echo_n "(cached) " >&6
22933 else
22936 ac_ext=cpp
22937 ac_cpp='$CXXCPP $CPPFLAGS'
22938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22943 /* end confdefs.h. */
22944 #include <math.h>
22945 #ifdef HAVE_IEEEFP_H
22946 #include <ieeefp.h>
22947 #endif
22950 main ()
22952 isinf(0);
22954 return 0;
22956 _ACEOF
22957 if ac_fn_cxx_try_compile "$LINENO"; then :
22958 glibcxx_cv_func_isinf_use=yes
22959 else
22960 glibcxx_cv_func_isinf_use=no
22962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22963 ac_ext=c
22964 ac_cpp='$CPP $CPPFLAGS'
22965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22974 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22976 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22977 for ac_func in isinf
22978 do :
22979 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22980 if test "x$ac_cv_func_isinf" = xyes; then :
22981 cat >>confdefs.h <<_ACEOF
22982 #define HAVE_ISINF 1
22983 _ACEOF
22986 done
22988 else
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22991 $as_echo_n "checking for _isinf declaration... " >&6; }
22992 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22993 if ${glibcxx_cv_func__isinf_use+:} false; then :
22994 $as_echo_n "(cached) " >&6
22995 else
22998 ac_ext=cpp
22999 ac_cpp='$CXXCPP $CPPFLAGS'
23000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23005 /* end confdefs.h. */
23006 #include <math.h>
23007 #ifdef HAVE_IEEEFP_H
23008 #include <ieeefp.h>
23009 #endif
23012 main ()
23014 _isinf(0);
23016 return 0;
23018 _ACEOF
23019 if ac_fn_cxx_try_compile "$LINENO"; then :
23020 glibcxx_cv_func__isinf_use=yes
23021 else
23022 glibcxx_cv_func__isinf_use=no
23024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23025 ac_ext=c
23026 ac_cpp='$CPP $CPPFLAGS'
23027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23036 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23038 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23039 for ac_func in _isinf
23040 do :
23041 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23042 if test "x$ac_cv_func__isinf" = xyes; then :
23043 cat >>confdefs.h <<_ACEOF
23044 #define HAVE__ISINF 1
23045 _ACEOF
23048 done
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23058 $as_echo_n "checking for isnan declaration... " >&6; }
23059 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23060 if ${glibcxx_cv_func_isnan_use+:} false; then :
23061 $as_echo_n "(cached) " >&6
23062 else
23065 ac_ext=cpp
23066 ac_cpp='$CXXCPP $CPPFLAGS'
23067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23073 #include <math.h>
23074 #ifdef HAVE_IEEEFP_H
23075 #include <ieeefp.h>
23076 #endif
23079 main ()
23081 isnan(0);
23083 return 0;
23085 _ACEOF
23086 if ac_fn_cxx_try_compile "$LINENO"; then :
23087 glibcxx_cv_func_isnan_use=yes
23088 else
23089 glibcxx_cv_func_isnan_use=no
23091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 ac_ext=c
23093 ac_cpp='$CPP $CPPFLAGS'
23094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23103 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23105 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23106 for ac_func in isnan
23107 do :
23108 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23109 if test "x$ac_cv_func_isnan" = xyes; then :
23110 cat >>confdefs.h <<_ACEOF
23111 #define HAVE_ISNAN 1
23112 _ACEOF
23115 done
23117 else
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23120 $as_echo_n "checking for _isnan declaration... " >&6; }
23121 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23122 if ${glibcxx_cv_func__isnan_use+:} false; then :
23123 $as_echo_n "(cached) " >&6
23124 else
23127 ac_ext=cpp
23128 ac_cpp='$CXXCPP $CPPFLAGS'
23129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23134 /* end confdefs.h. */
23135 #include <math.h>
23136 #ifdef HAVE_IEEEFP_H
23137 #include <ieeefp.h>
23138 #endif
23141 main ()
23143 _isnan(0);
23145 return 0;
23147 _ACEOF
23148 if ac_fn_cxx_try_compile "$LINENO"; then :
23149 glibcxx_cv_func__isnan_use=yes
23150 else
23151 glibcxx_cv_func__isnan_use=no
23153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23154 ac_ext=c
23155 ac_cpp='$CPP $CPPFLAGS'
23156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23165 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23167 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23168 for ac_func in _isnan
23169 do :
23170 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23171 if test "x$ac_cv_func__isnan" = xyes; then :
23172 cat >>confdefs.h <<_ACEOF
23173 #define HAVE__ISNAN 1
23174 _ACEOF
23177 done
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23187 $as_echo_n "checking for finite declaration... " >&6; }
23188 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23189 if ${glibcxx_cv_func_finite_use+:} false; then :
23190 $as_echo_n "(cached) " >&6
23191 else
23194 ac_ext=cpp
23195 ac_cpp='$CXXCPP $CPPFLAGS'
23196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23201 /* end confdefs.h. */
23202 #include <math.h>
23203 #ifdef HAVE_IEEEFP_H
23204 #include <ieeefp.h>
23205 #endif
23208 main ()
23210 finite(0);
23212 return 0;
23214 _ACEOF
23215 if ac_fn_cxx_try_compile "$LINENO"; then :
23216 glibcxx_cv_func_finite_use=yes
23217 else
23218 glibcxx_cv_func_finite_use=no
23220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221 ac_ext=c
23222 ac_cpp='$CPP $CPPFLAGS'
23223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23232 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23234 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23235 for ac_func in finite
23236 do :
23237 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23238 if test "x$ac_cv_func_finite" = xyes; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define HAVE_FINITE 1
23241 _ACEOF
23244 done
23246 else
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23249 $as_echo_n "checking for _finite declaration... " >&6; }
23250 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23251 if ${glibcxx_cv_func__finite_use+:} false; then :
23252 $as_echo_n "(cached) " >&6
23253 else
23256 ac_ext=cpp
23257 ac_cpp='$CXXCPP $CPPFLAGS'
23258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23263 /* end confdefs.h. */
23264 #include <math.h>
23265 #ifdef HAVE_IEEEFP_H
23266 #include <ieeefp.h>
23267 #endif
23270 main ()
23272 _finite(0);
23274 return 0;
23276 _ACEOF
23277 if ac_fn_cxx_try_compile "$LINENO"; then :
23278 glibcxx_cv_func__finite_use=yes
23279 else
23280 glibcxx_cv_func__finite_use=no
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23283 ac_ext=c
23284 ac_cpp='$CPP $CPPFLAGS'
23285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23294 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23296 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23297 for ac_func in _finite
23298 do :
23299 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23300 if test "x$ac_cv_func__finite" = xyes; then :
23301 cat >>confdefs.h <<_ACEOF
23302 #define HAVE__FINITE 1
23303 _ACEOF
23306 done
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23316 $as_echo_n "checking for sincos declaration... " >&6; }
23317 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23318 if ${glibcxx_cv_func_sincos_use+:} false; then :
23319 $as_echo_n "(cached) " >&6
23320 else
23323 ac_ext=cpp
23324 ac_cpp='$CXXCPP $CPPFLAGS'
23325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23330 /* end confdefs.h. */
23331 #include <math.h>
23333 main ()
23335 sincos(0, 0, 0);
23337 return 0;
23339 _ACEOF
23340 if ac_fn_cxx_try_compile "$LINENO"; then :
23341 glibcxx_cv_func_sincos_use=yes
23342 else
23343 glibcxx_cv_func_sincos_use=no
23345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23346 ac_ext=c
23347 ac_cpp='$CPP $CPPFLAGS'
23348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23357 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23359 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23360 for ac_func in sincos
23361 do :
23362 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23363 if test "x$ac_cv_func_sincos" = xyes; then :
23364 cat >>confdefs.h <<_ACEOF
23365 #define HAVE_SINCOS 1
23366 _ACEOF
23369 done
23371 else
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23374 $as_echo_n "checking for _sincos declaration... " >&6; }
23375 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23376 if ${glibcxx_cv_func__sincos_use+:} false; then :
23377 $as_echo_n "(cached) " >&6
23378 else
23381 ac_ext=cpp
23382 ac_cpp='$CXXCPP $CPPFLAGS'
23383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23388 /* end confdefs.h. */
23389 #include <math.h>
23391 main ()
23393 _sincos(0, 0, 0);
23395 return 0;
23397 _ACEOF
23398 if ac_fn_cxx_try_compile "$LINENO"; then :
23399 glibcxx_cv_func__sincos_use=yes
23400 else
23401 glibcxx_cv_func__sincos_use=no
23403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23404 ac_ext=c
23405 ac_cpp='$CPP $CPPFLAGS'
23406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23415 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23417 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23418 for ac_func in _sincos
23419 do :
23420 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23421 if test "x$ac_cv_func__sincos" = xyes; then :
23422 cat >>confdefs.h <<_ACEOF
23423 #define HAVE__SINCOS 1
23424 _ACEOF
23427 done
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23437 $as_echo_n "checking for fpclass declaration... " >&6; }
23438 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23439 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23440 $as_echo_n "(cached) " >&6
23441 else
23444 ac_ext=cpp
23445 ac_cpp='$CXXCPP $CPPFLAGS'
23446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h. */
23452 #include <math.h>
23453 #ifdef HAVE_IEEEFP_H
23454 #include <ieeefp.h>
23455 #endif
23458 main ()
23460 fpclass(0);
23462 return 0;
23464 _ACEOF
23465 if ac_fn_cxx_try_compile "$LINENO"; then :
23466 glibcxx_cv_func_fpclass_use=yes
23467 else
23468 glibcxx_cv_func_fpclass_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
23481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23482 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23484 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23485 for ac_func in fpclass
23486 do :
23487 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23488 if test "x$ac_cv_func_fpclass" = xyes; then :
23489 cat >>confdefs.h <<_ACEOF
23490 #define HAVE_FPCLASS 1
23491 _ACEOF
23494 done
23496 else
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23499 $as_echo_n "checking for _fpclass declaration... " >&6; }
23500 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23501 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23502 $as_echo_n "(cached) " >&6
23503 else
23506 ac_ext=cpp
23507 ac_cpp='$CXXCPP $CPPFLAGS'
23508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23513 /* end confdefs.h. */
23514 #include <math.h>
23515 #ifdef HAVE_IEEEFP_H
23516 #include <ieeefp.h>
23517 #endif
23520 main ()
23522 _fpclass(0);
23524 return 0;
23526 _ACEOF
23527 if ac_fn_cxx_try_compile "$LINENO"; then :
23528 glibcxx_cv_func__fpclass_use=yes
23529 else
23530 glibcxx_cv_func__fpclass_use=no
23532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23533 ac_ext=c
23534 ac_cpp='$CPP $CPPFLAGS'
23535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23544 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23546 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23547 for ac_func in _fpclass
23548 do :
23549 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23550 if test "x$ac_cv_func__fpclass" = xyes; then :
23551 cat >>confdefs.h <<_ACEOF
23552 #define HAVE__FPCLASS 1
23553 _ACEOF
23556 done
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23566 $as_echo_n "checking for qfpclass declaration... " >&6; }
23567 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23568 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23569 $as_echo_n "(cached) " >&6
23570 else
23573 ac_ext=cpp
23574 ac_cpp='$CXXCPP $CPPFLAGS'
23575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23580 /* end confdefs.h. */
23581 #include <math.h>
23582 #ifdef HAVE_IEEEFP_H
23583 #include <ieeefp.h>
23584 #endif
23587 main ()
23589 qfpclass(0);
23591 return 0;
23593 _ACEOF
23594 if ac_fn_cxx_try_compile "$LINENO"; then :
23595 glibcxx_cv_func_qfpclass_use=yes
23596 else
23597 glibcxx_cv_func_qfpclass_use=no
23599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600 ac_ext=c
23601 ac_cpp='$CPP $CPPFLAGS'
23602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23611 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23613 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23614 for ac_func in qfpclass
23615 do :
23616 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23617 if test "x$ac_cv_func_qfpclass" = xyes; then :
23618 cat >>confdefs.h <<_ACEOF
23619 #define HAVE_QFPCLASS 1
23620 _ACEOF
23623 done
23625 else
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23628 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23629 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23630 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23631 $as_echo_n "(cached) " >&6
23632 else
23635 ac_ext=cpp
23636 ac_cpp='$CXXCPP $CPPFLAGS'
23637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23642 /* end confdefs.h. */
23643 #include <math.h>
23644 #ifdef HAVE_IEEEFP_H
23645 #include <ieeefp.h>
23646 #endif
23649 main ()
23651 _qfpclass(0);
23653 return 0;
23655 _ACEOF
23656 if ac_fn_cxx_try_compile "$LINENO"; then :
23657 glibcxx_cv_func__qfpclass_use=yes
23658 else
23659 glibcxx_cv_func__qfpclass_use=no
23661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23662 ac_ext=c
23663 ac_cpp='$CPP $CPPFLAGS'
23664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23673 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23675 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23676 for ac_func in _qfpclass
23677 do :
23678 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23679 if test "x$ac_cv_func__qfpclass" = xyes; then :
23680 cat >>confdefs.h <<_ACEOF
23681 #define HAVE__QFPCLASS 1
23682 _ACEOF
23685 done
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23695 $as_echo_n "checking for hypot declaration... " >&6; }
23696 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23697 if ${glibcxx_cv_func_hypot_use+:} false; then :
23698 $as_echo_n "(cached) " >&6
23699 else
23702 ac_ext=cpp
23703 ac_cpp='$CXXCPP $CPPFLAGS'
23704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23709 /* end confdefs.h. */
23710 #include <math.h>
23712 main ()
23714 hypot(0, 0);
23716 return 0;
23718 _ACEOF
23719 if ac_fn_cxx_try_compile "$LINENO"; then :
23720 glibcxx_cv_func_hypot_use=yes
23721 else
23722 glibcxx_cv_func_hypot_use=no
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725 ac_ext=c
23726 ac_cpp='$CPP $CPPFLAGS'
23727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23736 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23738 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23739 for ac_func in hypot
23740 do :
23741 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23742 if test "x$ac_cv_func_hypot" = xyes; then :
23743 cat >>confdefs.h <<_ACEOF
23744 #define HAVE_HYPOT 1
23745 _ACEOF
23748 done
23750 else
23752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23753 $as_echo_n "checking for _hypot declaration... " >&6; }
23754 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23755 if ${glibcxx_cv_func__hypot_use+:} false; then :
23756 $as_echo_n "(cached) " >&6
23757 else
23760 ac_ext=cpp
23761 ac_cpp='$CXXCPP $CPPFLAGS'
23762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23767 /* end confdefs.h. */
23768 #include <math.h>
23770 main ()
23772 _hypot(0, 0);
23774 return 0;
23776 _ACEOF
23777 if ac_fn_cxx_try_compile "$LINENO"; then :
23778 glibcxx_cv_func__hypot_use=yes
23779 else
23780 glibcxx_cv_func__hypot_use=no
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 ac_ext=c
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23794 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23796 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23797 for ac_func in _hypot
23798 do :
23799 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23800 if test "x$ac_cv_func__hypot" = xyes; then :
23801 cat >>confdefs.h <<_ACEOF
23802 #define HAVE__HYPOT 1
23803 _ACEOF
23806 done
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23816 $as_echo_n "checking for float trig functions... " >&6; }
23817 if ${glibcxx_cv_func_float_trig_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>
23832 main ()
23834 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23836 return 0;
23838 _ACEOF
23839 if ac_fn_cxx_try_compile "$LINENO"; then :
23840 glibcxx_cv_func_float_trig_use=yes
23841 else
23842 glibcxx_cv_func_float_trig_use=no
23844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23845 ac_ext=c
23846 ac_cpp='$CPP $CPPFLAGS'
23847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23854 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23855 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23856 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23857 do :
23858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23860 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23861 cat >>confdefs.h <<_ACEOF
23862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23863 _ACEOF
23866 done
23868 else
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23870 $as_echo_n "checking for _float trig functions... " >&6; }
23871 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23872 $as_echo_n "(cached) " >&6
23873 else
23876 ac_ext=cpp
23877 ac_cpp='$CXXCPP $CPPFLAGS'
23878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23884 #include <math.h>
23886 main ()
23888 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23890 return 0;
23892 _ACEOF
23893 if ac_fn_cxx_try_compile "$LINENO"; then :
23894 glibcxx_cv_func__float_trig_use=yes
23895 else
23896 glibcxx_cv_func__float_trig_use=no
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899 ac_ext=c
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23908 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23909 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23910 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23911 do :
23912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23914 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23915 cat >>confdefs.h <<_ACEOF
23916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23917 _ACEOF
23920 done
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23930 $as_echo_n "checking for float round functions... " >&6; }
23931 if ${glibcxx_cv_func_float_round_use+:} false; then :
23932 $as_echo_n "(cached) " >&6
23933 else
23936 ac_ext=cpp
23937 ac_cpp='$CXXCPP $CPPFLAGS'
23938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23943 /* end confdefs.h. */
23944 #include <math.h>
23946 main ()
23948 ceilf (0); floorf (0);
23950 return 0;
23952 _ACEOF
23953 if ac_fn_cxx_try_compile "$LINENO"; then :
23954 glibcxx_cv_func_float_round_use=yes
23955 else
23956 glibcxx_cv_func_float_round_use=no
23958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23959 ac_ext=c
23960 ac_cpp='$CPP $CPPFLAGS'
23961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23968 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23969 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23970 for ac_func in ceilf floorf
23971 do :
23972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23975 cat >>confdefs.h <<_ACEOF
23976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23977 _ACEOF
23980 done
23982 else
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23984 $as_echo_n "checking for _float round functions... " >&6; }
23985 if ${glibcxx_cv_func__float_round_use+:} false; then :
23986 $as_echo_n "(cached) " >&6
23987 else
23990 ac_ext=cpp
23991 ac_cpp='$CXXCPP $CPPFLAGS'
23992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23997 /* end confdefs.h. */
23998 #include <math.h>
24000 main ()
24002 _ceilf (0); _floorf (0);
24004 return 0;
24006 _ACEOF
24007 if ac_fn_cxx_try_compile "$LINENO"; then :
24008 glibcxx_cv_func__float_round_use=yes
24009 else
24010 glibcxx_cv_func__float_round_use=no
24012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24013 ac_ext=c
24014 ac_cpp='$CPP $CPPFLAGS'
24015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24022 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24023 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24024 for ac_func in _ceilf _floorf
24025 do :
24026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24029 cat >>confdefs.h <<_ACEOF
24030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24031 _ACEOF
24034 done
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24045 $as_echo_n "checking for expf declaration... " >&6; }
24046 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24047 if ${glibcxx_cv_func_expf_use+:} false; then :
24048 $as_echo_n "(cached) " >&6
24049 else
24052 ac_ext=cpp
24053 ac_cpp='$CXXCPP $CPPFLAGS'
24054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24059 /* end confdefs.h. */
24060 #include <math.h>
24061 #ifdef HAVE_IEEEFP_H
24062 #include <ieeefp.h>
24063 #endif
24066 main ()
24068 expf(0);
24070 return 0;
24072 _ACEOF
24073 if ac_fn_cxx_try_compile "$LINENO"; then :
24074 glibcxx_cv_func_expf_use=yes
24075 else
24076 glibcxx_cv_func_expf_use=no
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24079 ac_ext=c
24080 ac_cpp='$CPP $CPPFLAGS'
24081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24090 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24092 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24093 for ac_func in expf
24094 do :
24095 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24096 if test "x$ac_cv_func_expf" = xyes; then :
24097 cat >>confdefs.h <<_ACEOF
24098 #define HAVE_EXPF 1
24099 _ACEOF
24102 done
24104 else
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24107 $as_echo_n "checking for _expf declaration... " >&6; }
24108 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24109 if ${glibcxx_cv_func__expf_use+:} false; then :
24110 $as_echo_n "(cached) " >&6
24111 else
24114 ac_ext=cpp
24115 ac_cpp='$CXXCPP $CPPFLAGS'
24116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24121 /* end confdefs.h. */
24122 #include <math.h>
24123 #ifdef HAVE_IEEEFP_H
24124 #include <ieeefp.h>
24125 #endif
24128 main ()
24130 _expf(0);
24132 return 0;
24134 _ACEOF
24135 if ac_fn_cxx_try_compile "$LINENO"; then :
24136 glibcxx_cv_func__expf_use=yes
24137 else
24138 glibcxx_cv_func__expf_use=no
24140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24141 ac_ext=c
24142 ac_cpp='$CPP $CPPFLAGS'
24143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24152 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24154 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24155 for ac_func in _expf
24156 do :
24157 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24158 if test "x$ac_cv_func__expf" = xyes; then :
24159 cat >>confdefs.h <<_ACEOF
24160 #define HAVE__EXPF 1
24161 _ACEOF
24164 done
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24174 $as_echo_n "checking for isnanf declaration... " >&6; }
24175 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24176 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24177 $as_echo_n "(cached) " >&6
24178 else
24181 ac_ext=cpp
24182 ac_cpp='$CXXCPP $CPPFLAGS'
24183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24189 #include <math.h>
24190 #ifdef HAVE_IEEEFP_H
24191 #include <ieeefp.h>
24192 #endif
24195 main ()
24197 isnanf(0);
24199 return 0;
24201 _ACEOF
24202 if ac_fn_cxx_try_compile "$LINENO"; then :
24203 glibcxx_cv_func_isnanf_use=yes
24204 else
24205 glibcxx_cv_func_isnanf_use=no
24207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24208 ac_ext=c
24209 ac_cpp='$CPP $CPPFLAGS'
24210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24219 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24221 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24222 for ac_func in isnanf
24223 do :
24224 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24225 if test "x$ac_cv_func_isnanf" = xyes; then :
24226 cat >>confdefs.h <<_ACEOF
24227 #define HAVE_ISNANF 1
24228 _ACEOF
24231 done
24233 else
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24236 $as_echo_n "checking for _isnanf declaration... " >&6; }
24237 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24238 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24239 $as_echo_n "(cached) " >&6
24240 else
24243 ac_ext=cpp
24244 ac_cpp='$CXXCPP $CPPFLAGS'
24245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24250 /* end confdefs.h. */
24251 #include <math.h>
24252 #ifdef HAVE_IEEEFP_H
24253 #include <ieeefp.h>
24254 #endif
24257 main ()
24259 _isnanf(0);
24261 return 0;
24263 _ACEOF
24264 if ac_fn_cxx_try_compile "$LINENO"; then :
24265 glibcxx_cv_func__isnanf_use=yes
24266 else
24267 glibcxx_cv_func__isnanf_use=no
24269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24270 ac_ext=c
24271 ac_cpp='$CPP $CPPFLAGS'
24272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24281 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24283 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24284 for ac_func in _isnanf
24285 do :
24286 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24287 if test "x$ac_cv_func__isnanf" = xyes; then :
24288 cat >>confdefs.h <<_ACEOF
24289 #define HAVE__ISNANF 1
24290 _ACEOF
24293 done
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24303 $as_echo_n "checking for isinff declaration... " >&6; }
24304 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24305 if ${glibcxx_cv_func_isinff_use+:} false; then :
24306 $as_echo_n "(cached) " >&6
24307 else
24310 ac_ext=cpp
24311 ac_cpp='$CXXCPP $CPPFLAGS'
24312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24317 /* end confdefs.h. */
24318 #include <math.h>
24319 #ifdef HAVE_IEEEFP_H
24320 #include <ieeefp.h>
24321 #endif
24324 main ()
24326 isinff(0);
24328 return 0;
24330 _ACEOF
24331 if ac_fn_cxx_try_compile "$LINENO"; then :
24332 glibcxx_cv_func_isinff_use=yes
24333 else
24334 glibcxx_cv_func_isinff_use=no
24336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24337 ac_ext=c
24338 ac_cpp='$CPP $CPPFLAGS'
24339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24348 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24350 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24351 for ac_func in isinff
24352 do :
24353 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24354 if test "x$ac_cv_func_isinff" = xyes; then :
24355 cat >>confdefs.h <<_ACEOF
24356 #define HAVE_ISINFF 1
24357 _ACEOF
24360 done
24362 else
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24365 $as_echo_n "checking for _isinff declaration... " >&6; }
24366 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24367 if ${glibcxx_cv_func__isinff_use+:} false; then :
24368 $as_echo_n "(cached) " >&6
24369 else
24372 ac_ext=cpp
24373 ac_cpp='$CXXCPP $CPPFLAGS'
24374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h. */
24380 #include <math.h>
24381 #ifdef HAVE_IEEEFP_H
24382 #include <ieeefp.h>
24383 #endif
24386 main ()
24388 _isinff(0);
24390 return 0;
24392 _ACEOF
24393 if ac_fn_cxx_try_compile "$LINENO"; then :
24394 glibcxx_cv_func__isinff_use=yes
24395 else
24396 glibcxx_cv_func__isinff_use=no
24398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24399 ac_ext=c
24400 ac_cpp='$CPP $CPPFLAGS'
24401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24410 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24412 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24413 for ac_func in _isinff
24414 do :
24415 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24416 if test "x$ac_cv_func__isinff" = xyes; then :
24417 cat >>confdefs.h <<_ACEOF
24418 #define HAVE__ISINFF 1
24419 _ACEOF
24422 done
24431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24432 $as_echo_n "checking for atan2f declaration... " >&6; }
24433 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24434 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24435 $as_echo_n "(cached) " >&6
24436 else
24439 ac_ext=cpp
24440 ac_cpp='$CXXCPP $CPPFLAGS'
24441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24446 /* end confdefs.h. */
24447 #include <math.h>
24449 main ()
24451 atan2f(0, 0);
24453 return 0;
24455 _ACEOF
24456 if ac_fn_cxx_try_compile "$LINENO"; then :
24457 glibcxx_cv_func_atan2f_use=yes
24458 else
24459 glibcxx_cv_func_atan2f_use=no
24461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24462 ac_ext=c
24463 ac_cpp='$CPP $CPPFLAGS'
24464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24473 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24475 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24476 for ac_func in atan2f
24477 do :
24478 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24479 if test "x$ac_cv_func_atan2f" = xyes; then :
24480 cat >>confdefs.h <<_ACEOF
24481 #define HAVE_ATAN2F 1
24482 _ACEOF
24485 done
24487 else
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24490 $as_echo_n "checking for _atan2f declaration... " >&6; }
24491 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24492 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24493 $as_echo_n "(cached) " >&6
24494 else
24497 ac_ext=cpp
24498 ac_cpp='$CXXCPP $CPPFLAGS'
24499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24504 /* end confdefs.h. */
24505 #include <math.h>
24507 main ()
24509 _atan2f(0, 0);
24511 return 0;
24513 _ACEOF
24514 if ac_fn_cxx_try_compile "$LINENO"; then :
24515 glibcxx_cv_func__atan2f_use=yes
24516 else
24517 glibcxx_cv_func__atan2f_use=no
24519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24520 ac_ext=c
24521 ac_cpp='$CPP $CPPFLAGS'
24522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24531 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24533 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24534 for ac_func in _atan2f
24535 do :
24536 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24537 if test "x$ac_cv_func__atan2f" = xyes; then :
24538 cat >>confdefs.h <<_ACEOF
24539 #define HAVE__ATAN2F 1
24540 _ACEOF
24543 done
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24553 $as_echo_n "checking for fabsf declaration... " >&6; }
24554 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24555 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24556 $as_echo_n "(cached) " >&6
24557 else
24560 ac_ext=cpp
24561 ac_cpp='$CXXCPP $CPPFLAGS'
24562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24567 /* end confdefs.h. */
24568 #include <math.h>
24569 #ifdef HAVE_IEEEFP_H
24570 #include <ieeefp.h>
24571 #endif
24574 main ()
24576 fabsf(0);
24578 return 0;
24580 _ACEOF
24581 if ac_fn_cxx_try_compile "$LINENO"; then :
24582 glibcxx_cv_func_fabsf_use=yes
24583 else
24584 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
24598 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24600 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24601 for ac_func in fabsf
24602 do :
24603 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24604 if test "x$ac_cv_func_fabsf" = xyes; then :
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE_FABSF 1
24607 _ACEOF
24610 done
24612 else
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24615 $as_echo_n "checking for _fabsf declaration... " >&6; }
24616 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24617 if ${glibcxx_cv_func__fabsf_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>
24631 #ifdef HAVE_IEEEFP_H
24632 #include <ieeefp.h>
24633 #endif
24636 main ()
24638 _fabsf(0);
24640 return 0;
24642 _ACEOF
24643 if ac_fn_cxx_try_compile "$LINENO"; then :
24644 glibcxx_cv_func__fabsf_use=yes
24645 else
24646 glibcxx_cv_func__fabsf_use=no
24648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24649 ac_ext=c
24650 ac_cpp='$CPP $CPPFLAGS'
24651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24660 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24662 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24663 for ac_func in _fabsf
24664 do :
24665 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24666 if test "x$ac_cv_func__fabsf" = xyes; then :
24667 cat >>confdefs.h <<_ACEOF
24668 #define HAVE__FABSF 1
24669 _ACEOF
24672 done
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24682 $as_echo_n "checking for fmodf declaration... " >&6; }
24683 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24684 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24685 $as_echo_n "(cached) " >&6
24686 else
24689 ac_ext=cpp
24690 ac_cpp='$CXXCPP $CPPFLAGS'
24691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24696 /* end confdefs.h. */
24697 #include <math.h>
24699 main ()
24701 fmodf(0, 0);
24703 return 0;
24705 _ACEOF
24706 if ac_fn_cxx_try_compile "$LINENO"; then :
24707 glibcxx_cv_func_fmodf_use=yes
24708 else
24709 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
24723 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24725 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24726 for ac_func in fmodf
24727 do :
24728 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24729 if test "x$ac_cv_func_fmodf" = xyes; then :
24730 cat >>confdefs.h <<_ACEOF
24731 #define HAVE_FMODF 1
24732 _ACEOF
24735 done
24737 else
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24740 $as_echo_n "checking for _fmodf declaration... " >&6; }
24741 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24742 if ${glibcxx_cv_func__fmodf_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>
24757 main ()
24759 _fmodf(0, 0);
24761 return 0;
24763 _ACEOF
24764 if ac_fn_cxx_try_compile "$LINENO"; then :
24765 glibcxx_cv_func__fmodf_use=yes
24766 else
24767 glibcxx_cv_func__fmodf_use=no
24769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24770 ac_ext=c
24771 ac_cpp='$CPP $CPPFLAGS'
24772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24781 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24783 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24784 for ac_func in _fmodf
24785 do :
24786 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24787 if test "x$ac_cv_func__fmodf" = xyes; then :
24788 cat >>confdefs.h <<_ACEOF
24789 #define HAVE__FMODF 1
24790 _ACEOF
24793 done
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24803 $as_echo_n "checking for frexpf declaration... " >&6; }
24804 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24805 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24806 $as_echo_n "(cached) " >&6
24807 else
24810 ac_ext=cpp
24811 ac_cpp='$CXXCPP $CPPFLAGS'
24812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24817 /* end confdefs.h. */
24818 #include <math.h>
24820 main ()
24822 frexpf(0, 0);
24824 return 0;
24826 _ACEOF
24827 if ac_fn_cxx_try_compile "$LINENO"; then :
24828 glibcxx_cv_func_frexpf_use=yes
24829 else
24830 glibcxx_cv_func_frexpf_use=no
24832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24833 ac_ext=c
24834 ac_cpp='$CPP $CPPFLAGS'
24835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24844 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24846 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24847 for ac_func in frexpf
24848 do :
24849 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24850 if test "x$ac_cv_func_frexpf" = xyes; then :
24851 cat >>confdefs.h <<_ACEOF
24852 #define HAVE_FREXPF 1
24853 _ACEOF
24856 done
24858 else
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24861 $as_echo_n "checking for _frexpf declaration... " >&6; }
24862 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24863 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24864 $as_echo_n "(cached) " >&6
24865 else
24868 ac_ext=cpp
24869 ac_cpp='$CXXCPP $CPPFLAGS'
24870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24875 /* end confdefs.h. */
24876 #include <math.h>
24878 main ()
24880 _frexpf(0, 0);
24882 return 0;
24884 _ACEOF
24885 if ac_fn_cxx_try_compile "$LINENO"; then :
24886 glibcxx_cv_func__frexpf_use=yes
24887 else
24888 glibcxx_cv_func__frexpf_use=no
24890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24891 ac_ext=c
24892 ac_cpp='$CPP $CPPFLAGS'
24893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24902 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24904 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24905 for ac_func in _frexpf
24906 do :
24907 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24908 if test "x$ac_cv_func__frexpf" = xyes; then :
24909 cat >>confdefs.h <<_ACEOF
24910 #define HAVE__FREXPF 1
24911 _ACEOF
24914 done
24923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24924 $as_echo_n "checking for hypotf declaration... " >&6; }
24925 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24926 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24927 $as_echo_n "(cached) " >&6
24928 else
24931 ac_ext=cpp
24932 ac_cpp='$CXXCPP $CPPFLAGS'
24933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h. */
24939 #include <math.h>
24941 main ()
24943 hypotf(0, 0);
24945 return 0;
24947 _ACEOF
24948 if ac_fn_cxx_try_compile "$LINENO"; then :
24949 glibcxx_cv_func_hypotf_use=yes
24950 else
24951 glibcxx_cv_func_hypotf_use=no
24953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24954 ac_ext=c
24955 ac_cpp='$CPP $CPPFLAGS'
24956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24965 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24967 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24968 for ac_func in hypotf
24969 do :
24970 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24971 if test "x$ac_cv_func_hypotf" = xyes; then :
24972 cat >>confdefs.h <<_ACEOF
24973 #define HAVE_HYPOTF 1
24974 _ACEOF
24977 done
24979 else
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24982 $as_echo_n "checking for _hypotf declaration... " >&6; }
24983 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24984 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24985 $as_echo_n "(cached) " >&6
24986 else
24989 ac_ext=cpp
24990 ac_cpp='$CXXCPP $CPPFLAGS'
24991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24996 /* end confdefs.h. */
24997 #include <math.h>
24999 main ()
25001 _hypotf(0, 0);
25003 return 0;
25005 _ACEOF
25006 if ac_fn_cxx_try_compile "$LINENO"; then :
25007 glibcxx_cv_func__hypotf_use=yes
25008 else
25009 glibcxx_cv_func__hypotf_use=no
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25012 ac_ext=c
25013 ac_cpp='$CPP $CPPFLAGS'
25014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25023 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25025 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25026 for ac_func in _hypotf
25027 do :
25028 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25029 if test "x$ac_cv_func__hypotf" = xyes; then :
25030 cat >>confdefs.h <<_ACEOF
25031 #define HAVE__HYPOTF 1
25032 _ACEOF
25035 done
25044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25045 $as_echo_n "checking for ldexpf declaration... " >&6; }
25046 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25047 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25048 $as_echo_n "(cached) " >&6
25049 else
25052 ac_ext=cpp
25053 ac_cpp='$CXXCPP $CPPFLAGS'
25054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25059 /* end confdefs.h. */
25060 #include <math.h>
25062 main ()
25064 ldexpf(0, 0);
25066 return 0;
25068 _ACEOF
25069 if ac_fn_cxx_try_compile "$LINENO"; then :
25070 glibcxx_cv_func_ldexpf_use=yes
25071 else
25072 glibcxx_cv_func_ldexpf_use=no
25074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25075 ac_ext=c
25076 ac_cpp='$CPP $CPPFLAGS'
25077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25086 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25088 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25089 for ac_func in ldexpf
25090 do :
25091 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25092 if test "x$ac_cv_func_ldexpf" = xyes; then :
25093 cat >>confdefs.h <<_ACEOF
25094 #define HAVE_LDEXPF 1
25095 _ACEOF
25098 done
25100 else
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25103 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25104 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25105 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25106 $as_echo_n "(cached) " >&6
25107 else
25110 ac_ext=cpp
25111 ac_cpp='$CXXCPP $CPPFLAGS'
25112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25117 /* end confdefs.h. */
25118 #include <math.h>
25120 main ()
25122 _ldexpf(0, 0);
25124 return 0;
25126 _ACEOF
25127 if ac_fn_cxx_try_compile "$LINENO"; then :
25128 glibcxx_cv_func__ldexpf_use=yes
25129 else
25130 glibcxx_cv_func__ldexpf_use=no
25132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25133 ac_ext=c
25134 ac_cpp='$CPP $CPPFLAGS'
25135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25144 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25146 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25147 for ac_func in _ldexpf
25148 do :
25149 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25150 if test "x$ac_cv_func__ldexpf" = xyes; then :
25151 cat >>confdefs.h <<_ACEOF
25152 #define HAVE__LDEXPF 1
25153 _ACEOF
25156 done
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25166 $as_echo_n "checking for logf declaration... " >&6; }
25167 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25168 if ${glibcxx_cv_func_logf_use+:} false; then :
25169 $as_echo_n "(cached) " >&6
25170 else
25173 ac_ext=cpp
25174 ac_cpp='$CXXCPP $CPPFLAGS'
25175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25180 /* end confdefs.h. */
25181 #include <math.h>
25182 #ifdef HAVE_IEEEFP_H
25183 #include <ieeefp.h>
25184 #endif
25187 main ()
25189 logf(0);
25191 return 0;
25193 _ACEOF
25194 if ac_fn_cxx_try_compile "$LINENO"; then :
25195 glibcxx_cv_func_logf_use=yes
25196 else
25197 glibcxx_cv_func_logf_use=no
25199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25200 ac_ext=c
25201 ac_cpp='$CPP $CPPFLAGS'
25202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25211 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25213 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25214 for ac_func in logf
25215 do :
25216 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25217 if test "x$ac_cv_func_logf" = xyes; then :
25218 cat >>confdefs.h <<_ACEOF
25219 #define HAVE_LOGF 1
25220 _ACEOF
25223 done
25225 else
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25228 $as_echo_n "checking for _logf declaration... " >&6; }
25229 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25230 if ${glibcxx_cv_func__logf_use+:} false; then :
25231 $as_echo_n "(cached) " >&6
25232 else
25235 ac_ext=cpp
25236 ac_cpp='$CXXCPP $CPPFLAGS'
25237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25242 /* end confdefs.h. */
25243 #include <math.h>
25244 #ifdef HAVE_IEEEFP_H
25245 #include <ieeefp.h>
25246 #endif
25249 main ()
25251 _logf(0);
25253 return 0;
25255 _ACEOF
25256 if ac_fn_cxx_try_compile "$LINENO"; then :
25257 glibcxx_cv_func__logf_use=yes
25258 else
25259 glibcxx_cv_func__logf_use=no
25261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25262 ac_ext=c
25263 ac_cpp='$CPP $CPPFLAGS'
25264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25273 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25275 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25276 for ac_func in _logf
25277 do :
25278 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25279 if test "x$ac_cv_func__logf" = xyes; then :
25280 cat >>confdefs.h <<_ACEOF
25281 #define HAVE__LOGF 1
25282 _ACEOF
25285 done
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25295 $as_echo_n "checking for log10f declaration... " >&6; }
25296 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25297 if ${glibcxx_cv_func_log10f_use+:} false; then :
25298 $as_echo_n "(cached) " >&6
25299 else
25302 ac_ext=cpp
25303 ac_cpp='$CXXCPP $CPPFLAGS'
25304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25309 /* end confdefs.h. */
25310 #include <math.h>
25311 #ifdef HAVE_IEEEFP_H
25312 #include <ieeefp.h>
25313 #endif
25316 main ()
25318 log10f(0);
25320 return 0;
25322 _ACEOF
25323 if ac_fn_cxx_try_compile "$LINENO"; then :
25324 glibcxx_cv_func_log10f_use=yes
25325 else
25326 glibcxx_cv_func_log10f_use=no
25328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25329 ac_ext=c
25330 ac_cpp='$CPP $CPPFLAGS'
25331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25340 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25342 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25343 for ac_func in log10f
25344 do :
25345 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25346 if test "x$ac_cv_func_log10f" = xyes; then :
25347 cat >>confdefs.h <<_ACEOF
25348 #define HAVE_LOG10F 1
25349 _ACEOF
25352 done
25354 else
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25357 $as_echo_n "checking for _log10f declaration... " >&6; }
25358 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25359 if ${glibcxx_cv_func__log10f_use+:} false; then :
25360 $as_echo_n "(cached) " >&6
25361 else
25364 ac_ext=cpp
25365 ac_cpp='$CXXCPP $CPPFLAGS'
25366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25371 /* end confdefs.h. */
25372 #include <math.h>
25373 #ifdef HAVE_IEEEFP_H
25374 #include <ieeefp.h>
25375 #endif
25378 main ()
25380 _log10f(0);
25382 return 0;
25384 _ACEOF
25385 if ac_fn_cxx_try_compile "$LINENO"; then :
25386 glibcxx_cv_func__log10f_use=yes
25387 else
25388 glibcxx_cv_func__log10f_use=no
25390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25391 ac_ext=c
25392 ac_cpp='$CPP $CPPFLAGS'
25393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25402 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25404 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25405 for ac_func in _log10f
25406 do :
25407 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25408 if test "x$ac_cv_func__log10f" = xyes; then :
25409 cat >>confdefs.h <<_ACEOF
25410 #define HAVE__LOG10F 1
25411 _ACEOF
25414 done
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25424 $as_echo_n "checking for modff declaration... " >&6; }
25425 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25426 if ${glibcxx_cv_func_modff_use+:} false; then :
25427 $as_echo_n "(cached) " >&6
25428 else
25431 ac_ext=cpp
25432 ac_cpp='$CXXCPP $CPPFLAGS'
25433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25438 /* end confdefs.h. */
25439 #include <math.h>
25441 main ()
25443 modff(0, 0);
25445 return 0;
25447 _ACEOF
25448 if ac_fn_cxx_try_compile "$LINENO"; then :
25449 glibcxx_cv_func_modff_use=yes
25450 else
25451 glibcxx_cv_func_modff_use=no
25453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25454 ac_ext=c
25455 ac_cpp='$CPP $CPPFLAGS'
25456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25465 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25467 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25468 for ac_func in modff
25469 do :
25470 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25471 if test "x$ac_cv_func_modff" = xyes; then :
25472 cat >>confdefs.h <<_ACEOF
25473 #define HAVE_MODFF 1
25474 _ACEOF
25477 done
25479 else
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25482 $as_echo_n "checking for _modff declaration... " >&6; }
25483 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25484 if ${glibcxx_cv_func__modff_use+:} false; then :
25485 $as_echo_n "(cached) " >&6
25486 else
25489 ac_ext=cpp
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25496 /* end confdefs.h. */
25497 #include <math.h>
25499 main ()
25501 _modff(0, 0);
25503 return 0;
25505 _ACEOF
25506 if ac_fn_cxx_try_compile "$LINENO"; then :
25507 glibcxx_cv_func__modff_use=yes
25508 else
25509 glibcxx_cv_func__modff_use=no
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25512 ac_ext=c
25513 ac_cpp='$CPP $CPPFLAGS'
25514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25523 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25525 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25526 for ac_func in _modff
25527 do :
25528 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25529 if test "x$ac_cv_func__modff" = xyes; then :
25530 cat >>confdefs.h <<_ACEOF
25531 #define HAVE__MODFF 1
25532 _ACEOF
25535 done
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25545 $as_echo_n "checking for modf declaration... " >&6; }
25546 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25547 if ${glibcxx_cv_func_modf_use+:} false; then :
25548 $as_echo_n "(cached) " >&6
25549 else
25552 ac_ext=cpp
25553 ac_cpp='$CXXCPP $CPPFLAGS'
25554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25559 /* end confdefs.h. */
25560 #include <math.h>
25562 main ()
25564 modf(0, 0);
25566 return 0;
25568 _ACEOF
25569 if ac_fn_cxx_try_compile "$LINENO"; then :
25570 glibcxx_cv_func_modf_use=yes
25571 else
25572 glibcxx_cv_func_modf_use=no
25574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25575 ac_ext=c
25576 ac_cpp='$CPP $CPPFLAGS'
25577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25586 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25588 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25589 for ac_func in modf
25590 do :
25591 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25592 if test "x$ac_cv_func_modf" = xyes; then :
25593 cat >>confdefs.h <<_ACEOF
25594 #define HAVE_MODF 1
25595 _ACEOF
25598 done
25600 else
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25603 $as_echo_n "checking for _modf declaration... " >&6; }
25604 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25605 if ${glibcxx_cv_func__modf_use+:} false; then :
25606 $as_echo_n "(cached) " >&6
25607 else
25610 ac_ext=cpp
25611 ac_cpp='$CXXCPP $CPPFLAGS'
25612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25617 /* end confdefs.h. */
25618 #include <math.h>
25620 main ()
25622 _modf(0, 0);
25624 return 0;
25626 _ACEOF
25627 if ac_fn_cxx_try_compile "$LINENO"; then :
25628 glibcxx_cv_func__modf_use=yes
25629 else
25630 glibcxx_cv_func__modf_use=no
25632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25633 ac_ext=c
25634 ac_cpp='$CPP $CPPFLAGS'
25635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25644 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25646 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25647 for ac_func in _modf
25648 do :
25649 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25650 if test "x$ac_cv_func__modf" = xyes; then :
25651 cat >>confdefs.h <<_ACEOF
25652 #define HAVE__MODF 1
25653 _ACEOF
25656 done
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25666 $as_echo_n "checking for powf declaration... " >&6; }
25667 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25668 if ${glibcxx_cv_func_powf_use+:} false; then :
25669 $as_echo_n "(cached) " >&6
25670 else
25673 ac_ext=cpp
25674 ac_cpp='$CXXCPP $CPPFLAGS'
25675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25680 /* end confdefs.h. */
25681 #include <math.h>
25683 main ()
25685 powf(0, 0);
25687 return 0;
25689 _ACEOF
25690 if ac_fn_cxx_try_compile "$LINENO"; then :
25691 glibcxx_cv_func_powf_use=yes
25692 else
25693 glibcxx_cv_func_powf_use=no
25695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25696 ac_ext=c
25697 ac_cpp='$CPP $CPPFLAGS'
25698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25707 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25709 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25710 for ac_func in powf
25711 do :
25712 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25713 if test "x$ac_cv_func_powf" = xyes; then :
25714 cat >>confdefs.h <<_ACEOF
25715 #define HAVE_POWF 1
25716 _ACEOF
25719 done
25721 else
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25724 $as_echo_n "checking for _powf declaration... " >&6; }
25725 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25726 if ${glibcxx_cv_func__powf_use+:} false; then :
25727 $as_echo_n "(cached) " >&6
25728 else
25731 ac_ext=cpp
25732 ac_cpp='$CXXCPP $CPPFLAGS'
25733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25738 /* end confdefs.h. */
25739 #include <math.h>
25741 main ()
25743 _powf(0, 0);
25745 return 0;
25747 _ACEOF
25748 if ac_fn_cxx_try_compile "$LINENO"; then :
25749 glibcxx_cv_func__powf_use=yes
25750 else
25751 glibcxx_cv_func__powf_use=no
25753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25754 ac_ext=c
25755 ac_cpp='$CPP $CPPFLAGS'
25756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25765 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25767 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25768 for ac_func in _powf
25769 do :
25770 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25771 if test "x$ac_cv_func__powf" = xyes; then :
25772 cat >>confdefs.h <<_ACEOF
25773 #define HAVE__POWF 1
25774 _ACEOF
25777 done
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25787 $as_echo_n "checking for sqrtf declaration... " >&6; }
25788 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25789 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25790 $as_echo_n "(cached) " >&6
25791 else
25794 ac_ext=cpp
25795 ac_cpp='$CXXCPP $CPPFLAGS'
25796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25801 /* end confdefs.h. */
25802 #include <math.h>
25803 #ifdef HAVE_IEEEFP_H
25804 #include <ieeefp.h>
25805 #endif
25808 main ()
25810 sqrtf(0);
25812 return 0;
25814 _ACEOF
25815 if ac_fn_cxx_try_compile "$LINENO"; then :
25816 glibcxx_cv_func_sqrtf_use=yes
25817 else
25818 glibcxx_cv_func_sqrtf_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
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25832 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25834 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25835 for ac_func in sqrtf
25836 do :
25837 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25838 if test "x$ac_cv_func_sqrtf" = xyes; then :
25839 cat >>confdefs.h <<_ACEOF
25840 #define HAVE_SQRTF 1
25841 _ACEOF
25844 done
25846 else
25848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25849 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25850 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25851 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25852 $as_echo_n "(cached) " >&6
25853 else
25856 ac_ext=cpp
25857 ac_cpp='$CXXCPP $CPPFLAGS'
25858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25863 /* end confdefs.h. */
25864 #include <math.h>
25865 #ifdef HAVE_IEEEFP_H
25866 #include <ieeefp.h>
25867 #endif
25870 main ()
25872 _sqrtf(0);
25874 return 0;
25876 _ACEOF
25877 if ac_fn_cxx_try_compile "$LINENO"; then :
25878 glibcxx_cv_func__sqrtf_use=yes
25879 else
25880 glibcxx_cv_func__sqrtf_use=no
25882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25883 ac_ext=c
25884 ac_cpp='$CPP $CPPFLAGS'
25885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25894 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25896 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25897 for ac_func in _sqrtf
25898 do :
25899 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25900 if test "x$ac_cv_func__sqrtf" = xyes; then :
25901 cat >>confdefs.h <<_ACEOF
25902 #define HAVE__SQRTF 1
25903 _ACEOF
25906 done
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25916 $as_echo_n "checking for sincosf declaration... " >&6; }
25917 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25918 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25919 $as_echo_n "(cached) " >&6
25920 else
25923 ac_ext=cpp
25924 ac_cpp='$CXXCPP $CPPFLAGS'
25925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25930 /* end confdefs.h. */
25931 #include <math.h>
25933 main ()
25935 sincosf(0, 0, 0);
25937 return 0;
25939 _ACEOF
25940 if ac_fn_cxx_try_compile "$LINENO"; then :
25941 glibcxx_cv_func_sincosf_use=yes
25942 else
25943 glibcxx_cv_func_sincosf_use=no
25945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25946 ac_ext=c
25947 ac_cpp='$CPP $CPPFLAGS'
25948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25957 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25959 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25960 for ac_func in sincosf
25961 do :
25962 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25963 if test "x$ac_cv_func_sincosf" = xyes; then :
25964 cat >>confdefs.h <<_ACEOF
25965 #define HAVE_SINCOSF 1
25966 _ACEOF
25969 done
25971 else
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25974 $as_echo_n "checking for _sincosf declaration... " >&6; }
25975 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25976 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25977 $as_echo_n "(cached) " >&6
25978 else
25981 ac_ext=cpp
25982 ac_cpp='$CXXCPP $CPPFLAGS'
25983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25988 /* end confdefs.h. */
25989 #include <math.h>
25991 main ()
25993 _sincosf(0, 0, 0);
25995 return 0;
25997 _ACEOF
25998 if ac_fn_cxx_try_compile "$LINENO"; then :
25999 glibcxx_cv_func__sincosf_use=yes
26000 else
26001 glibcxx_cv_func__sincosf_use=no
26003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26004 ac_ext=c
26005 ac_cpp='$CPP $CPPFLAGS'
26006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26015 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26017 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26018 for ac_func in _sincosf
26019 do :
26020 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26021 if test "x$ac_cv_func__sincosf" = xyes; then :
26022 cat >>confdefs.h <<_ACEOF
26023 #define HAVE__SINCOSF 1
26024 _ACEOF
26027 done
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26037 $as_echo_n "checking for finitef declaration... " >&6; }
26038 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26039 if ${glibcxx_cv_func_finitef_use+:} false; then :
26040 $as_echo_n "(cached) " >&6
26041 else
26044 ac_ext=cpp
26045 ac_cpp='$CXXCPP $CPPFLAGS'
26046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26051 /* end confdefs.h. */
26052 #include <math.h>
26053 #ifdef HAVE_IEEEFP_H
26054 #include <ieeefp.h>
26055 #endif
26058 main ()
26060 finitef(0);
26062 return 0;
26064 _ACEOF
26065 if ac_fn_cxx_try_compile "$LINENO"; then :
26066 glibcxx_cv_func_finitef_use=yes
26067 else
26068 glibcxx_cv_func_finitef_use=no
26070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 ac_ext=c
26072 ac_cpp='$CPP $CPPFLAGS'
26073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26082 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26084 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26085 for ac_func in finitef
26086 do :
26087 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26088 if test "x$ac_cv_func_finitef" = xyes; then :
26089 cat >>confdefs.h <<_ACEOF
26090 #define HAVE_FINITEF 1
26091 _ACEOF
26094 done
26096 else
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26099 $as_echo_n "checking for _finitef declaration... " >&6; }
26100 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26101 if ${glibcxx_cv_func__finitef_use+:} false; then :
26102 $as_echo_n "(cached) " >&6
26103 else
26106 ac_ext=cpp
26107 ac_cpp='$CXXCPP $CPPFLAGS'
26108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26113 /* end confdefs.h. */
26114 #include <math.h>
26115 #ifdef HAVE_IEEEFP_H
26116 #include <ieeefp.h>
26117 #endif
26120 main ()
26122 _finitef(0);
26124 return 0;
26126 _ACEOF
26127 if ac_fn_cxx_try_compile "$LINENO"; then :
26128 glibcxx_cv_func__finitef_use=yes
26129 else
26130 glibcxx_cv_func__finitef_use=no
26132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26133 ac_ext=c
26134 ac_cpp='$CPP $CPPFLAGS'
26135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26144 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26146 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26147 for ac_func in _finitef
26148 do :
26149 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26150 if test "x$ac_cv_func__finitef" = xyes; then :
26151 cat >>confdefs.h <<_ACEOF
26152 #define HAVE__FINITEF 1
26153 _ACEOF
26156 done
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26166 $as_echo_n "checking for long double trig functions... " >&6; }
26167 if ${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26186 return 0;
26188 _ACEOF
26189 if ac_fn_cxx_try_compile "$LINENO"; then :
26190 glibcxx_cv_func_long_double_trig_use=yes
26191 else
26192 glibcxx_cv_func_long_double_trig_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
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26204 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26205 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26206 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26207 do :
26208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26211 cat >>confdefs.h <<_ACEOF
26212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26213 _ACEOF
26216 done
26218 else
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26220 $as_echo_n "checking for _long double trig functions... " >&6; }
26221 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26222 $as_echo_n "(cached) " >&6
26223 else
26226 ac_ext=cpp
26227 ac_cpp='$CXXCPP $CPPFLAGS'
26228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26234 #include <math.h>
26236 main ()
26238 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26240 return 0;
26242 _ACEOF
26243 if ac_fn_cxx_try_compile "$LINENO"; then :
26244 glibcxx_cv_func__long_double_trig_use=yes
26245 else
26246 glibcxx_cv_func__long_double_trig_use=no
26248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26249 ac_ext=c
26250 ac_cpp='$CPP $CPPFLAGS'
26251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26258 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26259 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26260 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26261 do :
26262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26265 cat >>confdefs.h <<_ACEOF
26266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26267 _ACEOF
26270 done
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26280 $as_echo_n "checking for long double round functions... " >&6; }
26281 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26282 $as_echo_n "(cached) " >&6
26283 else
26286 ac_ext=cpp
26287 ac_cpp='$CXXCPP $CPPFLAGS'
26288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26293 /* end confdefs.h. */
26294 #include <math.h>
26296 main ()
26298 ceill (0); floorl (0);
26300 return 0;
26302 _ACEOF
26303 if ac_fn_cxx_try_compile "$LINENO"; then :
26304 glibcxx_cv_func_long_double_round_use=yes
26305 else
26306 glibcxx_cv_func_long_double_round_use=no
26308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26309 ac_ext=c
26310 ac_cpp='$CPP $CPPFLAGS'
26311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26318 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26319 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26320 for ac_func in ceill floorl
26321 do :
26322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26325 cat >>confdefs.h <<_ACEOF
26326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26327 _ACEOF
26330 done
26332 else
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26334 $as_echo_n "checking for _long double round functions... " >&6; }
26335 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26336 $as_echo_n "(cached) " >&6
26337 else
26340 ac_ext=cpp
26341 ac_cpp='$CXXCPP $CPPFLAGS'
26342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26347 /* end confdefs.h. */
26348 #include <math.h>
26350 main ()
26352 _ceill (0); _floorl (0);
26354 return 0;
26356 _ACEOF
26357 if ac_fn_cxx_try_compile "$LINENO"; then :
26358 glibcxx_cv_func__long_double_round_use=yes
26359 else
26360 glibcxx_cv_func__long_double_round_use=no
26362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26363 ac_ext=c
26364 ac_cpp='$CPP $CPPFLAGS'
26365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26372 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26373 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26374 for ac_func in _ceill _floorl
26375 do :
26376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26379 cat >>confdefs.h <<_ACEOF
26380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26381 _ACEOF
26384 done
26394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26395 $as_echo_n "checking for isnanl declaration... " >&6; }
26396 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26397 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26398 $as_echo_n "(cached) " >&6
26399 else
26402 ac_ext=cpp
26403 ac_cpp='$CXXCPP $CPPFLAGS'
26404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h. */
26410 #include <math.h>
26411 #ifdef HAVE_IEEEFP_H
26412 #include <ieeefp.h>
26413 #endif
26416 main ()
26418 isnanl(0);
26420 return 0;
26422 _ACEOF
26423 if ac_fn_cxx_try_compile "$LINENO"; then :
26424 glibcxx_cv_func_isnanl_use=yes
26425 else
26426 glibcxx_cv_func_isnanl_use=no
26428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26429 ac_ext=c
26430 ac_cpp='$CPP $CPPFLAGS'
26431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26440 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26442 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26443 for ac_func in isnanl
26444 do :
26445 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26446 if test "x$ac_cv_func_isnanl" = xyes; then :
26447 cat >>confdefs.h <<_ACEOF
26448 #define HAVE_ISNANL 1
26449 _ACEOF
26452 done
26454 else
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26457 $as_echo_n "checking for _isnanl declaration... " >&6; }
26458 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26459 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26460 $as_echo_n "(cached) " >&6
26461 else
26464 ac_ext=cpp
26465 ac_cpp='$CXXCPP $CPPFLAGS'
26466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26471 /* end confdefs.h. */
26472 #include <math.h>
26473 #ifdef HAVE_IEEEFP_H
26474 #include <ieeefp.h>
26475 #endif
26478 main ()
26480 _isnanl(0);
26482 return 0;
26484 _ACEOF
26485 if ac_fn_cxx_try_compile "$LINENO"; then :
26486 glibcxx_cv_func__isnanl_use=yes
26487 else
26488 glibcxx_cv_func__isnanl_use=no
26490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26491 ac_ext=c
26492 ac_cpp='$CPP $CPPFLAGS'
26493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26502 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26504 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26505 for ac_func in _isnanl
26506 do :
26507 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26508 if test "x$ac_cv_func__isnanl" = xyes; then :
26509 cat >>confdefs.h <<_ACEOF
26510 #define HAVE__ISNANL 1
26511 _ACEOF
26514 done
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26524 $as_echo_n "checking for isinfl declaration... " >&6; }
26525 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26526 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26527 $as_echo_n "(cached) " >&6
26528 else
26531 ac_ext=cpp
26532 ac_cpp='$CXXCPP $CPPFLAGS'
26533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26538 /* end confdefs.h. */
26539 #include <math.h>
26540 #ifdef HAVE_IEEEFP_H
26541 #include <ieeefp.h>
26542 #endif
26545 main ()
26547 isinfl(0);
26549 return 0;
26551 _ACEOF
26552 if ac_fn_cxx_try_compile "$LINENO"; then :
26553 glibcxx_cv_func_isinfl_use=yes
26554 else
26555 glibcxx_cv_func_isinfl_use=no
26557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26558 ac_ext=c
26559 ac_cpp='$CPP $CPPFLAGS'
26560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26569 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26571 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26572 for ac_func in isinfl
26573 do :
26574 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26575 if test "x$ac_cv_func_isinfl" = xyes; then :
26576 cat >>confdefs.h <<_ACEOF
26577 #define HAVE_ISINFL 1
26578 _ACEOF
26581 done
26583 else
26585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26586 $as_echo_n "checking for _isinfl declaration... " >&6; }
26587 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26588 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26589 $as_echo_n "(cached) " >&6
26590 else
26593 ac_ext=cpp
26594 ac_cpp='$CXXCPP $CPPFLAGS'
26595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26600 /* end confdefs.h. */
26601 #include <math.h>
26602 #ifdef HAVE_IEEEFP_H
26603 #include <ieeefp.h>
26604 #endif
26607 main ()
26609 _isinfl(0);
26611 return 0;
26613 _ACEOF
26614 if ac_fn_cxx_try_compile "$LINENO"; then :
26615 glibcxx_cv_func__isinfl_use=yes
26616 else
26617 glibcxx_cv_func__isinfl_use=no
26619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26620 ac_ext=c
26621 ac_cpp='$CPP $CPPFLAGS'
26622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26631 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26633 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26634 for ac_func in _isinfl
26635 do :
26636 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26637 if test "x$ac_cv_func__isinfl" = xyes; then :
26638 cat >>confdefs.h <<_ACEOF
26639 #define HAVE__ISINFL 1
26640 _ACEOF
26643 done
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26653 $as_echo_n "checking for atan2l declaration... " >&6; }
26654 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26655 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26656 $as_echo_n "(cached) " >&6
26657 else
26660 ac_ext=cpp
26661 ac_cpp='$CXXCPP $CPPFLAGS'
26662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26667 /* end confdefs.h. */
26668 #include <math.h>
26670 main ()
26672 atan2l(0, 0);
26674 return 0;
26676 _ACEOF
26677 if ac_fn_cxx_try_compile "$LINENO"; then :
26678 glibcxx_cv_func_atan2l_use=yes
26679 else
26680 glibcxx_cv_func_atan2l_use=no
26682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26683 ac_ext=c
26684 ac_cpp='$CPP $CPPFLAGS'
26685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26694 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26696 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26697 for ac_func in atan2l
26698 do :
26699 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26700 if test "x$ac_cv_func_atan2l" = xyes; then :
26701 cat >>confdefs.h <<_ACEOF
26702 #define HAVE_ATAN2L 1
26703 _ACEOF
26706 done
26708 else
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26711 $as_echo_n "checking for _atan2l declaration... " >&6; }
26712 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26713 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26714 $as_echo_n "(cached) " >&6
26715 else
26718 ac_ext=cpp
26719 ac_cpp='$CXXCPP $CPPFLAGS'
26720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26725 /* end confdefs.h. */
26726 #include <math.h>
26728 main ()
26730 _atan2l(0, 0);
26732 return 0;
26734 _ACEOF
26735 if ac_fn_cxx_try_compile "$LINENO"; then :
26736 glibcxx_cv_func__atan2l_use=yes
26737 else
26738 glibcxx_cv_func__atan2l_use=no
26740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26741 ac_ext=c
26742 ac_cpp='$CPP $CPPFLAGS'
26743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26752 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26754 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26755 for ac_func in _atan2l
26756 do :
26757 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26758 if test "x$ac_cv_func__atan2l" = xyes; then :
26759 cat >>confdefs.h <<_ACEOF
26760 #define HAVE__ATAN2L 1
26761 _ACEOF
26764 done
26773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26774 $as_echo_n "checking for expl declaration... " >&6; }
26775 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26776 if ${glibcxx_cv_func_expl_use+:} false; then :
26777 $as_echo_n "(cached) " >&6
26778 else
26781 ac_ext=cpp
26782 ac_cpp='$CXXCPP $CPPFLAGS'
26783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26788 /* end confdefs.h. */
26789 #include <math.h>
26790 #ifdef HAVE_IEEEFP_H
26791 #include <ieeefp.h>
26792 #endif
26795 main ()
26797 expl(0);
26799 return 0;
26801 _ACEOF
26802 if ac_fn_cxx_try_compile "$LINENO"; then :
26803 glibcxx_cv_func_expl_use=yes
26804 else
26805 glibcxx_cv_func_expl_use=no
26807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808 ac_ext=c
26809 ac_cpp='$CPP $CPPFLAGS'
26810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26819 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26821 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26822 for ac_func in expl
26823 do :
26824 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26825 if test "x$ac_cv_func_expl" = xyes; then :
26826 cat >>confdefs.h <<_ACEOF
26827 #define HAVE_EXPL 1
26828 _ACEOF
26831 done
26833 else
26835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26836 $as_echo_n "checking for _expl declaration... " >&6; }
26837 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26838 if ${glibcxx_cv_func__expl_use+:} false; then :
26839 $as_echo_n "(cached) " >&6
26840 else
26843 ac_ext=cpp
26844 ac_cpp='$CXXCPP $CPPFLAGS'
26845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26850 /* end confdefs.h. */
26851 #include <math.h>
26852 #ifdef HAVE_IEEEFP_H
26853 #include <ieeefp.h>
26854 #endif
26857 main ()
26859 _expl(0);
26861 return 0;
26863 _ACEOF
26864 if ac_fn_cxx_try_compile "$LINENO"; then :
26865 glibcxx_cv_func__expl_use=yes
26866 else
26867 glibcxx_cv_func__expl_use=no
26869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26870 ac_ext=c
26871 ac_cpp='$CPP $CPPFLAGS'
26872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26881 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26883 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26884 for ac_func in _expl
26885 do :
26886 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26887 if test "x$ac_cv_func__expl" = xyes; then :
26888 cat >>confdefs.h <<_ACEOF
26889 #define HAVE__EXPL 1
26890 _ACEOF
26893 done
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26903 $as_echo_n "checking for fabsl declaration... " >&6; }
26904 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26905 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26906 $as_echo_n "(cached) " >&6
26907 else
26910 ac_ext=cpp
26911 ac_cpp='$CXXCPP $CPPFLAGS'
26912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26917 /* end confdefs.h. */
26918 #include <math.h>
26919 #ifdef HAVE_IEEEFP_H
26920 #include <ieeefp.h>
26921 #endif
26924 main ()
26926 fabsl(0);
26928 return 0;
26930 _ACEOF
26931 if ac_fn_cxx_try_compile "$LINENO"; then :
26932 glibcxx_cv_func_fabsl_use=yes
26933 else
26934 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
26948 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26950 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26951 for ac_func in fabsl
26952 do :
26953 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26954 if test "x$ac_cv_func_fabsl" = xyes; then :
26955 cat >>confdefs.h <<_ACEOF
26956 #define HAVE_FABSL 1
26957 _ACEOF
26960 done
26962 else
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26965 $as_echo_n "checking for _fabsl declaration... " >&6; }
26966 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26967 if ${glibcxx_cv_func__fabsl_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>
26981 #ifdef HAVE_IEEEFP_H
26982 #include <ieeefp.h>
26983 #endif
26986 main ()
26988 _fabsl(0);
26990 return 0;
26992 _ACEOF
26993 if ac_fn_cxx_try_compile "$LINENO"; then :
26994 glibcxx_cv_func__fabsl_use=yes
26995 else
26996 glibcxx_cv_func__fabsl_use=no
26998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26999 ac_ext=c
27000 ac_cpp='$CPP $CPPFLAGS'
27001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27010 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27012 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27013 for ac_func in _fabsl
27014 do :
27015 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27016 if test "x$ac_cv_func__fabsl" = xyes; then :
27017 cat >>confdefs.h <<_ACEOF
27018 #define HAVE__FABSL 1
27019 _ACEOF
27022 done
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27032 $as_echo_n "checking for fmodl declaration... " >&6; }
27033 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27034 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27035 $as_echo_n "(cached) " >&6
27036 else
27039 ac_ext=cpp
27040 ac_cpp='$CXXCPP $CPPFLAGS'
27041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27046 /* end confdefs.h. */
27047 #include <math.h>
27049 main ()
27051 fmodl(0, 0);
27053 return 0;
27055 _ACEOF
27056 if ac_fn_cxx_try_compile "$LINENO"; then :
27057 glibcxx_cv_func_fmodl_use=yes
27058 else
27059 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
27073 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27075 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27076 for ac_func in fmodl
27077 do :
27078 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27079 if test "x$ac_cv_func_fmodl" = xyes; then :
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE_FMODL 1
27082 _ACEOF
27085 done
27087 else
27089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27090 $as_echo_n "checking for _fmodl declaration... " >&6; }
27091 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27092 if ${glibcxx_cv_func__fmodl_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>
27107 main ()
27109 _fmodl(0, 0);
27111 return 0;
27113 _ACEOF
27114 if ac_fn_cxx_try_compile "$LINENO"; then :
27115 glibcxx_cv_func__fmodl_use=yes
27116 else
27117 glibcxx_cv_func__fmodl_use=no
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27120 ac_ext=c
27121 ac_cpp='$CPP $CPPFLAGS'
27122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27131 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27133 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27134 for ac_func in _fmodl
27135 do :
27136 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27137 if test "x$ac_cv_func__fmodl" = xyes; then :
27138 cat >>confdefs.h <<_ACEOF
27139 #define HAVE__FMODL 1
27140 _ACEOF
27143 done
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27153 $as_echo_n "checking for frexpl declaration... " >&6; }
27154 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27155 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27156 $as_echo_n "(cached) " >&6
27157 else
27160 ac_ext=cpp
27161 ac_cpp='$CXXCPP $CPPFLAGS'
27162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27167 /* end confdefs.h. */
27168 #include <math.h>
27170 main ()
27172 frexpl(0, 0);
27174 return 0;
27176 _ACEOF
27177 if ac_fn_cxx_try_compile "$LINENO"; then :
27178 glibcxx_cv_func_frexpl_use=yes
27179 else
27180 glibcxx_cv_func_frexpl_use=no
27182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27183 ac_ext=c
27184 ac_cpp='$CPP $CPPFLAGS'
27185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27194 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27196 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27197 for ac_func in frexpl
27198 do :
27199 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27200 if test "x$ac_cv_func_frexpl" = xyes; then :
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE_FREXPL 1
27203 _ACEOF
27206 done
27208 else
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27211 $as_echo_n "checking for _frexpl declaration... " >&6; }
27212 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27213 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27214 $as_echo_n "(cached) " >&6
27215 else
27218 ac_ext=cpp
27219 ac_cpp='$CXXCPP $CPPFLAGS'
27220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27225 /* end confdefs.h. */
27226 #include <math.h>
27228 main ()
27230 _frexpl(0, 0);
27232 return 0;
27234 _ACEOF
27235 if ac_fn_cxx_try_compile "$LINENO"; then :
27236 glibcxx_cv_func__frexpl_use=yes
27237 else
27238 glibcxx_cv_func__frexpl_use=no
27240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27241 ac_ext=c
27242 ac_cpp='$CPP $CPPFLAGS'
27243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27252 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27254 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27255 for ac_func in _frexpl
27256 do :
27257 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27258 if test "x$ac_cv_func__frexpl" = xyes; then :
27259 cat >>confdefs.h <<_ACEOF
27260 #define HAVE__FREXPL 1
27261 _ACEOF
27264 done
27273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27274 $as_echo_n "checking for hypotl declaration... " >&6; }
27275 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27276 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27277 $as_echo_n "(cached) " >&6
27278 else
27281 ac_ext=cpp
27282 ac_cpp='$CXXCPP $CPPFLAGS'
27283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27288 /* end confdefs.h. */
27289 #include <math.h>
27291 main ()
27293 hypotl(0, 0);
27295 return 0;
27297 _ACEOF
27298 if ac_fn_cxx_try_compile "$LINENO"; then :
27299 glibcxx_cv_func_hypotl_use=yes
27300 else
27301 glibcxx_cv_func_hypotl_use=no
27303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27304 ac_ext=c
27305 ac_cpp='$CPP $CPPFLAGS'
27306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27315 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27317 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27318 for ac_func in hypotl
27319 do :
27320 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27321 if test "x$ac_cv_func_hypotl" = xyes; then :
27322 cat >>confdefs.h <<_ACEOF
27323 #define HAVE_HYPOTL 1
27324 _ACEOF
27327 done
27329 else
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27332 $as_echo_n "checking for _hypotl declaration... " >&6; }
27333 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27334 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27335 $as_echo_n "(cached) " >&6
27336 else
27339 ac_ext=cpp
27340 ac_cpp='$CXXCPP $CPPFLAGS'
27341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27346 /* end confdefs.h. */
27347 #include <math.h>
27349 main ()
27351 _hypotl(0, 0);
27353 return 0;
27355 _ACEOF
27356 if ac_fn_cxx_try_compile "$LINENO"; then :
27357 glibcxx_cv_func__hypotl_use=yes
27358 else
27359 glibcxx_cv_func__hypotl_use=no
27361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27362 ac_ext=c
27363 ac_cpp='$CPP $CPPFLAGS'
27364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27373 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27375 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27376 for ac_func in _hypotl
27377 do :
27378 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27379 if test "x$ac_cv_func__hypotl" = xyes; then :
27380 cat >>confdefs.h <<_ACEOF
27381 #define HAVE__HYPOTL 1
27382 _ACEOF
27385 done
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27395 $as_echo_n "checking for ldexpl declaration... " >&6; }
27396 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27397 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27398 $as_echo_n "(cached) " >&6
27399 else
27402 ac_ext=cpp
27403 ac_cpp='$CXXCPP $CPPFLAGS'
27404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27409 /* end confdefs.h. */
27410 #include <math.h>
27412 main ()
27414 ldexpl(0, 0);
27416 return 0;
27418 _ACEOF
27419 if ac_fn_cxx_try_compile "$LINENO"; then :
27420 glibcxx_cv_func_ldexpl_use=yes
27421 else
27422 glibcxx_cv_func_ldexpl_use=no
27424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27425 ac_ext=c
27426 ac_cpp='$CPP $CPPFLAGS'
27427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27436 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27438 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27439 for ac_func in ldexpl
27440 do :
27441 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27442 if test "x$ac_cv_func_ldexpl" = xyes; then :
27443 cat >>confdefs.h <<_ACEOF
27444 #define HAVE_LDEXPL 1
27445 _ACEOF
27448 done
27450 else
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27453 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27454 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27455 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27456 $as_echo_n "(cached) " >&6
27457 else
27460 ac_ext=cpp
27461 ac_cpp='$CXXCPP $CPPFLAGS'
27462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27467 /* end confdefs.h. */
27468 #include <math.h>
27470 main ()
27472 _ldexpl(0, 0);
27474 return 0;
27476 _ACEOF
27477 if ac_fn_cxx_try_compile "$LINENO"; then :
27478 glibcxx_cv_func__ldexpl_use=yes
27479 else
27480 glibcxx_cv_func__ldexpl_use=no
27482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27483 ac_ext=c
27484 ac_cpp='$CPP $CPPFLAGS'
27485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27494 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27496 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27497 for ac_func in _ldexpl
27498 do :
27499 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27500 if test "x$ac_cv_func__ldexpl" = xyes; then :
27501 cat >>confdefs.h <<_ACEOF
27502 #define HAVE__LDEXPL 1
27503 _ACEOF
27506 done
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27516 $as_echo_n "checking for logl declaration... " >&6; }
27517 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27518 if ${glibcxx_cv_func_logl_use+:} false; then :
27519 $as_echo_n "(cached) " >&6
27520 else
27523 ac_ext=cpp
27524 ac_cpp='$CXXCPP $CPPFLAGS'
27525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27530 /* end confdefs.h. */
27531 #include <math.h>
27532 #ifdef HAVE_IEEEFP_H
27533 #include <ieeefp.h>
27534 #endif
27537 main ()
27539 logl(0);
27541 return 0;
27543 _ACEOF
27544 if ac_fn_cxx_try_compile "$LINENO"; then :
27545 glibcxx_cv_func_logl_use=yes
27546 else
27547 glibcxx_cv_func_logl_use=no
27549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27550 ac_ext=c
27551 ac_cpp='$CPP $CPPFLAGS'
27552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27561 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27563 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27564 for ac_func in logl
27565 do :
27566 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27567 if test "x$ac_cv_func_logl" = xyes; then :
27568 cat >>confdefs.h <<_ACEOF
27569 #define HAVE_LOGL 1
27570 _ACEOF
27573 done
27575 else
27577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27578 $as_echo_n "checking for _logl declaration... " >&6; }
27579 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27580 if ${glibcxx_cv_func__logl_use+:} false; then :
27581 $as_echo_n "(cached) " >&6
27582 else
27585 ac_ext=cpp
27586 ac_cpp='$CXXCPP $CPPFLAGS'
27587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27592 /* end confdefs.h. */
27593 #include <math.h>
27594 #ifdef HAVE_IEEEFP_H
27595 #include <ieeefp.h>
27596 #endif
27599 main ()
27601 _logl(0);
27603 return 0;
27605 _ACEOF
27606 if ac_fn_cxx_try_compile "$LINENO"; then :
27607 glibcxx_cv_func__logl_use=yes
27608 else
27609 glibcxx_cv_func__logl_use=no
27611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27612 ac_ext=c
27613 ac_cpp='$CPP $CPPFLAGS'
27614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27623 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27625 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27626 for ac_func in _logl
27627 do :
27628 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27629 if test "x$ac_cv_func__logl" = xyes; then :
27630 cat >>confdefs.h <<_ACEOF
27631 #define HAVE__LOGL 1
27632 _ACEOF
27635 done
27644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27645 $as_echo_n "checking for log10l declaration... " >&6; }
27646 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27647 if ${glibcxx_cv_func_log10l_use+:} false; then :
27648 $as_echo_n "(cached) " >&6
27649 else
27652 ac_ext=cpp
27653 ac_cpp='$CXXCPP $CPPFLAGS'
27654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27659 /* end confdefs.h. */
27660 #include <math.h>
27661 #ifdef HAVE_IEEEFP_H
27662 #include <ieeefp.h>
27663 #endif
27666 main ()
27668 log10l(0);
27670 return 0;
27672 _ACEOF
27673 if ac_fn_cxx_try_compile "$LINENO"; then :
27674 glibcxx_cv_func_log10l_use=yes
27675 else
27676 glibcxx_cv_func_log10l_use=no
27678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27679 ac_ext=c
27680 ac_cpp='$CPP $CPPFLAGS'
27681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27690 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27692 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27693 for ac_func in log10l
27694 do :
27695 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27696 if test "x$ac_cv_func_log10l" = xyes; then :
27697 cat >>confdefs.h <<_ACEOF
27698 #define HAVE_LOG10L 1
27699 _ACEOF
27702 done
27704 else
27706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27707 $as_echo_n "checking for _log10l declaration... " >&6; }
27708 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27709 if ${glibcxx_cv_func__log10l_use+:} false; then :
27710 $as_echo_n "(cached) " >&6
27711 else
27714 ac_ext=cpp
27715 ac_cpp='$CXXCPP $CPPFLAGS'
27716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27721 /* end confdefs.h. */
27722 #include <math.h>
27723 #ifdef HAVE_IEEEFP_H
27724 #include <ieeefp.h>
27725 #endif
27728 main ()
27730 _log10l(0);
27732 return 0;
27734 _ACEOF
27735 if ac_fn_cxx_try_compile "$LINENO"; then :
27736 glibcxx_cv_func__log10l_use=yes
27737 else
27738 glibcxx_cv_func__log10l_use=no
27740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27741 ac_ext=c
27742 ac_cpp='$CPP $CPPFLAGS'
27743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27752 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27754 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27755 for ac_func in _log10l
27756 do :
27757 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27758 if test "x$ac_cv_func__log10l" = xyes; then :
27759 cat >>confdefs.h <<_ACEOF
27760 #define HAVE__LOG10L 1
27761 _ACEOF
27764 done
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27774 $as_echo_n "checking for modfl declaration... " >&6; }
27775 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27776 if ${glibcxx_cv_func_modfl_use+:} false; then :
27777 $as_echo_n "(cached) " >&6
27778 else
27781 ac_ext=cpp
27782 ac_cpp='$CXXCPP $CPPFLAGS'
27783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27788 /* end confdefs.h. */
27789 #include <math.h>
27791 main ()
27793 modfl(0, 0);
27795 return 0;
27797 _ACEOF
27798 if ac_fn_cxx_try_compile "$LINENO"; then :
27799 glibcxx_cv_func_modfl_use=yes
27800 else
27801 glibcxx_cv_func_modfl_use=no
27803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27804 ac_ext=c
27805 ac_cpp='$CPP $CPPFLAGS'
27806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27815 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27817 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27818 for ac_func in modfl
27819 do :
27820 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27821 if test "x$ac_cv_func_modfl" = xyes; then :
27822 cat >>confdefs.h <<_ACEOF
27823 #define HAVE_MODFL 1
27824 _ACEOF
27827 done
27829 else
27831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27832 $as_echo_n "checking for _modfl declaration... " >&6; }
27833 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27834 if ${glibcxx_cv_func__modfl_use+:} false; then :
27835 $as_echo_n "(cached) " >&6
27836 else
27839 ac_ext=cpp
27840 ac_cpp='$CXXCPP $CPPFLAGS'
27841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27846 /* end confdefs.h. */
27847 #include <math.h>
27849 main ()
27851 _modfl(0, 0);
27853 return 0;
27855 _ACEOF
27856 if ac_fn_cxx_try_compile "$LINENO"; then :
27857 glibcxx_cv_func__modfl_use=yes
27858 else
27859 glibcxx_cv_func__modfl_use=no
27861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27862 ac_ext=c
27863 ac_cpp='$CPP $CPPFLAGS'
27864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27873 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27875 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27876 for ac_func in _modfl
27877 do :
27878 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27879 if test "x$ac_cv_func__modfl" = xyes; then :
27880 cat >>confdefs.h <<_ACEOF
27881 #define HAVE__MODFL 1
27882 _ACEOF
27885 done
27894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27895 $as_echo_n "checking for powl declaration... " >&6; }
27896 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27897 if ${glibcxx_cv_func_powl_use+:} false; then :
27898 $as_echo_n "(cached) " >&6
27899 else
27902 ac_ext=cpp
27903 ac_cpp='$CXXCPP $CPPFLAGS'
27904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27909 /* end confdefs.h. */
27910 #include <math.h>
27912 main ()
27914 powl(0, 0);
27916 return 0;
27918 _ACEOF
27919 if ac_fn_cxx_try_compile "$LINENO"; then :
27920 glibcxx_cv_func_powl_use=yes
27921 else
27922 glibcxx_cv_func_powl_use=no
27924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27925 ac_ext=c
27926 ac_cpp='$CPP $CPPFLAGS'
27927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27936 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27938 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27939 for ac_func in powl
27940 do :
27941 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27942 if test "x$ac_cv_func_powl" = xyes; then :
27943 cat >>confdefs.h <<_ACEOF
27944 #define HAVE_POWL 1
27945 _ACEOF
27948 done
27950 else
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27953 $as_echo_n "checking for _powl declaration... " >&6; }
27954 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27955 if ${glibcxx_cv_func__powl_use+:} false; then :
27956 $as_echo_n "(cached) " >&6
27957 else
27960 ac_ext=cpp
27961 ac_cpp='$CXXCPP $CPPFLAGS'
27962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27967 /* end confdefs.h. */
27968 #include <math.h>
27970 main ()
27972 _powl(0, 0);
27974 return 0;
27976 _ACEOF
27977 if ac_fn_cxx_try_compile "$LINENO"; then :
27978 glibcxx_cv_func__powl_use=yes
27979 else
27980 glibcxx_cv_func__powl_use=no
27982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27983 ac_ext=c
27984 ac_cpp='$CPP $CPPFLAGS'
27985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27994 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27996 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27997 for ac_func in _powl
27998 do :
27999 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28000 if test "x$ac_cv_func__powl" = xyes; then :
28001 cat >>confdefs.h <<_ACEOF
28002 #define HAVE__POWL 1
28003 _ACEOF
28006 done
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28016 $as_echo_n "checking for sqrtl declaration... " >&6; }
28017 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28018 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28019 $as_echo_n "(cached) " >&6
28020 else
28023 ac_ext=cpp
28024 ac_cpp='$CXXCPP $CPPFLAGS'
28025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28030 /* end confdefs.h. */
28031 #include <math.h>
28032 #ifdef HAVE_IEEEFP_H
28033 #include <ieeefp.h>
28034 #endif
28037 main ()
28039 sqrtl(0);
28041 return 0;
28043 _ACEOF
28044 if ac_fn_cxx_try_compile "$LINENO"; then :
28045 glibcxx_cv_func_sqrtl_use=yes
28046 else
28047 glibcxx_cv_func_sqrtl_use=no
28049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28050 ac_ext=c
28051 ac_cpp='$CPP $CPPFLAGS'
28052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28061 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28063 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28064 for ac_func in sqrtl
28065 do :
28066 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28067 if test "x$ac_cv_func_sqrtl" = xyes; then :
28068 cat >>confdefs.h <<_ACEOF
28069 #define HAVE_SQRTL 1
28070 _ACEOF
28073 done
28075 else
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28078 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28079 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28080 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28081 $as_echo_n "(cached) " >&6
28082 else
28085 ac_ext=cpp
28086 ac_cpp='$CXXCPP $CPPFLAGS'
28087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28092 /* end confdefs.h. */
28093 #include <math.h>
28094 #ifdef HAVE_IEEEFP_H
28095 #include <ieeefp.h>
28096 #endif
28099 main ()
28101 _sqrtl(0);
28103 return 0;
28105 _ACEOF
28106 if ac_fn_cxx_try_compile "$LINENO"; then :
28107 glibcxx_cv_func__sqrtl_use=yes
28108 else
28109 glibcxx_cv_func__sqrtl_use=no
28111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28112 ac_ext=c
28113 ac_cpp='$CPP $CPPFLAGS'
28114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28123 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28125 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28126 for ac_func in _sqrtl
28127 do :
28128 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28129 if test "x$ac_cv_func__sqrtl" = xyes; then :
28130 cat >>confdefs.h <<_ACEOF
28131 #define HAVE__SQRTL 1
28132 _ACEOF
28135 done
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28145 $as_echo_n "checking for sincosl declaration... " >&6; }
28146 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28147 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28148 $as_echo_n "(cached) " >&6
28149 else
28152 ac_ext=cpp
28153 ac_cpp='$CXXCPP $CPPFLAGS'
28154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28159 /* end confdefs.h. */
28160 #include <math.h>
28162 main ()
28164 sincosl(0, 0, 0);
28166 return 0;
28168 _ACEOF
28169 if ac_fn_cxx_try_compile "$LINENO"; then :
28170 glibcxx_cv_func_sincosl_use=yes
28171 else
28172 glibcxx_cv_func_sincosl_use=no
28174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28175 ac_ext=c
28176 ac_cpp='$CPP $CPPFLAGS'
28177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28186 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28188 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28189 for ac_func in sincosl
28190 do :
28191 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28192 if test "x$ac_cv_func_sincosl" = xyes; then :
28193 cat >>confdefs.h <<_ACEOF
28194 #define HAVE_SINCOSL 1
28195 _ACEOF
28198 done
28200 else
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28203 $as_echo_n "checking for _sincosl declaration... " >&6; }
28204 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28205 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28206 $as_echo_n "(cached) " >&6
28207 else
28210 ac_ext=cpp
28211 ac_cpp='$CXXCPP $CPPFLAGS'
28212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28217 /* end confdefs.h. */
28218 #include <math.h>
28220 main ()
28222 _sincosl(0, 0, 0);
28224 return 0;
28226 _ACEOF
28227 if ac_fn_cxx_try_compile "$LINENO"; then :
28228 glibcxx_cv_func__sincosl_use=yes
28229 else
28230 glibcxx_cv_func__sincosl_use=no
28232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28233 ac_ext=c
28234 ac_cpp='$CPP $CPPFLAGS'
28235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28244 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28246 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28247 for ac_func in _sincosl
28248 do :
28249 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28250 if test "x$ac_cv_func__sincosl" = xyes; then :
28251 cat >>confdefs.h <<_ACEOF
28252 #define HAVE__SINCOSL 1
28253 _ACEOF
28256 done
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28266 $as_echo_n "checking for finitel declaration... " >&6; }
28267 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28268 if ${glibcxx_cv_func_finitel_use+:} false; then :
28269 $as_echo_n "(cached) " >&6
28270 else
28273 ac_ext=cpp
28274 ac_cpp='$CXXCPP $CPPFLAGS'
28275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28280 /* end confdefs.h. */
28281 #include <math.h>
28282 #ifdef HAVE_IEEEFP_H
28283 #include <ieeefp.h>
28284 #endif
28287 main ()
28289 finitel(0);
28291 return 0;
28293 _ACEOF
28294 if ac_fn_cxx_try_compile "$LINENO"; then :
28295 glibcxx_cv_func_finitel_use=yes
28296 else
28297 glibcxx_cv_func_finitel_use=no
28299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28300 ac_ext=c
28301 ac_cpp='$CPP $CPPFLAGS'
28302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28311 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28313 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28314 for ac_func in finitel
28315 do :
28316 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28317 if test "x$ac_cv_func_finitel" = xyes; then :
28318 cat >>confdefs.h <<_ACEOF
28319 #define HAVE_FINITEL 1
28320 _ACEOF
28323 done
28325 else
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28328 $as_echo_n "checking for _finitel declaration... " >&6; }
28329 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28330 if ${glibcxx_cv_func__finitel_use+:} false; then :
28331 $as_echo_n "(cached) " >&6
28332 else
28335 ac_ext=cpp
28336 ac_cpp='$CXXCPP $CPPFLAGS'
28337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28342 /* end confdefs.h. */
28343 #include <math.h>
28344 #ifdef HAVE_IEEEFP_H
28345 #include <ieeefp.h>
28346 #endif
28349 main ()
28351 _finitel(0);
28353 return 0;
28355 _ACEOF
28356 if ac_fn_cxx_try_compile "$LINENO"; then :
28357 glibcxx_cv_func__finitel_use=yes
28358 else
28359 glibcxx_cv_func__finitel_use=no
28361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28362 ac_ext=c
28363 ac_cpp='$CPP $CPPFLAGS'
28364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28373 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28375 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28376 for ac_func in _finitel
28377 do :
28378 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28379 if test "x$ac_cv_func__finitel" = xyes; then :
28380 cat >>confdefs.h <<_ACEOF
28381 #define HAVE__FINITEL 1
28382 _ACEOF
28385 done
28393 LIBS="$ac_save_LIBS"
28394 CXXFLAGS="$ac_save_CXXFLAGS"
28397 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28398 ac_save_CXXFLAGS="$CXXFLAGS"
28399 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28403 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28404 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28405 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28406 $as_echo_n "(cached) " >&6
28407 else
28410 ac_ext=cpp
28411 ac_cpp='$CXXCPP $CPPFLAGS'
28412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28417 /* end confdefs.h. */
28418 #include <stdlib.h>
28420 main ()
28422 at_quick_exit(0);
28424 return 0;
28426 _ACEOF
28427 if ac_fn_cxx_try_compile "$LINENO"; then :
28428 glibcxx_cv_func_at_quick_exit_use=yes
28429 else
28430 glibcxx_cv_func_at_quick_exit_use=no
28432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28433 ac_ext=c
28434 ac_cpp='$CPP $CPPFLAGS'
28435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28444 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28445 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28446 for ac_func in at_quick_exit
28447 do :
28448 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28449 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28450 cat >>confdefs.h <<_ACEOF
28451 #define HAVE_AT_QUICK_EXIT 1
28452 _ACEOF
28455 done
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28461 $as_echo_n "checking for quick_exit declaration... " >&6; }
28462 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28463 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28464 $as_echo_n "(cached) " >&6
28465 else
28468 ac_ext=cpp
28469 ac_cpp='$CXXCPP $CPPFLAGS'
28470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28475 /* end confdefs.h. */
28476 #include <stdlib.h>
28478 main ()
28480 quick_exit(0);
28482 return 0;
28484 _ACEOF
28485 if ac_fn_cxx_try_compile "$LINENO"; then :
28486 glibcxx_cv_func_quick_exit_use=yes
28487 else
28488 glibcxx_cv_func_quick_exit_use=no
28490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28491 ac_ext=c
28492 ac_cpp='$CPP $CPPFLAGS'
28493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28502 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28503 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28504 for ac_func in quick_exit
28505 do :
28506 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28507 if test "x$ac_cv_func_quick_exit" = xyes; then :
28508 cat >>confdefs.h <<_ACEOF
28509 #define HAVE_QUICK_EXIT 1
28510 _ACEOF
28513 done
28518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28519 $as_echo_n "checking for strtold declaration... " >&6; }
28520 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28521 if ${glibcxx_cv_func_strtold_use+:} false; then :
28522 $as_echo_n "(cached) " >&6
28523 else
28526 ac_ext=cpp
28527 ac_cpp='$CXXCPP $CPPFLAGS'
28528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28533 /* end confdefs.h. */
28534 #include <stdlib.h>
28536 main ()
28538 strtold(0, 0);
28540 return 0;
28542 _ACEOF
28543 if ac_fn_cxx_try_compile "$LINENO"; then :
28544 glibcxx_cv_func_strtold_use=yes
28545 else
28546 glibcxx_cv_func_strtold_use=no
28548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28549 ac_ext=c
28550 ac_cpp='$CPP $CPPFLAGS'
28551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28560 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28561 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28562 for ac_func in strtold
28563 do :
28564 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28565 if test "x$ac_cv_func_strtold" = xyes; then :
28566 cat >>confdefs.h <<_ACEOF
28567 #define HAVE_STRTOLD 1
28568 _ACEOF
28571 done
28578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28579 $as_echo_n "checking for strtof declaration... " >&6; }
28580 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28581 if ${glibcxx_cv_func_strtof_use+:} false; then :
28582 $as_echo_n "(cached) " >&6
28583 else
28586 ac_ext=cpp
28587 ac_cpp='$CXXCPP $CPPFLAGS'
28588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28593 /* end confdefs.h. */
28594 #include <stdlib.h>
28596 main ()
28598 strtof(0, 0);
28600 return 0;
28602 _ACEOF
28603 if ac_fn_cxx_try_compile "$LINENO"; then :
28604 glibcxx_cv_func_strtof_use=yes
28605 else
28606 glibcxx_cv_func_strtof_use=no
28608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28609 ac_ext=c
28610 ac_cpp='$CPP $CPPFLAGS'
28611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28620 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28621 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28622 for ac_func in strtof
28623 do :
28624 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28625 if test "x$ac_cv_func_strtof" = xyes; then :
28626 cat >>confdefs.h <<_ACEOF
28627 #define HAVE_STRTOF 1
28628 _ACEOF
28631 done
28638 CXXFLAGS="$ac_save_CXXFLAGS"
28641 # For /dev/random and /dev/urandom for std::random_device.
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28645 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28646 if ${glibcxx_cv_dev_random+:} false; then :
28647 $as_echo_n "(cached) " >&6
28648 else
28650 if test -r /dev/random && test -r /dev/urandom; then
28651 ## For MSys environment the test above is detected as false-positive
28652 ## on mingw-targets. So disable it explicitly for them.
28653 case ${target_os} in
28654 *mingw*) glibcxx_cv_dev_random=no ;;
28655 *) glibcxx_cv_dev_random=yes ;;
28656 esac
28657 else
28658 glibcxx_cv_dev_random=no;
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28664 $as_echo "$glibcxx_cv_dev_random" >&6; }
28666 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28668 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28671 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28677 # For TLS support.
28680 # Check whether --enable-tls was given.
28681 if test "${enable_tls+set}" = set; then :
28682 enableval=$enable_tls;
28683 case "$enableval" in
28684 yes|no) ;;
28685 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28686 esac
28688 else
28689 enable_tls=yes
28693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28694 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28695 if ${gcc_cv_have_tls+:} false; then :
28696 $as_echo_n "(cached) " >&6
28697 else
28699 if test "$cross_compiling" = yes; then :
28700 if test x$gcc_no_link = xyes; then
28701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28704 /* end confdefs.h. */
28705 __thread int a; int b; int main() { return a = b; }
28706 _ACEOF
28707 if ac_fn_c_try_link "$LINENO"; then :
28708 chktls_save_LDFLAGS="$LDFLAGS"
28709 case $host in
28710 *-*-linux* | -*-uclinuxfdpic*)
28711 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28713 esac
28714 chktls_save_CFLAGS="$CFLAGS"
28715 CFLAGS="-fPIC $CFLAGS"
28716 if test x$gcc_no_link = xyes; then
28717 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h. */
28721 int f() { return 0; }
28722 _ACEOF
28723 if ac_fn_c_try_link "$LINENO"; then :
28724 if test x$gcc_no_link = xyes; then
28725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28728 /* end confdefs.h. */
28729 __thread int a; int b; int f() { return a = b; }
28730 _ACEOF
28731 if ac_fn_c_try_link "$LINENO"; then :
28732 gcc_cv_have_tls=yes
28733 else
28734 gcc_cv_have_tls=no
28736 rm -f core conftest.err conftest.$ac_objext \
28737 conftest$ac_exeext conftest.$ac_ext
28738 else
28739 gcc_cv_have_tls=yes
28741 rm -f core conftest.err conftest.$ac_objext \
28742 conftest$ac_exeext conftest.$ac_ext
28743 CFLAGS="$chktls_save_CFLAGS"
28744 LDFLAGS="$chktls_save_LDFLAGS"
28745 else
28746 gcc_cv_have_tls=no
28748 rm -f core conftest.err conftest.$ac_objext \
28749 conftest$ac_exeext conftest.$ac_ext
28752 else
28753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28754 /* end confdefs.h. */
28755 __thread int a; int b; int main() { return a = b; }
28756 _ACEOF
28757 if ac_fn_c_try_run "$LINENO"; then :
28758 chktls_save_LDFLAGS="$LDFLAGS"
28759 LDFLAGS="-static $LDFLAGS"
28760 if test x$gcc_no_link = xyes; then
28761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28765 int main() { return 0; }
28766 _ACEOF
28767 if ac_fn_c_try_link "$LINENO"; then :
28768 if test "$cross_compiling" = yes; then :
28769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28771 as_fn_error $? "cannot run test program while cross compiling
28772 See \`config.log' for more details" "$LINENO" 5; }
28773 else
28774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28775 /* end confdefs.h. */
28776 __thread int a; int b; int main() { return a = b; }
28777 _ACEOF
28778 if ac_fn_c_try_run "$LINENO"; then :
28779 gcc_cv_have_tls=yes
28780 else
28781 gcc_cv_have_tls=no
28783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28784 conftest.$ac_objext conftest.beam conftest.$ac_ext
28787 else
28788 gcc_cv_have_tls=yes
28790 rm -f core conftest.err conftest.$ac_objext \
28791 conftest$ac_exeext conftest.$ac_ext
28792 LDFLAGS="$chktls_save_LDFLAGS"
28793 if test $gcc_cv_have_tls = yes; then
28794 chktls_save_CFLAGS="$CFLAGS"
28795 thread_CFLAGS=failed
28796 for flag in '' '-pthread' '-lpthread'; do
28797 CFLAGS="$flag $chktls_save_CFLAGS"
28798 if test x$gcc_no_link = xyes; then
28799 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28802 /* end confdefs.h. */
28803 #include <pthread.h>
28804 void *g(void *d) { return NULL; }
28806 main ()
28808 pthread_t t; pthread_create(&t,NULL,g,NULL);
28810 return 0;
28812 _ACEOF
28813 if ac_fn_c_try_link "$LINENO"; then :
28814 thread_CFLAGS="$flag"
28816 rm -f core conftest.err conftest.$ac_objext \
28817 conftest$ac_exeext conftest.$ac_ext
28818 if test "X$thread_CFLAGS" != Xfailed; then
28819 break
28821 done
28822 CFLAGS="$chktls_save_CFLAGS"
28823 if test "X$thread_CFLAGS" != Xfailed; then
28824 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28825 if test "$cross_compiling" = yes; then :
28826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28828 as_fn_error $? "cannot run test program while cross compiling
28829 See \`config.log' for more details" "$LINENO" 5; }
28830 else
28831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28832 /* end confdefs.h. */
28833 #include <pthread.h>
28834 __thread int a;
28835 static int *volatile a_in_other_thread;
28836 static void *
28837 thread_func (void *arg)
28839 a_in_other_thread = &a;
28840 return (void *)0;
28843 main ()
28845 pthread_t thread;
28846 void *thread_retval;
28847 int *volatile a_in_main_thread;
28848 a_in_main_thread = &a;
28849 if (pthread_create (&thread, (pthread_attr_t *)0,
28850 thread_func, (void *)0))
28851 return 0;
28852 if (pthread_join (thread, &thread_retval))
28853 return 0;
28854 return (a_in_other_thread == a_in_main_thread);
28856 return 0;
28858 _ACEOF
28859 if ac_fn_c_try_run "$LINENO"; then :
28860 gcc_cv_have_tls=yes
28861 else
28862 gcc_cv_have_tls=no
28864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28865 conftest.$ac_objext conftest.beam conftest.$ac_ext
28868 CFLAGS="$chktls_save_CFLAGS"
28871 else
28872 gcc_cv_have_tls=no
28874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28875 conftest.$ac_objext conftest.beam conftest.$ac_ext
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28880 $as_echo "$gcc_cv_have_tls" >&6; }
28881 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28883 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28887 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28888 do :
28889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28892 cat >>confdefs.h <<_ACEOF
28893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28894 _ACEOF
28897 done
28899 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28900 do :
28901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28903 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28904 cat >>confdefs.h <<_ACEOF
28905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28906 _ACEOF
28909 done
28911 for ac_func in _wfopen
28912 do :
28913 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28914 if test "x$ac_cv_func__wfopen" = xyes; then :
28915 cat >>confdefs.h <<_ACEOF
28916 #define HAVE__WFOPEN 1
28917 _ACEOF
28920 done
28923 # C11 functions for C++17 library
28924 for ac_func in timespec_get
28925 do :
28926 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28927 if test "x$ac_cv_func_timespec_get" = xyes; then :
28928 cat >>confdefs.h <<_ACEOF
28929 #define HAVE_TIMESPEC_GET 1
28930 _ACEOF
28933 done
28936 # For Networking TS.
28937 for ac_func in sockatmark
28938 do :
28939 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28940 if test "x$ac_cv_func_sockatmark" = xyes; then :
28941 cat >>confdefs.h <<_ACEOF
28942 #define HAVE_SOCKATMARK 1
28943 _ACEOF
28946 done
28949 # For iconv support.
28951 if test "X$prefix" = "XNONE"; then
28952 acl_final_prefix="$ac_default_prefix"
28953 else
28954 acl_final_prefix="$prefix"
28956 if test "X$exec_prefix" = "XNONE"; then
28957 acl_final_exec_prefix='${prefix}'
28958 else
28959 acl_final_exec_prefix="$exec_prefix"
28961 acl_save_prefix="$prefix"
28962 prefix="$acl_final_prefix"
28963 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28964 prefix="$acl_save_prefix"
28967 # Check whether --with-gnu-ld was given.
28968 if test "${with_gnu_ld+set}" = set; then :
28969 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28970 else
28971 with_gnu_ld=no
28974 # Prepare PATH_SEPARATOR.
28975 # The user is always right.
28976 if test "${PATH_SEPARATOR+set}" != set; then
28977 echo "#! /bin/sh" >conf$$.sh
28978 echo "exit 0" >>conf$$.sh
28979 chmod +x conf$$.sh
28980 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28981 PATH_SEPARATOR=';'
28982 else
28983 PATH_SEPARATOR=:
28985 rm -f conf$$.sh
28987 ac_prog=ld
28988 if test "$GCC" = yes; then
28989 # Check if gcc -print-prog-name=ld gives a path.
28990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28991 $as_echo_n "checking for ld used by GCC... " >&6; }
28992 case $host in
28993 *-*-mingw*)
28994 # gcc leaves a trailing carriage return which upsets mingw
28995 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28997 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28998 esac
28999 case $ac_prog in
29000 # Accept absolute paths.
29001 [\\/]* | [A-Za-z]:[\\/]*)
29002 re_direlt='/[^/][^/]*/\.\./'
29003 # Canonicalize the path of ld
29004 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29005 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29006 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29007 done
29008 test -z "$LD" && LD="$ac_prog"
29011 # If it fails, then pretend we aren't using GCC.
29012 ac_prog=ld
29015 # If it is relative, then search for the first ld in PATH.
29016 with_gnu_ld=unknown
29018 esac
29019 elif test "$with_gnu_ld" = yes; then
29020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29021 $as_echo_n "checking for GNU ld... " >&6; }
29022 else
29023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29024 $as_echo_n "checking for non-GNU ld... " >&6; }
29026 if ${acl_cv_path_LD+:} false; then :
29027 $as_echo_n "(cached) " >&6
29028 else
29029 if test -z "$LD"; then
29030 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29031 for ac_dir in $PATH; do
29032 test -z "$ac_dir" && ac_dir=.
29033 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29034 acl_cv_path_LD="$ac_dir/$ac_prog"
29035 # Check to see if the program is GNU ld. I'd rather use --version,
29036 # but apparently some GNU ld's only accept -v.
29037 # Break only if it was the GNU/non-GNU ld that we prefer.
29038 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29039 test "$with_gnu_ld" != no && break
29040 else
29041 test "$with_gnu_ld" != yes && break
29044 done
29045 IFS="$ac_save_ifs"
29046 else
29047 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29051 LD="$acl_cv_path_LD"
29052 if test -n "$LD"; then
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29054 $as_echo "$LD" >&6; }
29055 else
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29057 $as_echo "no" >&6; }
29059 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29061 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29062 if ${acl_cv_prog_gnu_ld+:} false; then :
29063 $as_echo_n "(cached) " >&6
29064 else
29065 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29066 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29067 acl_cv_prog_gnu_ld=yes
29068 else
29069 acl_cv_prog_gnu_ld=no
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29073 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29074 with_gnu_ld=$acl_cv_prog_gnu_ld
29078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29079 $as_echo_n "checking for shared library run path origin... " >&6; }
29080 if ${acl_cv_rpath+:} false; then :
29081 $as_echo_n "(cached) " >&6
29082 else
29084 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29085 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29086 . ./conftest.sh
29087 rm -f ./conftest.sh
29088 acl_cv_rpath=done
29091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29092 $as_echo "$acl_cv_rpath" >&6; }
29093 wl="$acl_cv_wl"
29094 libext="$acl_cv_libext"
29095 shlibext="$acl_cv_shlibext"
29096 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29097 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29098 hardcode_direct="$acl_cv_hardcode_direct"
29099 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29100 # Check whether --enable-rpath was given.
29101 if test "${enable_rpath+set}" = set; then :
29102 enableval=$enable_rpath; :
29103 else
29104 enable_rpath=yes
29114 use_additional=yes
29116 acl_save_prefix="$prefix"
29117 prefix="$acl_final_prefix"
29118 acl_save_exec_prefix="$exec_prefix"
29119 exec_prefix="$acl_final_exec_prefix"
29121 eval additional_includedir=\"$includedir\"
29122 eval additional_libdir=\"$libdir\"
29124 exec_prefix="$acl_save_exec_prefix"
29125 prefix="$acl_save_prefix"
29128 # Check whether --with-libiconv-prefix was given.
29129 if test "${with_libiconv_prefix+set}" = set; then :
29130 withval=$with_libiconv_prefix;
29131 if test "X$withval" = "Xno"; then
29132 use_additional=no
29133 else
29134 if test "X$withval" = "X"; then
29136 acl_save_prefix="$prefix"
29137 prefix="$acl_final_prefix"
29138 acl_save_exec_prefix="$exec_prefix"
29139 exec_prefix="$acl_final_exec_prefix"
29141 eval additional_includedir=\"$includedir\"
29142 eval additional_libdir=\"$libdir\"
29144 exec_prefix="$acl_save_exec_prefix"
29145 prefix="$acl_save_prefix"
29147 else
29148 additional_includedir="$withval/include"
29149 additional_libdir="$withval/lib"
29155 LIBICONV=
29156 LTLIBICONV=
29157 INCICONV=
29158 rpathdirs=
29159 ltrpathdirs=
29160 names_already_handled=
29161 names_next_round='iconv '
29162 while test -n "$names_next_round"; do
29163 names_this_round="$names_next_round"
29164 names_next_round=
29165 for name in $names_this_round; do
29166 already_handled=
29167 for n in $names_already_handled; do
29168 if test "$n" = "$name"; then
29169 already_handled=yes
29170 break
29172 done
29173 if test -z "$already_handled"; then
29174 names_already_handled="$names_already_handled $name"
29175 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29176 eval value=\"\$HAVE_LIB$uppername\"
29177 if test -n "$value"; then
29178 if test "$value" = yes; then
29179 eval value=\"\$LIB$uppername\"
29180 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29181 eval value=\"\$LTLIB$uppername\"
29182 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29183 else
29186 else
29187 found_dir=
29188 found_la=
29189 found_so=
29190 found_a=
29191 if test $use_additional = yes; then
29192 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
29193 found_dir="$additional_libdir"
29194 found_so="$additional_libdir/lib$name.$shlibext"
29195 if test -f "$additional_libdir/lib$name.la"; then
29196 found_la="$additional_libdir/lib$name.la"
29198 else
29199 if test -f "$additional_libdir/lib$name.$libext"; then
29200 found_dir="$additional_libdir"
29201 found_a="$additional_libdir/lib$name.$libext"
29202 if test -f "$additional_libdir/lib$name.la"; then
29203 found_la="$additional_libdir/lib$name.la"
29208 if test "X$found_dir" = "X"; then
29209 for x in $LDFLAGS $LTLIBICONV; do
29211 acl_save_prefix="$prefix"
29212 prefix="$acl_final_prefix"
29213 acl_save_exec_prefix="$exec_prefix"
29214 exec_prefix="$acl_final_exec_prefix"
29215 eval x=\"$x\"
29216 exec_prefix="$acl_save_exec_prefix"
29217 prefix="$acl_save_prefix"
29219 case "$x" in
29220 -L*)
29221 dir=`echo "X$x" | sed -e 's/^X-L//'`
29222 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
29223 found_dir="$dir"
29224 found_so="$dir/lib$name.$shlibext"
29225 if test -f "$dir/lib$name.la"; then
29226 found_la="$dir/lib$name.la"
29228 else
29229 if test -f "$dir/lib$name.$libext"; then
29230 found_dir="$dir"
29231 found_a="$dir/lib$name.$libext"
29232 if test -f "$dir/lib$name.la"; then
29233 found_la="$dir/lib$name.la"
29238 esac
29239 if test "X$found_dir" != "X"; then
29240 break
29242 done
29244 if test "X$found_dir" != "X"; then
29245 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29246 if test "X$found_so" != "X"; then
29247 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29248 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29249 else
29250 haveit=
29251 for x in $ltrpathdirs; do
29252 if test "X$x" = "X$found_dir"; then
29253 haveit=yes
29254 break
29256 done
29257 if test -z "$haveit"; then
29258 ltrpathdirs="$ltrpathdirs $found_dir"
29260 if test "$hardcode_direct" = yes; then
29261 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29262 else
29263 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29264 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29265 haveit=
29266 for x in $rpathdirs; do
29267 if test "X$x" = "X$found_dir"; then
29268 haveit=yes
29269 break
29271 done
29272 if test -z "$haveit"; then
29273 rpathdirs="$rpathdirs $found_dir"
29275 else
29276 haveit=
29277 for x in $LDFLAGS $LIBICONV; do
29279 acl_save_prefix="$prefix"
29280 prefix="$acl_final_prefix"
29281 acl_save_exec_prefix="$exec_prefix"
29282 exec_prefix="$acl_final_exec_prefix"
29283 eval x=\"$x\"
29284 exec_prefix="$acl_save_exec_prefix"
29285 prefix="$acl_save_prefix"
29287 if test "X$x" = "X-L$found_dir"; then
29288 haveit=yes
29289 break
29291 done
29292 if test -z "$haveit"; then
29293 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29295 if test "$hardcode_minus_L" != no; then
29296 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29297 else
29298 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29303 else
29304 if test "X$found_a" != "X"; then
29305 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29306 else
29307 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29310 additional_includedir=
29311 case "$found_dir" in
29312 */lib | */lib/)
29313 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29314 additional_includedir="$basedir/include"
29316 esac
29317 if test "X$additional_includedir" != "X"; then
29318 if test "X$additional_includedir" != "X/usr/include"; then
29319 haveit=
29320 if test "X$additional_includedir" = "X/usr/local/include"; then
29321 if test -n "$GCC"; then
29322 case $host_os in
29323 linux*) haveit=yes;;
29324 esac
29327 if test -z "$haveit"; then
29328 for x in $CPPFLAGS $INCICONV; do
29330 acl_save_prefix="$prefix"
29331 prefix="$acl_final_prefix"
29332 acl_save_exec_prefix="$exec_prefix"
29333 exec_prefix="$acl_final_exec_prefix"
29334 eval x=\"$x\"
29335 exec_prefix="$acl_save_exec_prefix"
29336 prefix="$acl_save_prefix"
29338 if test "X$x" = "X-I$additional_includedir"; then
29339 haveit=yes
29340 break
29342 done
29343 if test -z "$haveit"; then
29344 if test -d "$additional_includedir"; then
29345 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29351 if test -n "$found_la"; then
29352 save_libdir="$libdir"
29353 case "$found_la" in
29354 */* | *\\*) . "$found_la" ;;
29355 *) . "./$found_la" ;;
29356 esac
29357 libdir="$save_libdir"
29358 for dep in $dependency_libs; do
29359 case "$dep" in
29360 -L*)
29361 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29362 if test "X$additional_libdir" != "X/usr/lib"; then
29363 haveit=
29364 if test "X$additional_libdir" = "X/usr/local/lib"; then
29365 if test -n "$GCC"; then
29366 case $host_os in
29367 linux*) haveit=yes;;
29368 esac
29371 if test -z "$haveit"; then
29372 haveit=
29373 for x in $LDFLAGS $LIBICONV; do
29375 acl_save_prefix="$prefix"
29376 prefix="$acl_final_prefix"
29377 acl_save_exec_prefix="$exec_prefix"
29378 exec_prefix="$acl_final_exec_prefix"
29379 eval x=\"$x\"
29380 exec_prefix="$acl_save_exec_prefix"
29381 prefix="$acl_save_prefix"
29383 if test "X$x" = "X-L$additional_libdir"; then
29384 haveit=yes
29385 break
29387 done
29388 if test -z "$haveit"; then
29389 if test -d "$additional_libdir"; then
29390 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29393 haveit=
29394 for x in $LDFLAGS $LTLIBICONV; do
29396 acl_save_prefix="$prefix"
29397 prefix="$acl_final_prefix"
29398 acl_save_exec_prefix="$exec_prefix"
29399 exec_prefix="$acl_final_exec_prefix"
29400 eval x=\"$x\"
29401 exec_prefix="$acl_save_exec_prefix"
29402 prefix="$acl_save_prefix"
29404 if test "X$x" = "X-L$additional_libdir"; then
29405 haveit=yes
29406 break
29408 done
29409 if test -z "$haveit"; then
29410 if test -d "$additional_libdir"; then
29411 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29417 -R*)
29418 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29419 if test "$enable_rpath" != no; then
29420 haveit=
29421 for x in $rpathdirs; do
29422 if test "X$x" = "X$dir"; then
29423 haveit=yes
29424 break
29426 done
29427 if test -z "$haveit"; then
29428 rpathdirs="$rpathdirs $dir"
29430 haveit=
29431 for x in $ltrpathdirs; do
29432 if test "X$x" = "X$dir"; then
29433 haveit=yes
29434 break
29436 done
29437 if test -z "$haveit"; then
29438 ltrpathdirs="$ltrpathdirs $dir"
29442 -l*)
29443 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29445 *.la)
29446 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29449 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29450 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29452 esac
29453 done
29455 else
29456 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29457 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29461 done
29462 done
29463 if test "X$rpathdirs" != "X"; then
29464 if test -n "$hardcode_libdir_separator"; then
29465 alldirs=
29466 for found_dir in $rpathdirs; do
29467 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29468 done
29469 acl_save_libdir="$libdir"
29470 libdir="$alldirs"
29471 eval flag=\"$hardcode_libdir_flag_spec\"
29472 libdir="$acl_save_libdir"
29473 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29474 else
29475 for found_dir in $rpathdirs; do
29476 acl_save_libdir="$libdir"
29477 libdir="$found_dir"
29478 eval flag=\"$hardcode_libdir_flag_spec\"
29479 libdir="$acl_save_libdir"
29480 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29481 done
29484 if test "X$ltrpathdirs" != "X"; then
29485 for found_dir in $ltrpathdirs; do
29486 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29487 done
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29497 $as_echo_n "checking for iconv... " >&6; }
29498 if ${am_cv_func_iconv+:} false; then :
29499 $as_echo_n "(cached) " >&6
29500 else
29502 am_cv_func_iconv="no, consider installing GNU libiconv"
29503 am_cv_lib_iconv=no
29504 am_save_CPPFLAGS="$CPPFLAGS"
29505 CPPFLAGS="$CPPFLAGS $INCICONV"
29506 if test x$gcc_no_link = xyes; then
29507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h. */
29511 #include <stdlib.h>
29512 #include <iconv.h>
29514 main ()
29516 iconv_t cd = iconv_open("","");
29517 iconv(cd,NULL,NULL,NULL,NULL);
29518 iconv_close(cd);
29520 return 0;
29522 _ACEOF
29523 if ac_fn_c_try_link "$LINENO"; then :
29524 am_cv_func_iconv=yes
29526 rm -f core conftest.err conftest.$ac_objext \
29527 conftest$ac_exeext conftest.$ac_ext
29528 CPPFLAGS="$am_save_CPPFLAGS"
29530 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29531 for _libs in .libs _libs; do
29532 am_save_CPPFLAGS="$CPPFLAGS"
29533 am_save_LIBS="$LIBS"
29534 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29535 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29536 if test x$gcc_no_link = xyes; then
29537 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29540 /* end confdefs.h. */
29541 #include <stdlib.h>
29542 #include <iconv.h>
29544 main ()
29546 iconv_t cd = iconv_open("","");
29547 iconv(cd,NULL,NULL,NULL,NULL);
29548 iconv_close(cd);
29550 return 0;
29552 _ACEOF
29553 if ac_fn_c_try_link "$LINENO"; then :
29554 INCICONV="-I../libiconv/include"
29555 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29556 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29557 am_cv_lib_iconv=yes
29558 am_cv_func_iconv=yes
29560 rm -f core conftest.err conftest.$ac_objext \
29561 conftest$ac_exeext conftest.$ac_ext
29562 CPPFLAGS="$am_save_CPPFLAGS"
29563 LIBS="$am_save_LIBS"
29564 if test "$am_cv_func_iconv" = "yes"; then
29565 break
29567 done
29570 if test "$am_cv_func_iconv" != yes; then
29571 am_save_CPPFLAGS="$CPPFLAGS"
29572 am_save_LIBS="$LIBS"
29573 CPPFLAGS="$CPPFLAGS $INCICONV"
29574 LIBS="$LIBS $LIBICONV"
29575 if test x$gcc_no_link = xyes; then
29576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <stdlib.h>
29581 #include <iconv.h>
29583 main ()
29585 iconv_t cd = iconv_open("","");
29586 iconv(cd,NULL,NULL,NULL,NULL);
29587 iconv_close(cd);
29589 return 0;
29591 _ACEOF
29592 if ac_fn_c_try_link "$LINENO"; then :
29593 am_cv_lib_iconv=yes
29594 am_cv_func_iconv=yes
29596 rm -f core conftest.err conftest.$ac_objext \
29597 conftest$ac_exeext conftest.$ac_ext
29598 CPPFLAGS="$am_save_CPPFLAGS"
29599 LIBS="$am_save_LIBS"
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29604 $as_echo "$am_cv_func_iconv" >&6; }
29605 if test "$am_cv_func_iconv" = yes; then
29607 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29610 if test "$am_cv_lib_iconv" = yes; then
29612 for element in $INCICONV; do
29613 haveit=
29614 for x in $CPPFLAGS; do
29616 acl_save_prefix="$prefix"
29617 prefix="$acl_final_prefix"
29618 acl_save_exec_prefix="$exec_prefix"
29619 exec_prefix="$acl_final_exec_prefix"
29620 eval x=\"$x\"
29621 exec_prefix="$acl_save_exec_prefix"
29622 prefix="$acl_save_prefix"
29624 if test "X$x" = "X$element"; then
29625 haveit=yes
29626 break
29628 done
29629 if test -z "$haveit"; then
29630 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29632 done
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29635 $as_echo_n "checking how to link with libiconv... " >&6; }
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29637 $as_echo "$LIBICONV" >&6; }
29638 else
29639 LIBICONV=
29640 LTLIBICONV=
29645 if test "$am_cv_func_iconv" = yes; then
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29647 $as_echo_n "checking for iconv declaration... " >&6; }
29648 if ${am_cv_proto_iconv+:} false; then :
29649 $as_echo_n "(cached) " >&6
29650 else
29652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29653 /* end confdefs.h. */
29655 #include <stdlib.h>
29656 #include <iconv.h>
29657 extern
29658 #ifdef __cplusplus
29660 #endif
29661 #if defined(__STDC__) || defined(__cplusplus)
29662 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29663 #else
29664 size_t iconv();
29665 #endif
29668 main ()
29672 return 0;
29674 _ACEOF
29675 if ac_fn_c_try_compile "$LINENO"; then :
29676 am_cv_proto_iconv_arg1=""
29677 else
29678 am_cv_proto_iconv_arg1="const"
29680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29681 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);"
29684 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29686 }$am_cv_proto_iconv" >&5
29687 $as_echo "${ac_t:-
29688 }$am_cv_proto_iconv" >&6; }
29690 cat >>confdefs.h <<_ACEOF
29691 #define ICONV_CONST $am_cv_proto_iconv_arg1
29692 _ACEOF
29697 else
29699 # This lets us hard-code the functionality we know we'll have in the cross
29700 # target environment. "Let" is a sugar-coated word placed on an especially
29701 # dull and tedious hack, actually.
29703 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29704 # that involve linking, can't be used:
29705 # "cannot open sim-crt0.o"
29706 # "cannot open crt0.o"
29707 # etc. All this is because there currently exists no unified, consistent
29708 # way for top level CC information to be passed down to target directories:
29709 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29710 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29711 # crosses can be removed.
29713 # If Canadian cross, then don't pick up tools from the build directory.
29714 # Used only in GLIBCXX_EXPORT_INCLUDES.
29715 if test -n "$with_cross_host" &&
29716 test x"$build_alias" != x"$with_cross_host" &&
29717 test x"$build" != x"$target";
29718 then
29719 CANADIAN=yes
29720 else
29721 CANADIAN=no
29724 # Construct crosses by hand, eliminating bits that need ld...
29725 # GLIBCXX_CHECK_MATH_SUPPORT
29727 # First, test for "known" system libraries. We may be using newlib even
29728 # on a hosted environment.
29729 if test "x${with_newlib}" = "xyes"; then
29730 os_include_dir="os/newlib"
29731 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29734 # GLIBCXX_CHECK_STDLIB_SUPPORT
29735 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29738 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29740 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29742 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29744 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29746 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29748 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29750 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29752 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29754 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29756 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29758 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29760 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29762 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29764 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29766 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29768 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29770 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29772 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29774 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29776 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29778 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29780 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29783 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29785 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29787 else
29789 # Base decisions on target environment.
29790 case "${host}" in
29791 arm*-*-symbianelf*)
29792 # This is a freestanding configuration; there is nothing to do here.
29795 avr*-*-*)
29796 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29798 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29800 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29802 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29804 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29806 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29808 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29810 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29812 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29814 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29816 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29818 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29820 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29822 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29824 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29826 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29828 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29830 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29832 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29834 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29836 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29838 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29840 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29844 mips*-sde-elf*)
29845 # These definitions are for the SDE C library rather than newlib.
29846 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29849 # All these tests are for C++; save the language and the compiler flags.
29850 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29851 # found in GLIBCXX_CONFIGURE.
29853 ac_ext=cpp
29854 ac_cpp='$CXXCPP $CPPFLAGS'
29855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29859 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29860 ac_save_CXXFLAGS="$CXXFLAGS"
29862 # Check for -ffunction-sections -fdata-sections
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29864 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29865 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29867 /* end confdefs.h. */
29868 int foo; void bar() { };
29870 main ()
29874 return 0;
29876 _ACEOF
29877 if ac_fn_cxx_try_compile "$LINENO"; then :
29878 ac_fdsections=yes
29879 else
29880 ac_fdsections=no
29882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29883 if test "$ac_test_CXXFLAGS" = set; then
29884 CXXFLAGS="$ac_save_CXXFLAGS"
29885 else
29886 # this is the suspicious part
29887 CXXFLAGS=''
29889 if test x"$ac_fdsections" = x"yes"; then
29890 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29893 $as_echo "$ac_fdsections" >&6; }
29895 ac_ext=c
29896 ac_cpp='$CPP $CPPFLAGS'
29897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904 # If we're not using GNU ld, then there's no point in even trying these
29905 # tests. Check for that first. We should have already tested for gld
29906 # by now (in libtool), but require it now just to be safe...
29907 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29908 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29912 # The name set by libtool depends on the version of libtool. Shame on us
29913 # for depending on an impl detail, but c'est la vie. Older versions used
29914 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29915 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29916 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29917 # set (hence we're using an older libtool), then set it.
29918 if test x${with_gnu_ld+set} != xset; then
29919 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29920 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29921 with_gnu_ld=no
29922 else
29923 with_gnu_ld=$ac_cv_prog_gnu_ld
29927 # Start by getting the version number. I think the libtool test already
29928 # does some of this, but throws away the result.
29929 glibcxx_ld_is_gold=no
29930 if test x"$with_gnu_ld" = x"yes"; then
29931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29932 $as_echo_n "checking for ld version... " >&6; }
29934 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29935 glibcxx_ld_is_gold=yes
29937 ldver=`$LD --version 2>/dev/null |
29938 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29940 glibcxx_gnu_ld_version=`echo $ldver | \
29941 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29943 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29946 # Set --gc-sections.
29947 glibcxx_have_gc_sections=no
29948 if test "$glibcxx_ld_is_gold" = "yes"; then
29949 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29950 glibcxx_have_gc_sections=yes
29952 else
29953 glibcxx_gcsections_min_ld=21602
29954 if test x"$with_gnu_ld" = x"yes" &&
29955 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29956 glibcxx_have_gc_sections=yes
29959 if test "$glibcxx_have_gc_sections" = "yes"; then
29960 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29961 # NB: This flag only works reliably after 2.16.1. Configure tests
29962 # for this are difficult, so hard wire a value that should work.
29964 ac_test_CFLAGS="${CFLAGS+set}"
29965 ac_save_CFLAGS="$CFLAGS"
29966 CFLAGS='-Wl,--gc-sections'
29968 # Check for -Wl,--gc-sections
29969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29970 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29971 if test x$gcc_no_link = xyes; then
29972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29975 /* end confdefs.h. */
29976 int one(void) { return 1; }
29977 int two(void) { return 2; }
29980 main ()
29982 two();
29984 return 0;
29986 _ACEOF
29987 if ac_fn_c_try_link "$LINENO"; then :
29988 ac_gcsections=yes
29989 else
29990 ac_gcsections=no
29992 rm -f core conftest.err conftest.$ac_objext \
29993 conftest$ac_exeext conftest.$ac_ext
29994 if test "$ac_gcsections" = "yes"; then
29995 rm -f conftest.c
29996 touch conftest.c
29997 if $CC -c conftest.c; then
29998 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29999 grep "Warning: gc-sections option ignored" > /dev/null; then
30000 ac_gcsections=no
30003 rm -f conftest.c conftest.o conftest
30005 if test "$ac_gcsections" = "yes"; then
30006 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
30009 $as_echo "$ac_gcsections" >&6; }
30011 if test "$ac_test_CFLAGS" = set; then
30012 CFLAGS="$ac_save_CFLAGS"
30013 else
30014 # this is the suspicious part
30015 CFLAGS=''
30019 # Set -z,relro.
30020 # Note this is only for shared objects.
30021 ac_ld_relro=no
30022 if test x"$with_gnu_ld" = x"yes"; then
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
30024 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
30025 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
30026 if test -n "$cxx_z_relo"; then
30027 OPT_LDFLAGS="-Wl,-z,relro"
30028 ac_ld_relro=yes
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
30031 $as_echo "$ac_ld_relro" >&6; }
30034 # Set linker optimization flags.
30035 if test x"$with_gnu_ld" = x"yes"; then
30036 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
30043 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30044 ac_save_CXXFLAGS="$CXXFLAGS"
30045 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
30048 $as_echo_n "checking for sin in -lm... " >&6; }
30049 if ${ac_cv_lib_m_sin+:} false; then :
30050 $as_echo_n "(cached) " >&6
30051 else
30052 ac_check_lib_save_LIBS=$LIBS
30053 LIBS="-lm $LIBS"
30054 if test x$gcc_no_link = xyes; then
30055 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30060 /* Override any GCC internal prototype to avoid an error.
30061 Use char because int might match the return type of a GCC
30062 builtin and then its argument prototype would still apply. */
30063 #ifdef __cplusplus
30064 extern "C"
30065 #endif
30066 char sin ();
30068 main ()
30070 return sin ();
30072 return 0;
30074 _ACEOF
30075 if ac_fn_c_try_link "$LINENO"; then :
30076 ac_cv_lib_m_sin=yes
30077 else
30078 ac_cv_lib_m_sin=no
30080 rm -f core conftest.err conftest.$ac_objext \
30081 conftest$ac_exeext conftest.$ac_ext
30082 LIBS=$ac_check_lib_save_LIBS
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
30085 $as_echo "$ac_cv_lib_m_sin" >&6; }
30086 if test "x$ac_cv_lib_m_sin" = xyes; then :
30087 libm="-lm"
30090 ac_save_LIBS="$LIBS"
30091 LIBS="$LIBS $libm"
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
30096 $as_echo_n "checking for isinf declaration... " >&6; }
30097 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30098 if ${glibcxx_cv_func_isinf_use+:} false; then :
30099 $as_echo_n "(cached) " >&6
30100 else
30103 ac_ext=cpp
30104 ac_cpp='$CXXCPP $CPPFLAGS'
30105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110 /* end confdefs.h. */
30111 #include <math.h>
30112 #ifdef HAVE_IEEEFP_H
30113 #include <ieeefp.h>
30114 #endif
30117 main ()
30119 isinf(0);
30121 return 0;
30123 _ACEOF
30124 if ac_fn_cxx_try_compile "$LINENO"; then :
30125 glibcxx_cv_func_isinf_use=yes
30126 else
30127 glibcxx_cv_func_isinf_use=no
30129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30130 ac_ext=c
30131 ac_cpp='$CPP $CPPFLAGS'
30132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30141 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30143 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30144 for ac_func in isinf
30145 do :
30146 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30147 if test "x$ac_cv_func_isinf" = xyes; then :
30148 cat >>confdefs.h <<_ACEOF
30149 #define HAVE_ISINF 1
30150 _ACEOF
30153 done
30155 else
30157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
30158 $as_echo_n "checking for _isinf declaration... " >&6; }
30159 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30160 if ${glibcxx_cv_func__isinf_use+:} false; then :
30161 $as_echo_n "(cached) " >&6
30162 else
30165 ac_ext=cpp
30166 ac_cpp='$CXXCPP $CPPFLAGS'
30167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30172 /* end confdefs.h. */
30173 #include <math.h>
30174 #ifdef HAVE_IEEEFP_H
30175 #include <ieeefp.h>
30176 #endif
30179 main ()
30181 _isinf(0);
30183 return 0;
30185 _ACEOF
30186 if ac_fn_cxx_try_compile "$LINENO"; then :
30187 glibcxx_cv_func__isinf_use=yes
30188 else
30189 glibcxx_cv_func__isinf_use=no
30191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30192 ac_ext=c
30193 ac_cpp='$CPP $CPPFLAGS'
30194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
30203 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
30205 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30206 for ac_func in _isinf
30207 do :
30208 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
30209 if test "x$ac_cv_func__isinf" = xyes; then :
30210 cat >>confdefs.h <<_ACEOF
30211 #define HAVE__ISINF 1
30212 _ACEOF
30215 done
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30225 $as_echo_n "checking for isnan declaration... " >&6; }
30226 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30227 if ${glibcxx_cv_func_isnan_use+:} false; then :
30228 $as_echo_n "(cached) " >&6
30229 else
30232 ac_ext=cpp
30233 ac_cpp='$CXXCPP $CPPFLAGS'
30234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30239 /* end confdefs.h. */
30240 #include <math.h>
30241 #ifdef HAVE_IEEEFP_H
30242 #include <ieeefp.h>
30243 #endif
30246 main ()
30248 isnan(0);
30250 return 0;
30252 _ACEOF
30253 if ac_fn_cxx_try_compile "$LINENO"; then :
30254 glibcxx_cv_func_isnan_use=yes
30255 else
30256 glibcxx_cv_func_isnan_use=no
30258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30259 ac_ext=c
30260 ac_cpp='$CPP $CPPFLAGS'
30261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30270 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30272 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30273 for ac_func in isnan
30274 do :
30275 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30276 if test "x$ac_cv_func_isnan" = xyes; then :
30277 cat >>confdefs.h <<_ACEOF
30278 #define HAVE_ISNAN 1
30279 _ACEOF
30282 done
30284 else
30286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30287 $as_echo_n "checking for _isnan declaration... " >&6; }
30288 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30289 if ${glibcxx_cv_func__isnan_use+:} false; then :
30290 $as_echo_n "(cached) " >&6
30291 else
30294 ac_ext=cpp
30295 ac_cpp='$CXXCPP $CPPFLAGS'
30296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30301 /* end confdefs.h. */
30302 #include <math.h>
30303 #ifdef HAVE_IEEEFP_H
30304 #include <ieeefp.h>
30305 #endif
30308 main ()
30310 _isnan(0);
30312 return 0;
30314 _ACEOF
30315 if ac_fn_cxx_try_compile "$LINENO"; then :
30316 glibcxx_cv_func__isnan_use=yes
30317 else
30318 glibcxx_cv_func__isnan_use=no
30320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321 ac_ext=c
30322 ac_cpp='$CPP $CPPFLAGS'
30323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30332 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30334 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30335 for ac_func in _isnan
30336 do :
30337 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30338 if test "x$ac_cv_func__isnan" = xyes; then :
30339 cat >>confdefs.h <<_ACEOF
30340 #define HAVE__ISNAN 1
30341 _ACEOF
30344 done
30353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30354 $as_echo_n "checking for finite declaration... " >&6; }
30355 if test x${glibcxx_cv_func_finite_use+set} != xset; then
30356 if ${glibcxx_cv_func_finite_use+:} false; then :
30357 $as_echo_n "(cached) " >&6
30358 else
30361 ac_ext=cpp
30362 ac_cpp='$CXXCPP $CPPFLAGS'
30363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30368 /* end confdefs.h. */
30369 #include <math.h>
30370 #ifdef HAVE_IEEEFP_H
30371 #include <ieeefp.h>
30372 #endif
30375 main ()
30377 finite(0);
30379 return 0;
30381 _ACEOF
30382 if ac_fn_cxx_try_compile "$LINENO"; then :
30383 glibcxx_cv_func_finite_use=yes
30384 else
30385 glibcxx_cv_func_finite_use=no
30387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30388 ac_ext=c
30389 ac_cpp='$CPP $CPPFLAGS'
30390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30399 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30401 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30402 for ac_func in finite
30403 do :
30404 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30405 if test "x$ac_cv_func_finite" = xyes; then :
30406 cat >>confdefs.h <<_ACEOF
30407 #define HAVE_FINITE 1
30408 _ACEOF
30411 done
30413 else
30415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30416 $as_echo_n "checking for _finite declaration... " >&6; }
30417 if test x${glibcxx_cv_func__finite_use+set} != xset; then
30418 if ${glibcxx_cv_func__finite_use+:} false; then :
30419 $as_echo_n "(cached) " >&6
30420 else
30423 ac_ext=cpp
30424 ac_cpp='$CXXCPP $CPPFLAGS'
30425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30430 /* end confdefs.h. */
30431 #include <math.h>
30432 #ifdef HAVE_IEEEFP_H
30433 #include <ieeefp.h>
30434 #endif
30437 main ()
30439 _finite(0);
30441 return 0;
30443 _ACEOF
30444 if ac_fn_cxx_try_compile "$LINENO"; then :
30445 glibcxx_cv_func__finite_use=yes
30446 else
30447 glibcxx_cv_func__finite_use=no
30449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30450 ac_ext=c
30451 ac_cpp='$CPP $CPPFLAGS'
30452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30461 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30463 if test x$glibcxx_cv_func__finite_use = x"yes"; then
30464 for ac_func in _finite
30465 do :
30466 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30467 if test "x$ac_cv_func__finite" = xyes; then :
30468 cat >>confdefs.h <<_ACEOF
30469 #define HAVE__FINITE 1
30470 _ACEOF
30473 done
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30483 $as_echo_n "checking for sincos declaration... " >&6; }
30484 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30485 if ${glibcxx_cv_func_sincos_use+:} false; then :
30486 $as_echo_n "(cached) " >&6
30487 else
30490 ac_ext=cpp
30491 ac_cpp='$CXXCPP $CPPFLAGS'
30492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30497 /* end confdefs.h. */
30498 #include <math.h>
30500 main ()
30502 sincos(0, 0, 0);
30504 return 0;
30506 _ACEOF
30507 if ac_fn_cxx_try_compile "$LINENO"; then :
30508 glibcxx_cv_func_sincos_use=yes
30509 else
30510 glibcxx_cv_func_sincos_use=no
30512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30513 ac_ext=c
30514 ac_cpp='$CPP $CPPFLAGS'
30515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30524 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30526 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30527 for ac_func in sincos
30528 do :
30529 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30530 if test "x$ac_cv_func_sincos" = xyes; then :
30531 cat >>confdefs.h <<_ACEOF
30532 #define HAVE_SINCOS 1
30533 _ACEOF
30536 done
30538 else
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30541 $as_echo_n "checking for _sincos declaration... " >&6; }
30542 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30543 if ${glibcxx_cv_func__sincos_use+:} false; then :
30544 $as_echo_n "(cached) " >&6
30545 else
30548 ac_ext=cpp
30549 ac_cpp='$CXXCPP $CPPFLAGS'
30550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30556 #include <math.h>
30558 main ()
30560 _sincos(0, 0, 0);
30562 return 0;
30564 _ACEOF
30565 if ac_fn_cxx_try_compile "$LINENO"; then :
30566 glibcxx_cv_func__sincos_use=yes
30567 else
30568 glibcxx_cv_func__sincos_use=no
30570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30571 ac_ext=c
30572 ac_cpp='$CPP $CPPFLAGS'
30573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30582 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30584 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30585 for ac_func in _sincos
30586 do :
30587 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30588 if test "x$ac_cv_func__sincos" = xyes; then :
30589 cat >>confdefs.h <<_ACEOF
30590 #define HAVE__SINCOS 1
30591 _ACEOF
30594 done
30603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30604 $as_echo_n "checking for fpclass declaration... " >&6; }
30605 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30606 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30607 $as_echo_n "(cached) " >&6
30608 else
30611 ac_ext=cpp
30612 ac_cpp='$CXXCPP $CPPFLAGS'
30613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30618 /* end confdefs.h. */
30619 #include <math.h>
30620 #ifdef HAVE_IEEEFP_H
30621 #include <ieeefp.h>
30622 #endif
30625 main ()
30627 fpclass(0);
30629 return 0;
30631 _ACEOF
30632 if ac_fn_cxx_try_compile "$LINENO"; then :
30633 glibcxx_cv_func_fpclass_use=yes
30634 else
30635 glibcxx_cv_func_fpclass_use=no
30637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30638 ac_ext=c
30639 ac_cpp='$CPP $CPPFLAGS'
30640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30649 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30651 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30652 for ac_func in fpclass
30653 do :
30654 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30655 if test "x$ac_cv_func_fpclass" = xyes; then :
30656 cat >>confdefs.h <<_ACEOF
30657 #define HAVE_FPCLASS 1
30658 _ACEOF
30661 done
30663 else
30665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30666 $as_echo_n "checking for _fpclass declaration... " >&6; }
30667 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30668 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30669 $as_echo_n "(cached) " >&6
30670 else
30673 ac_ext=cpp
30674 ac_cpp='$CXXCPP $CPPFLAGS'
30675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30680 /* end confdefs.h. */
30681 #include <math.h>
30682 #ifdef HAVE_IEEEFP_H
30683 #include <ieeefp.h>
30684 #endif
30687 main ()
30689 _fpclass(0);
30691 return 0;
30693 _ACEOF
30694 if ac_fn_cxx_try_compile "$LINENO"; then :
30695 glibcxx_cv_func__fpclass_use=yes
30696 else
30697 glibcxx_cv_func__fpclass_use=no
30699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30700 ac_ext=c
30701 ac_cpp='$CPP $CPPFLAGS'
30702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30711 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30713 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30714 for ac_func in _fpclass
30715 do :
30716 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30717 if test "x$ac_cv_func__fpclass" = xyes; then :
30718 cat >>confdefs.h <<_ACEOF
30719 #define HAVE__FPCLASS 1
30720 _ACEOF
30723 done
30732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30733 $as_echo_n "checking for qfpclass declaration... " >&6; }
30734 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30735 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30736 $as_echo_n "(cached) " >&6
30737 else
30740 ac_ext=cpp
30741 ac_cpp='$CXXCPP $CPPFLAGS'
30742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30747 /* end confdefs.h. */
30748 #include <math.h>
30749 #ifdef HAVE_IEEEFP_H
30750 #include <ieeefp.h>
30751 #endif
30754 main ()
30756 qfpclass(0);
30758 return 0;
30760 _ACEOF
30761 if ac_fn_cxx_try_compile "$LINENO"; then :
30762 glibcxx_cv_func_qfpclass_use=yes
30763 else
30764 glibcxx_cv_func_qfpclass_use=no
30766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30767 ac_ext=c
30768 ac_cpp='$CPP $CPPFLAGS'
30769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30778 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30780 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30781 for ac_func in qfpclass
30782 do :
30783 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30784 if test "x$ac_cv_func_qfpclass" = xyes; then :
30785 cat >>confdefs.h <<_ACEOF
30786 #define HAVE_QFPCLASS 1
30787 _ACEOF
30790 done
30792 else
30794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30795 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30796 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30797 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30798 $as_echo_n "(cached) " >&6
30799 else
30802 ac_ext=cpp
30803 ac_cpp='$CXXCPP $CPPFLAGS'
30804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30809 /* end confdefs.h. */
30810 #include <math.h>
30811 #ifdef HAVE_IEEEFP_H
30812 #include <ieeefp.h>
30813 #endif
30816 main ()
30818 _qfpclass(0);
30820 return 0;
30822 _ACEOF
30823 if ac_fn_cxx_try_compile "$LINENO"; then :
30824 glibcxx_cv_func__qfpclass_use=yes
30825 else
30826 glibcxx_cv_func__qfpclass_use=no
30828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30829 ac_ext=c
30830 ac_cpp='$CPP $CPPFLAGS'
30831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30840 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30842 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30843 for ac_func in _qfpclass
30844 do :
30845 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30846 if test "x$ac_cv_func__qfpclass" = xyes; then :
30847 cat >>confdefs.h <<_ACEOF
30848 #define HAVE__QFPCLASS 1
30849 _ACEOF
30852 done
30861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30862 $as_echo_n "checking for hypot declaration... " >&6; }
30863 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30864 if ${glibcxx_cv_func_hypot_use+:} false; then :
30865 $as_echo_n "(cached) " >&6
30866 else
30869 ac_ext=cpp
30870 ac_cpp='$CXXCPP $CPPFLAGS'
30871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30876 /* end confdefs.h. */
30877 #include <math.h>
30879 main ()
30881 hypot(0, 0);
30883 return 0;
30885 _ACEOF
30886 if ac_fn_cxx_try_compile "$LINENO"; then :
30887 glibcxx_cv_func_hypot_use=yes
30888 else
30889 glibcxx_cv_func_hypot_use=no
30891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30892 ac_ext=c
30893 ac_cpp='$CPP $CPPFLAGS'
30894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30903 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30905 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30906 for ac_func in hypot
30907 do :
30908 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30909 if test "x$ac_cv_func_hypot" = xyes; then :
30910 cat >>confdefs.h <<_ACEOF
30911 #define HAVE_HYPOT 1
30912 _ACEOF
30915 done
30917 else
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30920 $as_echo_n "checking for _hypot declaration... " >&6; }
30921 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30922 if ${glibcxx_cv_func__hypot_use+:} false; then :
30923 $as_echo_n "(cached) " >&6
30924 else
30927 ac_ext=cpp
30928 ac_cpp='$CXXCPP $CPPFLAGS'
30929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30934 /* end confdefs.h. */
30935 #include <math.h>
30937 main ()
30939 _hypot(0, 0);
30941 return 0;
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func__hypot_use=yes
30946 else
30947 glibcxx_cv_func__hypot_use=no
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30961 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30963 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30964 for ac_func in _hypot
30965 do :
30966 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30967 if test "x$ac_cv_func__hypot" = xyes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE__HYPOT 1
30970 _ACEOF
30973 done
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30983 $as_echo_n "checking for float trig functions... " >&6; }
30984 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30985 $as_echo_n "(cached) " >&6
30986 else
30989 ac_ext=cpp
30990 ac_cpp='$CXXCPP $CPPFLAGS'
30991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30996 /* end confdefs.h. */
30997 #include <math.h>
30999 main ()
31001 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
31003 return 0;
31005 _ACEOF
31006 if ac_fn_cxx_try_compile "$LINENO"; then :
31007 glibcxx_cv_func_float_trig_use=yes
31008 else
31009 glibcxx_cv_func_float_trig_use=no
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
31021 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
31022 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
31023 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
31024 do :
31025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31027 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31028 cat >>confdefs.h <<_ACEOF
31029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31030 _ACEOF
31033 done
31035 else
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
31037 $as_echo_n "checking for _float trig functions... " >&6; }
31038 if ${glibcxx_cv_func__float_trig_use+:} false; then :
31039 $as_echo_n "(cached) " >&6
31040 else
31043 ac_ext=cpp
31044 ac_cpp='$CXXCPP $CPPFLAGS'
31045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31050 /* end confdefs.h. */
31051 #include <math.h>
31053 main ()
31055 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
31057 return 0;
31059 _ACEOF
31060 if ac_fn_cxx_try_compile "$LINENO"; then :
31061 glibcxx_cv_func__float_trig_use=yes
31062 else
31063 glibcxx_cv_func__float_trig_use=no
31065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31066 ac_ext=c
31067 ac_cpp='$CPP $CPPFLAGS'
31068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
31075 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
31076 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
31077 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
31078 do :
31079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31081 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31082 cat >>confdefs.h <<_ACEOF
31083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31084 _ACEOF
31087 done
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
31097 $as_echo_n "checking for float round functions... " >&6; }
31098 if ${glibcxx_cv_func_float_round_use+:} false; then :
31099 $as_echo_n "(cached) " >&6
31100 else
31103 ac_ext=cpp
31104 ac_cpp='$CXXCPP $CPPFLAGS'
31105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31110 /* end confdefs.h. */
31111 #include <math.h>
31113 main ()
31115 ceilf (0); floorf (0);
31117 return 0;
31119 _ACEOF
31120 if ac_fn_cxx_try_compile "$LINENO"; then :
31121 glibcxx_cv_func_float_round_use=yes
31122 else
31123 glibcxx_cv_func_float_round_use=no
31125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31126 ac_ext=c
31127 ac_cpp='$CPP $CPPFLAGS'
31128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
31135 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
31136 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
31137 for ac_func in ceilf floorf
31138 do :
31139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31142 cat >>confdefs.h <<_ACEOF
31143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31144 _ACEOF
31147 done
31149 else
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31151 $as_echo_n "checking for _float round functions... " >&6; }
31152 if ${glibcxx_cv_func__float_round_use+:} false; then :
31153 $as_echo_n "(cached) " >&6
31154 else
31157 ac_ext=cpp
31158 ac_cpp='$CXXCPP $CPPFLAGS'
31159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31164 /* end confdefs.h. */
31165 #include <math.h>
31167 main ()
31169 _ceilf (0); _floorf (0);
31171 return 0;
31173 _ACEOF
31174 if ac_fn_cxx_try_compile "$LINENO"; then :
31175 glibcxx_cv_func__float_round_use=yes
31176 else
31177 glibcxx_cv_func__float_round_use=no
31179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31180 ac_ext=c
31181 ac_cpp='$CPP $CPPFLAGS'
31182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31189 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31190 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31191 for ac_func in _ceilf _floorf
31192 do :
31193 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31194 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31195 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31196 cat >>confdefs.h <<_ACEOF
31197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31198 _ACEOF
31201 done
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31212 $as_echo_n "checking for expf declaration... " >&6; }
31213 if test x${glibcxx_cv_func_expf_use+set} != xset; then
31214 if ${glibcxx_cv_func_expf_use+:} false; then :
31215 $as_echo_n "(cached) " >&6
31216 else
31219 ac_ext=cpp
31220 ac_cpp='$CXXCPP $CPPFLAGS'
31221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31227 #include <math.h>
31228 #ifdef HAVE_IEEEFP_H
31229 #include <ieeefp.h>
31230 #endif
31233 main ()
31235 expf(0);
31237 return 0;
31239 _ACEOF
31240 if ac_fn_cxx_try_compile "$LINENO"; then :
31241 glibcxx_cv_func_expf_use=yes
31242 else
31243 glibcxx_cv_func_expf_use=no
31245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31246 ac_ext=c
31247 ac_cpp='$CPP $CPPFLAGS'
31248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31257 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
31259 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31260 for ac_func in expf
31261 do :
31262 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31263 if test "x$ac_cv_func_expf" = xyes; then :
31264 cat >>confdefs.h <<_ACEOF
31265 #define HAVE_EXPF 1
31266 _ACEOF
31269 done
31271 else
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31274 $as_echo_n "checking for _expf declaration... " >&6; }
31275 if test x${glibcxx_cv_func__expf_use+set} != xset; then
31276 if ${glibcxx_cv_func__expf_use+:} false; then :
31277 $as_echo_n "(cached) " >&6
31278 else
31281 ac_ext=cpp
31282 ac_cpp='$CXXCPP $CPPFLAGS'
31283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31288 /* end confdefs.h. */
31289 #include <math.h>
31290 #ifdef HAVE_IEEEFP_H
31291 #include <ieeefp.h>
31292 #endif
31295 main ()
31297 _expf(0);
31299 return 0;
31301 _ACEOF
31302 if ac_fn_cxx_try_compile "$LINENO"; then :
31303 glibcxx_cv_func__expf_use=yes
31304 else
31305 glibcxx_cv_func__expf_use=no
31307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31319 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
31321 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31322 for ac_func in _expf
31323 do :
31324 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31325 if test "x$ac_cv_func__expf" = xyes; then :
31326 cat >>confdefs.h <<_ACEOF
31327 #define HAVE__EXPF 1
31328 _ACEOF
31331 done
31340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31341 $as_echo_n "checking for isnanf declaration... " >&6; }
31342 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31343 if ${glibcxx_cv_func_isnanf_use+:} false; then :
31344 $as_echo_n "(cached) " >&6
31345 else
31348 ac_ext=cpp
31349 ac_cpp='$CXXCPP $CPPFLAGS'
31350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31355 /* end confdefs.h. */
31356 #include <math.h>
31357 #ifdef HAVE_IEEEFP_H
31358 #include <ieeefp.h>
31359 #endif
31362 main ()
31364 isnanf(0);
31366 return 0;
31368 _ACEOF
31369 if ac_fn_cxx_try_compile "$LINENO"; then :
31370 glibcxx_cv_func_isnanf_use=yes
31371 else
31372 glibcxx_cv_func_isnanf_use=no
31374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31375 ac_ext=c
31376 ac_cpp='$CPP $CPPFLAGS'
31377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31386 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31388 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31389 for ac_func in isnanf
31390 do :
31391 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31392 if test "x$ac_cv_func_isnanf" = xyes; then :
31393 cat >>confdefs.h <<_ACEOF
31394 #define HAVE_ISNANF 1
31395 _ACEOF
31398 done
31400 else
31402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31403 $as_echo_n "checking for _isnanf declaration... " >&6; }
31404 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31405 if ${glibcxx_cv_func__isnanf_use+:} false; then :
31406 $as_echo_n "(cached) " >&6
31407 else
31410 ac_ext=cpp
31411 ac_cpp='$CXXCPP $CPPFLAGS'
31412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31417 /* end confdefs.h. */
31418 #include <math.h>
31419 #ifdef HAVE_IEEEFP_H
31420 #include <ieeefp.h>
31421 #endif
31424 main ()
31426 _isnanf(0);
31428 return 0;
31430 _ACEOF
31431 if ac_fn_cxx_try_compile "$LINENO"; then :
31432 glibcxx_cv_func__isnanf_use=yes
31433 else
31434 glibcxx_cv_func__isnanf_use=no
31436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31437 ac_ext=c
31438 ac_cpp='$CPP $CPPFLAGS'
31439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31448 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31450 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31451 for ac_func in _isnanf
31452 do :
31453 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31454 if test "x$ac_cv_func__isnanf" = xyes; then :
31455 cat >>confdefs.h <<_ACEOF
31456 #define HAVE__ISNANF 1
31457 _ACEOF
31460 done
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31470 $as_echo_n "checking for isinff declaration... " >&6; }
31471 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31472 if ${glibcxx_cv_func_isinff_use+:} false; then :
31473 $as_echo_n "(cached) " >&6
31474 else
31477 ac_ext=cpp
31478 ac_cpp='$CXXCPP $CPPFLAGS'
31479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31484 /* end confdefs.h. */
31485 #include <math.h>
31486 #ifdef HAVE_IEEEFP_H
31487 #include <ieeefp.h>
31488 #endif
31491 main ()
31493 isinff(0);
31495 return 0;
31497 _ACEOF
31498 if ac_fn_cxx_try_compile "$LINENO"; then :
31499 glibcxx_cv_func_isinff_use=yes
31500 else
31501 glibcxx_cv_func_isinff_use=no
31503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31504 ac_ext=c
31505 ac_cpp='$CPP $CPPFLAGS'
31506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31515 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31517 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31518 for ac_func in isinff
31519 do :
31520 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31521 if test "x$ac_cv_func_isinff" = xyes; then :
31522 cat >>confdefs.h <<_ACEOF
31523 #define HAVE_ISINFF 1
31524 _ACEOF
31527 done
31529 else
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31532 $as_echo_n "checking for _isinff declaration... " >&6; }
31533 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31534 if ${glibcxx_cv_func__isinff_use+:} false; then :
31535 $as_echo_n "(cached) " >&6
31536 else
31539 ac_ext=cpp
31540 ac_cpp='$CXXCPP $CPPFLAGS'
31541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31546 /* end confdefs.h. */
31547 #include <math.h>
31548 #ifdef HAVE_IEEEFP_H
31549 #include <ieeefp.h>
31550 #endif
31553 main ()
31555 _isinff(0);
31557 return 0;
31559 _ACEOF
31560 if ac_fn_cxx_try_compile "$LINENO"; then :
31561 glibcxx_cv_func__isinff_use=yes
31562 else
31563 glibcxx_cv_func__isinff_use=no
31565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31566 ac_ext=c
31567 ac_cpp='$CPP $CPPFLAGS'
31568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31577 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31579 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31580 for ac_func in _isinff
31581 do :
31582 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31583 if test "x$ac_cv_func__isinff" = xyes; then :
31584 cat >>confdefs.h <<_ACEOF
31585 #define HAVE__ISINFF 1
31586 _ACEOF
31589 done
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31599 $as_echo_n "checking for atan2f declaration... " >&6; }
31600 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31601 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31602 $as_echo_n "(cached) " >&6
31603 else
31606 ac_ext=cpp
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31614 #include <math.h>
31616 main ()
31618 atan2f(0, 0);
31620 return 0;
31622 _ACEOF
31623 if ac_fn_cxx_try_compile "$LINENO"; then :
31624 glibcxx_cv_func_atan2f_use=yes
31625 else
31626 glibcxx_cv_func_atan2f_use=no
31628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31629 ac_ext=c
31630 ac_cpp='$CPP $CPPFLAGS'
31631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31640 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31642 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31643 for ac_func in atan2f
31644 do :
31645 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31646 if test "x$ac_cv_func_atan2f" = xyes; then :
31647 cat >>confdefs.h <<_ACEOF
31648 #define HAVE_ATAN2F 1
31649 _ACEOF
31652 done
31654 else
31656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31657 $as_echo_n "checking for _atan2f declaration... " >&6; }
31658 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31659 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31660 $as_echo_n "(cached) " >&6
31661 else
31664 ac_ext=cpp
31665 ac_cpp='$CXXCPP $CPPFLAGS'
31666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31671 /* end confdefs.h. */
31672 #include <math.h>
31674 main ()
31676 _atan2f(0, 0);
31678 return 0;
31680 _ACEOF
31681 if ac_fn_cxx_try_compile "$LINENO"; then :
31682 glibcxx_cv_func__atan2f_use=yes
31683 else
31684 glibcxx_cv_func__atan2f_use=no
31686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31687 ac_ext=c
31688 ac_cpp='$CPP $CPPFLAGS'
31689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31698 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31700 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31701 for ac_func in _atan2f
31702 do :
31703 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31704 if test "x$ac_cv_func__atan2f" = xyes; then :
31705 cat >>confdefs.h <<_ACEOF
31706 #define HAVE__ATAN2F 1
31707 _ACEOF
31710 done
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31720 $as_echo_n "checking for fabsf declaration... " >&6; }
31721 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31722 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31723 $as_echo_n "(cached) " >&6
31724 else
31727 ac_ext=cpp
31728 ac_cpp='$CXXCPP $CPPFLAGS'
31729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31734 /* end confdefs.h. */
31735 #include <math.h>
31736 #ifdef HAVE_IEEEFP_H
31737 #include <ieeefp.h>
31738 #endif
31741 main ()
31743 fabsf(0);
31745 return 0;
31747 _ACEOF
31748 if ac_fn_cxx_try_compile "$LINENO"; then :
31749 glibcxx_cv_func_fabsf_use=yes
31750 else
31751 glibcxx_cv_func_fabsf_use=no
31753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31754 ac_ext=c
31755 ac_cpp='$CPP $CPPFLAGS'
31756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31765 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31767 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31768 for ac_func in fabsf
31769 do :
31770 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31771 if test "x$ac_cv_func_fabsf" = xyes; then :
31772 cat >>confdefs.h <<_ACEOF
31773 #define HAVE_FABSF 1
31774 _ACEOF
31777 done
31779 else
31781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31782 $as_echo_n "checking for _fabsf declaration... " >&6; }
31783 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31784 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31785 $as_echo_n "(cached) " >&6
31786 else
31789 ac_ext=cpp
31790 ac_cpp='$CXXCPP $CPPFLAGS'
31791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31796 /* end confdefs.h. */
31797 #include <math.h>
31798 #ifdef HAVE_IEEEFP_H
31799 #include <ieeefp.h>
31800 #endif
31803 main ()
31805 _fabsf(0);
31807 return 0;
31809 _ACEOF
31810 if ac_fn_cxx_try_compile "$LINENO"; then :
31811 glibcxx_cv_func__fabsf_use=yes
31812 else
31813 glibcxx_cv_func__fabsf_use=no
31815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31816 ac_ext=c
31817 ac_cpp='$CPP $CPPFLAGS'
31818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31827 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31829 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31830 for ac_func in _fabsf
31831 do :
31832 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31833 if test "x$ac_cv_func__fabsf" = xyes; then :
31834 cat >>confdefs.h <<_ACEOF
31835 #define HAVE__FABSF 1
31836 _ACEOF
31839 done
31848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31849 $as_echo_n "checking for fmodf declaration... " >&6; }
31850 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31851 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31852 $as_echo_n "(cached) " >&6
31853 else
31856 ac_ext=cpp
31857 ac_cpp='$CXXCPP $CPPFLAGS'
31858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31863 /* end confdefs.h. */
31864 #include <math.h>
31866 main ()
31868 fmodf(0, 0);
31870 return 0;
31872 _ACEOF
31873 if ac_fn_cxx_try_compile "$LINENO"; then :
31874 glibcxx_cv_func_fmodf_use=yes
31875 else
31876 glibcxx_cv_func_fmodf_use=no
31878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31879 ac_ext=c
31880 ac_cpp='$CPP $CPPFLAGS'
31881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31890 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31892 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31893 for ac_func in fmodf
31894 do :
31895 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31896 if test "x$ac_cv_func_fmodf" = xyes; then :
31897 cat >>confdefs.h <<_ACEOF
31898 #define HAVE_FMODF 1
31899 _ACEOF
31902 done
31904 else
31906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31907 $as_echo_n "checking for _fmodf declaration... " >&6; }
31908 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31909 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31910 $as_echo_n "(cached) " >&6
31911 else
31914 ac_ext=cpp
31915 ac_cpp='$CXXCPP $CPPFLAGS'
31916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31921 /* end confdefs.h. */
31922 #include <math.h>
31924 main ()
31926 _fmodf(0, 0);
31928 return 0;
31930 _ACEOF
31931 if ac_fn_cxx_try_compile "$LINENO"; then :
31932 glibcxx_cv_func__fmodf_use=yes
31933 else
31934 glibcxx_cv_func__fmodf_use=no
31936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31937 ac_ext=c
31938 ac_cpp='$CPP $CPPFLAGS'
31939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31948 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31950 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31951 for ac_func in _fmodf
31952 do :
31953 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31954 if test "x$ac_cv_func__fmodf" = xyes; then :
31955 cat >>confdefs.h <<_ACEOF
31956 #define HAVE__FMODF 1
31957 _ACEOF
31960 done
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31970 $as_echo_n "checking for frexpf declaration... " >&6; }
31971 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31972 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31973 $as_echo_n "(cached) " >&6
31974 else
31977 ac_ext=cpp
31978 ac_cpp='$CXXCPP $CPPFLAGS'
31979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31984 /* end confdefs.h. */
31985 #include <math.h>
31987 main ()
31989 frexpf(0, 0);
31991 return 0;
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_frexpf_use=yes
31996 else
31997 glibcxx_cv_func_frexpf_use=no
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
32011 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
32013 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32014 for ac_func in frexpf
32015 do :
32016 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
32017 if test "x$ac_cv_func_frexpf" = xyes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE_FREXPF 1
32020 _ACEOF
32023 done
32025 else
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
32028 $as_echo_n "checking for _frexpf declaration... " >&6; }
32029 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32030 if ${glibcxx_cv_func__frexpf_use+:} false; then :
32031 $as_echo_n "(cached) " >&6
32032 else
32035 ac_ext=cpp
32036 ac_cpp='$CXXCPP $CPPFLAGS'
32037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042 /* end confdefs.h. */
32043 #include <math.h>
32045 main ()
32047 _frexpf(0, 0);
32049 return 0;
32051 _ACEOF
32052 if ac_fn_cxx_try_compile "$LINENO"; then :
32053 glibcxx_cv_func__frexpf_use=yes
32054 else
32055 glibcxx_cv_func__frexpf_use=no
32057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32058 ac_ext=c
32059 ac_cpp='$CPP $CPPFLAGS'
32060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
32069 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
32071 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32072 for ac_func in _frexpf
32073 do :
32074 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
32075 if test "x$ac_cv_func__frexpf" = xyes; then :
32076 cat >>confdefs.h <<_ACEOF
32077 #define HAVE__FREXPF 1
32078 _ACEOF
32081 done
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
32091 $as_echo_n "checking for hypotf declaration... " >&6; }
32092 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32093 if ${glibcxx_cv_func_hypotf_use+:} false; then :
32094 $as_echo_n "(cached) " >&6
32095 else
32098 ac_ext=cpp
32099 ac_cpp='$CXXCPP $CPPFLAGS'
32100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32105 /* end confdefs.h. */
32106 #include <math.h>
32108 main ()
32110 hypotf(0, 0);
32112 return 0;
32114 _ACEOF
32115 if ac_fn_cxx_try_compile "$LINENO"; then :
32116 glibcxx_cv_func_hypotf_use=yes
32117 else
32118 glibcxx_cv_func_hypotf_use=no
32120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32121 ac_ext=c
32122 ac_cpp='$CPP $CPPFLAGS'
32123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
32132 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
32134 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32135 for ac_func in hypotf
32136 do :
32137 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
32138 if test "x$ac_cv_func_hypotf" = xyes; then :
32139 cat >>confdefs.h <<_ACEOF
32140 #define HAVE_HYPOTF 1
32141 _ACEOF
32144 done
32146 else
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32149 $as_echo_n "checking for _hypotf declaration... " >&6; }
32150 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32151 if ${glibcxx_cv_func__hypotf_use+:} false; then :
32152 $as_echo_n "(cached) " >&6
32153 else
32156 ac_ext=cpp
32157 ac_cpp='$CXXCPP $CPPFLAGS'
32158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32163 /* end confdefs.h. */
32164 #include <math.h>
32166 main ()
32168 _hypotf(0, 0);
32170 return 0;
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func__hypotf_use=yes
32175 else
32176 glibcxx_cv_func__hypotf_use=no
32178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179 ac_ext=c
32180 ac_cpp='$CPP $CPPFLAGS'
32181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
32190 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32192 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32193 for ac_func in _hypotf
32194 do :
32195 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32196 if test "x$ac_cv_func__hypotf" = xyes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE__HYPOTF 1
32199 _ACEOF
32202 done
32211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32212 $as_echo_n "checking for ldexpf declaration... " >&6; }
32213 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32214 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32215 $as_echo_n "(cached) " >&6
32216 else
32219 ac_ext=cpp
32220 ac_cpp='$CXXCPP $CPPFLAGS'
32221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32226 /* end confdefs.h. */
32227 #include <math.h>
32229 main ()
32231 ldexpf(0, 0);
32233 return 0;
32235 _ACEOF
32236 if ac_fn_cxx_try_compile "$LINENO"; then :
32237 glibcxx_cv_func_ldexpf_use=yes
32238 else
32239 glibcxx_cv_func_ldexpf_use=no
32241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32242 ac_ext=c
32243 ac_cpp='$CPP $CPPFLAGS'
32244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32253 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32255 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32256 for ac_func in ldexpf
32257 do :
32258 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32259 if test "x$ac_cv_func_ldexpf" = xyes; then :
32260 cat >>confdefs.h <<_ACEOF
32261 #define HAVE_LDEXPF 1
32262 _ACEOF
32265 done
32267 else
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32270 $as_echo_n "checking for _ldexpf declaration... " >&6; }
32271 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32272 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32273 $as_echo_n "(cached) " >&6
32274 else
32277 ac_ext=cpp
32278 ac_cpp='$CXXCPP $CPPFLAGS'
32279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32284 /* end confdefs.h. */
32285 #include <math.h>
32287 main ()
32289 _ldexpf(0, 0);
32291 return 0;
32293 _ACEOF
32294 if ac_fn_cxx_try_compile "$LINENO"; then :
32295 glibcxx_cv_func__ldexpf_use=yes
32296 else
32297 glibcxx_cv_func__ldexpf_use=no
32299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32300 ac_ext=c
32301 ac_cpp='$CPP $CPPFLAGS'
32302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32311 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32313 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32314 for ac_func in _ldexpf
32315 do :
32316 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32317 if test "x$ac_cv_func__ldexpf" = xyes; then :
32318 cat >>confdefs.h <<_ACEOF
32319 #define HAVE__LDEXPF 1
32320 _ACEOF
32323 done
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32333 $as_echo_n "checking for logf declaration... " >&6; }
32334 if test x${glibcxx_cv_func_logf_use+set} != xset; then
32335 if ${glibcxx_cv_func_logf_use+:} false; then :
32336 $as_echo_n "(cached) " >&6
32337 else
32340 ac_ext=cpp
32341 ac_cpp='$CXXCPP $CPPFLAGS'
32342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32347 /* end confdefs.h. */
32348 #include <math.h>
32349 #ifdef HAVE_IEEEFP_H
32350 #include <ieeefp.h>
32351 #endif
32354 main ()
32356 logf(0);
32358 return 0;
32360 _ACEOF
32361 if ac_fn_cxx_try_compile "$LINENO"; then :
32362 glibcxx_cv_func_logf_use=yes
32363 else
32364 glibcxx_cv_func_logf_use=no
32366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32367 ac_ext=c
32368 ac_cpp='$CPP $CPPFLAGS'
32369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32378 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
32380 if test x$glibcxx_cv_func_logf_use = x"yes"; then
32381 for ac_func in logf
32382 do :
32383 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32384 if test "x$ac_cv_func_logf" = xyes; then :
32385 cat >>confdefs.h <<_ACEOF
32386 #define HAVE_LOGF 1
32387 _ACEOF
32390 done
32392 else
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32395 $as_echo_n "checking for _logf declaration... " >&6; }
32396 if test x${glibcxx_cv_func__logf_use+set} != xset; then
32397 if ${glibcxx_cv_func__logf_use+:} false; then :
32398 $as_echo_n "(cached) " >&6
32399 else
32402 ac_ext=cpp
32403 ac_cpp='$CXXCPP $CPPFLAGS'
32404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32409 /* end confdefs.h. */
32410 #include <math.h>
32411 #ifdef HAVE_IEEEFP_H
32412 #include <ieeefp.h>
32413 #endif
32416 main ()
32418 _logf(0);
32420 return 0;
32422 _ACEOF
32423 if ac_fn_cxx_try_compile "$LINENO"; then :
32424 glibcxx_cv_func__logf_use=yes
32425 else
32426 glibcxx_cv_func__logf_use=no
32428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32429 ac_ext=c
32430 ac_cpp='$CPP $CPPFLAGS'
32431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32440 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32442 if test x$glibcxx_cv_func__logf_use = x"yes"; then
32443 for ac_func in _logf
32444 do :
32445 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32446 if test "x$ac_cv_func__logf" = xyes; then :
32447 cat >>confdefs.h <<_ACEOF
32448 #define HAVE__LOGF 1
32449 _ACEOF
32452 done
32461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32462 $as_echo_n "checking for log10f declaration... " >&6; }
32463 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32464 if ${glibcxx_cv_func_log10f_use+:} false; then :
32465 $as_echo_n "(cached) " >&6
32466 else
32469 ac_ext=cpp
32470 ac_cpp='$CXXCPP $CPPFLAGS'
32471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32476 /* end confdefs.h. */
32477 #include <math.h>
32478 #ifdef HAVE_IEEEFP_H
32479 #include <ieeefp.h>
32480 #endif
32483 main ()
32485 log10f(0);
32487 return 0;
32489 _ACEOF
32490 if ac_fn_cxx_try_compile "$LINENO"; then :
32491 glibcxx_cv_func_log10f_use=yes
32492 else
32493 glibcxx_cv_func_log10f_use=no
32495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32496 ac_ext=c
32497 ac_cpp='$CPP $CPPFLAGS'
32498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32507 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32509 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32510 for ac_func in log10f
32511 do :
32512 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32513 if test "x$ac_cv_func_log10f" = xyes; then :
32514 cat >>confdefs.h <<_ACEOF
32515 #define HAVE_LOG10F 1
32516 _ACEOF
32519 done
32521 else
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32524 $as_echo_n "checking for _log10f declaration... " >&6; }
32525 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32526 if ${glibcxx_cv_func__log10f_use+:} false; then :
32527 $as_echo_n "(cached) " >&6
32528 else
32531 ac_ext=cpp
32532 ac_cpp='$CXXCPP $CPPFLAGS'
32533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32538 /* end confdefs.h. */
32539 #include <math.h>
32540 #ifdef HAVE_IEEEFP_H
32541 #include <ieeefp.h>
32542 #endif
32545 main ()
32547 _log10f(0);
32549 return 0;
32551 _ACEOF
32552 if ac_fn_cxx_try_compile "$LINENO"; then :
32553 glibcxx_cv_func__log10f_use=yes
32554 else
32555 glibcxx_cv_func__log10f_use=no
32557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32558 ac_ext=c
32559 ac_cpp='$CPP $CPPFLAGS'
32560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32569 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32571 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32572 for ac_func in _log10f
32573 do :
32574 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32575 if test "x$ac_cv_func__log10f" = xyes; then :
32576 cat >>confdefs.h <<_ACEOF
32577 #define HAVE__LOG10F 1
32578 _ACEOF
32581 done
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32591 $as_echo_n "checking for modff declaration... " >&6; }
32592 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32593 if ${glibcxx_cv_func_modff_use+:} false; then :
32594 $as_echo_n "(cached) " >&6
32595 else
32598 ac_ext=cpp
32599 ac_cpp='$CXXCPP $CPPFLAGS'
32600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32605 /* end confdefs.h. */
32606 #include <math.h>
32608 main ()
32610 modff(0, 0);
32612 return 0;
32614 _ACEOF
32615 if ac_fn_cxx_try_compile "$LINENO"; then :
32616 glibcxx_cv_func_modff_use=yes
32617 else
32618 glibcxx_cv_func_modff_use=no
32620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32621 ac_ext=c
32622 ac_cpp='$CPP $CPPFLAGS'
32623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32632 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32634 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32635 for ac_func in modff
32636 do :
32637 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32638 if test "x$ac_cv_func_modff" = xyes; then :
32639 cat >>confdefs.h <<_ACEOF
32640 #define HAVE_MODFF 1
32641 _ACEOF
32644 done
32646 else
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32649 $as_echo_n "checking for _modff declaration... " >&6; }
32650 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32651 if ${glibcxx_cv_func__modff_use+:} false; then :
32652 $as_echo_n "(cached) " >&6
32653 else
32656 ac_ext=cpp
32657 ac_cpp='$CXXCPP $CPPFLAGS'
32658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32663 /* end confdefs.h. */
32664 #include <math.h>
32666 main ()
32668 _modff(0, 0);
32670 return 0;
32672 _ACEOF
32673 if ac_fn_cxx_try_compile "$LINENO"; then :
32674 glibcxx_cv_func__modff_use=yes
32675 else
32676 glibcxx_cv_func__modff_use=no
32678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32679 ac_ext=c
32680 ac_cpp='$CPP $CPPFLAGS'
32681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32690 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32692 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32693 for ac_func in _modff
32694 do :
32695 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32696 if test "x$ac_cv_func__modff" = xyes; then :
32697 cat >>confdefs.h <<_ACEOF
32698 #define HAVE__MODFF 1
32699 _ACEOF
32702 done
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32712 $as_echo_n "checking for modf declaration... " >&6; }
32713 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32714 if ${glibcxx_cv_func_modf_use+:} false; then :
32715 $as_echo_n "(cached) " >&6
32716 else
32719 ac_ext=cpp
32720 ac_cpp='$CXXCPP $CPPFLAGS'
32721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32726 /* end confdefs.h. */
32727 #include <math.h>
32729 main ()
32731 modf(0, 0);
32733 return 0;
32735 _ACEOF
32736 if ac_fn_cxx_try_compile "$LINENO"; then :
32737 glibcxx_cv_func_modf_use=yes
32738 else
32739 glibcxx_cv_func_modf_use=no
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 ac_ext=c
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32753 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32755 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32756 for ac_func in modf
32757 do :
32758 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32759 if test "x$ac_cv_func_modf" = xyes; then :
32760 cat >>confdefs.h <<_ACEOF
32761 #define HAVE_MODF 1
32762 _ACEOF
32765 done
32767 else
32769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32770 $as_echo_n "checking for _modf declaration... " >&6; }
32771 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32772 if ${glibcxx_cv_func__modf_use+:} false; then :
32773 $as_echo_n "(cached) " >&6
32774 else
32777 ac_ext=cpp
32778 ac_cpp='$CXXCPP $CPPFLAGS'
32779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32784 /* end confdefs.h. */
32785 #include <math.h>
32787 main ()
32789 _modf(0, 0);
32791 return 0;
32793 _ACEOF
32794 if ac_fn_cxx_try_compile "$LINENO"; then :
32795 glibcxx_cv_func__modf_use=yes
32796 else
32797 glibcxx_cv_func__modf_use=no
32799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32800 ac_ext=c
32801 ac_cpp='$CPP $CPPFLAGS'
32802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32811 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32813 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32814 for ac_func in _modf
32815 do :
32816 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32817 if test "x$ac_cv_func__modf" = xyes; then :
32818 cat >>confdefs.h <<_ACEOF
32819 #define HAVE__MODF 1
32820 _ACEOF
32823 done
32832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32833 $as_echo_n "checking for powf declaration... " >&6; }
32834 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32835 if ${glibcxx_cv_func_powf_use+:} false; then :
32836 $as_echo_n "(cached) " >&6
32837 else
32840 ac_ext=cpp
32841 ac_cpp='$CXXCPP $CPPFLAGS'
32842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32847 /* end confdefs.h. */
32848 #include <math.h>
32850 main ()
32852 powf(0, 0);
32854 return 0;
32856 _ACEOF
32857 if ac_fn_cxx_try_compile "$LINENO"; then :
32858 glibcxx_cv_func_powf_use=yes
32859 else
32860 glibcxx_cv_func_powf_use=no
32862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863 ac_ext=c
32864 ac_cpp='$CPP $CPPFLAGS'
32865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32874 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32876 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32877 for ac_func in powf
32878 do :
32879 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32880 if test "x$ac_cv_func_powf" = xyes; then :
32881 cat >>confdefs.h <<_ACEOF
32882 #define HAVE_POWF 1
32883 _ACEOF
32886 done
32888 else
32890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32891 $as_echo_n "checking for _powf declaration... " >&6; }
32892 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32893 if ${glibcxx_cv_func__powf_use+:} false; then :
32894 $as_echo_n "(cached) " >&6
32895 else
32898 ac_ext=cpp
32899 ac_cpp='$CXXCPP $CPPFLAGS'
32900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32905 /* end confdefs.h. */
32906 #include <math.h>
32908 main ()
32910 _powf(0, 0);
32912 return 0;
32914 _ACEOF
32915 if ac_fn_cxx_try_compile "$LINENO"; then :
32916 glibcxx_cv_func__powf_use=yes
32917 else
32918 glibcxx_cv_func__powf_use=no
32920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32921 ac_ext=c
32922 ac_cpp='$CPP $CPPFLAGS'
32923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32932 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32934 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32935 for ac_func in _powf
32936 do :
32937 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32938 if test "x$ac_cv_func__powf" = xyes; then :
32939 cat >>confdefs.h <<_ACEOF
32940 #define HAVE__POWF 1
32941 _ACEOF
32944 done
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32954 $as_echo_n "checking for sqrtf declaration... " >&6; }
32955 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32956 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32957 $as_echo_n "(cached) " >&6
32958 else
32961 ac_ext=cpp
32962 ac_cpp='$CXXCPP $CPPFLAGS'
32963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32968 /* end confdefs.h. */
32969 #include <math.h>
32970 #ifdef HAVE_IEEEFP_H
32971 #include <ieeefp.h>
32972 #endif
32975 main ()
32977 sqrtf(0);
32979 return 0;
32981 _ACEOF
32982 if ac_fn_cxx_try_compile "$LINENO"; then :
32983 glibcxx_cv_func_sqrtf_use=yes
32984 else
32985 glibcxx_cv_func_sqrtf_use=no
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_ext=c
32989 ac_cpp='$CPP $CPPFLAGS'
32990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32999 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33001 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
33002 for ac_func in sqrtf
33003 do :
33004 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33005 if test "x$ac_cv_func_sqrtf" = xyes; then :
33006 cat >>confdefs.h <<_ACEOF
33007 #define HAVE_SQRTF 1
33008 _ACEOF
33011 done
33013 else
33015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
33016 $as_echo_n "checking for _sqrtf declaration... " >&6; }
33017 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
33018 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
33019 $as_echo_n "(cached) " >&6
33020 else
33023 ac_ext=cpp
33024 ac_cpp='$CXXCPP $CPPFLAGS'
33025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33030 /* end confdefs.h. */
33031 #include <math.h>
33032 #ifdef HAVE_IEEEFP_H
33033 #include <ieeefp.h>
33034 #endif
33037 main ()
33039 _sqrtf(0);
33041 return 0;
33043 _ACEOF
33044 if ac_fn_cxx_try_compile "$LINENO"; then :
33045 glibcxx_cv_func__sqrtf_use=yes
33046 else
33047 glibcxx_cv_func__sqrtf_use=no
33049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33050 ac_ext=c
33051 ac_cpp='$CPP $CPPFLAGS'
33052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
33061 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
33063 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
33064 for ac_func in _sqrtf
33065 do :
33066 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
33067 if test "x$ac_cv_func__sqrtf" = xyes; then :
33068 cat >>confdefs.h <<_ACEOF
33069 #define HAVE__SQRTF 1
33070 _ACEOF
33073 done
33082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33083 $as_echo_n "checking for sincosf declaration... " >&6; }
33084 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33085 if ${glibcxx_cv_func_sincosf_use+:} false; then :
33086 $as_echo_n "(cached) " >&6
33087 else
33090 ac_ext=cpp
33091 ac_cpp='$CXXCPP $CPPFLAGS'
33092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33097 /* end confdefs.h. */
33098 #include <math.h>
33100 main ()
33102 sincosf(0, 0, 0);
33104 return 0;
33106 _ACEOF
33107 if ac_fn_cxx_try_compile "$LINENO"; then :
33108 glibcxx_cv_func_sincosf_use=yes
33109 else
33110 glibcxx_cv_func_sincosf_use=no
33112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113 ac_ext=c
33114 ac_cpp='$CPP $CPPFLAGS'
33115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33124 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33126 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33127 for ac_func in sincosf
33128 do :
33129 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
33130 if test "x$ac_cv_func_sincosf" = xyes; then :
33131 cat >>confdefs.h <<_ACEOF
33132 #define HAVE_SINCOSF 1
33133 _ACEOF
33136 done
33138 else
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33141 $as_echo_n "checking for _sincosf declaration... " >&6; }
33142 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33143 if ${glibcxx_cv_func__sincosf_use+:} false; then :
33144 $as_echo_n "(cached) " >&6
33145 else
33148 ac_ext=cpp
33149 ac_cpp='$CXXCPP $CPPFLAGS'
33150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33155 /* end confdefs.h. */
33156 #include <math.h>
33158 main ()
33160 _sincosf(0, 0, 0);
33162 return 0;
33164 _ACEOF
33165 if ac_fn_cxx_try_compile "$LINENO"; then :
33166 glibcxx_cv_func__sincosf_use=yes
33167 else
33168 glibcxx_cv_func__sincosf_use=no
33170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171 ac_ext=c
33172 ac_cpp='$CPP $CPPFLAGS'
33173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33182 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33184 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33185 for ac_func in _sincosf
33186 do :
33187 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33188 if test "x$ac_cv_func__sincosf" = xyes; then :
33189 cat >>confdefs.h <<_ACEOF
33190 #define HAVE__SINCOSF 1
33191 _ACEOF
33194 done
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33204 $as_echo_n "checking for finitef declaration... " >&6; }
33205 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33206 if ${glibcxx_cv_func_finitef_use+:} false; then :
33207 $as_echo_n "(cached) " >&6
33208 else
33211 ac_ext=cpp
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33218 /* end confdefs.h. */
33219 #include <math.h>
33220 #ifdef HAVE_IEEEFP_H
33221 #include <ieeefp.h>
33222 #endif
33225 main ()
33227 finitef(0);
33229 return 0;
33231 _ACEOF
33232 if ac_fn_cxx_try_compile "$LINENO"; then :
33233 glibcxx_cv_func_finitef_use=yes
33234 else
33235 glibcxx_cv_func_finitef_use=no
33237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33238 ac_ext=c
33239 ac_cpp='$CPP $CPPFLAGS'
33240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33249 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33251 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33252 for ac_func in finitef
33253 do :
33254 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33255 if test "x$ac_cv_func_finitef" = xyes; then :
33256 cat >>confdefs.h <<_ACEOF
33257 #define HAVE_FINITEF 1
33258 _ACEOF
33261 done
33263 else
33265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33266 $as_echo_n "checking for _finitef declaration... " >&6; }
33267 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33268 if ${glibcxx_cv_func__finitef_use+:} false; then :
33269 $as_echo_n "(cached) " >&6
33270 else
33273 ac_ext=cpp
33274 ac_cpp='$CXXCPP $CPPFLAGS'
33275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33280 /* end confdefs.h. */
33281 #include <math.h>
33282 #ifdef HAVE_IEEEFP_H
33283 #include <ieeefp.h>
33284 #endif
33287 main ()
33289 _finitef(0);
33291 return 0;
33293 _ACEOF
33294 if ac_fn_cxx_try_compile "$LINENO"; then :
33295 glibcxx_cv_func__finitef_use=yes
33296 else
33297 glibcxx_cv_func__finitef_use=no
33299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33300 ac_ext=c
33301 ac_cpp='$CPP $CPPFLAGS'
33302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33311 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33313 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33314 for ac_func in _finitef
33315 do :
33316 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33317 if test "x$ac_cv_func__finitef" = xyes; then :
33318 cat >>confdefs.h <<_ACEOF
33319 #define HAVE__FINITEF 1
33320 _ACEOF
33323 done
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33333 $as_echo_n "checking for long double trig functions... " >&6; }
33334 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33335 $as_echo_n "(cached) " >&6
33336 else
33339 ac_ext=cpp
33340 ac_cpp='$CXXCPP $CPPFLAGS'
33341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33346 /* end confdefs.h. */
33347 #include <math.h>
33349 main ()
33351 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33353 return 0;
33355 _ACEOF
33356 if ac_fn_cxx_try_compile "$LINENO"; then :
33357 glibcxx_cv_func_long_double_trig_use=yes
33358 else
33359 glibcxx_cv_func_long_double_trig_use=no
33361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33362 ac_ext=c
33363 ac_cpp='$CPP $CPPFLAGS'
33364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33371 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33372 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33373 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33374 do :
33375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33377 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33378 cat >>confdefs.h <<_ACEOF
33379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33380 _ACEOF
33383 done
33385 else
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33387 $as_echo_n "checking for _long double trig functions... " >&6; }
33388 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33389 $as_echo_n "(cached) " >&6
33390 else
33393 ac_ext=cpp
33394 ac_cpp='$CXXCPP $CPPFLAGS'
33395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33400 /* end confdefs.h. */
33401 #include <math.h>
33403 main ()
33405 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33407 return 0;
33409 _ACEOF
33410 if ac_fn_cxx_try_compile "$LINENO"; then :
33411 glibcxx_cv_func__long_double_trig_use=yes
33412 else
33413 glibcxx_cv_func__long_double_trig_use=no
33415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33416 ac_ext=c
33417 ac_cpp='$CPP $CPPFLAGS'
33418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33425 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33426 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33427 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33428 do :
33429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33432 cat >>confdefs.h <<_ACEOF
33433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33434 _ACEOF
33437 done
33446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33447 $as_echo_n "checking for long double round functions... " >&6; }
33448 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33449 $as_echo_n "(cached) " >&6
33450 else
33453 ac_ext=cpp
33454 ac_cpp='$CXXCPP $CPPFLAGS'
33455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33460 /* end confdefs.h. */
33461 #include <math.h>
33463 main ()
33465 ceill (0); floorl (0);
33467 return 0;
33469 _ACEOF
33470 if ac_fn_cxx_try_compile "$LINENO"; then :
33471 glibcxx_cv_func_long_double_round_use=yes
33472 else
33473 glibcxx_cv_func_long_double_round_use=no
33475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33476 ac_ext=c
33477 ac_cpp='$CPP $CPPFLAGS'
33478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33485 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33486 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33487 for ac_func in ceill floorl
33488 do :
33489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33492 cat >>confdefs.h <<_ACEOF
33493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33494 _ACEOF
33497 done
33499 else
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33501 $as_echo_n "checking for _long double round functions... " >&6; }
33502 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33503 $as_echo_n "(cached) " >&6
33504 else
33507 ac_ext=cpp
33508 ac_cpp='$CXXCPP $CPPFLAGS'
33509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33514 /* end confdefs.h. */
33515 #include <math.h>
33517 main ()
33519 _ceill (0); _floorl (0);
33521 return 0;
33523 _ACEOF
33524 if ac_fn_cxx_try_compile "$LINENO"; then :
33525 glibcxx_cv_func__long_double_round_use=yes
33526 else
33527 glibcxx_cv_func__long_double_round_use=no
33529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33530 ac_ext=c
33531 ac_cpp='$CPP $CPPFLAGS'
33532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33539 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33540 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33541 for ac_func in _ceill _floorl
33542 do :
33543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33546 cat >>confdefs.h <<_ACEOF
33547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33548 _ACEOF
33551 done
33561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33562 $as_echo_n "checking for isnanl declaration... " >&6; }
33563 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33564 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33565 $as_echo_n "(cached) " >&6
33566 else
33569 ac_ext=cpp
33570 ac_cpp='$CXXCPP $CPPFLAGS'
33571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33576 /* end confdefs.h. */
33577 #include <math.h>
33578 #ifdef HAVE_IEEEFP_H
33579 #include <ieeefp.h>
33580 #endif
33583 main ()
33585 isnanl(0);
33587 return 0;
33589 _ACEOF
33590 if ac_fn_cxx_try_compile "$LINENO"; then :
33591 glibcxx_cv_func_isnanl_use=yes
33592 else
33593 glibcxx_cv_func_isnanl_use=no
33595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33596 ac_ext=c
33597 ac_cpp='$CPP $CPPFLAGS'
33598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33607 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33609 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33610 for ac_func in isnanl
33611 do :
33612 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33613 if test "x$ac_cv_func_isnanl" = xyes; then :
33614 cat >>confdefs.h <<_ACEOF
33615 #define HAVE_ISNANL 1
33616 _ACEOF
33619 done
33621 else
33623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33624 $as_echo_n "checking for _isnanl declaration... " >&6; }
33625 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33626 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33627 $as_echo_n "(cached) " >&6
33628 else
33631 ac_ext=cpp
33632 ac_cpp='$CXXCPP $CPPFLAGS'
33633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33638 /* end confdefs.h. */
33639 #include <math.h>
33640 #ifdef HAVE_IEEEFP_H
33641 #include <ieeefp.h>
33642 #endif
33645 main ()
33647 _isnanl(0);
33649 return 0;
33651 _ACEOF
33652 if ac_fn_cxx_try_compile "$LINENO"; then :
33653 glibcxx_cv_func__isnanl_use=yes
33654 else
33655 glibcxx_cv_func__isnanl_use=no
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33669 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33671 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33672 for ac_func in _isnanl
33673 do :
33674 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33675 if test "x$ac_cv_func__isnanl" = xyes; then :
33676 cat >>confdefs.h <<_ACEOF
33677 #define HAVE__ISNANL 1
33678 _ACEOF
33681 done
33690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33691 $as_echo_n "checking for isinfl declaration... " >&6; }
33692 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33693 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33694 $as_echo_n "(cached) " >&6
33695 else
33698 ac_ext=cpp
33699 ac_cpp='$CXXCPP $CPPFLAGS'
33700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33705 /* end confdefs.h. */
33706 #include <math.h>
33707 #ifdef HAVE_IEEEFP_H
33708 #include <ieeefp.h>
33709 #endif
33712 main ()
33714 isinfl(0);
33716 return 0;
33718 _ACEOF
33719 if ac_fn_cxx_try_compile "$LINENO"; then :
33720 glibcxx_cv_func_isinfl_use=yes
33721 else
33722 glibcxx_cv_func_isinfl_use=no
33724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33725 ac_ext=c
33726 ac_cpp='$CPP $CPPFLAGS'
33727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33736 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33738 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33739 for ac_func in isinfl
33740 do :
33741 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33742 if test "x$ac_cv_func_isinfl" = xyes; then :
33743 cat >>confdefs.h <<_ACEOF
33744 #define HAVE_ISINFL 1
33745 _ACEOF
33748 done
33750 else
33752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33753 $as_echo_n "checking for _isinfl declaration... " >&6; }
33754 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33755 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33756 $as_echo_n "(cached) " >&6
33757 else
33760 ac_ext=cpp
33761 ac_cpp='$CXXCPP $CPPFLAGS'
33762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33767 /* end confdefs.h. */
33768 #include <math.h>
33769 #ifdef HAVE_IEEEFP_H
33770 #include <ieeefp.h>
33771 #endif
33774 main ()
33776 _isinfl(0);
33778 return 0;
33780 _ACEOF
33781 if ac_fn_cxx_try_compile "$LINENO"; then :
33782 glibcxx_cv_func__isinfl_use=yes
33783 else
33784 glibcxx_cv_func__isinfl_use=no
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 ac_ext=c
33788 ac_cpp='$CPP $CPPFLAGS'
33789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33798 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33800 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33801 for ac_func in _isinfl
33802 do :
33803 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33804 if test "x$ac_cv_func__isinfl" = xyes; then :
33805 cat >>confdefs.h <<_ACEOF
33806 #define HAVE__ISINFL 1
33807 _ACEOF
33810 done
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33820 $as_echo_n "checking for atan2l declaration... " >&6; }
33821 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33822 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33823 $as_echo_n "(cached) " >&6
33824 else
33827 ac_ext=cpp
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33834 /* end confdefs.h. */
33835 #include <math.h>
33837 main ()
33839 atan2l(0, 0);
33841 return 0;
33843 _ACEOF
33844 if ac_fn_cxx_try_compile "$LINENO"; then :
33845 glibcxx_cv_func_atan2l_use=yes
33846 else
33847 glibcxx_cv_func_atan2l_use=no
33849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33850 ac_ext=c
33851 ac_cpp='$CPP $CPPFLAGS'
33852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33861 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33863 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33864 for ac_func in atan2l
33865 do :
33866 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33867 if test "x$ac_cv_func_atan2l" = xyes; then :
33868 cat >>confdefs.h <<_ACEOF
33869 #define HAVE_ATAN2L 1
33870 _ACEOF
33873 done
33875 else
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33878 $as_echo_n "checking for _atan2l declaration... " >&6; }
33879 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33880 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33881 $as_echo_n "(cached) " >&6
33882 else
33885 ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h. */
33893 #include <math.h>
33895 main ()
33897 _atan2l(0, 0);
33899 return 0;
33901 _ACEOF
33902 if ac_fn_cxx_try_compile "$LINENO"; then :
33903 glibcxx_cv_func__atan2l_use=yes
33904 else
33905 glibcxx_cv_func__atan2l_use=no
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908 ac_ext=c
33909 ac_cpp='$CPP $CPPFLAGS'
33910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33919 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33921 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33922 for ac_func in _atan2l
33923 do :
33924 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33925 if test "x$ac_cv_func__atan2l" = xyes; then :
33926 cat >>confdefs.h <<_ACEOF
33927 #define HAVE__ATAN2L 1
33928 _ACEOF
33931 done
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33941 $as_echo_n "checking for expl declaration... " >&6; }
33942 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33943 if ${glibcxx_cv_func_expl_use+:} false; then :
33944 $as_echo_n "(cached) " >&6
33945 else
33948 ac_ext=cpp
33949 ac_cpp='$CXXCPP $CPPFLAGS'
33950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33955 /* end confdefs.h. */
33956 #include <math.h>
33957 #ifdef HAVE_IEEEFP_H
33958 #include <ieeefp.h>
33959 #endif
33962 main ()
33964 expl(0);
33966 return 0;
33968 _ACEOF
33969 if ac_fn_cxx_try_compile "$LINENO"; then :
33970 glibcxx_cv_func_expl_use=yes
33971 else
33972 glibcxx_cv_func_expl_use=no
33974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 ac_ext=c
33976 ac_cpp='$CPP $CPPFLAGS'
33977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33986 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33988 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33989 for ac_func in expl
33990 do :
33991 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33992 if test "x$ac_cv_func_expl" = xyes; then :
33993 cat >>confdefs.h <<_ACEOF
33994 #define HAVE_EXPL 1
33995 _ACEOF
33998 done
34000 else
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
34003 $as_echo_n "checking for _expl declaration... " >&6; }
34004 if test x${glibcxx_cv_func__expl_use+set} != xset; then
34005 if ${glibcxx_cv_func__expl_use+:} false; then :
34006 $as_echo_n "(cached) " >&6
34007 else
34010 ac_ext=cpp
34011 ac_cpp='$CXXCPP $CPPFLAGS'
34012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34017 /* end confdefs.h. */
34018 #include <math.h>
34019 #ifdef HAVE_IEEEFP_H
34020 #include <ieeefp.h>
34021 #endif
34024 main ()
34026 _expl(0);
34028 return 0;
34030 _ACEOF
34031 if ac_fn_cxx_try_compile "$LINENO"; then :
34032 glibcxx_cv_func__expl_use=yes
34033 else
34034 glibcxx_cv_func__expl_use=no
34036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34037 ac_ext=c
34038 ac_cpp='$CPP $CPPFLAGS'
34039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
34048 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
34050 if test x$glibcxx_cv_func__expl_use = x"yes"; then
34051 for ac_func in _expl
34052 do :
34053 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
34054 if test "x$ac_cv_func__expl" = xyes; then :
34055 cat >>confdefs.h <<_ACEOF
34056 #define HAVE__EXPL 1
34057 _ACEOF
34060 done
34069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34070 $as_echo_n "checking for fabsl declaration... " >&6; }
34071 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
34072 if ${glibcxx_cv_func_fabsl_use+:} false; then :
34073 $as_echo_n "(cached) " >&6
34074 else
34077 ac_ext=cpp
34078 ac_cpp='$CXXCPP $CPPFLAGS'
34079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34084 /* end confdefs.h. */
34085 #include <math.h>
34086 #ifdef HAVE_IEEEFP_H
34087 #include <ieeefp.h>
34088 #endif
34091 main ()
34093 fabsl(0);
34095 return 0;
34097 _ACEOF
34098 if ac_fn_cxx_try_compile "$LINENO"; then :
34099 glibcxx_cv_func_fabsl_use=yes
34100 else
34101 glibcxx_cv_func_fabsl_use=no
34103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34104 ac_ext=c
34105 ac_cpp='$CPP $CPPFLAGS'
34106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34115 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34117 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
34118 for ac_func in fabsl
34119 do :
34120 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
34121 if test "x$ac_cv_func_fabsl" = xyes; then :
34122 cat >>confdefs.h <<_ACEOF
34123 #define HAVE_FABSL 1
34124 _ACEOF
34127 done
34129 else
34131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
34132 $as_echo_n "checking for _fabsl declaration... " >&6; }
34133 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
34134 if ${glibcxx_cv_func__fabsl_use+:} false; then :
34135 $as_echo_n "(cached) " >&6
34136 else
34139 ac_ext=cpp
34140 ac_cpp='$CXXCPP $CPPFLAGS'
34141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34146 /* end confdefs.h. */
34147 #include <math.h>
34148 #ifdef HAVE_IEEEFP_H
34149 #include <ieeefp.h>
34150 #endif
34153 main ()
34155 _fabsl(0);
34157 return 0;
34159 _ACEOF
34160 if ac_fn_cxx_try_compile "$LINENO"; then :
34161 glibcxx_cv_func__fabsl_use=yes
34162 else
34163 glibcxx_cv_func__fabsl_use=no
34165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166 ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
34177 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
34179 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
34180 for ac_func in _fabsl
34181 do :
34182 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
34183 if test "x$ac_cv_func__fabsl" = xyes; then :
34184 cat >>confdefs.h <<_ACEOF
34185 #define HAVE__FABSL 1
34186 _ACEOF
34189 done
34198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34199 $as_echo_n "checking for fmodl declaration... " >&6; }
34200 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34201 if ${glibcxx_cv_func_fmodl_use+:} false; then :
34202 $as_echo_n "(cached) " >&6
34203 else
34206 ac_ext=cpp
34207 ac_cpp='$CXXCPP $CPPFLAGS'
34208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34213 /* end confdefs.h. */
34214 #include <math.h>
34216 main ()
34218 fmodl(0, 0);
34220 return 0;
34222 _ACEOF
34223 if ac_fn_cxx_try_compile "$LINENO"; then :
34224 glibcxx_cv_func_fmodl_use=yes
34225 else
34226 glibcxx_cv_func_fmodl_use=no
34228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34229 ac_ext=c
34230 ac_cpp='$CPP $CPPFLAGS'
34231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34240 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34242 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34243 for ac_func in fmodl
34244 do :
34245 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34246 if test "x$ac_cv_func_fmodl" = xyes; then :
34247 cat >>confdefs.h <<_ACEOF
34248 #define HAVE_FMODL 1
34249 _ACEOF
34252 done
34254 else
34256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34257 $as_echo_n "checking for _fmodl declaration... " >&6; }
34258 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34259 if ${glibcxx_cv_func__fmodl_use+:} false; then :
34260 $as_echo_n "(cached) " >&6
34261 else
34264 ac_ext=cpp
34265 ac_cpp='$CXXCPP $CPPFLAGS'
34266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271 /* end confdefs.h. */
34272 #include <math.h>
34274 main ()
34276 _fmodl(0, 0);
34278 return 0;
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func__fmodl_use=yes
34283 else
34284 glibcxx_cv_func__fmodl_use=no
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34298 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34300 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34301 for ac_func in _fmodl
34302 do :
34303 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34304 if test "x$ac_cv_func__fmodl" = xyes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE__FMODL 1
34307 _ACEOF
34310 done
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34320 $as_echo_n "checking for frexpl declaration... " >&6; }
34321 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34322 if ${glibcxx_cv_func_frexpl_use+:} false; then :
34323 $as_echo_n "(cached) " >&6
34324 else
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34334 /* end confdefs.h. */
34335 #include <math.h>
34337 main ()
34339 frexpl(0, 0);
34341 return 0;
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func_frexpl_use=yes
34346 else
34347 glibcxx_cv_func_frexpl_use=no
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34361 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34363 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34364 for ac_func in frexpl
34365 do :
34366 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34367 if test "x$ac_cv_func_frexpl" = xyes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE_FREXPL 1
34370 _ACEOF
34373 done
34375 else
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34378 $as_echo_n "checking for _frexpl declaration... " >&6; }
34379 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34380 if ${glibcxx_cv_func__frexpl_use+:} false; then :
34381 $as_echo_n "(cached) " >&6
34382 else
34385 ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34393 #include <math.h>
34395 main ()
34397 _frexpl(0, 0);
34399 return 0;
34401 _ACEOF
34402 if ac_fn_cxx_try_compile "$LINENO"; then :
34403 glibcxx_cv_func__frexpl_use=yes
34404 else
34405 glibcxx_cv_func__frexpl_use=no
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34419 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34421 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34422 for ac_func in _frexpl
34423 do :
34424 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34425 if test "x$ac_cv_func__frexpl" = xyes; then :
34426 cat >>confdefs.h <<_ACEOF
34427 #define HAVE__FREXPL 1
34428 _ACEOF
34431 done
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34441 $as_echo_n "checking for hypotl declaration... " >&6; }
34442 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34443 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34444 $as_echo_n "(cached) " >&6
34445 else
34448 ac_ext=cpp
34449 ac_cpp='$CXXCPP $CPPFLAGS'
34450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34455 /* end confdefs.h. */
34456 #include <math.h>
34458 main ()
34460 hypotl(0, 0);
34462 return 0;
34464 _ACEOF
34465 if ac_fn_cxx_try_compile "$LINENO"; then :
34466 glibcxx_cv_func_hypotl_use=yes
34467 else
34468 glibcxx_cv_func_hypotl_use=no
34470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34471 ac_ext=c
34472 ac_cpp='$CPP $CPPFLAGS'
34473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34482 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34484 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34485 for ac_func in hypotl
34486 do :
34487 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34488 if test "x$ac_cv_func_hypotl" = xyes; then :
34489 cat >>confdefs.h <<_ACEOF
34490 #define HAVE_HYPOTL 1
34491 _ACEOF
34494 done
34496 else
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34499 $as_echo_n "checking for _hypotl declaration... " >&6; }
34500 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34501 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34502 $as_echo_n "(cached) " >&6
34503 else
34506 ac_ext=cpp
34507 ac_cpp='$CXXCPP $CPPFLAGS'
34508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513 /* end confdefs.h. */
34514 #include <math.h>
34516 main ()
34518 _hypotl(0, 0);
34520 return 0;
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524 glibcxx_cv_func__hypotl_use=yes
34525 else
34526 glibcxx_cv_func__hypotl_use=no
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529 ac_ext=c
34530 ac_cpp='$CPP $CPPFLAGS'
34531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34540 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34542 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34543 for ac_func in _hypotl
34544 do :
34545 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34546 if test "x$ac_cv_func__hypotl" = xyes; then :
34547 cat >>confdefs.h <<_ACEOF
34548 #define HAVE__HYPOTL 1
34549 _ACEOF
34552 done
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34562 $as_echo_n "checking for ldexpl declaration... " >&6; }
34563 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34564 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34565 $as_echo_n "(cached) " >&6
34566 else
34569 ac_ext=cpp
34570 ac_cpp='$CXXCPP $CPPFLAGS'
34571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34576 /* end confdefs.h. */
34577 #include <math.h>
34579 main ()
34581 ldexpl(0, 0);
34583 return 0;
34585 _ACEOF
34586 if ac_fn_cxx_try_compile "$LINENO"; then :
34587 glibcxx_cv_func_ldexpl_use=yes
34588 else
34589 glibcxx_cv_func_ldexpl_use=no
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592 ac_ext=c
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34603 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34605 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34606 for ac_func in ldexpl
34607 do :
34608 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34609 if test "x$ac_cv_func_ldexpl" = xyes; then :
34610 cat >>confdefs.h <<_ACEOF
34611 #define HAVE_LDEXPL 1
34612 _ACEOF
34615 done
34617 else
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34620 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34621 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34622 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34623 $as_echo_n "(cached) " >&6
34624 else
34627 ac_ext=cpp
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h. */
34635 #include <math.h>
34637 main ()
34639 _ldexpl(0, 0);
34641 return 0;
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func__ldexpl_use=yes
34646 else
34647 glibcxx_cv_func__ldexpl_use=no
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34661 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34663 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34664 for ac_func in _ldexpl
34665 do :
34666 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34667 if test "x$ac_cv_func__ldexpl" = xyes; then :
34668 cat >>confdefs.h <<_ACEOF
34669 #define HAVE__LDEXPL 1
34670 _ACEOF
34673 done
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34683 $as_echo_n "checking for logl declaration... " >&6; }
34684 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34685 if ${glibcxx_cv_func_logl_use+:} false; then :
34686 $as_echo_n "(cached) " >&6
34687 else
34690 ac_ext=cpp
34691 ac_cpp='$CXXCPP $CPPFLAGS'
34692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34698 #include <math.h>
34699 #ifdef HAVE_IEEEFP_H
34700 #include <ieeefp.h>
34701 #endif
34704 main ()
34706 logl(0);
34708 return 0;
34710 _ACEOF
34711 if ac_fn_cxx_try_compile "$LINENO"; then :
34712 glibcxx_cv_func_logl_use=yes
34713 else
34714 glibcxx_cv_func_logl_use=no
34716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34717 ac_ext=c
34718 ac_cpp='$CPP $CPPFLAGS'
34719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34728 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34730 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34731 for ac_func in logl
34732 do :
34733 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34734 if test "x$ac_cv_func_logl" = xyes; then :
34735 cat >>confdefs.h <<_ACEOF
34736 #define HAVE_LOGL 1
34737 _ACEOF
34740 done
34742 else
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34745 $as_echo_n "checking for _logl declaration... " >&6; }
34746 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34747 if ${glibcxx_cv_func__logl_use+:} false; then :
34748 $as_echo_n "(cached) " >&6
34749 else
34752 ac_ext=cpp
34753 ac_cpp='$CXXCPP $CPPFLAGS'
34754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34759 /* end confdefs.h. */
34760 #include <math.h>
34761 #ifdef HAVE_IEEEFP_H
34762 #include <ieeefp.h>
34763 #endif
34766 main ()
34768 _logl(0);
34770 return 0;
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func__logl_use=yes
34775 else
34776 glibcxx_cv_func__logl_use=no
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34790 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34792 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34793 for ac_func in _logl
34794 do :
34795 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34796 if test "x$ac_cv_func__logl" = xyes; then :
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE__LOGL 1
34799 _ACEOF
34802 done
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34812 $as_echo_n "checking for log10l declaration... " >&6; }
34813 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34814 if ${glibcxx_cv_func_log10l_use+:} false; then :
34815 $as_echo_n "(cached) " >&6
34816 else
34819 ac_ext=cpp
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34826 /* end confdefs.h. */
34827 #include <math.h>
34828 #ifdef HAVE_IEEEFP_H
34829 #include <ieeefp.h>
34830 #endif
34833 main ()
34835 log10l(0);
34837 return 0;
34839 _ACEOF
34840 if ac_fn_cxx_try_compile "$LINENO"; then :
34841 glibcxx_cv_func_log10l_use=yes
34842 else
34843 glibcxx_cv_func_log10l_use=no
34845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34846 ac_ext=c
34847 ac_cpp='$CPP $CPPFLAGS'
34848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34857 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34859 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34860 for ac_func in log10l
34861 do :
34862 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34863 if test "x$ac_cv_func_log10l" = xyes; then :
34864 cat >>confdefs.h <<_ACEOF
34865 #define HAVE_LOG10L 1
34866 _ACEOF
34869 done
34871 else
34873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34874 $as_echo_n "checking for _log10l declaration... " >&6; }
34875 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34876 if ${glibcxx_cv_func__log10l_use+:} false; then :
34877 $as_echo_n "(cached) " >&6
34878 else
34881 ac_ext=cpp
34882 ac_cpp='$CXXCPP $CPPFLAGS'
34883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34888 /* end confdefs.h. */
34889 #include <math.h>
34890 #ifdef HAVE_IEEEFP_H
34891 #include <ieeefp.h>
34892 #endif
34895 main ()
34897 _log10l(0);
34899 return 0;
34901 _ACEOF
34902 if ac_fn_cxx_try_compile "$LINENO"; then :
34903 glibcxx_cv_func__log10l_use=yes
34904 else
34905 glibcxx_cv_func__log10l_use=no
34907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34908 ac_ext=c
34909 ac_cpp='$CPP $CPPFLAGS'
34910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34919 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34921 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34922 for ac_func in _log10l
34923 do :
34924 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34925 if test "x$ac_cv_func__log10l" = xyes; then :
34926 cat >>confdefs.h <<_ACEOF
34927 #define HAVE__LOG10L 1
34928 _ACEOF
34931 done
34940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34941 $as_echo_n "checking for modfl declaration... " >&6; }
34942 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34943 if ${glibcxx_cv_func_modfl_use+:} false; then :
34944 $as_echo_n "(cached) " >&6
34945 else
34948 ac_ext=cpp
34949 ac_cpp='$CXXCPP $CPPFLAGS'
34950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34955 /* end confdefs.h. */
34956 #include <math.h>
34958 main ()
34960 modfl(0, 0);
34962 return 0;
34964 _ACEOF
34965 if ac_fn_cxx_try_compile "$LINENO"; then :
34966 glibcxx_cv_func_modfl_use=yes
34967 else
34968 glibcxx_cv_func_modfl_use=no
34970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34971 ac_ext=c
34972 ac_cpp='$CPP $CPPFLAGS'
34973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34982 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34984 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34985 for ac_func in modfl
34986 do :
34987 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34988 if test "x$ac_cv_func_modfl" = xyes; then :
34989 cat >>confdefs.h <<_ACEOF
34990 #define HAVE_MODFL 1
34991 _ACEOF
34994 done
34996 else
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34999 $as_echo_n "checking for _modfl declaration... " >&6; }
35000 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35001 if ${glibcxx_cv_func__modfl_use+:} false; then :
35002 $as_echo_n "(cached) " >&6
35003 else
35006 ac_ext=cpp
35007 ac_cpp='$CXXCPP $CPPFLAGS'
35008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h. */
35014 #include <math.h>
35016 main ()
35018 _modfl(0, 0);
35020 return 0;
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 glibcxx_cv_func__modfl_use=yes
35025 else
35026 glibcxx_cv_func__modfl_use=no
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029 ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
35040 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
35042 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35043 for ac_func in _modfl
35044 do :
35045 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
35046 if test "x$ac_cv_func__modfl" = xyes; then :
35047 cat >>confdefs.h <<_ACEOF
35048 #define HAVE__MODFL 1
35049 _ACEOF
35052 done
35061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
35062 $as_echo_n "checking for powl declaration... " >&6; }
35063 if test x${glibcxx_cv_func_powl_use+set} != xset; then
35064 if ${glibcxx_cv_func_powl_use+:} false; then :
35065 $as_echo_n "(cached) " >&6
35066 else
35069 ac_ext=cpp
35070 ac_cpp='$CXXCPP $CPPFLAGS'
35071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35076 /* end confdefs.h. */
35077 #include <math.h>
35079 main ()
35081 powl(0, 0);
35083 return 0;
35085 _ACEOF
35086 if ac_fn_cxx_try_compile "$LINENO"; then :
35087 glibcxx_cv_func_powl_use=yes
35088 else
35089 glibcxx_cv_func_powl_use=no
35091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35092 ac_ext=c
35093 ac_cpp='$CPP $CPPFLAGS'
35094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
35103 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
35105 if test x$glibcxx_cv_func_powl_use = x"yes"; then
35106 for ac_func in powl
35107 do :
35108 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
35109 if test "x$ac_cv_func_powl" = xyes; then :
35110 cat >>confdefs.h <<_ACEOF
35111 #define HAVE_POWL 1
35112 _ACEOF
35115 done
35117 else
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
35120 $as_echo_n "checking for _powl declaration... " >&6; }
35121 if test x${glibcxx_cv_func__powl_use+set} != xset; then
35122 if ${glibcxx_cv_func__powl_use+:} false; then :
35123 $as_echo_n "(cached) " >&6
35124 else
35127 ac_ext=cpp
35128 ac_cpp='$CXXCPP $CPPFLAGS'
35129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35134 /* end confdefs.h. */
35135 #include <math.h>
35137 main ()
35139 _powl(0, 0);
35141 return 0;
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145 glibcxx_cv_func__powl_use=yes
35146 else
35147 glibcxx_cv_func__powl_use=no
35149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150 ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
35161 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
35163 if test x$glibcxx_cv_func__powl_use = x"yes"; then
35164 for ac_func in _powl
35165 do :
35166 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35167 if test "x$ac_cv_func__powl" = xyes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define HAVE__POWL 1
35170 _ACEOF
35173 done
35182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35183 $as_echo_n "checking for sqrtl declaration... " >&6; }
35184 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35185 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35186 $as_echo_n "(cached) " >&6
35187 else
35190 ac_ext=cpp
35191 ac_cpp='$CXXCPP $CPPFLAGS'
35192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35197 /* end confdefs.h. */
35198 #include <math.h>
35199 #ifdef HAVE_IEEEFP_H
35200 #include <ieeefp.h>
35201 #endif
35204 main ()
35206 sqrtl(0);
35208 return 0;
35210 _ACEOF
35211 if ac_fn_cxx_try_compile "$LINENO"; then :
35212 glibcxx_cv_func_sqrtl_use=yes
35213 else
35214 glibcxx_cv_func_sqrtl_use=no
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35217 ac_ext=c
35218 ac_cpp='$CPP $CPPFLAGS'
35219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35228 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35230 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35231 for ac_func in sqrtl
35232 do :
35233 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35234 if test "x$ac_cv_func_sqrtl" = xyes; then :
35235 cat >>confdefs.h <<_ACEOF
35236 #define HAVE_SQRTL 1
35237 _ACEOF
35240 done
35242 else
35244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35245 $as_echo_n "checking for _sqrtl declaration... " >&6; }
35246 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35247 if ${glibcxx_cv_func__sqrtl_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 <math.h>
35261 #ifdef HAVE_IEEEFP_H
35262 #include <ieeefp.h>
35263 #endif
35266 main ()
35268 _sqrtl(0);
35270 return 0;
35272 _ACEOF
35273 if ac_fn_cxx_try_compile "$LINENO"; then :
35274 glibcxx_cv_func__sqrtl_use=yes
35275 else
35276 glibcxx_cv_func__sqrtl_use=no
35278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35279 ac_ext=c
35280 ac_cpp='$CPP $CPPFLAGS'
35281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
35290 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35292 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35293 for ac_func in _sqrtl
35294 do :
35295 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35296 if test "x$ac_cv_func__sqrtl" = xyes; then :
35297 cat >>confdefs.h <<_ACEOF
35298 #define HAVE__SQRTL 1
35299 _ACEOF
35302 done
35311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35312 $as_echo_n "checking for sincosl declaration... " >&6; }
35313 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35314 if ${glibcxx_cv_func_sincosl_use+:} false; then :
35315 $as_echo_n "(cached) " >&6
35316 else
35319 ac_ext=cpp
35320 ac_cpp='$CXXCPP $CPPFLAGS'
35321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35326 /* end confdefs.h. */
35327 #include <math.h>
35329 main ()
35331 sincosl(0, 0, 0);
35333 return 0;
35335 _ACEOF
35336 if ac_fn_cxx_try_compile "$LINENO"; then :
35337 glibcxx_cv_func_sincosl_use=yes
35338 else
35339 glibcxx_cv_func_sincosl_use=no
35341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35342 ac_ext=c
35343 ac_cpp='$CPP $CPPFLAGS'
35344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35353 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35355 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35356 for ac_func in sincosl
35357 do :
35358 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35359 if test "x$ac_cv_func_sincosl" = xyes; then :
35360 cat >>confdefs.h <<_ACEOF
35361 #define HAVE_SINCOSL 1
35362 _ACEOF
35365 done
35367 else
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35370 $as_echo_n "checking for _sincosl declaration... " >&6; }
35371 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35372 if ${glibcxx_cv_func__sincosl_use+:} false; then :
35373 $as_echo_n "(cached) " >&6
35374 else
35377 ac_ext=cpp
35378 ac_cpp='$CXXCPP $CPPFLAGS'
35379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35384 /* end confdefs.h. */
35385 #include <math.h>
35387 main ()
35389 _sincosl(0, 0, 0);
35391 return 0;
35393 _ACEOF
35394 if ac_fn_cxx_try_compile "$LINENO"; then :
35395 glibcxx_cv_func__sincosl_use=yes
35396 else
35397 glibcxx_cv_func__sincosl_use=no
35399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35400 ac_ext=c
35401 ac_cpp='$CPP $CPPFLAGS'
35402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35411 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35413 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35414 for ac_func in _sincosl
35415 do :
35416 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35417 if test "x$ac_cv_func__sincosl" = xyes; then :
35418 cat >>confdefs.h <<_ACEOF
35419 #define HAVE__SINCOSL 1
35420 _ACEOF
35423 done
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35433 $as_echo_n "checking for finitel declaration... " >&6; }
35434 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35435 if ${glibcxx_cv_func_finitel_use+:} false; then :
35436 $as_echo_n "(cached) " >&6
35437 else
35440 ac_ext=cpp
35441 ac_cpp='$CXXCPP $CPPFLAGS'
35442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35447 /* end confdefs.h. */
35448 #include <math.h>
35449 #ifdef HAVE_IEEEFP_H
35450 #include <ieeefp.h>
35451 #endif
35454 main ()
35456 finitel(0);
35458 return 0;
35460 _ACEOF
35461 if ac_fn_cxx_try_compile "$LINENO"; then :
35462 glibcxx_cv_func_finitel_use=yes
35463 else
35464 glibcxx_cv_func_finitel_use=no
35466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35467 ac_ext=c
35468 ac_cpp='$CPP $CPPFLAGS'
35469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35478 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35480 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35481 for ac_func in finitel
35482 do :
35483 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35484 if test "x$ac_cv_func_finitel" = xyes; then :
35485 cat >>confdefs.h <<_ACEOF
35486 #define HAVE_FINITEL 1
35487 _ACEOF
35490 done
35492 else
35494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35495 $as_echo_n "checking for _finitel declaration... " >&6; }
35496 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35497 if ${glibcxx_cv_func__finitel_use+:} false; then :
35498 $as_echo_n "(cached) " >&6
35499 else
35502 ac_ext=cpp
35503 ac_cpp='$CXXCPP $CPPFLAGS'
35504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35509 /* end confdefs.h. */
35510 #include <math.h>
35511 #ifdef HAVE_IEEEFP_H
35512 #include <ieeefp.h>
35513 #endif
35516 main ()
35518 _finitel(0);
35520 return 0;
35522 _ACEOF
35523 if ac_fn_cxx_try_compile "$LINENO"; then :
35524 glibcxx_cv_func__finitel_use=yes
35525 else
35526 glibcxx_cv_func__finitel_use=no
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 ac_ext=c
35530 ac_cpp='$CPP $CPPFLAGS'
35531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35540 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35542 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35543 for ac_func in _finitel
35544 do :
35545 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35546 if test "x$ac_cv_func__finitel" = xyes; then :
35547 cat >>confdefs.h <<_ACEOF
35548 #define HAVE__FINITEL 1
35549 _ACEOF
35552 done
35560 LIBS="$ac_save_LIBS"
35561 CXXFLAGS="$ac_save_CXXFLAGS"
35564 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35565 ac_save_CXXFLAGS="$CXXFLAGS"
35566 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35570 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35571 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35572 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35573 $as_echo_n "(cached) " >&6
35574 else
35577 ac_ext=cpp
35578 ac_cpp='$CXXCPP $CPPFLAGS'
35579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35584 /* end confdefs.h. */
35585 #include <stdlib.h>
35587 main ()
35589 at_quick_exit(0);
35591 return 0;
35593 _ACEOF
35594 if ac_fn_cxx_try_compile "$LINENO"; then :
35595 glibcxx_cv_func_at_quick_exit_use=yes
35596 else
35597 glibcxx_cv_func_at_quick_exit_use=no
35599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35600 ac_ext=c
35601 ac_cpp='$CPP $CPPFLAGS'
35602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35611 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35612 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35613 for ac_func in at_quick_exit
35614 do :
35615 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35616 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35617 cat >>confdefs.h <<_ACEOF
35618 #define HAVE_AT_QUICK_EXIT 1
35619 _ACEOF
35622 done
35627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35628 $as_echo_n "checking for quick_exit declaration... " >&6; }
35629 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35630 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35631 $as_echo_n "(cached) " >&6
35632 else
35635 ac_ext=cpp
35636 ac_cpp='$CXXCPP $CPPFLAGS'
35637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35642 /* end confdefs.h. */
35643 #include <stdlib.h>
35645 main ()
35647 quick_exit(0);
35649 return 0;
35651 _ACEOF
35652 if ac_fn_cxx_try_compile "$LINENO"; then :
35653 glibcxx_cv_func_quick_exit_use=yes
35654 else
35655 glibcxx_cv_func_quick_exit_use=no
35657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35658 ac_ext=c
35659 ac_cpp='$CPP $CPPFLAGS'
35660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35669 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35670 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35671 for ac_func in quick_exit
35672 do :
35673 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35674 if test "x$ac_cv_func_quick_exit" = xyes; then :
35675 cat >>confdefs.h <<_ACEOF
35676 #define HAVE_QUICK_EXIT 1
35677 _ACEOF
35680 done
35685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35686 $as_echo_n "checking for strtold declaration... " >&6; }
35687 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35688 if ${glibcxx_cv_func_strtold_use+:} false; then :
35689 $as_echo_n "(cached) " >&6
35690 else
35693 ac_ext=cpp
35694 ac_cpp='$CXXCPP $CPPFLAGS'
35695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35700 /* end confdefs.h. */
35701 #include <stdlib.h>
35703 main ()
35705 strtold(0, 0);
35707 return 0;
35709 _ACEOF
35710 if ac_fn_cxx_try_compile "$LINENO"; then :
35711 glibcxx_cv_func_strtold_use=yes
35712 else
35713 glibcxx_cv_func_strtold_use=no
35715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35716 ac_ext=c
35717 ac_cpp='$CPP $CPPFLAGS'
35718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35727 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35728 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35729 for ac_func in strtold
35730 do :
35731 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35732 if test "x$ac_cv_func_strtold" = xyes; then :
35733 cat >>confdefs.h <<_ACEOF
35734 #define HAVE_STRTOLD 1
35735 _ACEOF
35738 done
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35746 $as_echo_n "checking for strtof declaration... " >&6; }
35747 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35748 if ${glibcxx_cv_func_strtof_use+:} false; then :
35749 $as_echo_n "(cached) " >&6
35750 else
35753 ac_ext=cpp
35754 ac_cpp='$CXXCPP $CPPFLAGS'
35755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35760 /* end confdefs.h. */
35761 #include <stdlib.h>
35763 main ()
35765 strtof(0, 0);
35767 return 0;
35769 _ACEOF
35770 if ac_fn_cxx_try_compile "$LINENO"; then :
35771 glibcxx_cv_func_strtof_use=yes
35772 else
35773 glibcxx_cv_func_strtof_use=no
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776 ac_ext=c
35777 ac_cpp='$CPP $CPPFLAGS'
35778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35787 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35788 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35789 for ac_func in strtof
35790 do :
35791 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35792 if test "x$ac_cv_func_strtof" = xyes; then :
35793 cat >>confdefs.h <<_ACEOF
35794 #define HAVE_STRTOF 1
35795 _ACEOF
35798 done
35805 CXXFLAGS="$ac_save_CXXFLAGS"
35808 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35810 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35812 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35814 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35817 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35819 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35821 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35825 *-aix*)
35827 # If we're not using GNU ld, then there's no point in even trying these
35828 # tests. Check for that first. We should have already tested for gld
35829 # by now (in libtool), but require it now just to be safe...
35830 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35831 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35835 # The name set by libtool depends on the version of libtool. Shame on us
35836 # for depending on an impl detail, but c'est la vie. Older versions used
35837 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35838 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35839 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35840 # set (hence we're using an older libtool), then set it.
35841 if test x${with_gnu_ld+set} != xset; then
35842 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35843 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35844 with_gnu_ld=no
35845 else
35846 with_gnu_ld=$ac_cv_prog_gnu_ld
35850 # Start by getting the version number. I think the libtool test already
35851 # does some of this, but throws away the result.
35852 glibcxx_ld_is_gold=no
35853 if test x"$with_gnu_ld" = x"yes"; then
35854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35855 $as_echo_n "checking for ld version... " >&6; }
35857 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35858 glibcxx_ld_is_gold=yes
35860 ldver=`$LD --version 2>/dev/null |
35861 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35863 glibcxx_gnu_ld_version=`echo $ldver | \
35864 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35866 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35869 # Set --gc-sections.
35870 glibcxx_have_gc_sections=no
35871 if test "$glibcxx_ld_is_gold" = "yes"; then
35872 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35873 glibcxx_have_gc_sections=yes
35875 else
35876 glibcxx_gcsections_min_ld=21602
35877 if test x"$with_gnu_ld" = x"yes" &&
35878 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35879 glibcxx_have_gc_sections=yes
35882 if test "$glibcxx_have_gc_sections" = "yes"; then
35883 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35884 # NB: This flag only works reliably after 2.16.1. Configure tests
35885 # for this are difficult, so hard wire a value that should work.
35887 ac_test_CFLAGS="${CFLAGS+set}"
35888 ac_save_CFLAGS="$CFLAGS"
35889 CFLAGS='-Wl,--gc-sections'
35891 # Check for -Wl,--gc-sections
35892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35893 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35894 if test x$gcc_no_link = xyes; then
35895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35898 /* end confdefs.h. */
35899 int one(void) { return 1; }
35900 int two(void) { return 2; }
35903 main ()
35905 two();
35907 return 0;
35909 _ACEOF
35910 if ac_fn_c_try_link "$LINENO"; then :
35911 ac_gcsections=yes
35912 else
35913 ac_gcsections=no
35915 rm -f core conftest.err conftest.$ac_objext \
35916 conftest$ac_exeext conftest.$ac_ext
35917 if test "$ac_gcsections" = "yes"; then
35918 rm -f conftest.c
35919 touch conftest.c
35920 if $CC -c conftest.c; then
35921 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35922 grep "Warning: gc-sections option ignored" > /dev/null; then
35923 ac_gcsections=no
35926 rm -f conftest.c conftest.o conftest
35928 if test "$ac_gcsections" = "yes"; then
35929 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35932 $as_echo "$ac_gcsections" >&6; }
35934 if test "$ac_test_CFLAGS" = set; then
35935 CFLAGS="$ac_save_CFLAGS"
35936 else
35937 # this is the suspicious part
35938 CFLAGS=''
35942 # Set -z,relro.
35943 # Note this is only for shared objects.
35944 ac_ld_relro=no
35945 if test x"$with_gnu_ld" = x"yes"; then
35946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35947 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35948 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35949 if test -n "$cxx_z_relo"; then
35950 OPT_LDFLAGS="-Wl,-z,relro"
35951 ac_ld_relro=yes
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35954 $as_echo "$ac_ld_relro" >&6; }
35957 # Set linker optimization flags.
35958 if test x"$with_gnu_ld" = x"yes"; then
35959 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35966 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35967 ac_save_CXXFLAGS="$CXXFLAGS"
35968 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35971 $as_echo_n "checking for sin in -lm... " >&6; }
35972 if ${ac_cv_lib_m_sin+:} false; then :
35973 $as_echo_n "(cached) " >&6
35974 else
35975 ac_check_lib_save_LIBS=$LIBS
35976 LIBS="-lm $LIBS"
35977 if test x$gcc_no_link = xyes; then
35978 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35981 /* end confdefs.h. */
35983 /* Override any GCC internal prototype to avoid an error.
35984 Use char because int might match the return type of a GCC
35985 builtin and then its argument prototype would still apply. */
35986 #ifdef __cplusplus
35987 extern "C"
35988 #endif
35989 char sin ();
35991 main ()
35993 return sin ();
35995 return 0;
35997 _ACEOF
35998 if ac_fn_c_try_link "$LINENO"; then :
35999 ac_cv_lib_m_sin=yes
36000 else
36001 ac_cv_lib_m_sin=no
36003 rm -f core conftest.err conftest.$ac_objext \
36004 conftest$ac_exeext conftest.$ac_ext
36005 LIBS=$ac_check_lib_save_LIBS
36007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
36008 $as_echo "$ac_cv_lib_m_sin" >&6; }
36009 if test "x$ac_cv_lib_m_sin" = xyes; then :
36010 libm="-lm"
36013 ac_save_LIBS="$LIBS"
36014 LIBS="$LIBS $libm"
36018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
36019 $as_echo_n "checking for isinf declaration... " >&6; }
36020 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
36021 if ${glibcxx_cv_func_isinf_use+:} false; then :
36022 $as_echo_n "(cached) " >&6
36023 else
36026 ac_ext=cpp
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36033 /* end confdefs.h. */
36034 #include <math.h>
36035 #ifdef HAVE_IEEEFP_H
36036 #include <ieeefp.h>
36037 #endif
36040 main ()
36042 isinf(0);
36044 return 0;
36046 _ACEOF
36047 if ac_fn_cxx_try_compile "$LINENO"; then :
36048 glibcxx_cv_func_isinf_use=yes
36049 else
36050 glibcxx_cv_func_isinf_use=no
36052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36053 ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
36064 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
36066 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
36067 for ac_func in isinf
36068 do :
36069 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
36070 if test "x$ac_cv_func_isinf" = xyes; then :
36071 cat >>confdefs.h <<_ACEOF
36072 #define HAVE_ISINF 1
36073 _ACEOF
36076 done
36078 else
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
36081 $as_echo_n "checking for _isinf declaration... " >&6; }
36082 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
36083 if ${glibcxx_cv_func__isinf_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 _isinf(0);
36106 return 0;
36108 _ACEOF
36109 if ac_fn_cxx_try_compile "$LINENO"; then :
36110 glibcxx_cv_func__isinf_use=yes
36111 else
36112 glibcxx_cv_func__isinf_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__isinf_use" >&5
36126 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36128 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36129 for ac_func in _isinf
36130 do :
36131 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36132 if test "x$ac_cv_func__isinf" = xyes; then :
36133 cat >>confdefs.h <<_ACEOF
36134 #define HAVE__ISINF 1
36135 _ACEOF
36138 done
36147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36148 $as_echo_n "checking for isnan declaration... " >&6; }
36149 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36150 if ${glibcxx_cv_func_isnan_use+:} false; then :
36151 $as_echo_n "(cached) " >&6
36152 else
36155 ac_ext=cpp
36156 ac_cpp='$CXXCPP $CPPFLAGS'
36157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36162 /* end confdefs.h. */
36163 #include <math.h>
36164 #ifdef HAVE_IEEEFP_H
36165 #include <ieeefp.h>
36166 #endif
36169 main ()
36171 isnan(0);
36173 return 0;
36175 _ACEOF
36176 if ac_fn_cxx_try_compile "$LINENO"; then :
36177 glibcxx_cv_func_isnan_use=yes
36178 else
36179 glibcxx_cv_func_isnan_use=no
36181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36182 ac_ext=c
36183 ac_cpp='$CPP $CPPFLAGS'
36184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36193 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36195 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36196 for ac_func in isnan
36197 do :
36198 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36199 if test "x$ac_cv_func_isnan" = xyes; then :
36200 cat >>confdefs.h <<_ACEOF
36201 #define HAVE_ISNAN 1
36202 _ACEOF
36205 done
36207 else
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36210 $as_echo_n "checking for _isnan declaration... " >&6; }
36211 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36212 if ${glibcxx_cv_func__isnan_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 _isnan(0);
36235 return 0;
36237 _ACEOF
36238 if ac_fn_cxx_try_compile "$LINENO"; then :
36239 glibcxx_cv_func__isnan_use=yes
36240 else
36241 glibcxx_cv_func__isnan_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__isnan_use" >&5
36255 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36257 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36258 for ac_func in _isnan
36259 do :
36260 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36261 if test "x$ac_cv_func__isnan" = xyes; then :
36262 cat >>confdefs.h <<_ACEOF
36263 #define HAVE__ISNAN 1
36264 _ACEOF
36267 done
36276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36277 $as_echo_n "checking for finite declaration... " >&6; }
36278 if test x${glibcxx_cv_func_finite_use+set} != xset; then
36279 if ${glibcxx_cv_func_finite_use+:} false; then :
36280 $as_echo_n "(cached) " >&6
36281 else
36284 ac_ext=cpp
36285 ac_cpp='$CXXCPP $CPPFLAGS'
36286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36291 /* end confdefs.h. */
36292 #include <math.h>
36293 #ifdef HAVE_IEEEFP_H
36294 #include <ieeefp.h>
36295 #endif
36298 main ()
36300 finite(0);
36302 return 0;
36304 _ACEOF
36305 if ac_fn_cxx_try_compile "$LINENO"; then :
36306 glibcxx_cv_func_finite_use=yes
36307 else
36308 glibcxx_cv_func_finite_use=no
36310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36311 ac_ext=c
36312 ac_cpp='$CPP $CPPFLAGS'
36313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36322 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
36324 if test x$glibcxx_cv_func_finite_use = x"yes"; then
36325 for ac_func in finite
36326 do :
36327 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36328 if test "x$ac_cv_func_finite" = xyes; then :
36329 cat >>confdefs.h <<_ACEOF
36330 #define HAVE_FINITE 1
36331 _ACEOF
36334 done
36336 else
36338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36339 $as_echo_n "checking for _finite declaration... " >&6; }
36340 if test x${glibcxx_cv_func__finite_use+set} != xset; then
36341 if ${glibcxx_cv_func__finite_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>
36355 #ifdef HAVE_IEEEFP_H
36356 #include <ieeefp.h>
36357 #endif
36360 main ()
36362 _finite(0);
36364 return 0;
36366 _ACEOF
36367 if ac_fn_cxx_try_compile "$LINENO"; then :
36368 glibcxx_cv_func__finite_use=yes
36369 else
36370 glibcxx_cv_func__finite_use=no
36372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36373 ac_ext=c
36374 ac_cpp='$CPP $CPPFLAGS'
36375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36384 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
36386 if test x$glibcxx_cv_func__finite_use = x"yes"; then
36387 for ac_func in _finite
36388 do :
36389 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36390 if test "x$ac_cv_func__finite" = xyes; then :
36391 cat >>confdefs.h <<_ACEOF
36392 #define HAVE__FINITE 1
36393 _ACEOF
36396 done
36405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36406 $as_echo_n "checking for sincos declaration... " >&6; }
36407 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36408 if ${glibcxx_cv_func_sincos_use+:} false; then :
36409 $as_echo_n "(cached) " >&6
36410 else
36413 ac_ext=cpp
36414 ac_cpp='$CXXCPP $CPPFLAGS'
36415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36420 /* end confdefs.h. */
36421 #include <math.h>
36423 main ()
36425 sincos(0, 0, 0);
36427 return 0;
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431 glibcxx_cv_func_sincos_use=yes
36432 else
36433 glibcxx_cv_func_sincos_use=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36447 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36449 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36450 for ac_func in sincos
36451 do :
36452 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36453 if test "x$ac_cv_func_sincos" = xyes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define HAVE_SINCOS 1
36456 _ACEOF
36459 done
36461 else
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36464 $as_echo_n "checking for _sincos declaration... " >&6; }
36465 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36466 if ${glibcxx_cv_func__sincos_use+:} false; then :
36467 $as_echo_n "(cached) " >&6
36468 else
36471 ac_ext=cpp
36472 ac_cpp='$CXXCPP $CPPFLAGS'
36473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478 /* end confdefs.h. */
36479 #include <math.h>
36481 main ()
36483 _sincos(0, 0, 0);
36485 return 0;
36487 _ACEOF
36488 if ac_fn_cxx_try_compile "$LINENO"; then :
36489 glibcxx_cv_func__sincos_use=yes
36490 else
36491 glibcxx_cv_func__sincos_use=no
36493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36494 ac_ext=c
36495 ac_cpp='$CPP $CPPFLAGS'
36496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36505 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36507 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36508 for ac_func in _sincos
36509 do :
36510 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36511 if test "x$ac_cv_func__sincos" = xyes; then :
36512 cat >>confdefs.h <<_ACEOF
36513 #define HAVE__SINCOS 1
36514 _ACEOF
36517 done
36526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36527 $as_echo_n "checking for fpclass declaration... " >&6; }
36528 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36529 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36530 $as_echo_n "(cached) " >&6
36531 else
36534 ac_ext=cpp
36535 ac_cpp='$CXXCPP $CPPFLAGS'
36536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36541 /* end confdefs.h. */
36542 #include <math.h>
36543 #ifdef HAVE_IEEEFP_H
36544 #include <ieeefp.h>
36545 #endif
36548 main ()
36550 fpclass(0);
36552 return 0;
36554 _ACEOF
36555 if ac_fn_cxx_try_compile "$LINENO"; then :
36556 glibcxx_cv_func_fpclass_use=yes
36557 else
36558 glibcxx_cv_func_fpclass_use=no
36560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36561 ac_ext=c
36562 ac_cpp='$CPP $CPPFLAGS'
36563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36572 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36574 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36575 for ac_func in fpclass
36576 do :
36577 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36578 if test "x$ac_cv_func_fpclass" = xyes; then :
36579 cat >>confdefs.h <<_ACEOF
36580 #define HAVE_FPCLASS 1
36581 _ACEOF
36584 done
36586 else
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36589 $as_echo_n "checking for _fpclass declaration... " >&6; }
36590 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36591 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36592 $as_echo_n "(cached) " >&6
36593 else
36596 ac_ext=cpp
36597 ac_cpp='$CXXCPP $CPPFLAGS'
36598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36603 /* end confdefs.h. */
36604 #include <math.h>
36605 #ifdef HAVE_IEEEFP_H
36606 #include <ieeefp.h>
36607 #endif
36610 main ()
36612 _fpclass(0);
36614 return 0;
36616 _ACEOF
36617 if ac_fn_cxx_try_compile "$LINENO"; then :
36618 glibcxx_cv_func__fpclass_use=yes
36619 else
36620 glibcxx_cv_func__fpclass_use=no
36622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36623 ac_ext=c
36624 ac_cpp='$CPP $CPPFLAGS'
36625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36634 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36636 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36637 for ac_func in _fpclass
36638 do :
36639 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36640 if test "x$ac_cv_func__fpclass" = xyes; then :
36641 cat >>confdefs.h <<_ACEOF
36642 #define HAVE__FPCLASS 1
36643 _ACEOF
36646 done
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36656 $as_echo_n "checking for qfpclass declaration... " >&6; }
36657 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36658 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36659 $as_echo_n "(cached) " >&6
36660 else
36663 ac_ext=cpp
36664 ac_cpp='$CXXCPP $CPPFLAGS'
36665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36670 /* end confdefs.h. */
36671 #include <math.h>
36672 #ifdef HAVE_IEEEFP_H
36673 #include <ieeefp.h>
36674 #endif
36677 main ()
36679 qfpclass(0);
36681 return 0;
36683 _ACEOF
36684 if ac_fn_cxx_try_compile "$LINENO"; then :
36685 glibcxx_cv_func_qfpclass_use=yes
36686 else
36687 glibcxx_cv_func_qfpclass_use=no
36689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36690 ac_ext=c
36691 ac_cpp='$CPP $CPPFLAGS'
36692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36701 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36703 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36704 for ac_func in qfpclass
36705 do :
36706 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36707 if test "x$ac_cv_func_qfpclass" = xyes; then :
36708 cat >>confdefs.h <<_ACEOF
36709 #define HAVE_QFPCLASS 1
36710 _ACEOF
36713 done
36715 else
36717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36718 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36719 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36720 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36721 $as_echo_n "(cached) " >&6
36722 else
36725 ac_ext=cpp
36726 ac_cpp='$CXXCPP $CPPFLAGS'
36727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36732 /* end confdefs.h. */
36733 #include <math.h>
36734 #ifdef HAVE_IEEEFP_H
36735 #include <ieeefp.h>
36736 #endif
36739 main ()
36741 _qfpclass(0);
36743 return 0;
36745 _ACEOF
36746 if ac_fn_cxx_try_compile "$LINENO"; then :
36747 glibcxx_cv_func__qfpclass_use=yes
36748 else
36749 glibcxx_cv_func__qfpclass_use=no
36751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36752 ac_ext=c
36753 ac_cpp='$CPP $CPPFLAGS'
36754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36763 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36765 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36766 for ac_func in _qfpclass
36767 do :
36768 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36769 if test "x$ac_cv_func__qfpclass" = xyes; then :
36770 cat >>confdefs.h <<_ACEOF
36771 #define HAVE__QFPCLASS 1
36772 _ACEOF
36775 done
36784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36785 $as_echo_n "checking for hypot declaration... " >&6; }
36786 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36787 if ${glibcxx_cv_func_hypot_use+:} false; then :
36788 $as_echo_n "(cached) " >&6
36789 else
36792 ac_ext=cpp
36793 ac_cpp='$CXXCPP $CPPFLAGS'
36794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36799 /* end confdefs.h. */
36800 #include <math.h>
36802 main ()
36804 hypot(0, 0);
36806 return 0;
36808 _ACEOF
36809 if ac_fn_cxx_try_compile "$LINENO"; then :
36810 glibcxx_cv_func_hypot_use=yes
36811 else
36812 glibcxx_cv_func_hypot_use=no
36814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815 ac_ext=c
36816 ac_cpp='$CPP $CPPFLAGS'
36817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36826 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36828 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36829 for ac_func in hypot
36830 do :
36831 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36832 if test "x$ac_cv_func_hypot" = xyes; then :
36833 cat >>confdefs.h <<_ACEOF
36834 #define HAVE_HYPOT 1
36835 _ACEOF
36838 done
36840 else
36842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36843 $as_echo_n "checking for _hypot declaration... " >&6; }
36844 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36845 if ${glibcxx_cv_func__hypot_use+:} false; then :
36846 $as_echo_n "(cached) " >&6
36847 else
36850 ac_ext=cpp
36851 ac_cpp='$CXXCPP $CPPFLAGS'
36852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36857 /* end confdefs.h. */
36858 #include <math.h>
36860 main ()
36862 _hypot(0, 0);
36864 return 0;
36866 _ACEOF
36867 if ac_fn_cxx_try_compile "$LINENO"; then :
36868 glibcxx_cv_func__hypot_use=yes
36869 else
36870 glibcxx_cv_func__hypot_use=no
36872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36873 ac_ext=c
36874 ac_cpp='$CPP $CPPFLAGS'
36875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36884 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36886 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36887 for ac_func in _hypot
36888 do :
36889 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36890 if test "x$ac_cv_func__hypot" = xyes; then :
36891 cat >>confdefs.h <<_ACEOF
36892 #define HAVE__HYPOT 1
36893 _ACEOF
36896 done
36905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36906 $as_echo_n "checking for float trig functions... " >&6; }
36907 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36908 $as_echo_n "(cached) " >&6
36909 else
36912 ac_ext=cpp
36913 ac_cpp='$CXXCPP $CPPFLAGS'
36914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36919 /* end confdefs.h. */
36920 #include <math.h>
36922 main ()
36924 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36926 return 0;
36928 _ACEOF
36929 if ac_fn_cxx_try_compile "$LINENO"; then :
36930 glibcxx_cv_func_float_trig_use=yes
36931 else
36932 glibcxx_cv_func_float_trig_use=no
36934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36935 ac_ext=c
36936 ac_cpp='$CPP $CPPFLAGS'
36937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36944 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36945 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36946 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36947 do :
36948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36950 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36951 cat >>confdefs.h <<_ACEOF
36952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36953 _ACEOF
36956 done
36958 else
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36960 $as_echo_n "checking for _float trig functions... " >&6; }
36961 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36962 $as_echo_n "(cached) " >&6
36963 else
36966 ac_ext=cpp
36967 ac_cpp='$CXXCPP $CPPFLAGS'
36968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36973 /* end confdefs.h. */
36974 #include <math.h>
36976 main ()
36978 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36980 return 0;
36982 _ACEOF
36983 if ac_fn_cxx_try_compile "$LINENO"; then :
36984 glibcxx_cv_func__float_trig_use=yes
36985 else
36986 glibcxx_cv_func__float_trig_use=no
36988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36989 ac_ext=c
36990 ac_cpp='$CPP $CPPFLAGS'
36991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36998 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36999 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
37000 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
37001 do :
37002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37005 cat >>confdefs.h <<_ACEOF
37006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37007 _ACEOF
37010 done
37019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
37020 $as_echo_n "checking for float round functions... " >&6; }
37021 if ${glibcxx_cv_func_float_round_use+:} false; then :
37022 $as_echo_n "(cached) " >&6
37023 else
37026 ac_ext=cpp
37027 ac_cpp='$CXXCPP $CPPFLAGS'
37028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37033 /* end confdefs.h. */
37034 #include <math.h>
37036 main ()
37038 ceilf (0); floorf (0);
37040 return 0;
37042 _ACEOF
37043 if ac_fn_cxx_try_compile "$LINENO"; then :
37044 glibcxx_cv_func_float_round_use=yes
37045 else
37046 glibcxx_cv_func_float_round_use=no
37048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37049 ac_ext=c
37050 ac_cpp='$CPP $CPPFLAGS'
37051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
37058 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
37059 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
37060 for ac_func in ceilf floorf
37061 do :
37062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37065 cat >>confdefs.h <<_ACEOF
37066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37067 _ACEOF
37070 done
37072 else
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
37074 $as_echo_n "checking for _float round functions... " >&6; }
37075 if ${glibcxx_cv_func__float_round_use+:} false; then :
37076 $as_echo_n "(cached) " >&6
37077 else
37080 ac_ext=cpp
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37087 /* end confdefs.h. */
37088 #include <math.h>
37090 main ()
37092 _ceilf (0); _floorf (0);
37094 return 0;
37096 _ACEOF
37097 if ac_fn_cxx_try_compile "$LINENO"; then :
37098 glibcxx_cv_func__float_round_use=yes
37099 else
37100 glibcxx_cv_func__float_round_use=no
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103 ac_ext=c
37104 ac_cpp='$CPP $CPPFLAGS'
37105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
37112 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
37113 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
37114 for ac_func in _ceilf _floorf
37115 do :
37116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37118 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37119 cat >>confdefs.h <<_ACEOF
37120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37121 _ACEOF
37124 done
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37135 $as_echo_n "checking for expf declaration... " >&6; }
37136 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37137 if ${glibcxx_cv_func_expf_use+:} false; then :
37138 $as_echo_n "(cached) " >&6
37139 else
37142 ac_ext=cpp
37143 ac_cpp='$CXXCPP $CPPFLAGS'
37144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149 /* end confdefs.h. */
37150 #include <math.h>
37151 #ifdef HAVE_IEEEFP_H
37152 #include <ieeefp.h>
37153 #endif
37156 main ()
37158 expf(0);
37160 return 0;
37162 _ACEOF
37163 if ac_fn_cxx_try_compile "$LINENO"; then :
37164 glibcxx_cv_func_expf_use=yes
37165 else
37166 glibcxx_cv_func_expf_use=no
37168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37169 ac_ext=c
37170 ac_cpp='$CPP $CPPFLAGS'
37171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37180 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
37182 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37183 for ac_func in expf
37184 do :
37185 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37186 if test "x$ac_cv_func_expf" = xyes; then :
37187 cat >>confdefs.h <<_ACEOF
37188 #define HAVE_EXPF 1
37189 _ACEOF
37192 done
37194 else
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37197 $as_echo_n "checking for _expf declaration... " >&6; }
37198 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37199 if ${glibcxx_cv_func__expf_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 _expf(0);
37222 return 0;
37224 _ACEOF
37225 if ac_fn_cxx_try_compile "$LINENO"; then :
37226 glibcxx_cv_func__expf_use=yes
37227 else
37228 glibcxx_cv_func__expf_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__expf_use" >&5
37242 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
37244 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37245 for ac_func in _expf
37246 do :
37247 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37248 if test "x$ac_cv_func__expf" = xyes; then :
37249 cat >>confdefs.h <<_ACEOF
37250 #define HAVE__EXPF 1
37251 _ACEOF
37254 done
37263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37264 $as_echo_n "checking for isnanf declaration... " >&6; }
37265 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37266 if ${glibcxx_cv_func_isnanf_use+:} false; then :
37267 $as_echo_n "(cached) " >&6
37268 else
37271 ac_ext=cpp
37272 ac_cpp='$CXXCPP $CPPFLAGS'
37273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37278 /* end confdefs.h. */
37279 #include <math.h>
37280 #ifdef HAVE_IEEEFP_H
37281 #include <ieeefp.h>
37282 #endif
37285 main ()
37287 isnanf(0);
37289 return 0;
37291 _ACEOF
37292 if ac_fn_cxx_try_compile "$LINENO"; then :
37293 glibcxx_cv_func_isnanf_use=yes
37294 else
37295 glibcxx_cv_func_isnanf_use=no
37297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37298 ac_ext=c
37299 ac_cpp='$CPP $CPPFLAGS'
37300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37309 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37311 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37312 for ac_func in isnanf
37313 do :
37314 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37315 if test "x$ac_cv_func_isnanf" = xyes; then :
37316 cat >>confdefs.h <<_ACEOF
37317 #define HAVE_ISNANF 1
37318 _ACEOF
37321 done
37323 else
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37326 $as_echo_n "checking for _isnanf declaration... " >&6; }
37327 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37328 if ${glibcxx_cv_func__isnanf_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>
37342 #ifdef HAVE_IEEEFP_H
37343 #include <ieeefp.h>
37344 #endif
37347 main ()
37349 _isnanf(0);
37351 return 0;
37353 _ACEOF
37354 if ac_fn_cxx_try_compile "$LINENO"; then :
37355 glibcxx_cv_func__isnanf_use=yes
37356 else
37357 glibcxx_cv_func__isnanf_use=no
37359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37360 ac_ext=c
37361 ac_cpp='$CPP $CPPFLAGS'
37362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37371 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37373 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37374 for ac_func in _isnanf
37375 do :
37376 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37377 if test "x$ac_cv_func__isnanf" = xyes; then :
37378 cat >>confdefs.h <<_ACEOF
37379 #define HAVE__ISNANF 1
37380 _ACEOF
37383 done
37392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37393 $as_echo_n "checking for isinff declaration... " >&6; }
37394 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37395 if ${glibcxx_cv_func_isinff_use+:} false; then :
37396 $as_echo_n "(cached) " >&6
37397 else
37400 ac_ext=cpp
37401 ac_cpp='$CXXCPP $CPPFLAGS'
37402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37407 /* end confdefs.h. */
37408 #include <math.h>
37409 #ifdef HAVE_IEEEFP_H
37410 #include <ieeefp.h>
37411 #endif
37414 main ()
37416 isinff(0);
37418 return 0;
37420 _ACEOF
37421 if ac_fn_cxx_try_compile "$LINENO"; then :
37422 glibcxx_cv_func_isinff_use=yes
37423 else
37424 glibcxx_cv_func_isinff_use=no
37426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37427 ac_ext=c
37428 ac_cpp='$CPP $CPPFLAGS'
37429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37438 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37440 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37441 for ac_func in isinff
37442 do :
37443 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37444 if test "x$ac_cv_func_isinff" = xyes; then :
37445 cat >>confdefs.h <<_ACEOF
37446 #define HAVE_ISINFF 1
37447 _ACEOF
37450 done
37452 else
37454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37455 $as_echo_n "checking for _isinff declaration... " >&6; }
37456 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37457 if ${glibcxx_cv_func__isinff_use+:} false; then :
37458 $as_echo_n "(cached) " >&6
37459 else
37462 ac_ext=cpp
37463 ac_cpp='$CXXCPP $CPPFLAGS'
37464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37469 /* end confdefs.h. */
37470 #include <math.h>
37471 #ifdef HAVE_IEEEFP_H
37472 #include <ieeefp.h>
37473 #endif
37476 main ()
37478 _isinff(0);
37480 return 0;
37482 _ACEOF
37483 if ac_fn_cxx_try_compile "$LINENO"; then :
37484 glibcxx_cv_func__isinff_use=yes
37485 else
37486 glibcxx_cv_func__isinff_use=no
37488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37489 ac_ext=c
37490 ac_cpp='$CPP $CPPFLAGS'
37491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37500 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37502 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37503 for ac_func in _isinff
37504 do :
37505 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37506 if test "x$ac_cv_func__isinff" = xyes; then :
37507 cat >>confdefs.h <<_ACEOF
37508 #define HAVE__ISINFF 1
37509 _ACEOF
37512 done
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37522 $as_echo_n "checking for atan2f declaration... " >&6; }
37523 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37524 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37525 $as_echo_n "(cached) " >&6
37526 else
37529 ac_ext=cpp
37530 ac_cpp='$CXXCPP $CPPFLAGS'
37531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37536 /* end confdefs.h. */
37537 #include <math.h>
37539 main ()
37541 atan2f(0, 0);
37543 return 0;
37545 _ACEOF
37546 if ac_fn_cxx_try_compile "$LINENO"; then :
37547 glibcxx_cv_func_atan2f_use=yes
37548 else
37549 glibcxx_cv_func_atan2f_use=no
37551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37552 ac_ext=c
37553 ac_cpp='$CPP $CPPFLAGS'
37554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37563 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37565 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37566 for ac_func in atan2f
37567 do :
37568 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37569 if test "x$ac_cv_func_atan2f" = xyes; then :
37570 cat >>confdefs.h <<_ACEOF
37571 #define HAVE_ATAN2F 1
37572 _ACEOF
37575 done
37577 else
37579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37580 $as_echo_n "checking for _atan2f declaration... " >&6; }
37581 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37582 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37583 $as_echo_n "(cached) " >&6
37584 else
37587 ac_ext=cpp
37588 ac_cpp='$CXXCPP $CPPFLAGS'
37589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37594 /* end confdefs.h. */
37595 #include <math.h>
37597 main ()
37599 _atan2f(0, 0);
37601 return 0;
37603 _ACEOF
37604 if ac_fn_cxx_try_compile "$LINENO"; then :
37605 glibcxx_cv_func__atan2f_use=yes
37606 else
37607 glibcxx_cv_func__atan2f_use=no
37609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37610 ac_ext=c
37611 ac_cpp='$CPP $CPPFLAGS'
37612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37621 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37623 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37624 for ac_func in _atan2f
37625 do :
37626 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37627 if test "x$ac_cv_func__atan2f" = xyes; then :
37628 cat >>confdefs.h <<_ACEOF
37629 #define HAVE__ATAN2F 1
37630 _ACEOF
37633 done
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37643 $as_echo_n "checking for fabsf declaration... " >&6; }
37644 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37645 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37646 $as_echo_n "(cached) " >&6
37647 else
37650 ac_ext=cpp
37651 ac_cpp='$CXXCPP $CPPFLAGS'
37652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37657 /* end confdefs.h. */
37658 #include <math.h>
37659 #ifdef HAVE_IEEEFP_H
37660 #include <ieeefp.h>
37661 #endif
37664 main ()
37666 fabsf(0);
37668 return 0;
37670 _ACEOF
37671 if ac_fn_cxx_try_compile "$LINENO"; then :
37672 glibcxx_cv_func_fabsf_use=yes
37673 else
37674 glibcxx_cv_func_fabsf_use=no
37676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37677 ac_ext=c
37678 ac_cpp='$CPP $CPPFLAGS'
37679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37688 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37690 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37691 for ac_func in fabsf
37692 do :
37693 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37694 if test "x$ac_cv_func_fabsf" = xyes; then :
37695 cat >>confdefs.h <<_ACEOF
37696 #define HAVE_FABSF 1
37697 _ACEOF
37700 done
37702 else
37704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37705 $as_echo_n "checking for _fabsf declaration... " >&6; }
37706 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37707 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37708 $as_echo_n "(cached) " >&6
37709 else
37712 ac_ext=cpp
37713 ac_cpp='$CXXCPP $CPPFLAGS'
37714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37719 /* end confdefs.h. */
37720 #include <math.h>
37721 #ifdef HAVE_IEEEFP_H
37722 #include <ieeefp.h>
37723 #endif
37726 main ()
37728 _fabsf(0);
37730 return 0;
37732 _ACEOF
37733 if ac_fn_cxx_try_compile "$LINENO"; then :
37734 glibcxx_cv_func__fabsf_use=yes
37735 else
37736 glibcxx_cv_func__fabsf_use=no
37738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37739 ac_ext=c
37740 ac_cpp='$CPP $CPPFLAGS'
37741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37750 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37752 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37753 for ac_func in _fabsf
37754 do :
37755 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37756 if test "x$ac_cv_func__fabsf" = xyes; then :
37757 cat >>confdefs.h <<_ACEOF
37758 #define HAVE__FABSF 1
37759 _ACEOF
37762 done
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37772 $as_echo_n "checking for fmodf declaration... " >&6; }
37773 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37774 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37775 $as_echo_n "(cached) " >&6
37776 else
37779 ac_ext=cpp
37780 ac_cpp='$CXXCPP $CPPFLAGS'
37781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37786 /* end confdefs.h. */
37787 #include <math.h>
37789 main ()
37791 fmodf(0, 0);
37793 return 0;
37795 _ACEOF
37796 if ac_fn_cxx_try_compile "$LINENO"; then :
37797 glibcxx_cv_func_fmodf_use=yes
37798 else
37799 glibcxx_cv_func_fmodf_use=no
37801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37802 ac_ext=c
37803 ac_cpp='$CPP $CPPFLAGS'
37804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37813 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37815 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37816 for ac_func in fmodf
37817 do :
37818 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37819 if test "x$ac_cv_func_fmodf" = xyes; then :
37820 cat >>confdefs.h <<_ACEOF
37821 #define HAVE_FMODF 1
37822 _ACEOF
37825 done
37827 else
37829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37830 $as_echo_n "checking for _fmodf declaration... " >&6; }
37831 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37832 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37833 $as_echo_n "(cached) " >&6
37834 else
37837 ac_ext=cpp
37838 ac_cpp='$CXXCPP $CPPFLAGS'
37839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37844 /* end confdefs.h. */
37845 #include <math.h>
37847 main ()
37849 _fmodf(0, 0);
37851 return 0;
37853 _ACEOF
37854 if ac_fn_cxx_try_compile "$LINENO"; then :
37855 glibcxx_cv_func__fmodf_use=yes
37856 else
37857 glibcxx_cv_func__fmodf_use=no
37859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37860 ac_ext=c
37861 ac_cpp='$CPP $CPPFLAGS'
37862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37871 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37873 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37874 for ac_func in _fmodf
37875 do :
37876 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37877 if test "x$ac_cv_func__fmodf" = xyes; then :
37878 cat >>confdefs.h <<_ACEOF
37879 #define HAVE__FMODF 1
37880 _ACEOF
37883 done
37892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37893 $as_echo_n "checking for frexpf declaration... " >&6; }
37894 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37895 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37896 $as_echo_n "(cached) " >&6
37897 else
37900 ac_ext=cpp
37901 ac_cpp='$CXXCPP $CPPFLAGS'
37902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37907 /* end confdefs.h. */
37908 #include <math.h>
37910 main ()
37912 frexpf(0, 0);
37914 return 0;
37916 _ACEOF
37917 if ac_fn_cxx_try_compile "$LINENO"; then :
37918 glibcxx_cv_func_frexpf_use=yes
37919 else
37920 glibcxx_cv_func_frexpf_use=no
37922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37923 ac_ext=c
37924 ac_cpp='$CPP $CPPFLAGS'
37925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37934 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37936 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37937 for ac_func in frexpf
37938 do :
37939 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37940 if test "x$ac_cv_func_frexpf" = xyes; then :
37941 cat >>confdefs.h <<_ACEOF
37942 #define HAVE_FREXPF 1
37943 _ACEOF
37946 done
37948 else
37950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37951 $as_echo_n "checking for _frexpf declaration... " >&6; }
37952 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37953 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37954 $as_echo_n "(cached) " >&6
37955 else
37958 ac_ext=cpp
37959 ac_cpp='$CXXCPP $CPPFLAGS'
37960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37965 /* end confdefs.h. */
37966 #include <math.h>
37968 main ()
37970 _frexpf(0, 0);
37972 return 0;
37974 _ACEOF
37975 if ac_fn_cxx_try_compile "$LINENO"; then :
37976 glibcxx_cv_func__frexpf_use=yes
37977 else
37978 glibcxx_cv_func__frexpf_use=no
37980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37981 ac_ext=c
37982 ac_cpp='$CPP $CPPFLAGS'
37983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37992 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37994 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37995 for ac_func in _frexpf
37996 do :
37997 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37998 if test "x$ac_cv_func__frexpf" = xyes; then :
37999 cat >>confdefs.h <<_ACEOF
38000 #define HAVE__FREXPF 1
38001 _ACEOF
38004 done
38013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
38014 $as_echo_n "checking for hypotf declaration... " >&6; }
38015 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38016 if ${glibcxx_cv_func_hypotf_use+:} false; then :
38017 $as_echo_n "(cached) " >&6
38018 else
38021 ac_ext=cpp
38022 ac_cpp='$CXXCPP $CPPFLAGS'
38023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38028 /* end confdefs.h. */
38029 #include <math.h>
38031 main ()
38033 hypotf(0, 0);
38035 return 0;
38037 _ACEOF
38038 if ac_fn_cxx_try_compile "$LINENO"; then :
38039 glibcxx_cv_func_hypotf_use=yes
38040 else
38041 glibcxx_cv_func_hypotf_use=no
38043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38044 ac_ext=c
38045 ac_cpp='$CPP $CPPFLAGS'
38046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
38055 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
38057 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38058 for ac_func in hypotf
38059 do :
38060 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
38061 if test "x$ac_cv_func_hypotf" = xyes; then :
38062 cat >>confdefs.h <<_ACEOF
38063 #define HAVE_HYPOTF 1
38064 _ACEOF
38067 done
38069 else
38071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
38072 $as_echo_n "checking for _hypotf declaration... " >&6; }
38073 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38074 if ${glibcxx_cv_func__hypotf_use+:} false; then :
38075 $as_echo_n "(cached) " >&6
38076 else
38079 ac_ext=cpp
38080 ac_cpp='$CXXCPP $CPPFLAGS'
38081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38086 /* end confdefs.h. */
38087 #include <math.h>
38089 main ()
38091 _hypotf(0, 0);
38093 return 0;
38095 _ACEOF
38096 if ac_fn_cxx_try_compile "$LINENO"; then :
38097 glibcxx_cv_func__hypotf_use=yes
38098 else
38099 glibcxx_cv_func__hypotf_use=no
38101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38102 ac_ext=c
38103 ac_cpp='$CPP $CPPFLAGS'
38104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
38113 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
38115 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38116 for ac_func in _hypotf
38117 do :
38118 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
38119 if test "x$ac_cv_func__hypotf" = xyes; then :
38120 cat >>confdefs.h <<_ACEOF
38121 #define HAVE__HYPOTF 1
38122 _ACEOF
38125 done
38134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38135 $as_echo_n "checking for ldexpf declaration... " >&6; }
38136 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38137 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38138 $as_echo_n "(cached) " >&6
38139 else
38142 ac_ext=cpp
38143 ac_cpp='$CXXCPP $CPPFLAGS'
38144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38149 /* end confdefs.h. */
38150 #include <math.h>
38152 main ()
38154 ldexpf(0, 0);
38156 return 0;
38158 _ACEOF
38159 if ac_fn_cxx_try_compile "$LINENO"; then :
38160 glibcxx_cv_func_ldexpf_use=yes
38161 else
38162 glibcxx_cv_func_ldexpf_use=no
38164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38165 ac_ext=c
38166 ac_cpp='$CPP $CPPFLAGS'
38167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38176 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38178 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38179 for ac_func in ldexpf
38180 do :
38181 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38182 if test "x$ac_cv_func_ldexpf" = xyes; then :
38183 cat >>confdefs.h <<_ACEOF
38184 #define HAVE_LDEXPF 1
38185 _ACEOF
38188 done
38190 else
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38193 $as_echo_n "checking for _ldexpf declaration... " >&6; }
38194 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38195 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38196 $as_echo_n "(cached) " >&6
38197 else
38200 ac_ext=cpp
38201 ac_cpp='$CXXCPP $CPPFLAGS'
38202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h. */
38208 #include <math.h>
38210 main ()
38212 _ldexpf(0, 0);
38214 return 0;
38216 _ACEOF
38217 if ac_fn_cxx_try_compile "$LINENO"; then :
38218 glibcxx_cv_func__ldexpf_use=yes
38219 else
38220 glibcxx_cv_func__ldexpf_use=no
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223 ac_ext=c
38224 ac_cpp='$CPP $CPPFLAGS'
38225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38234 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38236 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38237 for ac_func in _ldexpf
38238 do :
38239 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38240 if test "x$ac_cv_func__ldexpf" = xyes; then :
38241 cat >>confdefs.h <<_ACEOF
38242 #define HAVE__LDEXPF 1
38243 _ACEOF
38246 done
38255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38256 $as_echo_n "checking for logf declaration... " >&6; }
38257 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38258 if ${glibcxx_cv_func_logf_use+:} false; then :
38259 $as_echo_n "(cached) " >&6
38260 else
38263 ac_ext=cpp
38264 ac_cpp='$CXXCPP $CPPFLAGS'
38265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38270 /* end confdefs.h. */
38271 #include <math.h>
38272 #ifdef HAVE_IEEEFP_H
38273 #include <ieeefp.h>
38274 #endif
38277 main ()
38279 logf(0);
38281 return 0;
38283 _ACEOF
38284 if ac_fn_cxx_try_compile "$LINENO"; then :
38285 glibcxx_cv_func_logf_use=yes
38286 else
38287 glibcxx_cv_func_logf_use=no
38289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38290 ac_ext=c
38291 ac_cpp='$CPP $CPPFLAGS'
38292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38301 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
38303 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38304 for ac_func in logf
38305 do :
38306 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38307 if test "x$ac_cv_func_logf" = xyes; then :
38308 cat >>confdefs.h <<_ACEOF
38309 #define HAVE_LOGF 1
38310 _ACEOF
38313 done
38315 else
38317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38318 $as_echo_n "checking for _logf declaration... " >&6; }
38319 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38320 if ${glibcxx_cv_func__logf_use+:} false; then :
38321 $as_echo_n "(cached) " >&6
38322 else
38325 ac_ext=cpp
38326 ac_cpp='$CXXCPP $CPPFLAGS'
38327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38332 /* end confdefs.h. */
38333 #include <math.h>
38334 #ifdef HAVE_IEEEFP_H
38335 #include <ieeefp.h>
38336 #endif
38339 main ()
38341 _logf(0);
38343 return 0;
38345 _ACEOF
38346 if ac_fn_cxx_try_compile "$LINENO"; then :
38347 glibcxx_cv_func__logf_use=yes
38348 else
38349 glibcxx_cv_func__logf_use=no
38351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38352 ac_ext=c
38353 ac_cpp='$CPP $CPPFLAGS'
38354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38363 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
38365 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38366 for ac_func in _logf
38367 do :
38368 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38369 if test "x$ac_cv_func__logf" = xyes; then :
38370 cat >>confdefs.h <<_ACEOF
38371 #define HAVE__LOGF 1
38372 _ACEOF
38375 done
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38385 $as_echo_n "checking for log10f declaration... " >&6; }
38386 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38387 if ${glibcxx_cv_func_log10f_use+:} false; then :
38388 $as_echo_n "(cached) " >&6
38389 else
38392 ac_ext=cpp
38393 ac_cpp='$CXXCPP $CPPFLAGS'
38394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38399 /* end confdefs.h. */
38400 #include <math.h>
38401 #ifdef HAVE_IEEEFP_H
38402 #include <ieeefp.h>
38403 #endif
38406 main ()
38408 log10f(0);
38410 return 0;
38412 _ACEOF
38413 if ac_fn_cxx_try_compile "$LINENO"; then :
38414 glibcxx_cv_func_log10f_use=yes
38415 else
38416 glibcxx_cv_func_log10f_use=no
38418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38419 ac_ext=c
38420 ac_cpp='$CPP $CPPFLAGS'
38421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38430 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38432 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38433 for ac_func in log10f
38434 do :
38435 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38436 if test "x$ac_cv_func_log10f" = xyes; then :
38437 cat >>confdefs.h <<_ACEOF
38438 #define HAVE_LOG10F 1
38439 _ACEOF
38442 done
38444 else
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38447 $as_echo_n "checking for _log10f declaration... " >&6; }
38448 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38449 if ${glibcxx_cv_func__log10f_use+:} false; then :
38450 $as_echo_n "(cached) " >&6
38451 else
38454 ac_ext=cpp
38455 ac_cpp='$CXXCPP $CPPFLAGS'
38456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38461 /* end confdefs.h. */
38462 #include <math.h>
38463 #ifdef HAVE_IEEEFP_H
38464 #include <ieeefp.h>
38465 #endif
38468 main ()
38470 _log10f(0);
38472 return 0;
38474 _ACEOF
38475 if ac_fn_cxx_try_compile "$LINENO"; then :
38476 glibcxx_cv_func__log10f_use=yes
38477 else
38478 glibcxx_cv_func__log10f_use=no
38480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38481 ac_ext=c
38482 ac_cpp='$CPP $CPPFLAGS'
38483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38492 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38494 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38495 for ac_func in _log10f
38496 do :
38497 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38498 if test "x$ac_cv_func__log10f" = xyes; then :
38499 cat >>confdefs.h <<_ACEOF
38500 #define HAVE__LOG10F 1
38501 _ACEOF
38504 done
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38514 $as_echo_n "checking for modff declaration... " >&6; }
38515 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38516 if ${glibcxx_cv_func_modff_use+:} false; then :
38517 $as_echo_n "(cached) " >&6
38518 else
38521 ac_ext=cpp
38522 ac_cpp='$CXXCPP $CPPFLAGS'
38523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38528 /* end confdefs.h. */
38529 #include <math.h>
38531 main ()
38533 modff(0, 0);
38535 return 0;
38537 _ACEOF
38538 if ac_fn_cxx_try_compile "$LINENO"; then :
38539 glibcxx_cv_func_modff_use=yes
38540 else
38541 glibcxx_cv_func_modff_use=no
38543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38544 ac_ext=c
38545 ac_cpp='$CPP $CPPFLAGS'
38546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38555 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38557 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38558 for ac_func in modff
38559 do :
38560 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38561 if test "x$ac_cv_func_modff" = xyes; then :
38562 cat >>confdefs.h <<_ACEOF
38563 #define HAVE_MODFF 1
38564 _ACEOF
38567 done
38569 else
38571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38572 $as_echo_n "checking for _modff declaration... " >&6; }
38573 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38574 if ${glibcxx_cv_func__modff_use+:} false; then :
38575 $as_echo_n "(cached) " >&6
38576 else
38579 ac_ext=cpp
38580 ac_cpp='$CXXCPP $CPPFLAGS'
38581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38586 /* end confdefs.h. */
38587 #include <math.h>
38589 main ()
38591 _modff(0, 0);
38593 return 0;
38595 _ACEOF
38596 if ac_fn_cxx_try_compile "$LINENO"; then :
38597 glibcxx_cv_func__modff_use=yes
38598 else
38599 glibcxx_cv_func__modff_use=no
38601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38602 ac_ext=c
38603 ac_cpp='$CPP $CPPFLAGS'
38604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38613 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38615 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38616 for ac_func in _modff
38617 do :
38618 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38619 if test "x$ac_cv_func__modff" = xyes; then :
38620 cat >>confdefs.h <<_ACEOF
38621 #define HAVE__MODFF 1
38622 _ACEOF
38625 done
38634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38635 $as_echo_n "checking for modf declaration... " >&6; }
38636 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38637 if ${glibcxx_cv_func_modf_use+:} false; then :
38638 $as_echo_n "(cached) " >&6
38639 else
38642 ac_ext=cpp
38643 ac_cpp='$CXXCPP $CPPFLAGS'
38644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38649 /* end confdefs.h. */
38650 #include <math.h>
38652 main ()
38654 modf(0, 0);
38656 return 0;
38658 _ACEOF
38659 if ac_fn_cxx_try_compile "$LINENO"; then :
38660 glibcxx_cv_func_modf_use=yes
38661 else
38662 glibcxx_cv_func_modf_use=no
38664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38665 ac_ext=c
38666 ac_cpp='$CPP $CPPFLAGS'
38667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38676 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38678 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38679 for ac_func in modf
38680 do :
38681 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38682 if test "x$ac_cv_func_modf" = xyes; then :
38683 cat >>confdefs.h <<_ACEOF
38684 #define HAVE_MODF 1
38685 _ACEOF
38688 done
38690 else
38692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38693 $as_echo_n "checking for _modf declaration... " >&6; }
38694 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38695 if ${glibcxx_cv_func__modf_use+:} false; then :
38696 $as_echo_n "(cached) " >&6
38697 else
38700 ac_ext=cpp
38701 ac_cpp='$CXXCPP $CPPFLAGS'
38702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38707 /* end confdefs.h. */
38708 #include <math.h>
38710 main ()
38712 _modf(0, 0);
38714 return 0;
38716 _ACEOF
38717 if ac_fn_cxx_try_compile "$LINENO"; then :
38718 glibcxx_cv_func__modf_use=yes
38719 else
38720 glibcxx_cv_func__modf_use=no
38722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38723 ac_ext=c
38724 ac_cpp='$CPP $CPPFLAGS'
38725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38734 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38736 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38737 for ac_func in _modf
38738 do :
38739 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38740 if test "x$ac_cv_func__modf" = xyes; then :
38741 cat >>confdefs.h <<_ACEOF
38742 #define HAVE__MODF 1
38743 _ACEOF
38746 done
38755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38756 $as_echo_n "checking for powf declaration... " >&6; }
38757 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38758 if ${glibcxx_cv_func_powf_use+:} false; then :
38759 $as_echo_n "(cached) " >&6
38760 else
38763 ac_ext=cpp
38764 ac_cpp='$CXXCPP $CPPFLAGS'
38765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38770 /* end confdefs.h. */
38771 #include <math.h>
38773 main ()
38775 powf(0, 0);
38777 return 0;
38779 _ACEOF
38780 if ac_fn_cxx_try_compile "$LINENO"; then :
38781 glibcxx_cv_func_powf_use=yes
38782 else
38783 glibcxx_cv_func_powf_use=no
38785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38786 ac_ext=c
38787 ac_cpp='$CPP $CPPFLAGS'
38788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38797 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38799 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38800 for ac_func in powf
38801 do :
38802 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38803 if test "x$ac_cv_func_powf" = xyes; then :
38804 cat >>confdefs.h <<_ACEOF
38805 #define HAVE_POWF 1
38806 _ACEOF
38809 done
38811 else
38813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38814 $as_echo_n "checking for _powf declaration... " >&6; }
38815 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38816 if ${glibcxx_cv_func__powf_use+:} false; then :
38817 $as_echo_n "(cached) " >&6
38818 else
38821 ac_ext=cpp
38822 ac_cpp='$CXXCPP $CPPFLAGS'
38823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38828 /* end confdefs.h. */
38829 #include <math.h>
38831 main ()
38833 _powf(0, 0);
38835 return 0;
38837 _ACEOF
38838 if ac_fn_cxx_try_compile "$LINENO"; then :
38839 glibcxx_cv_func__powf_use=yes
38840 else
38841 glibcxx_cv_func__powf_use=no
38843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38844 ac_ext=c
38845 ac_cpp='$CPP $CPPFLAGS'
38846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38855 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38857 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38858 for ac_func in _powf
38859 do :
38860 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38861 if test "x$ac_cv_func__powf" = xyes; then :
38862 cat >>confdefs.h <<_ACEOF
38863 #define HAVE__POWF 1
38864 _ACEOF
38867 done
38876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38877 $as_echo_n "checking for sqrtf declaration... " >&6; }
38878 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38879 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38880 $as_echo_n "(cached) " >&6
38881 else
38884 ac_ext=cpp
38885 ac_cpp='$CXXCPP $CPPFLAGS'
38886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38891 /* end confdefs.h. */
38892 #include <math.h>
38893 #ifdef HAVE_IEEEFP_H
38894 #include <ieeefp.h>
38895 #endif
38898 main ()
38900 sqrtf(0);
38902 return 0;
38904 _ACEOF
38905 if ac_fn_cxx_try_compile "$LINENO"; then :
38906 glibcxx_cv_func_sqrtf_use=yes
38907 else
38908 glibcxx_cv_func_sqrtf_use=no
38910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38911 ac_ext=c
38912 ac_cpp='$CPP $CPPFLAGS'
38913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38922 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38924 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38925 for ac_func in sqrtf
38926 do :
38927 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38928 if test "x$ac_cv_func_sqrtf" = xyes; then :
38929 cat >>confdefs.h <<_ACEOF
38930 #define HAVE_SQRTF 1
38931 _ACEOF
38934 done
38936 else
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38939 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38940 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38941 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38942 $as_echo_n "(cached) " >&6
38943 else
38946 ac_ext=cpp
38947 ac_cpp='$CXXCPP $CPPFLAGS'
38948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38953 /* end confdefs.h. */
38954 #include <math.h>
38955 #ifdef HAVE_IEEEFP_H
38956 #include <ieeefp.h>
38957 #endif
38960 main ()
38962 _sqrtf(0);
38964 return 0;
38966 _ACEOF
38967 if ac_fn_cxx_try_compile "$LINENO"; then :
38968 glibcxx_cv_func__sqrtf_use=yes
38969 else
38970 glibcxx_cv_func__sqrtf_use=no
38972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38973 ac_ext=c
38974 ac_cpp='$CPP $CPPFLAGS'
38975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38984 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38986 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38987 for ac_func in _sqrtf
38988 do :
38989 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38990 if test "x$ac_cv_func__sqrtf" = xyes; then :
38991 cat >>confdefs.h <<_ACEOF
38992 #define HAVE__SQRTF 1
38993 _ACEOF
38996 done
39005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
39006 $as_echo_n "checking for sincosf declaration... " >&6; }
39007 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39008 if ${glibcxx_cv_func_sincosf_use+:} false; then :
39009 $as_echo_n "(cached) " >&6
39010 else
39013 ac_ext=cpp
39014 ac_cpp='$CXXCPP $CPPFLAGS'
39015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39020 /* end confdefs.h. */
39021 #include <math.h>
39023 main ()
39025 sincosf(0, 0, 0);
39027 return 0;
39029 _ACEOF
39030 if ac_fn_cxx_try_compile "$LINENO"; then :
39031 glibcxx_cv_func_sincosf_use=yes
39032 else
39033 glibcxx_cv_func_sincosf_use=no
39035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39036 ac_ext=c
39037 ac_cpp='$CPP $CPPFLAGS'
39038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
39047 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
39049 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39050 for ac_func in sincosf
39051 do :
39052 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
39053 if test "x$ac_cv_func_sincosf" = xyes; then :
39054 cat >>confdefs.h <<_ACEOF
39055 #define HAVE_SINCOSF 1
39056 _ACEOF
39059 done
39061 else
39063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
39064 $as_echo_n "checking for _sincosf declaration... " >&6; }
39065 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39066 if ${glibcxx_cv_func__sincosf_use+:} false; then :
39067 $as_echo_n "(cached) " >&6
39068 else
39071 ac_ext=cpp
39072 ac_cpp='$CXXCPP $CPPFLAGS'
39073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39078 /* end confdefs.h. */
39079 #include <math.h>
39081 main ()
39083 _sincosf(0, 0, 0);
39085 return 0;
39087 _ACEOF
39088 if ac_fn_cxx_try_compile "$LINENO"; then :
39089 glibcxx_cv_func__sincosf_use=yes
39090 else
39091 glibcxx_cv_func__sincosf_use=no
39093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39094 ac_ext=c
39095 ac_cpp='$CPP $CPPFLAGS'
39096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
39105 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
39107 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39108 for ac_func in _sincosf
39109 do :
39110 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
39111 if test "x$ac_cv_func__sincosf" = xyes; then :
39112 cat >>confdefs.h <<_ACEOF
39113 #define HAVE__SINCOSF 1
39114 _ACEOF
39117 done
39126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39127 $as_echo_n "checking for finitef declaration... " >&6; }
39128 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39129 if ${glibcxx_cv_func_finitef_use+:} false; then :
39130 $as_echo_n "(cached) " >&6
39131 else
39134 ac_ext=cpp
39135 ac_cpp='$CXXCPP $CPPFLAGS'
39136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39141 /* end confdefs.h. */
39142 #include <math.h>
39143 #ifdef HAVE_IEEEFP_H
39144 #include <ieeefp.h>
39145 #endif
39148 main ()
39150 finitef(0);
39152 return 0;
39154 _ACEOF
39155 if ac_fn_cxx_try_compile "$LINENO"; then :
39156 glibcxx_cv_func_finitef_use=yes
39157 else
39158 glibcxx_cv_func_finitef_use=no
39160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39161 ac_ext=c
39162 ac_cpp='$CPP $CPPFLAGS'
39163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39172 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39174 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39175 for ac_func in finitef
39176 do :
39177 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39178 if test "x$ac_cv_func_finitef" = xyes; then :
39179 cat >>confdefs.h <<_ACEOF
39180 #define HAVE_FINITEF 1
39181 _ACEOF
39184 done
39186 else
39188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39189 $as_echo_n "checking for _finitef declaration... " >&6; }
39190 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39191 if ${glibcxx_cv_func__finitef_use+:} false; then :
39192 $as_echo_n "(cached) " >&6
39193 else
39196 ac_ext=cpp
39197 ac_cpp='$CXXCPP $CPPFLAGS'
39198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39203 /* end confdefs.h. */
39204 #include <math.h>
39205 #ifdef HAVE_IEEEFP_H
39206 #include <ieeefp.h>
39207 #endif
39210 main ()
39212 _finitef(0);
39214 return 0;
39216 _ACEOF
39217 if ac_fn_cxx_try_compile "$LINENO"; then :
39218 glibcxx_cv_func__finitef_use=yes
39219 else
39220 glibcxx_cv_func__finitef_use=no
39222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39223 ac_ext=c
39224 ac_cpp='$CPP $CPPFLAGS'
39225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39234 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39236 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39237 for ac_func in _finitef
39238 do :
39239 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39240 if test "x$ac_cv_func__finitef" = xyes; then :
39241 cat >>confdefs.h <<_ACEOF
39242 #define HAVE__FINITEF 1
39243 _ACEOF
39246 done
39255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39256 $as_echo_n "checking for long double trig functions... " >&6; }
39257 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39258 $as_echo_n "(cached) " >&6
39259 else
39262 ac_ext=cpp
39263 ac_cpp='$CXXCPP $CPPFLAGS'
39264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39269 /* end confdefs.h. */
39270 #include <math.h>
39272 main ()
39274 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39276 return 0;
39278 _ACEOF
39279 if ac_fn_cxx_try_compile "$LINENO"; then :
39280 glibcxx_cv_func_long_double_trig_use=yes
39281 else
39282 glibcxx_cv_func_long_double_trig_use=no
39284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39285 ac_ext=c
39286 ac_cpp='$CPP $CPPFLAGS'
39287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39294 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39295 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39296 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39297 do :
39298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39301 cat >>confdefs.h <<_ACEOF
39302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39303 _ACEOF
39306 done
39308 else
39309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39310 $as_echo_n "checking for _long double trig functions... " >&6; }
39311 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39312 $as_echo_n "(cached) " >&6
39313 else
39316 ac_ext=cpp
39317 ac_cpp='$CXXCPP $CPPFLAGS'
39318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39323 /* end confdefs.h. */
39324 #include <math.h>
39326 main ()
39328 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39330 return 0;
39332 _ACEOF
39333 if ac_fn_cxx_try_compile "$LINENO"; then :
39334 glibcxx_cv_func__long_double_trig_use=yes
39335 else
39336 glibcxx_cv_func__long_double_trig_use=no
39338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39339 ac_ext=c
39340 ac_cpp='$CPP $CPPFLAGS'
39341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39348 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39349 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39350 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39351 do :
39352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39354 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39355 cat >>confdefs.h <<_ACEOF
39356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39357 _ACEOF
39360 done
39369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39370 $as_echo_n "checking for long double round functions... " >&6; }
39371 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39372 $as_echo_n "(cached) " >&6
39373 else
39376 ac_ext=cpp
39377 ac_cpp='$CXXCPP $CPPFLAGS'
39378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39383 /* end confdefs.h. */
39384 #include <math.h>
39386 main ()
39388 ceill (0); floorl (0);
39390 return 0;
39392 _ACEOF
39393 if ac_fn_cxx_try_compile "$LINENO"; then :
39394 glibcxx_cv_func_long_double_round_use=yes
39395 else
39396 glibcxx_cv_func_long_double_round_use=no
39398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39399 ac_ext=c
39400 ac_cpp='$CPP $CPPFLAGS'
39401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39408 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39409 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39410 for ac_func in ceill floorl
39411 do :
39412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39414 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39415 cat >>confdefs.h <<_ACEOF
39416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39417 _ACEOF
39420 done
39422 else
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39424 $as_echo_n "checking for _long double round functions... " >&6; }
39425 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39426 $as_echo_n "(cached) " >&6
39427 else
39430 ac_ext=cpp
39431 ac_cpp='$CXXCPP $CPPFLAGS'
39432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39437 /* end confdefs.h. */
39438 #include <math.h>
39440 main ()
39442 _ceill (0); _floorl (0);
39444 return 0;
39446 _ACEOF
39447 if ac_fn_cxx_try_compile "$LINENO"; then :
39448 glibcxx_cv_func__long_double_round_use=yes
39449 else
39450 glibcxx_cv_func__long_double_round_use=no
39452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39453 ac_ext=c
39454 ac_cpp='$CPP $CPPFLAGS'
39455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39462 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39463 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39464 for ac_func in _ceill _floorl
39465 do :
39466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39468 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39469 cat >>confdefs.h <<_ACEOF
39470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39471 _ACEOF
39474 done
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39485 $as_echo_n "checking for isnanl declaration... " >&6; }
39486 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39487 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39488 $as_echo_n "(cached) " >&6
39489 else
39492 ac_ext=cpp
39493 ac_cpp='$CXXCPP $CPPFLAGS'
39494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39499 /* end confdefs.h. */
39500 #include <math.h>
39501 #ifdef HAVE_IEEEFP_H
39502 #include <ieeefp.h>
39503 #endif
39506 main ()
39508 isnanl(0);
39510 return 0;
39512 _ACEOF
39513 if ac_fn_cxx_try_compile "$LINENO"; then :
39514 glibcxx_cv_func_isnanl_use=yes
39515 else
39516 glibcxx_cv_func_isnanl_use=no
39518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39519 ac_ext=c
39520 ac_cpp='$CPP $CPPFLAGS'
39521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39530 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39532 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39533 for ac_func in isnanl
39534 do :
39535 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39536 if test "x$ac_cv_func_isnanl" = xyes; then :
39537 cat >>confdefs.h <<_ACEOF
39538 #define HAVE_ISNANL 1
39539 _ACEOF
39542 done
39544 else
39546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39547 $as_echo_n "checking for _isnanl declaration... " >&6; }
39548 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39549 if ${glibcxx_cv_func__isnanl_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 _isnanl(0);
39572 return 0;
39574 _ACEOF
39575 if ac_fn_cxx_try_compile "$LINENO"; then :
39576 glibcxx_cv_func__isnanl_use=yes
39577 else
39578 glibcxx_cv_func__isnanl_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__isnanl_use" >&5
39592 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39594 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39595 for ac_func in _isnanl
39596 do :
39597 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39598 if test "x$ac_cv_func__isnanl" = xyes; then :
39599 cat >>confdefs.h <<_ACEOF
39600 #define HAVE__ISNANL 1
39601 _ACEOF
39604 done
39613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39614 $as_echo_n "checking for isinfl declaration... " >&6; }
39615 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39616 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39617 $as_echo_n "(cached) " >&6
39618 else
39621 ac_ext=cpp
39622 ac_cpp='$CXXCPP $CPPFLAGS'
39623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39628 /* end confdefs.h. */
39629 #include <math.h>
39630 #ifdef HAVE_IEEEFP_H
39631 #include <ieeefp.h>
39632 #endif
39635 main ()
39637 isinfl(0);
39639 return 0;
39641 _ACEOF
39642 if ac_fn_cxx_try_compile "$LINENO"; then :
39643 glibcxx_cv_func_isinfl_use=yes
39644 else
39645 glibcxx_cv_func_isinfl_use=no
39647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39648 ac_ext=c
39649 ac_cpp='$CPP $CPPFLAGS'
39650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39659 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39661 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39662 for ac_func in isinfl
39663 do :
39664 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39665 if test "x$ac_cv_func_isinfl" = xyes; then :
39666 cat >>confdefs.h <<_ACEOF
39667 #define HAVE_ISINFL 1
39668 _ACEOF
39671 done
39673 else
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39676 $as_echo_n "checking for _isinfl declaration... " >&6; }
39677 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39678 if ${glibcxx_cv_func__isinfl_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>
39692 #ifdef HAVE_IEEEFP_H
39693 #include <ieeefp.h>
39694 #endif
39697 main ()
39699 _isinfl(0);
39701 return 0;
39703 _ACEOF
39704 if ac_fn_cxx_try_compile "$LINENO"; then :
39705 glibcxx_cv_func__isinfl_use=yes
39706 else
39707 glibcxx_cv_func__isinfl_use=no
39709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39710 ac_ext=c
39711 ac_cpp='$CPP $CPPFLAGS'
39712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39721 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39723 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39724 for ac_func in _isinfl
39725 do :
39726 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39727 if test "x$ac_cv_func__isinfl" = xyes; then :
39728 cat >>confdefs.h <<_ACEOF
39729 #define HAVE__ISINFL 1
39730 _ACEOF
39733 done
39742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39743 $as_echo_n "checking for atan2l declaration... " >&6; }
39744 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39745 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39746 $as_echo_n "(cached) " >&6
39747 else
39750 ac_ext=cpp
39751 ac_cpp='$CXXCPP $CPPFLAGS'
39752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39757 /* end confdefs.h. */
39758 #include <math.h>
39760 main ()
39762 atan2l(0, 0);
39764 return 0;
39766 _ACEOF
39767 if ac_fn_cxx_try_compile "$LINENO"; then :
39768 glibcxx_cv_func_atan2l_use=yes
39769 else
39770 glibcxx_cv_func_atan2l_use=no
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39773 ac_ext=c
39774 ac_cpp='$CPP $CPPFLAGS'
39775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39784 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39786 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39787 for ac_func in atan2l
39788 do :
39789 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39790 if test "x$ac_cv_func_atan2l" = xyes; then :
39791 cat >>confdefs.h <<_ACEOF
39792 #define HAVE_ATAN2L 1
39793 _ACEOF
39796 done
39798 else
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39801 $as_echo_n "checking for _atan2l declaration... " >&6; }
39802 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39803 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39804 $as_echo_n "(cached) " >&6
39805 else
39808 ac_ext=cpp
39809 ac_cpp='$CXXCPP $CPPFLAGS'
39810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39815 /* end confdefs.h. */
39816 #include <math.h>
39818 main ()
39820 _atan2l(0, 0);
39822 return 0;
39824 _ACEOF
39825 if ac_fn_cxx_try_compile "$LINENO"; then :
39826 glibcxx_cv_func__atan2l_use=yes
39827 else
39828 glibcxx_cv_func__atan2l_use=no
39830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39831 ac_ext=c
39832 ac_cpp='$CPP $CPPFLAGS'
39833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39842 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39844 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39845 for ac_func in _atan2l
39846 do :
39847 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39848 if test "x$ac_cv_func__atan2l" = xyes; then :
39849 cat >>confdefs.h <<_ACEOF
39850 #define HAVE__ATAN2L 1
39851 _ACEOF
39854 done
39863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39864 $as_echo_n "checking for expl declaration... " >&6; }
39865 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39866 if ${glibcxx_cv_func_expl_use+:} false; then :
39867 $as_echo_n "(cached) " >&6
39868 else
39871 ac_ext=cpp
39872 ac_cpp='$CXXCPP $CPPFLAGS'
39873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39878 /* end confdefs.h. */
39879 #include <math.h>
39880 #ifdef HAVE_IEEEFP_H
39881 #include <ieeefp.h>
39882 #endif
39885 main ()
39887 expl(0);
39889 return 0;
39891 _ACEOF
39892 if ac_fn_cxx_try_compile "$LINENO"; then :
39893 glibcxx_cv_func_expl_use=yes
39894 else
39895 glibcxx_cv_func_expl_use=no
39897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39898 ac_ext=c
39899 ac_cpp='$CPP $CPPFLAGS'
39900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39909 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39911 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39912 for ac_func in expl
39913 do :
39914 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39915 if test "x$ac_cv_func_expl" = xyes; then :
39916 cat >>confdefs.h <<_ACEOF
39917 #define HAVE_EXPL 1
39918 _ACEOF
39921 done
39923 else
39925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39926 $as_echo_n "checking for _expl declaration... " >&6; }
39927 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39928 if ${glibcxx_cv_func__expl_use+:} false; then :
39929 $as_echo_n "(cached) " >&6
39930 else
39933 ac_ext=cpp
39934 ac_cpp='$CXXCPP $CPPFLAGS'
39935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39940 /* end confdefs.h. */
39941 #include <math.h>
39942 #ifdef HAVE_IEEEFP_H
39943 #include <ieeefp.h>
39944 #endif
39947 main ()
39949 _expl(0);
39951 return 0;
39953 _ACEOF
39954 if ac_fn_cxx_try_compile "$LINENO"; then :
39955 glibcxx_cv_func__expl_use=yes
39956 else
39957 glibcxx_cv_func__expl_use=no
39959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39960 ac_ext=c
39961 ac_cpp='$CPP $CPPFLAGS'
39962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39971 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39973 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39974 for ac_func in _expl
39975 do :
39976 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39977 if test "x$ac_cv_func__expl" = xyes; then :
39978 cat >>confdefs.h <<_ACEOF
39979 #define HAVE__EXPL 1
39980 _ACEOF
39983 done
39992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39993 $as_echo_n "checking for fabsl declaration... " >&6; }
39994 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39995 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39996 $as_echo_n "(cached) " >&6
39997 else
40000 ac_ext=cpp
40001 ac_cpp='$CXXCPP $CPPFLAGS'
40002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40007 /* end confdefs.h. */
40008 #include <math.h>
40009 #ifdef HAVE_IEEEFP_H
40010 #include <ieeefp.h>
40011 #endif
40014 main ()
40016 fabsl(0);
40018 return 0;
40020 _ACEOF
40021 if ac_fn_cxx_try_compile "$LINENO"; then :
40022 glibcxx_cv_func_fabsl_use=yes
40023 else
40024 glibcxx_cv_func_fabsl_use=no
40026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40027 ac_ext=c
40028 ac_cpp='$CPP $CPPFLAGS'
40029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
40038 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
40040 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
40041 for ac_func in fabsl
40042 do :
40043 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
40044 if test "x$ac_cv_func_fabsl" = xyes; then :
40045 cat >>confdefs.h <<_ACEOF
40046 #define HAVE_FABSL 1
40047 _ACEOF
40050 done
40052 else
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
40055 $as_echo_n "checking for _fabsl declaration... " >&6; }
40056 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
40057 if ${glibcxx_cv_func__fabsl_use+:} false; then :
40058 $as_echo_n "(cached) " >&6
40059 else
40062 ac_ext=cpp
40063 ac_cpp='$CXXCPP $CPPFLAGS'
40064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40069 /* end confdefs.h. */
40070 #include <math.h>
40071 #ifdef HAVE_IEEEFP_H
40072 #include <ieeefp.h>
40073 #endif
40076 main ()
40078 _fabsl(0);
40080 return 0;
40082 _ACEOF
40083 if ac_fn_cxx_try_compile "$LINENO"; then :
40084 glibcxx_cv_func__fabsl_use=yes
40085 else
40086 glibcxx_cv_func__fabsl_use=no
40088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40089 ac_ext=c
40090 ac_cpp='$CPP $CPPFLAGS'
40091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
40100 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
40102 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
40103 for ac_func in _fabsl
40104 do :
40105 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
40106 if test "x$ac_cv_func__fabsl" = xyes; then :
40107 cat >>confdefs.h <<_ACEOF
40108 #define HAVE__FABSL 1
40109 _ACEOF
40112 done
40121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
40122 $as_echo_n "checking for fmodl declaration... " >&6; }
40123 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
40124 if ${glibcxx_cv_func_fmodl_use+:} false; then :
40125 $as_echo_n "(cached) " >&6
40126 else
40129 ac_ext=cpp
40130 ac_cpp='$CXXCPP $CPPFLAGS'
40131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40136 /* end confdefs.h. */
40137 #include <math.h>
40139 main ()
40141 fmodl(0, 0);
40143 return 0;
40145 _ACEOF
40146 if ac_fn_cxx_try_compile "$LINENO"; then :
40147 glibcxx_cv_func_fmodl_use=yes
40148 else
40149 glibcxx_cv_func_fmodl_use=no
40151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40152 ac_ext=c
40153 ac_cpp='$CPP $CPPFLAGS'
40154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40163 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40165 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40166 for ac_func in fmodl
40167 do :
40168 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40169 if test "x$ac_cv_func_fmodl" = xyes; then :
40170 cat >>confdefs.h <<_ACEOF
40171 #define HAVE_FMODL 1
40172 _ACEOF
40175 done
40177 else
40179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40180 $as_echo_n "checking for _fmodl declaration... " >&6; }
40181 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40182 if ${glibcxx_cv_func__fmodl_use+:} false; then :
40183 $as_echo_n "(cached) " >&6
40184 else
40187 ac_ext=cpp
40188 ac_cpp='$CXXCPP $CPPFLAGS'
40189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40194 /* end confdefs.h. */
40195 #include <math.h>
40197 main ()
40199 _fmodl(0, 0);
40201 return 0;
40203 _ACEOF
40204 if ac_fn_cxx_try_compile "$LINENO"; then :
40205 glibcxx_cv_func__fmodl_use=yes
40206 else
40207 glibcxx_cv_func__fmodl_use=no
40209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40210 ac_ext=c
40211 ac_cpp='$CPP $CPPFLAGS'
40212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40221 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40223 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40224 for ac_func in _fmodl
40225 do :
40226 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40227 if test "x$ac_cv_func__fmodl" = xyes; then :
40228 cat >>confdefs.h <<_ACEOF
40229 #define HAVE__FMODL 1
40230 _ACEOF
40233 done
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40243 $as_echo_n "checking for frexpl declaration... " >&6; }
40244 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40245 if ${glibcxx_cv_func_frexpl_use+:} false; then :
40246 $as_echo_n "(cached) " >&6
40247 else
40250 ac_ext=cpp
40251 ac_cpp='$CXXCPP $CPPFLAGS'
40252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40257 /* end confdefs.h. */
40258 #include <math.h>
40260 main ()
40262 frexpl(0, 0);
40264 return 0;
40266 _ACEOF
40267 if ac_fn_cxx_try_compile "$LINENO"; then :
40268 glibcxx_cv_func_frexpl_use=yes
40269 else
40270 glibcxx_cv_func_frexpl_use=no
40272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40273 ac_ext=c
40274 ac_cpp='$CPP $CPPFLAGS'
40275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40284 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40286 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40287 for ac_func in frexpl
40288 do :
40289 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40290 if test "x$ac_cv_func_frexpl" = xyes; then :
40291 cat >>confdefs.h <<_ACEOF
40292 #define HAVE_FREXPL 1
40293 _ACEOF
40296 done
40298 else
40300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40301 $as_echo_n "checking for _frexpl declaration... " >&6; }
40302 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40303 if ${glibcxx_cv_func__frexpl_use+:} false; then :
40304 $as_echo_n "(cached) " >&6
40305 else
40308 ac_ext=cpp
40309 ac_cpp='$CXXCPP $CPPFLAGS'
40310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40315 /* end confdefs.h. */
40316 #include <math.h>
40318 main ()
40320 _frexpl(0, 0);
40322 return 0;
40324 _ACEOF
40325 if ac_fn_cxx_try_compile "$LINENO"; then :
40326 glibcxx_cv_func__frexpl_use=yes
40327 else
40328 glibcxx_cv_func__frexpl_use=no
40330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331 ac_ext=c
40332 ac_cpp='$CPP $CPPFLAGS'
40333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40342 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40344 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40345 for ac_func in _frexpl
40346 do :
40347 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40348 if test "x$ac_cv_func__frexpl" = xyes; then :
40349 cat >>confdefs.h <<_ACEOF
40350 #define HAVE__FREXPL 1
40351 _ACEOF
40354 done
40363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40364 $as_echo_n "checking for hypotl declaration... " >&6; }
40365 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40366 if ${glibcxx_cv_func_hypotl_use+:} false; then :
40367 $as_echo_n "(cached) " >&6
40368 else
40371 ac_ext=cpp
40372 ac_cpp='$CXXCPP $CPPFLAGS'
40373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40378 /* end confdefs.h. */
40379 #include <math.h>
40381 main ()
40383 hypotl(0, 0);
40385 return 0;
40387 _ACEOF
40388 if ac_fn_cxx_try_compile "$LINENO"; then :
40389 glibcxx_cv_func_hypotl_use=yes
40390 else
40391 glibcxx_cv_func_hypotl_use=no
40393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40394 ac_ext=c
40395 ac_cpp='$CPP $CPPFLAGS'
40396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40405 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40407 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40408 for ac_func in hypotl
40409 do :
40410 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40411 if test "x$ac_cv_func_hypotl" = xyes; then :
40412 cat >>confdefs.h <<_ACEOF
40413 #define HAVE_HYPOTL 1
40414 _ACEOF
40417 done
40419 else
40421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40422 $as_echo_n "checking for _hypotl declaration... " >&6; }
40423 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40424 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40425 $as_echo_n "(cached) " >&6
40426 else
40429 ac_ext=cpp
40430 ac_cpp='$CXXCPP $CPPFLAGS'
40431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40436 /* end confdefs.h. */
40437 #include <math.h>
40439 main ()
40441 _hypotl(0, 0);
40443 return 0;
40445 _ACEOF
40446 if ac_fn_cxx_try_compile "$LINENO"; then :
40447 glibcxx_cv_func__hypotl_use=yes
40448 else
40449 glibcxx_cv_func__hypotl_use=no
40451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40452 ac_ext=c
40453 ac_cpp='$CPP $CPPFLAGS'
40454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40463 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40465 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40466 for ac_func in _hypotl
40467 do :
40468 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40469 if test "x$ac_cv_func__hypotl" = xyes; then :
40470 cat >>confdefs.h <<_ACEOF
40471 #define HAVE__HYPOTL 1
40472 _ACEOF
40475 done
40484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40485 $as_echo_n "checking for ldexpl declaration... " >&6; }
40486 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40487 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40488 $as_echo_n "(cached) " >&6
40489 else
40492 ac_ext=cpp
40493 ac_cpp='$CXXCPP $CPPFLAGS'
40494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40499 /* end confdefs.h. */
40500 #include <math.h>
40502 main ()
40504 ldexpl(0, 0);
40506 return 0;
40508 _ACEOF
40509 if ac_fn_cxx_try_compile "$LINENO"; then :
40510 glibcxx_cv_func_ldexpl_use=yes
40511 else
40512 glibcxx_cv_func_ldexpl_use=no
40514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515 ac_ext=c
40516 ac_cpp='$CPP $CPPFLAGS'
40517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40526 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40528 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40529 for ac_func in ldexpl
40530 do :
40531 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40532 if test "x$ac_cv_func_ldexpl" = xyes; then :
40533 cat >>confdefs.h <<_ACEOF
40534 #define HAVE_LDEXPL 1
40535 _ACEOF
40538 done
40540 else
40542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40543 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40544 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40545 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40546 $as_echo_n "(cached) " >&6
40547 else
40550 ac_ext=cpp
40551 ac_cpp='$CXXCPP $CPPFLAGS'
40552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40557 /* end confdefs.h. */
40558 #include <math.h>
40560 main ()
40562 _ldexpl(0, 0);
40564 return 0;
40566 _ACEOF
40567 if ac_fn_cxx_try_compile "$LINENO"; then :
40568 glibcxx_cv_func__ldexpl_use=yes
40569 else
40570 glibcxx_cv_func__ldexpl_use=no
40572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40573 ac_ext=c
40574 ac_cpp='$CPP $CPPFLAGS'
40575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40584 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40586 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40587 for ac_func in _ldexpl
40588 do :
40589 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40590 if test "x$ac_cv_func__ldexpl" = xyes; then :
40591 cat >>confdefs.h <<_ACEOF
40592 #define HAVE__LDEXPL 1
40593 _ACEOF
40596 done
40605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40606 $as_echo_n "checking for logl declaration... " >&6; }
40607 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40608 if ${glibcxx_cv_func_logl_use+:} false; then :
40609 $as_echo_n "(cached) " >&6
40610 else
40613 ac_ext=cpp
40614 ac_cpp='$CXXCPP $CPPFLAGS'
40615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40620 /* end confdefs.h. */
40621 #include <math.h>
40622 #ifdef HAVE_IEEEFP_H
40623 #include <ieeefp.h>
40624 #endif
40627 main ()
40629 logl(0);
40631 return 0;
40633 _ACEOF
40634 if ac_fn_cxx_try_compile "$LINENO"; then :
40635 glibcxx_cv_func_logl_use=yes
40636 else
40637 glibcxx_cv_func_logl_use=no
40639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40640 ac_ext=c
40641 ac_cpp='$CPP $CPPFLAGS'
40642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40651 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40653 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40654 for ac_func in logl
40655 do :
40656 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40657 if test "x$ac_cv_func_logl" = xyes; then :
40658 cat >>confdefs.h <<_ACEOF
40659 #define HAVE_LOGL 1
40660 _ACEOF
40663 done
40665 else
40667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40668 $as_echo_n "checking for _logl declaration... " >&6; }
40669 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40670 if ${glibcxx_cv_func__logl_use+:} false; then :
40671 $as_echo_n "(cached) " >&6
40672 else
40675 ac_ext=cpp
40676 ac_cpp='$CXXCPP $CPPFLAGS'
40677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40682 /* end confdefs.h. */
40683 #include <math.h>
40684 #ifdef HAVE_IEEEFP_H
40685 #include <ieeefp.h>
40686 #endif
40689 main ()
40691 _logl(0);
40693 return 0;
40695 _ACEOF
40696 if ac_fn_cxx_try_compile "$LINENO"; then :
40697 glibcxx_cv_func__logl_use=yes
40698 else
40699 glibcxx_cv_func__logl_use=no
40701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40702 ac_ext=c
40703 ac_cpp='$CPP $CPPFLAGS'
40704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40713 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40715 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40716 for ac_func in _logl
40717 do :
40718 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40719 if test "x$ac_cv_func__logl" = xyes; then :
40720 cat >>confdefs.h <<_ACEOF
40721 #define HAVE__LOGL 1
40722 _ACEOF
40725 done
40734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40735 $as_echo_n "checking for log10l declaration... " >&6; }
40736 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40737 if ${glibcxx_cv_func_log10l_use+:} false; then :
40738 $as_echo_n "(cached) " >&6
40739 else
40742 ac_ext=cpp
40743 ac_cpp='$CXXCPP $CPPFLAGS'
40744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40749 /* end confdefs.h. */
40750 #include <math.h>
40751 #ifdef HAVE_IEEEFP_H
40752 #include <ieeefp.h>
40753 #endif
40756 main ()
40758 log10l(0);
40760 return 0;
40762 _ACEOF
40763 if ac_fn_cxx_try_compile "$LINENO"; then :
40764 glibcxx_cv_func_log10l_use=yes
40765 else
40766 glibcxx_cv_func_log10l_use=no
40768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40769 ac_ext=c
40770 ac_cpp='$CPP $CPPFLAGS'
40771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40780 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40782 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40783 for ac_func in log10l
40784 do :
40785 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40786 if test "x$ac_cv_func_log10l" = xyes; then :
40787 cat >>confdefs.h <<_ACEOF
40788 #define HAVE_LOG10L 1
40789 _ACEOF
40792 done
40794 else
40796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40797 $as_echo_n "checking for _log10l declaration... " >&6; }
40798 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40799 if ${glibcxx_cv_func__log10l_use+:} false; then :
40800 $as_echo_n "(cached) " >&6
40801 else
40804 ac_ext=cpp
40805 ac_cpp='$CXXCPP $CPPFLAGS'
40806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40811 /* end confdefs.h. */
40812 #include <math.h>
40813 #ifdef HAVE_IEEEFP_H
40814 #include <ieeefp.h>
40815 #endif
40818 main ()
40820 _log10l(0);
40822 return 0;
40824 _ACEOF
40825 if ac_fn_cxx_try_compile "$LINENO"; then :
40826 glibcxx_cv_func__log10l_use=yes
40827 else
40828 glibcxx_cv_func__log10l_use=no
40830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40831 ac_ext=c
40832 ac_cpp='$CPP $CPPFLAGS'
40833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40842 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40844 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40845 for ac_func in _log10l
40846 do :
40847 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40848 if test "x$ac_cv_func__log10l" = xyes; then :
40849 cat >>confdefs.h <<_ACEOF
40850 #define HAVE__LOG10L 1
40851 _ACEOF
40854 done
40863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40864 $as_echo_n "checking for modfl declaration... " >&6; }
40865 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40866 if ${glibcxx_cv_func_modfl_use+:} false; then :
40867 $as_echo_n "(cached) " >&6
40868 else
40871 ac_ext=cpp
40872 ac_cpp='$CXXCPP $CPPFLAGS'
40873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40878 /* end confdefs.h. */
40879 #include <math.h>
40881 main ()
40883 modfl(0, 0);
40885 return 0;
40887 _ACEOF
40888 if ac_fn_cxx_try_compile "$LINENO"; then :
40889 glibcxx_cv_func_modfl_use=yes
40890 else
40891 glibcxx_cv_func_modfl_use=no
40893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40894 ac_ext=c
40895 ac_cpp='$CPP $CPPFLAGS'
40896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40905 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40907 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40908 for ac_func in modfl
40909 do :
40910 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40911 if test "x$ac_cv_func_modfl" = xyes; then :
40912 cat >>confdefs.h <<_ACEOF
40913 #define HAVE_MODFL 1
40914 _ACEOF
40917 done
40919 else
40921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40922 $as_echo_n "checking for _modfl declaration... " >&6; }
40923 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40924 if ${glibcxx_cv_func__modfl_use+:} false; then :
40925 $as_echo_n "(cached) " >&6
40926 else
40929 ac_ext=cpp
40930 ac_cpp='$CXXCPP $CPPFLAGS'
40931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40936 /* end confdefs.h. */
40937 #include <math.h>
40939 main ()
40941 _modfl(0, 0);
40943 return 0;
40945 _ACEOF
40946 if ac_fn_cxx_try_compile "$LINENO"; then :
40947 glibcxx_cv_func__modfl_use=yes
40948 else
40949 glibcxx_cv_func__modfl_use=no
40951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40952 ac_ext=c
40953 ac_cpp='$CPP $CPPFLAGS'
40954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40963 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40965 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40966 for ac_func in _modfl
40967 do :
40968 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40969 if test "x$ac_cv_func__modfl" = xyes; then :
40970 cat >>confdefs.h <<_ACEOF
40971 #define HAVE__MODFL 1
40972 _ACEOF
40975 done
40984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40985 $as_echo_n "checking for powl declaration... " >&6; }
40986 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40987 if ${glibcxx_cv_func_powl_use+:} false; then :
40988 $as_echo_n "(cached) " >&6
40989 else
40992 ac_ext=cpp
40993 ac_cpp='$CXXCPP $CPPFLAGS'
40994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40999 /* end confdefs.h. */
41000 #include <math.h>
41002 main ()
41004 powl(0, 0);
41006 return 0;
41008 _ACEOF
41009 if ac_fn_cxx_try_compile "$LINENO"; then :
41010 glibcxx_cv_func_powl_use=yes
41011 else
41012 glibcxx_cv_func_powl_use=no
41014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41015 ac_ext=c
41016 ac_cpp='$CPP $CPPFLAGS'
41017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41026 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
41028 if test x$glibcxx_cv_func_powl_use = x"yes"; then
41029 for ac_func in powl
41030 do :
41031 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
41032 if test "x$ac_cv_func_powl" = xyes; then :
41033 cat >>confdefs.h <<_ACEOF
41034 #define HAVE_POWL 1
41035 _ACEOF
41038 done
41040 else
41042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
41043 $as_echo_n "checking for _powl declaration... " >&6; }
41044 if test x${glibcxx_cv_func__powl_use+set} != xset; then
41045 if ${glibcxx_cv_func__powl_use+:} false; then :
41046 $as_echo_n "(cached) " >&6
41047 else
41050 ac_ext=cpp
41051 ac_cpp='$CXXCPP $CPPFLAGS'
41052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41057 /* end confdefs.h. */
41058 #include <math.h>
41060 main ()
41062 _powl(0, 0);
41064 return 0;
41066 _ACEOF
41067 if ac_fn_cxx_try_compile "$LINENO"; then :
41068 glibcxx_cv_func__powl_use=yes
41069 else
41070 glibcxx_cv_func__powl_use=no
41072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41073 ac_ext=c
41074 ac_cpp='$CPP $CPPFLAGS'
41075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
41084 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
41086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
41087 for ac_func in _powl
41088 do :
41089 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
41090 if test "x$ac_cv_func__powl" = xyes; then :
41091 cat >>confdefs.h <<_ACEOF
41092 #define HAVE__POWL 1
41093 _ACEOF
41096 done
41105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41106 $as_echo_n "checking for sqrtl declaration... " >&6; }
41107 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
41108 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
41109 $as_echo_n "(cached) " >&6
41110 else
41113 ac_ext=cpp
41114 ac_cpp='$CXXCPP $CPPFLAGS'
41115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41120 /* end confdefs.h. */
41121 #include <math.h>
41122 #ifdef HAVE_IEEEFP_H
41123 #include <ieeefp.h>
41124 #endif
41127 main ()
41129 sqrtl(0);
41131 return 0;
41133 _ACEOF
41134 if ac_fn_cxx_try_compile "$LINENO"; then :
41135 glibcxx_cv_func_sqrtl_use=yes
41136 else
41137 glibcxx_cv_func_sqrtl_use=no
41139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41140 ac_ext=c
41141 ac_cpp='$CPP $CPPFLAGS'
41142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41151 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41153 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41154 for ac_func in sqrtl
41155 do :
41156 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41157 if test "x$ac_cv_func_sqrtl" = xyes; then :
41158 cat >>confdefs.h <<_ACEOF
41159 #define HAVE_SQRTL 1
41160 _ACEOF
41163 done
41165 else
41167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41168 $as_echo_n "checking for _sqrtl declaration... " >&6; }
41169 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41170 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41171 $as_echo_n "(cached) " >&6
41172 else
41175 ac_ext=cpp
41176 ac_cpp='$CXXCPP $CPPFLAGS'
41177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41182 /* end confdefs.h. */
41183 #include <math.h>
41184 #ifdef HAVE_IEEEFP_H
41185 #include <ieeefp.h>
41186 #endif
41189 main ()
41191 _sqrtl(0);
41193 return 0;
41195 _ACEOF
41196 if ac_fn_cxx_try_compile "$LINENO"; then :
41197 glibcxx_cv_func__sqrtl_use=yes
41198 else
41199 glibcxx_cv_func__sqrtl_use=no
41201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41202 ac_ext=c
41203 ac_cpp='$CPP $CPPFLAGS'
41204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41213 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41215 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41216 for ac_func in _sqrtl
41217 do :
41218 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41219 if test "x$ac_cv_func__sqrtl" = xyes; then :
41220 cat >>confdefs.h <<_ACEOF
41221 #define HAVE__SQRTL 1
41222 _ACEOF
41225 done
41234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41235 $as_echo_n "checking for sincosl declaration... " >&6; }
41236 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41237 if ${glibcxx_cv_func_sincosl_use+:} false; then :
41238 $as_echo_n "(cached) " >&6
41239 else
41242 ac_ext=cpp
41243 ac_cpp='$CXXCPP $CPPFLAGS'
41244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41249 /* end confdefs.h. */
41250 #include <math.h>
41252 main ()
41254 sincosl(0, 0, 0);
41256 return 0;
41258 _ACEOF
41259 if ac_fn_cxx_try_compile "$LINENO"; then :
41260 glibcxx_cv_func_sincosl_use=yes
41261 else
41262 glibcxx_cv_func_sincosl_use=no
41264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41265 ac_ext=c
41266 ac_cpp='$CPP $CPPFLAGS'
41267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41276 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41278 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41279 for ac_func in sincosl
41280 do :
41281 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41282 if test "x$ac_cv_func_sincosl" = xyes; then :
41283 cat >>confdefs.h <<_ACEOF
41284 #define HAVE_SINCOSL 1
41285 _ACEOF
41288 done
41290 else
41292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41293 $as_echo_n "checking for _sincosl declaration... " >&6; }
41294 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41295 if ${glibcxx_cv_func__sincosl_use+:} false; then :
41296 $as_echo_n "(cached) " >&6
41297 else
41300 ac_ext=cpp
41301 ac_cpp='$CXXCPP $CPPFLAGS'
41302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41307 /* end confdefs.h. */
41308 #include <math.h>
41310 main ()
41312 _sincosl(0, 0, 0);
41314 return 0;
41316 _ACEOF
41317 if ac_fn_cxx_try_compile "$LINENO"; then :
41318 glibcxx_cv_func__sincosl_use=yes
41319 else
41320 glibcxx_cv_func__sincosl_use=no
41322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41323 ac_ext=c
41324 ac_cpp='$CPP $CPPFLAGS'
41325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41334 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41336 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41337 for ac_func in _sincosl
41338 do :
41339 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41340 if test "x$ac_cv_func__sincosl" = xyes; then :
41341 cat >>confdefs.h <<_ACEOF
41342 #define HAVE__SINCOSL 1
41343 _ACEOF
41346 done
41355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41356 $as_echo_n "checking for finitel declaration... " >&6; }
41357 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41358 if ${glibcxx_cv_func_finitel_use+:} false; then :
41359 $as_echo_n "(cached) " >&6
41360 else
41363 ac_ext=cpp
41364 ac_cpp='$CXXCPP $CPPFLAGS'
41365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41370 /* end confdefs.h. */
41371 #include <math.h>
41372 #ifdef HAVE_IEEEFP_H
41373 #include <ieeefp.h>
41374 #endif
41377 main ()
41379 finitel(0);
41381 return 0;
41383 _ACEOF
41384 if ac_fn_cxx_try_compile "$LINENO"; then :
41385 glibcxx_cv_func_finitel_use=yes
41386 else
41387 glibcxx_cv_func_finitel_use=no
41389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41390 ac_ext=c
41391 ac_cpp='$CPP $CPPFLAGS'
41392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41401 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41403 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41404 for ac_func in finitel
41405 do :
41406 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41407 if test "x$ac_cv_func_finitel" = xyes; then :
41408 cat >>confdefs.h <<_ACEOF
41409 #define HAVE_FINITEL 1
41410 _ACEOF
41413 done
41415 else
41417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41418 $as_echo_n "checking for _finitel declaration... " >&6; }
41419 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41420 if ${glibcxx_cv_func__finitel_use+:} false; then :
41421 $as_echo_n "(cached) " >&6
41422 else
41425 ac_ext=cpp
41426 ac_cpp='$CXXCPP $CPPFLAGS'
41427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41432 /* end confdefs.h. */
41433 #include <math.h>
41434 #ifdef HAVE_IEEEFP_H
41435 #include <ieeefp.h>
41436 #endif
41439 main ()
41441 _finitel(0);
41443 return 0;
41445 _ACEOF
41446 if ac_fn_cxx_try_compile "$LINENO"; then :
41447 glibcxx_cv_func__finitel_use=yes
41448 else
41449 glibcxx_cv_func__finitel_use=no
41451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41452 ac_ext=c
41453 ac_cpp='$CPP $CPPFLAGS'
41454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41463 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41465 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41466 for ac_func in _finitel
41467 do :
41468 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41469 if test "x$ac_cv_func__finitel" = xyes; then :
41470 cat >>confdefs.h <<_ACEOF
41471 #define HAVE__FINITEL 1
41472 _ACEOF
41475 done
41483 LIBS="$ac_save_LIBS"
41484 CXXFLAGS="$ac_save_CXXFLAGS"
41487 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41488 ac_save_CXXFLAGS="$CXXFLAGS"
41489 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41493 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41494 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41495 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41496 $as_echo_n "(cached) " >&6
41497 else
41500 ac_ext=cpp
41501 ac_cpp='$CXXCPP $CPPFLAGS'
41502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41507 /* end confdefs.h. */
41508 #include <stdlib.h>
41510 main ()
41512 at_quick_exit(0);
41514 return 0;
41516 _ACEOF
41517 if ac_fn_cxx_try_compile "$LINENO"; then :
41518 glibcxx_cv_func_at_quick_exit_use=yes
41519 else
41520 glibcxx_cv_func_at_quick_exit_use=no
41522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41523 ac_ext=c
41524 ac_cpp='$CPP $CPPFLAGS'
41525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41534 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41535 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41536 for ac_func in at_quick_exit
41537 do :
41538 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41539 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41540 cat >>confdefs.h <<_ACEOF
41541 #define HAVE_AT_QUICK_EXIT 1
41542 _ACEOF
41545 done
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41551 $as_echo_n "checking for quick_exit declaration... " >&6; }
41552 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41553 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41554 $as_echo_n "(cached) " >&6
41555 else
41558 ac_ext=cpp
41559 ac_cpp='$CXXCPP $CPPFLAGS'
41560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41565 /* end confdefs.h. */
41566 #include <stdlib.h>
41568 main ()
41570 quick_exit(0);
41572 return 0;
41574 _ACEOF
41575 if ac_fn_cxx_try_compile "$LINENO"; then :
41576 glibcxx_cv_func_quick_exit_use=yes
41577 else
41578 glibcxx_cv_func_quick_exit_use=no
41580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41581 ac_ext=c
41582 ac_cpp='$CPP $CPPFLAGS'
41583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41592 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41593 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41594 for ac_func in quick_exit
41595 do :
41596 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41597 if test "x$ac_cv_func_quick_exit" = xyes; then :
41598 cat >>confdefs.h <<_ACEOF
41599 #define HAVE_QUICK_EXIT 1
41600 _ACEOF
41603 done
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41609 $as_echo_n "checking for strtold declaration... " >&6; }
41610 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41611 if ${glibcxx_cv_func_strtold_use+:} false; then :
41612 $as_echo_n "(cached) " >&6
41613 else
41616 ac_ext=cpp
41617 ac_cpp='$CXXCPP $CPPFLAGS'
41618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41623 /* end confdefs.h. */
41624 #include <stdlib.h>
41626 main ()
41628 strtold(0, 0);
41630 return 0;
41632 _ACEOF
41633 if ac_fn_cxx_try_compile "$LINENO"; then :
41634 glibcxx_cv_func_strtold_use=yes
41635 else
41636 glibcxx_cv_func_strtold_use=no
41638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41639 ac_ext=c
41640 ac_cpp='$CPP $CPPFLAGS'
41641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41650 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41651 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41652 for ac_func in strtold
41653 do :
41654 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41655 if test "x$ac_cv_func_strtold" = xyes; then :
41656 cat >>confdefs.h <<_ACEOF
41657 #define HAVE_STRTOLD 1
41658 _ACEOF
41661 done
41668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41669 $as_echo_n "checking for strtof declaration... " >&6; }
41670 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41671 if ${glibcxx_cv_func_strtof_use+:} false; then :
41672 $as_echo_n "(cached) " >&6
41673 else
41676 ac_ext=cpp
41677 ac_cpp='$CXXCPP $CPPFLAGS'
41678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41683 /* end confdefs.h. */
41684 #include <stdlib.h>
41686 main ()
41688 strtof(0, 0);
41690 return 0;
41692 _ACEOF
41693 if ac_fn_cxx_try_compile "$LINENO"; then :
41694 glibcxx_cv_func_strtof_use=yes
41695 else
41696 glibcxx_cv_func_strtof_use=no
41698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41699 ac_ext=c
41700 ac_cpp='$CPP $CPPFLAGS'
41701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41710 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41711 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41712 for ac_func in strtof
41713 do :
41714 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41715 if test "x$ac_cv_func_strtof" = xyes; then :
41716 cat >>confdefs.h <<_ACEOF
41717 #define HAVE_STRTOF 1
41718 _ACEOF
41721 done
41728 CXXFLAGS="$ac_save_CXXFLAGS"
41730 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41732 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41734 # We don't yet support AIX's TLS ABI.
41735 #GCC_CHECK_TLS
41741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41742 $as_echo_n "checking for iconv... " >&6; }
41743 if ${am_cv_func_iconv+:} false; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41747 am_cv_func_iconv="no, consider installing GNU libiconv"
41748 am_cv_lib_iconv=no
41749 am_save_CPPFLAGS="$CPPFLAGS"
41750 CPPFLAGS="$CPPFLAGS $INCICONV"
41751 if test x$gcc_no_link = xyes; then
41752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <stdlib.h>
41757 #include <iconv.h>
41759 main ()
41761 iconv_t cd = iconv_open("","");
41762 iconv(cd,NULL,NULL,NULL,NULL);
41763 iconv_close(cd);
41765 return 0;
41767 _ACEOF
41768 if ac_fn_c_try_link "$LINENO"; then :
41769 am_cv_func_iconv=yes
41771 rm -f core conftest.err conftest.$ac_objext \
41772 conftest$ac_exeext conftest.$ac_ext
41773 CPPFLAGS="$am_save_CPPFLAGS"
41775 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41776 for _libs in .libs _libs; do
41777 am_save_CPPFLAGS="$CPPFLAGS"
41778 am_save_LIBS="$LIBS"
41779 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41780 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41781 if test x$gcc_no_link = xyes; then
41782 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41785 /* end confdefs.h. */
41786 #include <stdlib.h>
41787 #include <iconv.h>
41789 main ()
41791 iconv_t cd = iconv_open("","");
41792 iconv(cd,NULL,NULL,NULL,NULL);
41793 iconv_close(cd);
41795 return 0;
41797 _ACEOF
41798 if ac_fn_c_try_link "$LINENO"; then :
41799 INCICONV="-I../libiconv/include"
41800 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41801 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41802 am_cv_lib_iconv=yes
41803 am_cv_func_iconv=yes
41805 rm -f core conftest.err conftest.$ac_objext \
41806 conftest$ac_exeext conftest.$ac_ext
41807 CPPFLAGS="$am_save_CPPFLAGS"
41808 LIBS="$am_save_LIBS"
41809 if test "$am_cv_func_iconv" = "yes"; then
41810 break
41812 done
41815 if test "$am_cv_func_iconv" != yes; then
41816 am_save_CPPFLAGS="$CPPFLAGS"
41817 am_save_LIBS="$LIBS"
41818 CPPFLAGS="$CPPFLAGS $INCICONV"
41819 LIBS="$LIBS $LIBICONV"
41820 if test x$gcc_no_link = xyes; then
41821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41824 /* end confdefs.h. */
41825 #include <stdlib.h>
41826 #include <iconv.h>
41828 main ()
41830 iconv_t cd = iconv_open("","");
41831 iconv(cd,NULL,NULL,NULL,NULL);
41832 iconv_close(cd);
41834 return 0;
41836 _ACEOF
41837 if ac_fn_c_try_link "$LINENO"; then :
41838 am_cv_lib_iconv=yes
41839 am_cv_func_iconv=yes
41841 rm -f core conftest.err conftest.$ac_objext \
41842 conftest$ac_exeext conftest.$ac_ext
41843 CPPFLAGS="$am_save_CPPFLAGS"
41844 LIBS="$am_save_LIBS"
41848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41849 $as_echo "$am_cv_func_iconv" >&6; }
41850 if test "$am_cv_func_iconv" = yes; then
41852 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41855 if test "$am_cv_lib_iconv" = yes; then
41857 for element in $INCICONV; do
41858 haveit=
41859 for x in $CPPFLAGS; do
41861 acl_save_prefix="$prefix"
41862 prefix="$acl_final_prefix"
41863 acl_save_exec_prefix="$exec_prefix"
41864 exec_prefix="$acl_final_exec_prefix"
41865 eval x=\"$x\"
41866 exec_prefix="$acl_save_exec_prefix"
41867 prefix="$acl_save_prefix"
41869 if test "X$x" = "X$element"; then
41870 haveit=yes
41871 break
41873 done
41874 if test -z "$haveit"; then
41875 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41877 done
41879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41880 $as_echo_n "checking how to link with libiconv... " >&6; }
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41882 $as_echo "$LIBICONV" >&6; }
41883 else
41884 LIBICONV=
41885 LTLIBICONV=
41890 if test "$am_cv_func_iconv" = yes; then
41891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41892 $as_echo_n "checking for iconv declaration... " >&6; }
41893 if ${am_cv_proto_iconv+:} false; then :
41894 $as_echo_n "(cached) " >&6
41895 else
41897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41898 /* end confdefs.h. */
41900 #include <stdlib.h>
41901 #include <iconv.h>
41902 extern
41903 #ifdef __cplusplus
41905 #endif
41906 #if defined(__STDC__) || defined(__cplusplus)
41907 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41908 #else
41909 size_t iconv();
41910 #endif
41913 main ()
41917 return 0;
41919 _ACEOF
41920 if ac_fn_c_try_compile "$LINENO"; then :
41921 am_cv_proto_iconv_arg1=""
41922 else
41923 am_cv_proto_iconv_arg1="const"
41925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41926 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);"
41929 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41931 }$am_cv_proto_iconv" >&5
41932 $as_echo "${ac_t:-
41933 }$am_cv_proto_iconv" >&6; }
41935 cat >>confdefs.h <<_ACEOF
41936 #define ICONV_CONST $am_cv_proto_iconv_arg1
41937 _ACEOF
41943 *-darwin*)
41944 # Darwin versions vary, but the linker should work in a cross environment,
41945 # so we just check for all the features here.
41946 # Check for available headers.
41948 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41950 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41951 ac_save_CXXFLAGS="$CXXFLAGS"
41952 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41955 $as_echo_n "checking for sin in -lm... " >&6; }
41956 if ${ac_cv_lib_m_sin+:} false; then :
41957 $as_echo_n "(cached) " >&6
41958 else
41959 ac_check_lib_save_LIBS=$LIBS
41960 LIBS="-lm $LIBS"
41961 if test x$gcc_no_link = xyes; then
41962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41965 /* end confdefs.h. */
41967 /* Override any GCC internal prototype to avoid an error.
41968 Use char because int might match the return type of a GCC
41969 builtin and then its argument prototype would still apply. */
41970 #ifdef __cplusplus
41971 extern "C"
41972 #endif
41973 char sin ();
41975 main ()
41977 return sin ();
41979 return 0;
41981 _ACEOF
41982 if ac_fn_c_try_link "$LINENO"; then :
41983 ac_cv_lib_m_sin=yes
41984 else
41985 ac_cv_lib_m_sin=no
41987 rm -f core conftest.err conftest.$ac_objext \
41988 conftest$ac_exeext conftest.$ac_ext
41989 LIBS=$ac_check_lib_save_LIBS
41991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41992 $as_echo "$ac_cv_lib_m_sin" >&6; }
41993 if test "x$ac_cv_lib_m_sin" = xyes; then :
41994 libm="-lm"
41997 ac_save_LIBS="$LIBS"
41998 LIBS="$LIBS $libm"
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42003 $as_echo_n "checking for isinf declaration... " >&6; }
42004 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42005 if ${glibcxx_cv_func_isinf_use+:} false; then :
42006 $as_echo_n "(cached) " >&6
42007 else
42010 ac_ext=cpp
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42017 /* end confdefs.h. */
42018 #include <math.h>
42019 #ifdef HAVE_IEEEFP_H
42020 #include <ieeefp.h>
42021 #endif
42024 main ()
42026 isinf(0);
42028 return 0;
42030 _ACEOF
42031 if ac_fn_cxx_try_compile "$LINENO"; then :
42032 glibcxx_cv_func_isinf_use=yes
42033 else
42034 glibcxx_cv_func_isinf_use=no
42036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42037 ac_ext=c
42038 ac_cpp='$CPP $CPPFLAGS'
42039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42048 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42050 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42051 for ac_func in isinf
42052 do :
42053 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
42054 if test "x$ac_cv_func_isinf" = xyes; then :
42055 cat >>confdefs.h <<_ACEOF
42056 #define HAVE_ISINF 1
42057 _ACEOF
42060 done
42062 else
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42065 $as_echo_n "checking for _isinf declaration... " >&6; }
42066 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42067 if ${glibcxx_cv_func__isinf_use+:} false; then :
42068 $as_echo_n "(cached) " >&6
42069 else
42072 ac_ext=cpp
42073 ac_cpp='$CXXCPP $CPPFLAGS'
42074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 /* end confdefs.h. */
42080 #include <math.h>
42081 #ifdef HAVE_IEEEFP_H
42082 #include <ieeefp.h>
42083 #endif
42086 main ()
42088 _isinf(0);
42090 return 0;
42092 _ACEOF
42093 if ac_fn_cxx_try_compile "$LINENO"; then :
42094 glibcxx_cv_func__isinf_use=yes
42095 else
42096 glibcxx_cv_func__isinf_use=no
42098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42099 ac_ext=c
42100 ac_cpp='$CPP $CPPFLAGS'
42101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42110 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42112 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42113 for ac_func in _isinf
42114 do :
42115 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42116 if test "x$ac_cv_func__isinf" = xyes; then :
42117 cat >>confdefs.h <<_ACEOF
42118 #define HAVE__ISINF 1
42119 _ACEOF
42122 done
42131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42132 $as_echo_n "checking for isnan declaration... " >&6; }
42133 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42134 if ${glibcxx_cv_func_isnan_use+:} false; then :
42135 $as_echo_n "(cached) " >&6
42136 else
42139 ac_ext=cpp
42140 ac_cpp='$CXXCPP $CPPFLAGS'
42141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42146 /* end confdefs.h. */
42147 #include <math.h>
42148 #ifdef HAVE_IEEEFP_H
42149 #include <ieeefp.h>
42150 #endif
42153 main ()
42155 isnan(0);
42157 return 0;
42159 _ACEOF
42160 if ac_fn_cxx_try_compile "$LINENO"; then :
42161 glibcxx_cv_func_isnan_use=yes
42162 else
42163 glibcxx_cv_func_isnan_use=no
42165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42166 ac_ext=c
42167 ac_cpp='$CPP $CPPFLAGS'
42168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42177 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42179 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42180 for ac_func in isnan
42181 do :
42182 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42183 if test "x$ac_cv_func_isnan" = xyes; then :
42184 cat >>confdefs.h <<_ACEOF
42185 #define HAVE_ISNAN 1
42186 _ACEOF
42189 done
42191 else
42193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42194 $as_echo_n "checking for _isnan declaration... " >&6; }
42195 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42196 if ${glibcxx_cv_func__isnan_use+:} false; then :
42197 $as_echo_n "(cached) " >&6
42198 else
42201 ac_ext=cpp
42202 ac_cpp='$CXXCPP $CPPFLAGS'
42203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42208 /* end confdefs.h. */
42209 #include <math.h>
42210 #ifdef HAVE_IEEEFP_H
42211 #include <ieeefp.h>
42212 #endif
42215 main ()
42217 _isnan(0);
42219 return 0;
42221 _ACEOF
42222 if ac_fn_cxx_try_compile "$LINENO"; then :
42223 glibcxx_cv_func__isnan_use=yes
42224 else
42225 glibcxx_cv_func__isnan_use=no
42227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42228 ac_ext=c
42229 ac_cpp='$CPP $CPPFLAGS'
42230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42239 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42241 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42242 for ac_func in _isnan
42243 do :
42244 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42245 if test "x$ac_cv_func__isnan" = xyes; then :
42246 cat >>confdefs.h <<_ACEOF
42247 #define HAVE__ISNAN 1
42248 _ACEOF
42251 done
42260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42261 $as_echo_n "checking for finite declaration... " >&6; }
42262 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42263 if ${glibcxx_cv_func_finite_use+:} false; then :
42264 $as_echo_n "(cached) " >&6
42265 else
42268 ac_ext=cpp
42269 ac_cpp='$CXXCPP $CPPFLAGS'
42270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42275 /* end confdefs.h. */
42276 #include <math.h>
42277 #ifdef HAVE_IEEEFP_H
42278 #include <ieeefp.h>
42279 #endif
42282 main ()
42284 finite(0);
42286 return 0;
42288 _ACEOF
42289 if ac_fn_cxx_try_compile "$LINENO"; then :
42290 glibcxx_cv_func_finite_use=yes
42291 else
42292 glibcxx_cv_func_finite_use=no
42294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42295 ac_ext=c
42296 ac_cpp='$CPP $CPPFLAGS'
42297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42306 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42308 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42309 for ac_func in finite
42310 do :
42311 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42312 if test "x$ac_cv_func_finite" = xyes; then :
42313 cat >>confdefs.h <<_ACEOF
42314 #define HAVE_FINITE 1
42315 _ACEOF
42318 done
42320 else
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42323 $as_echo_n "checking for _finite declaration... " >&6; }
42324 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42325 if ${glibcxx_cv_func__finite_use+:} false; then :
42326 $as_echo_n "(cached) " >&6
42327 else
42330 ac_ext=cpp
42331 ac_cpp='$CXXCPP $CPPFLAGS'
42332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42337 /* end confdefs.h. */
42338 #include <math.h>
42339 #ifdef HAVE_IEEEFP_H
42340 #include <ieeefp.h>
42341 #endif
42344 main ()
42346 _finite(0);
42348 return 0;
42350 _ACEOF
42351 if ac_fn_cxx_try_compile "$LINENO"; then :
42352 glibcxx_cv_func__finite_use=yes
42353 else
42354 glibcxx_cv_func__finite_use=no
42356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42357 ac_ext=c
42358 ac_cpp='$CPP $CPPFLAGS'
42359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42368 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42370 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42371 for ac_func in _finite
42372 do :
42373 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42374 if test "x$ac_cv_func__finite" = xyes; then :
42375 cat >>confdefs.h <<_ACEOF
42376 #define HAVE__FINITE 1
42377 _ACEOF
42380 done
42389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42390 $as_echo_n "checking for sincos declaration... " >&6; }
42391 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42392 if ${glibcxx_cv_func_sincos_use+:} false; then :
42393 $as_echo_n "(cached) " >&6
42394 else
42397 ac_ext=cpp
42398 ac_cpp='$CXXCPP $CPPFLAGS'
42399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42404 /* end confdefs.h. */
42405 #include <math.h>
42407 main ()
42409 sincos(0, 0, 0);
42411 return 0;
42413 _ACEOF
42414 if ac_fn_cxx_try_compile "$LINENO"; then :
42415 glibcxx_cv_func_sincos_use=yes
42416 else
42417 glibcxx_cv_func_sincos_use=no
42419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42420 ac_ext=c
42421 ac_cpp='$CPP $CPPFLAGS'
42422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42431 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42433 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42434 for ac_func in sincos
42435 do :
42436 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42437 if test "x$ac_cv_func_sincos" = xyes; then :
42438 cat >>confdefs.h <<_ACEOF
42439 #define HAVE_SINCOS 1
42440 _ACEOF
42443 done
42445 else
42447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42448 $as_echo_n "checking for _sincos declaration... " >&6; }
42449 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42450 if ${glibcxx_cv_func__sincos_use+:} false; then :
42451 $as_echo_n "(cached) " >&6
42452 else
42455 ac_ext=cpp
42456 ac_cpp='$CXXCPP $CPPFLAGS'
42457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42462 /* end confdefs.h. */
42463 #include <math.h>
42465 main ()
42467 _sincos(0, 0, 0);
42469 return 0;
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473 glibcxx_cv_func__sincos_use=yes
42474 else
42475 glibcxx_cv_func__sincos_use=no
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478 ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42489 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42491 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42492 for ac_func in _sincos
42493 do :
42494 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42495 if test "x$ac_cv_func__sincos" = xyes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define HAVE__SINCOS 1
42498 _ACEOF
42501 done
42510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42511 $as_echo_n "checking for fpclass declaration... " >&6; }
42512 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42513 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42514 $as_echo_n "(cached) " >&6
42515 else
42518 ac_ext=cpp
42519 ac_cpp='$CXXCPP $CPPFLAGS'
42520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42525 /* end confdefs.h. */
42526 #include <math.h>
42527 #ifdef HAVE_IEEEFP_H
42528 #include <ieeefp.h>
42529 #endif
42532 main ()
42534 fpclass(0);
42536 return 0;
42538 _ACEOF
42539 if ac_fn_cxx_try_compile "$LINENO"; then :
42540 glibcxx_cv_func_fpclass_use=yes
42541 else
42542 glibcxx_cv_func_fpclass_use=no
42544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42545 ac_ext=c
42546 ac_cpp='$CPP $CPPFLAGS'
42547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42556 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42558 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42559 for ac_func in fpclass
42560 do :
42561 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42562 if test "x$ac_cv_func_fpclass" = xyes; then :
42563 cat >>confdefs.h <<_ACEOF
42564 #define HAVE_FPCLASS 1
42565 _ACEOF
42568 done
42570 else
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42573 $as_echo_n "checking for _fpclass declaration... " >&6; }
42574 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42575 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42576 $as_echo_n "(cached) " >&6
42577 else
42580 ac_ext=cpp
42581 ac_cpp='$CXXCPP $CPPFLAGS'
42582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42587 /* end confdefs.h. */
42588 #include <math.h>
42589 #ifdef HAVE_IEEEFP_H
42590 #include <ieeefp.h>
42591 #endif
42594 main ()
42596 _fpclass(0);
42598 return 0;
42600 _ACEOF
42601 if ac_fn_cxx_try_compile "$LINENO"; then :
42602 glibcxx_cv_func__fpclass_use=yes
42603 else
42604 glibcxx_cv_func__fpclass_use=no
42606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42607 ac_ext=c
42608 ac_cpp='$CPP $CPPFLAGS'
42609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42618 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42620 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42621 for ac_func in _fpclass
42622 do :
42623 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42624 if test "x$ac_cv_func__fpclass" = xyes; then :
42625 cat >>confdefs.h <<_ACEOF
42626 #define HAVE__FPCLASS 1
42627 _ACEOF
42630 done
42639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42640 $as_echo_n "checking for qfpclass declaration... " >&6; }
42641 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42642 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42643 $as_echo_n "(cached) " >&6
42644 else
42647 ac_ext=cpp
42648 ac_cpp='$CXXCPP $CPPFLAGS'
42649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42654 /* end confdefs.h. */
42655 #include <math.h>
42656 #ifdef HAVE_IEEEFP_H
42657 #include <ieeefp.h>
42658 #endif
42661 main ()
42663 qfpclass(0);
42665 return 0;
42667 _ACEOF
42668 if ac_fn_cxx_try_compile "$LINENO"; then :
42669 glibcxx_cv_func_qfpclass_use=yes
42670 else
42671 glibcxx_cv_func_qfpclass_use=no
42673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42674 ac_ext=c
42675 ac_cpp='$CPP $CPPFLAGS'
42676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42685 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42687 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42688 for ac_func in qfpclass
42689 do :
42690 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42691 if test "x$ac_cv_func_qfpclass" = xyes; then :
42692 cat >>confdefs.h <<_ACEOF
42693 #define HAVE_QFPCLASS 1
42694 _ACEOF
42697 done
42699 else
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42702 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42703 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42704 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42705 $as_echo_n "(cached) " >&6
42706 else
42709 ac_ext=cpp
42710 ac_cpp='$CXXCPP $CPPFLAGS'
42711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42716 /* end confdefs.h. */
42717 #include <math.h>
42718 #ifdef HAVE_IEEEFP_H
42719 #include <ieeefp.h>
42720 #endif
42723 main ()
42725 _qfpclass(0);
42727 return 0;
42729 _ACEOF
42730 if ac_fn_cxx_try_compile "$LINENO"; then :
42731 glibcxx_cv_func__qfpclass_use=yes
42732 else
42733 glibcxx_cv_func__qfpclass_use=no
42735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42736 ac_ext=c
42737 ac_cpp='$CPP $CPPFLAGS'
42738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42747 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42749 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42750 for ac_func in _qfpclass
42751 do :
42752 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42753 if test "x$ac_cv_func__qfpclass" = xyes; then :
42754 cat >>confdefs.h <<_ACEOF
42755 #define HAVE__QFPCLASS 1
42756 _ACEOF
42759 done
42768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42769 $as_echo_n "checking for hypot declaration... " >&6; }
42770 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42771 if ${glibcxx_cv_func_hypot_use+:} false; then :
42772 $as_echo_n "(cached) " >&6
42773 else
42776 ac_ext=cpp
42777 ac_cpp='$CXXCPP $CPPFLAGS'
42778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42783 /* end confdefs.h. */
42784 #include <math.h>
42786 main ()
42788 hypot(0, 0);
42790 return 0;
42792 _ACEOF
42793 if ac_fn_cxx_try_compile "$LINENO"; then :
42794 glibcxx_cv_func_hypot_use=yes
42795 else
42796 glibcxx_cv_func_hypot_use=no
42798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42799 ac_ext=c
42800 ac_cpp='$CPP $CPPFLAGS'
42801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42810 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42812 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42813 for ac_func in hypot
42814 do :
42815 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42816 if test "x$ac_cv_func_hypot" = xyes; then :
42817 cat >>confdefs.h <<_ACEOF
42818 #define HAVE_HYPOT 1
42819 _ACEOF
42822 done
42824 else
42826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42827 $as_echo_n "checking for _hypot declaration... " >&6; }
42828 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42829 if ${glibcxx_cv_func__hypot_use+:} false; then :
42830 $as_echo_n "(cached) " >&6
42831 else
42834 ac_ext=cpp
42835 ac_cpp='$CXXCPP $CPPFLAGS'
42836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42841 /* end confdefs.h. */
42842 #include <math.h>
42844 main ()
42846 _hypot(0, 0);
42848 return 0;
42850 _ACEOF
42851 if ac_fn_cxx_try_compile "$LINENO"; then :
42852 glibcxx_cv_func__hypot_use=yes
42853 else
42854 glibcxx_cv_func__hypot_use=no
42856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42857 ac_ext=c
42858 ac_cpp='$CPP $CPPFLAGS'
42859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42868 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42870 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42871 for ac_func in _hypot
42872 do :
42873 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42874 if test "x$ac_cv_func__hypot" = xyes; then :
42875 cat >>confdefs.h <<_ACEOF
42876 #define HAVE__HYPOT 1
42877 _ACEOF
42880 done
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42890 $as_echo_n "checking for float trig functions... " >&6; }
42891 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42892 $as_echo_n "(cached) " >&6
42893 else
42896 ac_ext=cpp
42897 ac_cpp='$CXXCPP $CPPFLAGS'
42898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42903 /* end confdefs.h. */
42904 #include <math.h>
42906 main ()
42908 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42910 return 0;
42912 _ACEOF
42913 if ac_fn_cxx_try_compile "$LINENO"; then :
42914 glibcxx_cv_func_float_trig_use=yes
42915 else
42916 glibcxx_cv_func_float_trig_use=no
42918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42919 ac_ext=c
42920 ac_cpp='$CPP $CPPFLAGS'
42921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42928 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42929 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42930 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42931 do :
42932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42934 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42935 cat >>confdefs.h <<_ACEOF
42936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42937 _ACEOF
42940 done
42942 else
42943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42944 $as_echo_n "checking for _float trig functions... " >&6; }
42945 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42946 $as_echo_n "(cached) " >&6
42947 else
42950 ac_ext=cpp
42951 ac_cpp='$CXXCPP $CPPFLAGS'
42952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42957 /* end confdefs.h. */
42958 #include <math.h>
42960 main ()
42962 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42964 return 0;
42966 _ACEOF
42967 if ac_fn_cxx_try_compile "$LINENO"; then :
42968 glibcxx_cv_func__float_trig_use=yes
42969 else
42970 glibcxx_cv_func__float_trig_use=no
42972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42973 ac_ext=c
42974 ac_cpp='$CPP $CPPFLAGS'
42975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42982 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42983 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42984 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42985 do :
42986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42989 cat >>confdefs.h <<_ACEOF
42990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42991 _ACEOF
42994 done
43003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43004 $as_echo_n "checking for float round functions... " >&6; }
43005 if ${glibcxx_cv_func_float_round_use+:} false; then :
43006 $as_echo_n "(cached) " >&6
43007 else
43010 ac_ext=cpp
43011 ac_cpp='$CXXCPP $CPPFLAGS'
43012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43017 /* end confdefs.h. */
43018 #include <math.h>
43020 main ()
43022 ceilf (0); floorf (0);
43024 return 0;
43026 _ACEOF
43027 if ac_fn_cxx_try_compile "$LINENO"; then :
43028 glibcxx_cv_func_float_round_use=yes
43029 else
43030 glibcxx_cv_func_float_round_use=no
43032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43033 ac_ext=c
43034 ac_cpp='$CPP $CPPFLAGS'
43035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43042 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43043 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
43044 for ac_func in ceilf floorf
43045 do :
43046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43048 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43049 cat >>confdefs.h <<_ACEOF
43050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43051 _ACEOF
43054 done
43056 else
43057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
43058 $as_echo_n "checking for _float round functions... " >&6; }
43059 if ${glibcxx_cv_func__float_round_use+:} false; then :
43060 $as_echo_n "(cached) " >&6
43061 else
43064 ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43072 #include <math.h>
43074 main ()
43076 _ceilf (0); _floorf (0);
43078 return 0;
43080 _ACEOF
43081 if ac_fn_cxx_try_compile "$LINENO"; then :
43082 glibcxx_cv_func__float_round_use=yes
43083 else
43084 glibcxx_cv_func__float_round_use=no
43086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43087 ac_ext=c
43088 ac_cpp='$CPP $CPPFLAGS'
43089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43096 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43097 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43098 for ac_func in _ceilf _floorf
43099 do :
43100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43102 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43103 cat >>confdefs.h <<_ACEOF
43104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43105 _ACEOF
43108 done
43118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43119 $as_echo_n "checking for expf declaration... " >&6; }
43120 if test x${glibcxx_cv_func_expf_use+set} != xset; then
43121 if ${glibcxx_cv_func_expf_use+:} false; then :
43122 $as_echo_n "(cached) " >&6
43123 else
43126 ac_ext=cpp
43127 ac_cpp='$CXXCPP $CPPFLAGS'
43128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43133 /* end confdefs.h. */
43134 #include <math.h>
43135 #ifdef HAVE_IEEEFP_H
43136 #include <ieeefp.h>
43137 #endif
43140 main ()
43142 expf(0);
43144 return 0;
43146 _ACEOF
43147 if ac_fn_cxx_try_compile "$LINENO"; then :
43148 glibcxx_cv_func_expf_use=yes
43149 else
43150 glibcxx_cv_func_expf_use=no
43152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43153 ac_ext=c
43154 ac_cpp='$CPP $CPPFLAGS'
43155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43164 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43166 if test x$glibcxx_cv_func_expf_use = x"yes"; then
43167 for ac_func in expf
43168 do :
43169 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43170 if test "x$ac_cv_func_expf" = xyes; then :
43171 cat >>confdefs.h <<_ACEOF
43172 #define HAVE_EXPF 1
43173 _ACEOF
43176 done
43178 else
43180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43181 $as_echo_n "checking for _expf declaration... " >&6; }
43182 if test x${glibcxx_cv_func__expf_use+set} != xset; then
43183 if ${glibcxx_cv_func__expf_use+:} false; then :
43184 $as_echo_n "(cached) " >&6
43185 else
43188 ac_ext=cpp
43189 ac_cpp='$CXXCPP $CPPFLAGS'
43190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43195 /* end confdefs.h. */
43196 #include <math.h>
43197 #ifdef HAVE_IEEEFP_H
43198 #include <ieeefp.h>
43199 #endif
43202 main ()
43204 _expf(0);
43206 return 0;
43208 _ACEOF
43209 if ac_fn_cxx_try_compile "$LINENO"; then :
43210 glibcxx_cv_func__expf_use=yes
43211 else
43212 glibcxx_cv_func__expf_use=no
43214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43215 ac_ext=c
43216 ac_cpp='$CPP $CPPFLAGS'
43217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43226 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
43228 if test x$glibcxx_cv_func__expf_use = x"yes"; then
43229 for ac_func in _expf
43230 do :
43231 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43232 if test "x$ac_cv_func__expf" = xyes; then :
43233 cat >>confdefs.h <<_ACEOF
43234 #define HAVE__EXPF 1
43235 _ACEOF
43238 done
43247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43248 $as_echo_n "checking for isnanf declaration... " >&6; }
43249 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43250 if ${glibcxx_cv_func_isnanf_use+:} false; then :
43251 $as_echo_n "(cached) " >&6
43252 else
43255 ac_ext=cpp
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43262 /* end confdefs.h. */
43263 #include <math.h>
43264 #ifdef HAVE_IEEEFP_H
43265 #include <ieeefp.h>
43266 #endif
43269 main ()
43271 isnanf(0);
43273 return 0;
43275 _ACEOF
43276 if ac_fn_cxx_try_compile "$LINENO"; then :
43277 glibcxx_cv_func_isnanf_use=yes
43278 else
43279 glibcxx_cv_func_isnanf_use=no
43281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43282 ac_ext=c
43283 ac_cpp='$CPP $CPPFLAGS'
43284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43293 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43295 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43296 for ac_func in isnanf
43297 do :
43298 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43299 if test "x$ac_cv_func_isnanf" = xyes; then :
43300 cat >>confdefs.h <<_ACEOF
43301 #define HAVE_ISNANF 1
43302 _ACEOF
43305 done
43307 else
43309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43310 $as_echo_n "checking for _isnanf declaration... " >&6; }
43311 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43312 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43313 $as_echo_n "(cached) " >&6
43314 else
43317 ac_ext=cpp
43318 ac_cpp='$CXXCPP $CPPFLAGS'
43319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43324 /* end confdefs.h. */
43325 #include <math.h>
43326 #ifdef HAVE_IEEEFP_H
43327 #include <ieeefp.h>
43328 #endif
43331 main ()
43333 _isnanf(0);
43335 return 0;
43337 _ACEOF
43338 if ac_fn_cxx_try_compile "$LINENO"; then :
43339 glibcxx_cv_func__isnanf_use=yes
43340 else
43341 glibcxx_cv_func__isnanf_use=no
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43344 ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43355 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43357 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43358 for ac_func in _isnanf
43359 do :
43360 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43361 if test "x$ac_cv_func__isnanf" = xyes; then :
43362 cat >>confdefs.h <<_ACEOF
43363 #define HAVE__ISNANF 1
43364 _ACEOF
43367 done
43376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43377 $as_echo_n "checking for isinff declaration... " >&6; }
43378 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43379 if ${glibcxx_cv_func_isinff_use+:} false; then :
43380 $as_echo_n "(cached) " >&6
43381 else
43384 ac_ext=cpp
43385 ac_cpp='$CXXCPP $CPPFLAGS'
43386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43391 /* end confdefs.h. */
43392 #include <math.h>
43393 #ifdef HAVE_IEEEFP_H
43394 #include <ieeefp.h>
43395 #endif
43398 main ()
43400 isinff(0);
43402 return 0;
43404 _ACEOF
43405 if ac_fn_cxx_try_compile "$LINENO"; then :
43406 glibcxx_cv_func_isinff_use=yes
43407 else
43408 glibcxx_cv_func_isinff_use=no
43410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43411 ac_ext=c
43412 ac_cpp='$CPP $CPPFLAGS'
43413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43422 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43424 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43425 for ac_func in isinff
43426 do :
43427 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43428 if test "x$ac_cv_func_isinff" = xyes; then :
43429 cat >>confdefs.h <<_ACEOF
43430 #define HAVE_ISINFF 1
43431 _ACEOF
43434 done
43436 else
43438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43439 $as_echo_n "checking for _isinff declaration... " >&6; }
43440 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43441 if ${glibcxx_cv_func__isinff_use+:} false; then :
43442 $as_echo_n "(cached) " >&6
43443 else
43446 ac_ext=cpp
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43453 /* end confdefs.h. */
43454 #include <math.h>
43455 #ifdef HAVE_IEEEFP_H
43456 #include <ieeefp.h>
43457 #endif
43460 main ()
43462 _isinff(0);
43464 return 0;
43466 _ACEOF
43467 if ac_fn_cxx_try_compile "$LINENO"; then :
43468 glibcxx_cv_func__isinff_use=yes
43469 else
43470 glibcxx_cv_func__isinff_use=no
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43473 ac_ext=c
43474 ac_cpp='$CPP $CPPFLAGS'
43475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43484 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43486 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43487 for ac_func in _isinff
43488 do :
43489 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43490 if test "x$ac_cv_func__isinff" = xyes; then :
43491 cat >>confdefs.h <<_ACEOF
43492 #define HAVE__ISINFF 1
43493 _ACEOF
43496 done
43505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43506 $as_echo_n "checking for atan2f declaration... " >&6; }
43507 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43508 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43509 $as_echo_n "(cached) " >&6
43510 else
43513 ac_ext=cpp
43514 ac_cpp='$CXXCPP $CPPFLAGS'
43515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43520 /* end confdefs.h. */
43521 #include <math.h>
43523 main ()
43525 atan2f(0, 0);
43527 return 0;
43529 _ACEOF
43530 if ac_fn_cxx_try_compile "$LINENO"; then :
43531 glibcxx_cv_func_atan2f_use=yes
43532 else
43533 glibcxx_cv_func_atan2f_use=no
43535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43536 ac_ext=c
43537 ac_cpp='$CPP $CPPFLAGS'
43538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43547 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43549 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43550 for ac_func in atan2f
43551 do :
43552 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43553 if test "x$ac_cv_func_atan2f" = xyes; then :
43554 cat >>confdefs.h <<_ACEOF
43555 #define HAVE_ATAN2F 1
43556 _ACEOF
43559 done
43561 else
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43564 $as_echo_n "checking for _atan2f declaration... " >&6; }
43565 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43566 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43567 $as_echo_n "(cached) " >&6
43568 else
43571 ac_ext=cpp
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43579 #include <math.h>
43581 main ()
43583 _atan2f(0, 0);
43585 return 0;
43587 _ACEOF
43588 if ac_fn_cxx_try_compile "$LINENO"; then :
43589 glibcxx_cv_func__atan2f_use=yes
43590 else
43591 glibcxx_cv_func__atan2f_use=no
43593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594 ac_ext=c
43595 ac_cpp='$CPP $CPPFLAGS'
43596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43605 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43607 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43608 for ac_func in _atan2f
43609 do :
43610 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43611 if test "x$ac_cv_func__atan2f" = xyes; then :
43612 cat >>confdefs.h <<_ACEOF
43613 #define HAVE__ATAN2F 1
43614 _ACEOF
43617 done
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43627 $as_echo_n "checking for fabsf declaration... " >&6; }
43628 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43629 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43630 $as_echo_n "(cached) " >&6
43631 else
43634 ac_ext=cpp
43635 ac_cpp='$CXXCPP $CPPFLAGS'
43636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43641 /* end confdefs.h. */
43642 #include <math.h>
43643 #ifdef HAVE_IEEEFP_H
43644 #include <ieeefp.h>
43645 #endif
43648 main ()
43650 fabsf(0);
43652 return 0;
43654 _ACEOF
43655 if ac_fn_cxx_try_compile "$LINENO"; then :
43656 glibcxx_cv_func_fabsf_use=yes
43657 else
43658 glibcxx_cv_func_fabsf_use=no
43660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43661 ac_ext=c
43662 ac_cpp='$CPP $CPPFLAGS'
43663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43672 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43674 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43675 for ac_func in fabsf
43676 do :
43677 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43678 if test "x$ac_cv_func_fabsf" = xyes; then :
43679 cat >>confdefs.h <<_ACEOF
43680 #define HAVE_FABSF 1
43681 _ACEOF
43684 done
43686 else
43688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43689 $as_echo_n "checking for _fabsf declaration... " >&6; }
43690 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43691 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43692 $as_echo_n "(cached) " >&6
43693 else
43696 ac_ext=cpp
43697 ac_cpp='$CXXCPP $CPPFLAGS'
43698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43703 /* end confdefs.h. */
43704 #include <math.h>
43705 #ifdef HAVE_IEEEFP_H
43706 #include <ieeefp.h>
43707 #endif
43710 main ()
43712 _fabsf(0);
43714 return 0;
43716 _ACEOF
43717 if ac_fn_cxx_try_compile "$LINENO"; then :
43718 glibcxx_cv_func__fabsf_use=yes
43719 else
43720 glibcxx_cv_func__fabsf_use=no
43722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43723 ac_ext=c
43724 ac_cpp='$CPP $CPPFLAGS'
43725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43734 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43736 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43737 for ac_func in _fabsf
43738 do :
43739 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43740 if test "x$ac_cv_func__fabsf" = xyes; then :
43741 cat >>confdefs.h <<_ACEOF
43742 #define HAVE__FABSF 1
43743 _ACEOF
43746 done
43755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43756 $as_echo_n "checking for fmodf declaration... " >&6; }
43757 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43758 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43759 $as_echo_n "(cached) " >&6
43760 else
43763 ac_ext=cpp
43764 ac_cpp='$CXXCPP $CPPFLAGS'
43765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43770 /* end confdefs.h. */
43771 #include <math.h>
43773 main ()
43775 fmodf(0, 0);
43777 return 0;
43779 _ACEOF
43780 if ac_fn_cxx_try_compile "$LINENO"; then :
43781 glibcxx_cv_func_fmodf_use=yes
43782 else
43783 glibcxx_cv_func_fmodf_use=no
43785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43786 ac_ext=c
43787 ac_cpp='$CPP $CPPFLAGS'
43788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43797 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43799 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43800 for ac_func in fmodf
43801 do :
43802 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43803 if test "x$ac_cv_func_fmodf" = xyes; then :
43804 cat >>confdefs.h <<_ACEOF
43805 #define HAVE_FMODF 1
43806 _ACEOF
43809 done
43811 else
43813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43814 $as_echo_n "checking for _fmodf declaration... " >&6; }
43815 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43816 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43817 $as_echo_n "(cached) " >&6
43818 else
43821 ac_ext=cpp
43822 ac_cpp='$CXXCPP $CPPFLAGS'
43823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43828 /* end confdefs.h. */
43829 #include <math.h>
43831 main ()
43833 _fmodf(0, 0);
43835 return 0;
43837 _ACEOF
43838 if ac_fn_cxx_try_compile "$LINENO"; then :
43839 glibcxx_cv_func__fmodf_use=yes
43840 else
43841 glibcxx_cv_func__fmodf_use=no
43843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844 ac_ext=c
43845 ac_cpp='$CPP $CPPFLAGS'
43846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43855 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43857 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43858 for ac_func in _fmodf
43859 do :
43860 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43861 if test "x$ac_cv_func__fmodf" = xyes; then :
43862 cat >>confdefs.h <<_ACEOF
43863 #define HAVE__FMODF 1
43864 _ACEOF
43867 done
43876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43877 $as_echo_n "checking for frexpf declaration... " >&6; }
43878 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43879 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43880 $as_echo_n "(cached) " >&6
43881 else
43884 ac_ext=cpp
43885 ac_cpp='$CXXCPP $CPPFLAGS'
43886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43891 /* end confdefs.h. */
43892 #include <math.h>
43894 main ()
43896 frexpf(0, 0);
43898 return 0;
43900 _ACEOF
43901 if ac_fn_cxx_try_compile "$LINENO"; then :
43902 glibcxx_cv_func_frexpf_use=yes
43903 else
43904 glibcxx_cv_func_frexpf_use=no
43906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43907 ac_ext=c
43908 ac_cpp='$CPP $CPPFLAGS'
43909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43918 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43920 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43921 for ac_func in frexpf
43922 do :
43923 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43924 if test "x$ac_cv_func_frexpf" = xyes; then :
43925 cat >>confdefs.h <<_ACEOF
43926 #define HAVE_FREXPF 1
43927 _ACEOF
43930 done
43932 else
43934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43935 $as_echo_n "checking for _frexpf declaration... " >&6; }
43936 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43937 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43938 $as_echo_n "(cached) " >&6
43939 else
43942 ac_ext=cpp
43943 ac_cpp='$CXXCPP $CPPFLAGS'
43944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43949 /* end confdefs.h. */
43950 #include <math.h>
43952 main ()
43954 _frexpf(0, 0);
43956 return 0;
43958 _ACEOF
43959 if ac_fn_cxx_try_compile "$LINENO"; then :
43960 glibcxx_cv_func__frexpf_use=yes
43961 else
43962 glibcxx_cv_func__frexpf_use=no
43964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43965 ac_ext=c
43966 ac_cpp='$CPP $CPPFLAGS'
43967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43976 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43978 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43979 for ac_func in _frexpf
43980 do :
43981 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43982 if test "x$ac_cv_func__frexpf" = xyes; then :
43983 cat >>confdefs.h <<_ACEOF
43984 #define HAVE__FREXPF 1
43985 _ACEOF
43988 done
43997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43998 $as_echo_n "checking for hypotf declaration... " >&6; }
43999 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
44000 if ${glibcxx_cv_func_hypotf_use+:} false; then :
44001 $as_echo_n "(cached) " >&6
44002 else
44005 ac_ext=cpp
44006 ac_cpp='$CXXCPP $CPPFLAGS'
44007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44012 /* end confdefs.h. */
44013 #include <math.h>
44015 main ()
44017 hypotf(0, 0);
44019 return 0;
44021 _ACEOF
44022 if ac_fn_cxx_try_compile "$LINENO"; then :
44023 glibcxx_cv_func_hypotf_use=yes
44024 else
44025 glibcxx_cv_func_hypotf_use=no
44027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44028 ac_ext=c
44029 ac_cpp='$CPP $CPPFLAGS'
44030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
44039 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
44041 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
44042 for ac_func in hypotf
44043 do :
44044 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
44045 if test "x$ac_cv_func_hypotf" = xyes; then :
44046 cat >>confdefs.h <<_ACEOF
44047 #define HAVE_HYPOTF 1
44048 _ACEOF
44051 done
44053 else
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
44056 $as_echo_n "checking for _hypotf declaration... " >&6; }
44057 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
44058 if ${glibcxx_cv_func__hypotf_use+:} false; then :
44059 $as_echo_n "(cached) " >&6
44060 else
44063 ac_ext=cpp
44064 ac_cpp='$CXXCPP $CPPFLAGS'
44065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44070 /* end confdefs.h. */
44071 #include <math.h>
44073 main ()
44075 _hypotf(0, 0);
44077 return 0;
44079 _ACEOF
44080 if ac_fn_cxx_try_compile "$LINENO"; then :
44081 glibcxx_cv_func__hypotf_use=yes
44082 else
44083 glibcxx_cv_func__hypotf_use=no
44085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44086 ac_ext=c
44087 ac_cpp='$CPP $CPPFLAGS'
44088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44097 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44099 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44100 for ac_func in _hypotf
44101 do :
44102 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44103 if test "x$ac_cv_func__hypotf" = xyes; then :
44104 cat >>confdefs.h <<_ACEOF
44105 #define HAVE__HYPOTF 1
44106 _ACEOF
44109 done
44118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44119 $as_echo_n "checking for ldexpf declaration... " >&6; }
44120 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44121 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44122 $as_echo_n "(cached) " >&6
44123 else
44126 ac_ext=cpp
44127 ac_cpp='$CXXCPP $CPPFLAGS'
44128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44133 /* end confdefs.h. */
44134 #include <math.h>
44136 main ()
44138 ldexpf(0, 0);
44140 return 0;
44142 _ACEOF
44143 if ac_fn_cxx_try_compile "$LINENO"; then :
44144 glibcxx_cv_func_ldexpf_use=yes
44145 else
44146 glibcxx_cv_func_ldexpf_use=no
44148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44149 ac_ext=c
44150 ac_cpp='$CPP $CPPFLAGS'
44151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44160 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44162 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44163 for ac_func in ldexpf
44164 do :
44165 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44166 if test "x$ac_cv_func_ldexpf" = xyes; then :
44167 cat >>confdefs.h <<_ACEOF
44168 #define HAVE_LDEXPF 1
44169 _ACEOF
44172 done
44174 else
44176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44177 $as_echo_n "checking for _ldexpf declaration... " >&6; }
44178 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44179 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44180 $as_echo_n "(cached) " >&6
44181 else
44184 ac_ext=cpp
44185 ac_cpp='$CXXCPP $CPPFLAGS'
44186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44191 /* end confdefs.h. */
44192 #include <math.h>
44194 main ()
44196 _ldexpf(0, 0);
44198 return 0;
44200 _ACEOF
44201 if ac_fn_cxx_try_compile "$LINENO"; then :
44202 glibcxx_cv_func__ldexpf_use=yes
44203 else
44204 glibcxx_cv_func__ldexpf_use=no
44206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44207 ac_ext=c
44208 ac_cpp='$CPP $CPPFLAGS'
44209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44218 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44220 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44221 for ac_func in _ldexpf
44222 do :
44223 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44224 if test "x$ac_cv_func__ldexpf" = xyes; then :
44225 cat >>confdefs.h <<_ACEOF
44226 #define HAVE__LDEXPF 1
44227 _ACEOF
44230 done
44239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44240 $as_echo_n "checking for logf declaration... " >&6; }
44241 if test x${glibcxx_cv_func_logf_use+set} != xset; then
44242 if ${glibcxx_cv_func_logf_use+:} false; then :
44243 $as_echo_n "(cached) " >&6
44244 else
44247 ac_ext=cpp
44248 ac_cpp='$CXXCPP $CPPFLAGS'
44249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44254 /* end confdefs.h. */
44255 #include <math.h>
44256 #ifdef HAVE_IEEEFP_H
44257 #include <ieeefp.h>
44258 #endif
44261 main ()
44263 logf(0);
44265 return 0;
44267 _ACEOF
44268 if ac_fn_cxx_try_compile "$LINENO"; then :
44269 glibcxx_cv_func_logf_use=yes
44270 else
44271 glibcxx_cv_func_logf_use=no
44273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44274 ac_ext=c
44275 ac_cpp='$CPP $CPPFLAGS'
44276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44285 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
44287 if test x$glibcxx_cv_func_logf_use = x"yes"; then
44288 for ac_func in logf
44289 do :
44290 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44291 if test "x$ac_cv_func_logf" = xyes; then :
44292 cat >>confdefs.h <<_ACEOF
44293 #define HAVE_LOGF 1
44294 _ACEOF
44297 done
44299 else
44301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44302 $as_echo_n "checking for _logf declaration... " >&6; }
44303 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44304 if ${glibcxx_cv_func__logf_use+:} false; then :
44305 $as_echo_n "(cached) " >&6
44306 else
44309 ac_ext=cpp
44310 ac_cpp='$CXXCPP $CPPFLAGS'
44311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44316 /* end confdefs.h. */
44317 #include <math.h>
44318 #ifdef HAVE_IEEEFP_H
44319 #include <ieeefp.h>
44320 #endif
44323 main ()
44325 _logf(0);
44327 return 0;
44329 _ACEOF
44330 if ac_fn_cxx_try_compile "$LINENO"; then :
44331 glibcxx_cv_func__logf_use=yes
44332 else
44333 glibcxx_cv_func__logf_use=no
44335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44336 ac_ext=c
44337 ac_cpp='$CPP $CPPFLAGS'
44338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44347 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44349 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44350 for ac_func in _logf
44351 do :
44352 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44353 if test "x$ac_cv_func__logf" = xyes; then :
44354 cat >>confdefs.h <<_ACEOF
44355 #define HAVE__LOGF 1
44356 _ACEOF
44359 done
44368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44369 $as_echo_n "checking for log10f declaration... " >&6; }
44370 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44371 if ${glibcxx_cv_func_log10f_use+:} false; then :
44372 $as_echo_n "(cached) " >&6
44373 else
44376 ac_ext=cpp
44377 ac_cpp='$CXXCPP $CPPFLAGS'
44378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44383 /* end confdefs.h. */
44384 #include <math.h>
44385 #ifdef HAVE_IEEEFP_H
44386 #include <ieeefp.h>
44387 #endif
44390 main ()
44392 log10f(0);
44394 return 0;
44396 _ACEOF
44397 if ac_fn_cxx_try_compile "$LINENO"; then :
44398 glibcxx_cv_func_log10f_use=yes
44399 else
44400 glibcxx_cv_func_log10f_use=no
44402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44403 ac_ext=c
44404 ac_cpp='$CPP $CPPFLAGS'
44405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44414 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44416 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44417 for ac_func in log10f
44418 do :
44419 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44420 if test "x$ac_cv_func_log10f" = xyes; then :
44421 cat >>confdefs.h <<_ACEOF
44422 #define HAVE_LOG10F 1
44423 _ACEOF
44426 done
44428 else
44430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44431 $as_echo_n "checking for _log10f declaration... " >&6; }
44432 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44433 if ${glibcxx_cv_func__log10f_use+:} false; then :
44434 $as_echo_n "(cached) " >&6
44435 else
44438 ac_ext=cpp
44439 ac_cpp='$CXXCPP $CPPFLAGS'
44440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44445 /* end confdefs.h. */
44446 #include <math.h>
44447 #ifdef HAVE_IEEEFP_H
44448 #include <ieeefp.h>
44449 #endif
44452 main ()
44454 _log10f(0);
44456 return 0;
44458 _ACEOF
44459 if ac_fn_cxx_try_compile "$LINENO"; then :
44460 glibcxx_cv_func__log10f_use=yes
44461 else
44462 glibcxx_cv_func__log10f_use=no
44464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44465 ac_ext=c
44466 ac_cpp='$CPP $CPPFLAGS'
44467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44476 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44478 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44479 for ac_func in _log10f
44480 do :
44481 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44482 if test "x$ac_cv_func__log10f" = xyes; then :
44483 cat >>confdefs.h <<_ACEOF
44484 #define HAVE__LOG10F 1
44485 _ACEOF
44488 done
44497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44498 $as_echo_n "checking for modff declaration... " >&6; }
44499 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44500 if ${glibcxx_cv_func_modff_use+:} false; then :
44501 $as_echo_n "(cached) " >&6
44502 else
44505 ac_ext=cpp
44506 ac_cpp='$CXXCPP $CPPFLAGS'
44507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44512 /* end confdefs.h. */
44513 #include <math.h>
44515 main ()
44517 modff(0, 0);
44519 return 0;
44521 _ACEOF
44522 if ac_fn_cxx_try_compile "$LINENO"; then :
44523 glibcxx_cv_func_modff_use=yes
44524 else
44525 glibcxx_cv_func_modff_use=no
44527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44528 ac_ext=c
44529 ac_cpp='$CPP $CPPFLAGS'
44530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44539 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44541 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44542 for ac_func in modff
44543 do :
44544 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44545 if test "x$ac_cv_func_modff" = xyes; then :
44546 cat >>confdefs.h <<_ACEOF
44547 #define HAVE_MODFF 1
44548 _ACEOF
44551 done
44553 else
44555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44556 $as_echo_n "checking for _modff declaration... " >&6; }
44557 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44558 if ${glibcxx_cv_func__modff_use+:} false; then :
44559 $as_echo_n "(cached) " >&6
44560 else
44563 ac_ext=cpp
44564 ac_cpp='$CXXCPP $CPPFLAGS'
44565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44570 /* end confdefs.h. */
44571 #include <math.h>
44573 main ()
44575 _modff(0, 0);
44577 return 0;
44579 _ACEOF
44580 if ac_fn_cxx_try_compile "$LINENO"; then :
44581 glibcxx_cv_func__modff_use=yes
44582 else
44583 glibcxx_cv_func__modff_use=no
44585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44586 ac_ext=c
44587 ac_cpp='$CPP $CPPFLAGS'
44588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44597 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44599 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44600 for ac_func in _modff
44601 do :
44602 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44603 if test "x$ac_cv_func__modff" = xyes; then :
44604 cat >>confdefs.h <<_ACEOF
44605 #define HAVE__MODFF 1
44606 _ACEOF
44609 done
44618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44619 $as_echo_n "checking for modf declaration... " >&6; }
44620 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44621 if ${glibcxx_cv_func_modf_use+:} false; then :
44622 $as_echo_n "(cached) " >&6
44623 else
44626 ac_ext=cpp
44627 ac_cpp='$CXXCPP $CPPFLAGS'
44628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44633 /* end confdefs.h. */
44634 #include <math.h>
44636 main ()
44638 modf(0, 0);
44640 return 0;
44642 _ACEOF
44643 if ac_fn_cxx_try_compile "$LINENO"; then :
44644 glibcxx_cv_func_modf_use=yes
44645 else
44646 glibcxx_cv_func_modf_use=no
44648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44649 ac_ext=c
44650 ac_cpp='$CPP $CPPFLAGS'
44651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44660 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44662 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44663 for ac_func in modf
44664 do :
44665 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44666 if test "x$ac_cv_func_modf" = xyes; then :
44667 cat >>confdefs.h <<_ACEOF
44668 #define HAVE_MODF 1
44669 _ACEOF
44672 done
44674 else
44676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44677 $as_echo_n "checking for _modf declaration... " >&6; }
44678 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44679 if ${glibcxx_cv_func__modf_use+:} false; then :
44680 $as_echo_n "(cached) " >&6
44681 else
44684 ac_ext=cpp
44685 ac_cpp='$CXXCPP $CPPFLAGS'
44686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691 /* end confdefs.h. */
44692 #include <math.h>
44694 main ()
44696 _modf(0, 0);
44698 return 0;
44700 _ACEOF
44701 if ac_fn_cxx_try_compile "$LINENO"; then :
44702 glibcxx_cv_func__modf_use=yes
44703 else
44704 glibcxx_cv_func__modf_use=no
44706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44707 ac_ext=c
44708 ac_cpp='$CPP $CPPFLAGS'
44709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44718 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44720 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44721 for ac_func in _modf
44722 do :
44723 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44724 if test "x$ac_cv_func__modf" = xyes; then :
44725 cat >>confdefs.h <<_ACEOF
44726 #define HAVE__MODF 1
44727 _ACEOF
44730 done
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44740 $as_echo_n "checking for powf declaration... " >&6; }
44741 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44742 if ${glibcxx_cv_func_powf_use+:} false; then :
44743 $as_echo_n "(cached) " >&6
44744 else
44747 ac_ext=cpp
44748 ac_cpp='$CXXCPP $CPPFLAGS'
44749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44754 /* end confdefs.h. */
44755 #include <math.h>
44757 main ()
44759 powf(0, 0);
44761 return 0;
44763 _ACEOF
44764 if ac_fn_cxx_try_compile "$LINENO"; then :
44765 glibcxx_cv_func_powf_use=yes
44766 else
44767 glibcxx_cv_func_powf_use=no
44769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44770 ac_ext=c
44771 ac_cpp='$CPP $CPPFLAGS'
44772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44781 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44783 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44784 for ac_func in powf
44785 do :
44786 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44787 if test "x$ac_cv_func_powf" = xyes; then :
44788 cat >>confdefs.h <<_ACEOF
44789 #define HAVE_POWF 1
44790 _ACEOF
44793 done
44795 else
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44798 $as_echo_n "checking for _powf declaration... " >&6; }
44799 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44800 if ${glibcxx_cv_func__powf_use+:} false; then :
44801 $as_echo_n "(cached) " >&6
44802 else
44805 ac_ext=cpp
44806 ac_cpp='$CXXCPP $CPPFLAGS'
44807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44812 /* end confdefs.h. */
44813 #include <math.h>
44815 main ()
44817 _powf(0, 0);
44819 return 0;
44821 _ACEOF
44822 if ac_fn_cxx_try_compile "$LINENO"; then :
44823 glibcxx_cv_func__powf_use=yes
44824 else
44825 glibcxx_cv_func__powf_use=no
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828 ac_ext=c
44829 ac_cpp='$CPP $CPPFLAGS'
44830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44839 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44841 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44842 for ac_func in _powf
44843 do :
44844 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44845 if test "x$ac_cv_func__powf" = xyes; then :
44846 cat >>confdefs.h <<_ACEOF
44847 #define HAVE__POWF 1
44848 _ACEOF
44851 done
44860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44861 $as_echo_n "checking for sqrtf declaration... " >&6; }
44862 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44863 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44864 $as_echo_n "(cached) " >&6
44865 else
44868 ac_ext=cpp
44869 ac_cpp='$CXXCPP $CPPFLAGS'
44870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44875 /* end confdefs.h. */
44876 #include <math.h>
44877 #ifdef HAVE_IEEEFP_H
44878 #include <ieeefp.h>
44879 #endif
44882 main ()
44884 sqrtf(0);
44886 return 0;
44888 _ACEOF
44889 if ac_fn_cxx_try_compile "$LINENO"; then :
44890 glibcxx_cv_func_sqrtf_use=yes
44891 else
44892 glibcxx_cv_func_sqrtf_use=no
44894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44895 ac_ext=c
44896 ac_cpp='$CPP $CPPFLAGS'
44897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44906 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44908 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44909 for ac_func in sqrtf
44910 do :
44911 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44912 if test "x$ac_cv_func_sqrtf" = xyes; then :
44913 cat >>confdefs.h <<_ACEOF
44914 #define HAVE_SQRTF 1
44915 _ACEOF
44918 done
44920 else
44922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44923 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44924 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44925 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44926 $as_echo_n "(cached) " >&6
44927 else
44930 ac_ext=cpp
44931 ac_cpp='$CXXCPP $CPPFLAGS'
44932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44937 /* end confdefs.h. */
44938 #include <math.h>
44939 #ifdef HAVE_IEEEFP_H
44940 #include <ieeefp.h>
44941 #endif
44944 main ()
44946 _sqrtf(0);
44948 return 0;
44950 _ACEOF
44951 if ac_fn_cxx_try_compile "$LINENO"; then :
44952 glibcxx_cv_func__sqrtf_use=yes
44953 else
44954 glibcxx_cv_func__sqrtf_use=no
44956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44957 ac_ext=c
44958 ac_cpp='$CPP $CPPFLAGS'
44959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44968 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44970 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44971 for ac_func in _sqrtf
44972 do :
44973 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44974 if test "x$ac_cv_func__sqrtf" = xyes; then :
44975 cat >>confdefs.h <<_ACEOF
44976 #define HAVE__SQRTF 1
44977 _ACEOF
44980 done
44989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44990 $as_echo_n "checking for sincosf declaration... " >&6; }
44991 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44992 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44993 $as_echo_n "(cached) " >&6
44994 else
44997 ac_ext=cpp
44998 ac_cpp='$CXXCPP $CPPFLAGS'
44999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45004 /* end confdefs.h. */
45005 #include <math.h>
45007 main ()
45009 sincosf(0, 0, 0);
45011 return 0;
45013 _ACEOF
45014 if ac_fn_cxx_try_compile "$LINENO"; then :
45015 glibcxx_cv_func_sincosf_use=yes
45016 else
45017 glibcxx_cv_func_sincosf_use=no
45019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45020 ac_ext=c
45021 ac_cpp='$CPP $CPPFLAGS'
45022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
45031 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
45033 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
45034 for ac_func in sincosf
45035 do :
45036 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
45037 if test "x$ac_cv_func_sincosf" = xyes; then :
45038 cat >>confdefs.h <<_ACEOF
45039 #define HAVE_SINCOSF 1
45040 _ACEOF
45043 done
45045 else
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
45048 $as_echo_n "checking for _sincosf declaration... " >&6; }
45049 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
45050 if ${glibcxx_cv_func__sincosf_use+:} false; then :
45051 $as_echo_n "(cached) " >&6
45052 else
45055 ac_ext=cpp
45056 ac_cpp='$CXXCPP $CPPFLAGS'
45057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45062 /* end confdefs.h. */
45063 #include <math.h>
45065 main ()
45067 _sincosf(0, 0, 0);
45069 return 0;
45071 _ACEOF
45072 if ac_fn_cxx_try_compile "$LINENO"; then :
45073 glibcxx_cv_func__sincosf_use=yes
45074 else
45075 glibcxx_cv_func__sincosf_use=no
45077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45078 ac_ext=c
45079 ac_cpp='$CPP $CPPFLAGS'
45080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45089 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45091 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45092 for ac_func in _sincosf
45093 do :
45094 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45095 if test "x$ac_cv_func__sincosf" = xyes; then :
45096 cat >>confdefs.h <<_ACEOF
45097 #define HAVE__SINCOSF 1
45098 _ACEOF
45101 done
45110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45111 $as_echo_n "checking for finitef declaration... " >&6; }
45112 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45113 if ${glibcxx_cv_func_finitef_use+:} false; then :
45114 $as_echo_n "(cached) " >&6
45115 else
45118 ac_ext=cpp
45119 ac_cpp='$CXXCPP $CPPFLAGS'
45120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45125 /* end confdefs.h. */
45126 #include <math.h>
45127 #ifdef HAVE_IEEEFP_H
45128 #include <ieeefp.h>
45129 #endif
45132 main ()
45134 finitef(0);
45136 return 0;
45138 _ACEOF
45139 if ac_fn_cxx_try_compile "$LINENO"; then :
45140 glibcxx_cv_func_finitef_use=yes
45141 else
45142 glibcxx_cv_func_finitef_use=no
45144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45145 ac_ext=c
45146 ac_cpp='$CPP $CPPFLAGS'
45147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45156 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45158 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45159 for ac_func in finitef
45160 do :
45161 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45162 if test "x$ac_cv_func_finitef" = xyes; then :
45163 cat >>confdefs.h <<_ACEOF
45164 #define HAVE_FINITEF 1
45165 _ACEOF
45168 done
45170 else
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45173 $as_echo_n "checking for _finitef declaration... " >&6; }
45174 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45175 if ${glibcxx_cv_func__finitef_use+:} false; then :
45176 $as_echo_n "(cached) " >&6
45177 else
45180 ac_ext=cpp
45181 ac_cpp='$CXXCPP $CPPFLAGS'
45182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45187 /* end confdefs.h. */
45188 #include <math.h>
45189 #ifdef HAVE_IEEEFP_H
45190 #include <ieeefp.h>
45191 #endif
45194 main ()
45196 _finitef(0);
45198 return 0;
45200 _ACEOF
45201 if ac_fn_cxx_try_compile "$LINENO"; then :
45202 glibcxx_cv_func__finitef_use=yes
45203 else
45204 glibcxx_cv_func__finitef_use=no
45206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45207 ac_ext=c
45208 ac_cpp='$CPP $CPPFLAGS'
45209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45218 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45220 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45221 for ac_func in _finitef
45222 do :
45223 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45224 if test "x$ac_cv_func__finitef" = xyes; then :
45225 cat >>confdefs.h <<_ACEOF
45226 #define HAVE__FINITEF 1
45227 _ACEOF
45230 done
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45240 $as_echo_n "checking for long double trig functions... " >&6; }
45241 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45242 $as_echo_n "(cached) " >&6
45243 else
45246 ac_ext=cpp
45247 ac_cpp='$CXXCPP $CPPFLAGS'
45248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45253 /* end confdefs.h. */
45254 #include <math.h>
45256 main ()
45258 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45260 return 0;
45262 _ACEOF
45263 if ac_fn_cxx_try_compile "$LINENO"; then :
45264 glibcxx_cv_func_long_double_trig_use=yes
45265 else
45266 glibcxx_cv_func_long_double_trig_use=no
45268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45269 ac_ext=c
45270 ac_cpp='$CPP $CPPFLAGS'
45271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45278 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45279 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45280 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45281 do :
45282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45285 cat >>confdefs.h <<_ACEOF
45286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45287 _ACEOF
45290 done
45292 else
45293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45294 $as_echo_n "checking for _long double trig functions... " >&6; }
45295 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45296 $as_echo_n "(cached) " >&6
45297 else
45300 ac_ext=cpp
45301 ac_cpp='$CXXCPP $CPPFLAGS'
45302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45307 /* end confdefs.h. */
45308 #include <math.h>
45310 main ()
45312 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45314 return 0;
45316 _ACEOF
45317 if ac_fn_cxx_try_compile "$LINENO"; then :
45318 glibcxx_cv_func__long_double_trig_use=yes
45319 else
45320 glibcxx_cv_func__long_double_trig_use=no
45322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45323 ac_ext=c
45324 ac_cpp='$CPP $CPPFLAGS'
45325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45332 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45333 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45334 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45335 do :
45336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45339 cat >>confdefs.h <<_ACEOF
45340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45341 _ACEOF
45344 done
45353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45354 $as_echo_n "checking for long double round functions... " >&6; }
45355 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45356 $as_echo_n "(cached) " >&6
45357 else
45360 ac_ext=cpp
45361 ac_cpp='$CXXCPP $CPPFLAGS'
45362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45367 /* end confdefs.h. */
45368 #include <math.h>
45370 main ()
45372 ceill (0); floorl (0);
45374 return 0;
45376 _ACEOF
45377 if ac_fn_cxx_try_compile "$LINENO"; then :
45378 glibcxx_cv_func_long_double_round_use=yes
45379 else
45380 glibcxx_cv_func_long_double_round_use=no
45382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45383 ac_ext=c
45384 ac_cpp='$CPP $CPPFLAGS'
45385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45392 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45393 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45394 for ac_func in ceill floorl
45395 do :
45396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45398 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45399 cat >>confdefs.h <<_ACEOF
45400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45401 _ACEOF
45404 done
45406 else
45407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45408 $as_echo_n "checking for _long double round functions... " >&6; }
45409 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45410 $as_echo_n "(cached) " >&6
45411 else
45414 ac_ext=cpp
45415 ac_cpp='$CXXCPP $CPPFLAGS'
45416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421 /* end confdefs.h. */
45422 #include <math.h>
45424 main ()
45426 _ceill (0); _floorl (0);
45428 return 0;
45430 _ACEOF
45431 if ac_fn_cxx_try_compile "$LINENO"; then :
45432 glibcxx_cv_func__long_double_round_use=yes
45433 else
45434 glibcxx_cv_func__long_double_round_use=no
45436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45437 ac_ext=c
45438 ac_cpp='$CPP $CPPFLAGS'
45439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45446 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45447 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45448 for ac_func in _ceill _floorl
45449 do :
45450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45453 cat >>confdefs.h <<_ACEOF
45454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45455 _ACEOF
45458 done
45468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45469 $as_echo_n "checking for isnanl declaration... " >&6; }
45470 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45471 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45472 $as_echo_n "(cached) " >&6
45473 else
45476 ac_ext=cpp
45477 ac_cpp='$CXXCPP $CPPFLAGS'
45478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45483 /* end confdefs.h. */
45484 #include <math.h>
45485 #ifdef HAVE_IEEEFP_H
45486 #include <ieeefp.h>
45487 #endif
45490 main ()
45492 isnanl(0);
45494 return 0;
45496 _ACEOF
45497 if ac_fn_cxx_try_compile "$LINENO"; then :
45498 glibcxx_cv_func_isnanl_use=yes
45499 else
45500 glibcxx_cv_func_isnanl_use=no
45502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45503 ac_ext=c
45504 ac_cpp='$CPP $CPPFLAGS'
45505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45514 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45516 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45517 for ac_func in isnanl
45518 do :
45519 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45520 if test "x$ac_cv_func_isnanl" = xyes; then :
45521 cat >>confdefs.h <<_ACEOF
45522 #define HAVE_ISNANL 1
45523 _ACEOF
45526 done
45528 else
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45531 $as_echo_n "checking for _isnanl declaration... " >&6; }
45532 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45533 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45534 $as_echo_n "(cached) " >&6
45535 else
45538 ac_ext=cpp
45539 ac_cpp='$CXXCPP $CPPFLAGS'
45540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45545 /* end confdefs.h. */
45546 #include <math.h>
45547 #ifdef HAVE_IEEEFP_H
45548 #include <ieeefp.h>
45549 #endif
45552 main ()
45554 _isnanl(0);
45556 return 0;
45558 _ACEOF
45559 if ac_fn_cxx_try_compile "$LINENO"; then :
45560 glibcxx_cv_func__isnanl_use=yes
45561 else
45562 glibcxx_cv_func__isnanl_use=no
45564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45565 ac_ext=c
45566 ac_cpp='$CPP $CPPFLAGS'
45567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45576 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45578 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45579 for ac_func in _isnanl
45580 do :
45581 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45582 if test "x$ac_cv_func__isnanl" = xyes; then :
45583 cat >>confdefs.h <<_ACEOF
45584 #define HAVE__ISNANL 1
45585 _ACEOF
45588 done
45597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45598 $as_echo_n "checking for isinfl declaration... " >&6; }
45599 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45600 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45601 $as_echo_n "(cached) " >&6
45602 else
45605 ac_ext=cpp
45606 ac_cpp='$CXXCPP $CPPFLAGS'
45607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45612 /* end confdefs.h. */
45613 #include <math.h>
45614 #ifdef HAVE_IEEEFP_H
45615 #include <ieeefp.h>
45616 #endif
45619 main ()
45621 isinfl(0);
45623 return 0;
45625 _ACEOF
45626 if ac_fn_cxx_try_compile "$LINENO"; then :
45627 glibcxx_cv_func_isinfl_use=yes
45628 else
45629 glibcxx_cv_func_isinfl_use=no
45631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45632 ac_ext=c
45633 ac_cpp='$CPP $CPPFLAGS'
45634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45643 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45645 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45646 for ac_func in isinfl
45647 do :
45648 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45649 if test "x$ac_cv_func_isinfl" = xyes; then :
45650 cat >>confdefs.h <<_ACEOF
45651 #define HAVE_ISINFL 1
45652 _ACEOF
45655 done
45657 else
45659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45660 $as_echo_n "checking for _isinfl declaration... " >&6; }
45661 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45662 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45663 $as_echo_n "(cached) " >&6
45664 else
45667 ac_ext=cpp
45668 ac_cpp='$CXXCPP $CPPFLAGS'
45669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45674 /* end confdefs.h. */
45675 #include <math.h>
45676 #ifdef HAVE_IEEEFP_H
45677 #include <ieeefp.h>
45678 #endif
45681 main ()
45683 _isinfl(0);
45685 return 0;
45687 _ACEOF
45688 if ac_fn_cxx_try_compile "$LINENO"; then :
45689 glibcxx_cv_func__isinfl_use=yes
45690 else
45691 glibcxx_cv_func__isinfl_use=no
45693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45694 ac_ext=c
45695 ac_cpp='$CPP $CPPFLAGS'
45696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45705 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45707 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45708 for ac_func in _isinfl
45709 do :
45710 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45711 if test "x$ac_cv_func__isinfl" = xyes; then :
45712 cat >>confdefs.h <<_ACEOF
45713 #define HAVE__ISINFL 1
45714 _ACEOF
45717 done
45726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45727 $as_echo_n "checking for atan2l declaration... " >&6; }
45728 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45729 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45730 $as_echo_n "(cached) " >&6
45731 else
45734 ac_ext=cpp
45735 ac_cpp='$CXXCPP $CPPFLAGS'
45736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45741 /* end confdefs.h. */
45742 #include <math.h>
45744 main ()
45746 atan2l(0, 0);
45748 return 0;
45750 _ACEOF
45751 if ac_fn_cxx_try_compile "$LINENO"; then :
45752 glibcxx_cv_func_atan2l_use=yes
45753 else
45754 glibcxx_cv_func_atan2l_use=no
45756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45757 ac_ext=c
45758 ac_cpp='$CPP $CPPFLAGS'
45759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45768 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45770 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45771 for ac_func in atan2l
45772 do :
45773 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45774 if test "x$ac_cv_func_atan2l" = xyes; then :
45775 cat >>confdefs.h <<_ACEOF
45776 #define HAVE_ATAN2L 1
45777 _ACEOF
45780 done
45782 else
45784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45785 $as_echo_n "checking for _atan2l declaration... " >&6; }
45786 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45787 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45788 $as_echo_n "(cached) " >&6
45789 else
45792 ac_ext=cpp
45793 ac_cpp='$CXXCPP $CPPFLAGS'
45794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45799 /* end confdefs.h. */
45800 #include <math.h>
45802 main ()
45804 _atan2l(0, 0);
45806 return 0;
45808 _ACEOF
45809 if ac_fn_cxx_try_compile "$LINENO"; then :
45810 glibcxx_cv_func__atan2l_use=yes
45811 else
45812 glibcxx_cv_func__atan2l_use=no
45814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45815 ac_ext=c
45816 ac_cpp='$CPP $CPPFLAGS'
45817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45826 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45828 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45829 for ac_func in _atan2l
45830 do :
45831 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45832 if test "x$ac_cv_func__atan2l" = xyes; then :
45833 cat >>confdefs.h <<_ACEOF
45834 #define HAVE__ATAN2L 1
45835 _ACEOF
45838 done
45847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45848 $as_echo_n "checking for expl declaration... " >&6; }
45849 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45850 if ${glibcxx_cv_func_expl_use+:} false; then :
45851 $as_echo_n "(cached) " >&6
45852 else
45855 ac_ext=cpp
45856 ac_cpp='$CXXCPP $CPPFLAGS'
45857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45862 /* end confdefs.h. */
45863 #include <math.h>
45864 #ifdef HAVE_IEEEFP_H
45865 #include <ieeefp.h>
45866 #endif
45869 main ()
45871 expl(0);
45873 return 0;
45875 _ACEOF
45876 if ac_fn_cxx_try_compile "$LINENO"; then :
45877 glibcxx_cv_func_expl_use=yes
45878 else
45879 glibcxx_cv_func_expl_use=no
45881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882 ac_ext=c
45883 ac_cpp='$CPP $CPPFLAGS'
45884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45893 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45895 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45896 for ac_func in expl
45897 do :
45898 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45899 if test "x$ac_cv_func_expl" = xyes; then :
45900 cat >>confdefs.h <<_ACEOF
45901 #define HAVE_EXPL 1
45902 _ACEOF
45905 done
45907 else
45909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45910 $as_echo_n "checking for _expl declaration... " >&6; }
45911 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45912 if ${glibcxx_cv_func__expl_use+:} false; then :
45913 $as_echo_n "(cached) " >&6
45914 else
45917 ac_ext=cpp
45918 ac_cpp='$CXXCPP $CPPFLAGS'
45919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45924 /* end confdefs.h. */
45925 #include <math.h>
45926 #ifdef HAVE_IEEEFP_H
45927 #include <ieeefp.h>
45928 #endif
45931 main ()
45933 _expl(0);
45935 return 0;
45937 _ACEOF
45938 if ac_fn_cxx_try_compile "$LINENO"; then :
45939 glibcxx_cv_func__expl_use=yes
45940 else
45941 glibcxx_cv_func__expl_use=no
45943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45944 ac_ext=c
45945 ac_cpp='$CPP $CPPFLAGS'
45946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45955 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45957 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45958 for ac_func in _expl
45959 do :
45960 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45961 if test "x$ac_cv_func__expl" = xyes; then :
45962 cat >>confdefs.h <<_ACEOF
45963 #define HAVE__EXPL 1
45964 _ACEOF
45967 done
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45977 $as_echo_n "checking for fabsl declaration... " >&6; }
45978 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45979 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45980 $as_echo_n "(cached) " >&6
45981 else
45984 ac_ext=cpp
45985 ac_cpp='$CXXCPP $CPPFLAGS'
45986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45991 /* end confdefs.h. */
45992 #include <math.h>
45993 #ifdef HAVE_IEEEFP_H
45994 #include <ieeefp.h>
45995 #endif
45998 main ()
46000 fabsl(0);
46002 return 0;
46004 _ACEOF
46005 if ac_fn_cxx_try_compile "$LINENO"; then :
46006 glibcxx_cv_func_fabsl_use=yes
46007 else
46008 glibcxx_cv_func_fabsl_use=no
46010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46011 ac_ext=c
46012 ac_cpp='$CPP $CPPFLAGS'
46013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
46022 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
46024 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46025 for ac_func in fabsl
46026 do :
46027 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
46028 if test "x$ac_cv_func_fabsl" = xyes; then :
46029 cat >>confdefs.h <<_ACEOF
46030 #define HAVE_FABSL 1
46031 _ACEOF
46034 done
46036 else
46038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
46039 $as_echo_n "checking for _fabsl declaration... " >&6; }
46040 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46041 if ${glibcxx_cv_func__fabsl_use+:} false; then :
46042 $as_echo_n "(cached) " >&6
46043 else
46046 ac_ext=cpp
46047 ac_cpp='$CXXCPP $CPPFLAGS'
46048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053 /* end confdefs.h. */
46054 #include <math.h>
46055 #ifdef HAVE_IEEEFP_H
46056 #include <ieeefp.h>
46057 #endif
46060 main ()
46062 _fabsl(0);
46064 return 0;
46066 _ACEOF
46067 if ac_fn_cxx_try_compile "$LINENO"; then :
46068 glibcxx_cv_func__fabsl_use=yes
46069 else
46070 glibcxx_cv_func__fabsl_use=no
46072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46073 ac_ext=c
46074 ac_cpp='$CPP $CPPFLAGS'
46075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46084 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46086 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46087 for ac_func in _fabsl
46088 do :
46089 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46090 if test "x$ac_cv_func__fabsl" = xyes; then :
46091 cat >>confdefs.h <<_ACEOF
46092 #define HAVE__FABSL 1
46093 _ACEOF
46096 done
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46106 $as_echo_n "checking for fmodl declaration... " >&6; }
46107 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46108 if ${glibcxx_cv_func_fmodl_use+:} false; then :
46109 $as_echo_n "(cached) " >&6
46110 else
46113 ac_ext=cpp
46114 ac_cpp='$CXXCPP $CPPFLAGS'
46115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46120 /* end confdefs.h. */
46121 #include <math.h>
46123 main ()
46125 fmodl(0, 0);
46127 return 0;
46129 _ACEOF
46130 if ac_fn_cxx_try_compile "$LINENO"; then :
46131 glibcxx_cv_func_fmodl_use=yes
46132 else
46133 glibcxx_cv_func_fmodl_use=no
46135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46136 ac_ext=c
46137 ac_cpp='$CPP $CPPFLAGS'
46138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46147 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46149 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46150 for ac_func in fmodl
46151 do :
46152 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46153 if test "x$ac_cv_func_fmodl" = xyes; then :
46154 cat >>confdefs.h <<_ACEOF
46155 #define HAVE_FMODL 1
46156 _ACEOF
46159 done
46161 else
46163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46164 $as_echo_n "checking for _fmodl declaration... " >&6; }
46165 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46166 if ${glibcxx_cv_func__fmodl_use+:} false; then :
46167 $as_echo_n "(cached) " >&6
46168 else
46171 ac_ext=cpp
46172 ac_cpp='$CXXCPP $CPPFLAGS'
46173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46178 /* end confdefs.h. */
46179 #include <math.h>
46181 main ()
46183 _fmodl(0, 0);
46185 return 0;
46187 _ACEOF
46188 if ac_fn_cxx_try_compile "$LINENO"; then :
46189 glibcxx_cv_func__fmodl_use=yes
46190 else
46191 glibcxx_cv_func__fmodl_use=no
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194 ac_ext=c
46195 ac_cpp='$CPP $CPPFLAGS'
46196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46205 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46207 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46208 for ac_func in _fmodl
46209 do :
46210 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46211 if test "x$ac_cv_func__fmodl" = xyes; then :
46212 cat >>confdefs.h <<_ACEOF
46213 #define HAVE__FMODL 1
46214 _ACEOF
46217 done
46226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46227 $as_echo_n "checking for frexpl declaration... " >&6; }
46228 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46229 if ${glibcxx_cv_func_frexpl_use+:} false; then :
46230 $as_echo_n "(cached) " >&6
46231 else
46234 ac_ext=cpp
46235 ac_cpp='$CXXCPP $CPPFLAGS'
46236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46241 /* end confdefs.h. */
46242 #include <math.h>
46244 main ()
46246 frexpl(0, 0);
46248 return 0;
46250 _ACEOF
46251 if ac_fn_cxx_try_compile "$LINENO"; then :
46252 glibcxx_cv_func_frexpl_use=yes
46253 else
46254 glibcxx_cv_func_frexpl_use=no
46256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46257 ac_ext=c
46258 ac_cpp='$CPP $CPPFLAGS'
46259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46268 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46270 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46271 for ac_func in frexpl
46272 do :
46273 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46274 if test "x$ac_cv_func_frexpl" = xyes; then :
46275 cat >>confdefs.h <<_ACEOF
46276 #define HAVE_FREXPL 1
46277 _ACEOF
46280 done
46282 else
46284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46285 $as_echo_n "checking for _frexpl declaration... " >&6; }
46286 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46287 if ${glibcxx_cv_func__frexpl_use+:} false; then :
46288 $as_echo_n "(cached) " >&6
46289 else
46292 ac_ext=cpp
46293 ac_cpp='$CXXCPP $CPPFLAGS'
46294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46299 /* end confdefs.h. */
46300 #include <math.h>
46302 main ()
46304 _frexpl(0, 0);
46306 return 0;
46308 _ACEOF
46309 if ac_fn_cxx_try_compile "$LINENO"; then :
46310 glibcxx_cv_func__frexpl_use=yes
46311 else
46312 glibcxx_cv_func__frexpl_use=no
46314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315 ac_ext=c
46316 ac_cpp='$CPP $CPPFLAGS'
46317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46326 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46328 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46329 for ac_func in _frexpl
46330 do :
46331 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46332 if test "x$ac_cv_func__frexpl" = xyes; then :
46333 cat >>confdefs.h <<_ACEOF
46334 #define HAVE__FREXPL 1
46335 _ACEOF
46338 done
46347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46348 $as_echo_n "checking for hypotl declaration... " >&6; }
46349 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46350 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46351 $as_echo_n "(cached) " >&6
46352 else
46355 ac_ext=cpp
46356 ac_cpp='$CXXCPP $CPPFLAGS'
46357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46362 /* end confdefs.h. */
46363 #include <math.h>
46365 main ()
46367 hypotl(0, 0);
46369 return 0;
46371 _ACEOF
46372 if ac_fn_cxx_try_compile "$LINENO"; then :
46373 glibcxx_cv_func_hypotl_use=yes
46374 else
46375 glibcxx_cv_func_hypotl_use=no
46377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46378 ac_ext=c
46379 ac_cpp='$CPP $CPPFLAGS'
46380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46389 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46391 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46392 for ac_func in hypotl
46393 do :
46394 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46395 if test "x$ac_cv_func_hypotl" = xyes; then :
46396 cat >>confdefs.h <<_ACEOF
46397 #define HAVE_HYPOTL 1
46398 _ACEOF
46401 done
46403 else
46405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46406 $as_echo_n "checking for _hypotl declaration... " >&6; }
46407 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46408 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46409 $as_echo_n "(cached) " >&6
46410 else
46413 ac_ext=cpp
46414 ac_cpp='$CXXCPP $CPPFLAGS'
46415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46420 /* end confdefs.h. */
46421 #include <math.h>
46423 main ()
46425 _hypotl(0, 0);
46427 return 0;
46429 _ACEOF
46430 if ac_fn_cxx_try_compile "$LINENO"; then :
46431 glibcxx_cv_func__hypotl_use=yes
46432 else
46433 glibcxx_cv_func__hypotl_use=no
46435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46436 ac_ext=c
46437 ac_cpp='$CPP $CPPFLAGS'
46438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46447 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46449 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46450 for ac_func in _hypotl
46451 do :
46452 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46453 if test "x$ac_cv_func__hypotl" = xyes; then :
46454 cat >>confdefs.h <<_ACEOF
46455 #define HAVE__HYPOTL 1
46456 _ACEOF
46459 done
46468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46469 $as_echo_n "checking for ldexpl declaration... " >&6; }
46470 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46471 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46472 $as_echo_n "(cached) " >&6
46473 else
46476 ac_ext=cpp
46477 ac_cpp='$CXXCPP $CPPFLAGS'
46478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46483 /* end confdefs.h. */
46484 #include <math.h>
46486 main ()
46488 ldexpl(0, 0);
46490 return 0;
46492 _ACEOF
46493 if ac_fn_cxx_try_compile "$LINENO"; then :
46494 glibcxx_cv_func_ldexpl_use=yes
46495 else
46496 glibcxx_cv_func_ldexpl_use=no
46498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46499 ac_ext=c
46500 ac_cpp='$CPP $CPPFLAGS'
46501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46510 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46512 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46513 for ac_func in ldexpl
46514 do :
46515 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46516 if test "x$ac_cv_func_ldexpl" = xyes; then :
46517 cat >>confdefs.h <<_ACEOF
46518 #define HAVE_LDEXPL 1
46519 _ACEOF
46522 done
46524 else
46526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46527 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46528 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46529 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46530 $as_echo_n "(cached) " >&6
46531 else
46534 ac_ext=cpp
46535 ac_cpp='$CXXCPP $CPPFLAGS'
46536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46541 /* end confdefs.h. */
46542 #include <math.h>
46544 main ()
46546 _ldexpl(0, 0);
46548 return 0;
46550 _ACEOF
46551 if ac_fn_cxx_try_compile "$LINENO"; then :
46552 glibcxx_cv_func__ldexpl_use=yes
46553 else
46554 glibcxx_cv_func__ldexpl_use=no
46556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46557 ac_ext=c
46558 ac_cpp='$CPP $CPPFLAGS'
46559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46568 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46570 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46571 for ac_func in _ldexpl
46572 do :
46573 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46574 if test "x$ac_cv_func__ldexpl" = xyes; then :
46575 cat >>confdefs.h <<_ACEOF
46576 #define HAVE__LDEXPL 1
46577 _ACEOF
46580 done
46589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46590 $as_echo_n "checking for logl declaration... " >&6; }
46591 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46592 if ${glibcxx_cv_func_logl_use+:} false; then :
46593 $as_echo_n "(cached) " >&6
46594 else
46597 ac_ext=cpp
46598 ac_cpp='$CXXCPP $CPPFLAGS'
46599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46604 /* end confdefs.h. */
46605 #include <math.h>
46606 #ifdef HAVE_IEEEFP_H
46607 #include <ieeefp.h>
46608 #endif
46611 main ()
46613 logl(0);
46615 return 0;
46617 _ACEOF
46618 if ac_fn_cxx_try_compile "$LINENO"; then :
46619 glibcxx_cv_func_logl_use=yes
46620 else
46621 glibcxx_cv_func_logl_use=no
46623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46624 ac_ext=c
46625 ac_cpp='$CPP $CPPFLAGS'
46626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46635 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46637 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46638 for ac_func in logl
46639 do :
46640 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46641 if test "x$ac_cv_func_logl" = xyes; then :
46642 cat >>confdefs.h <<_ACEOF
46643 #define HAVE_LOGL 1
46644 _ACEOF
46647 done
46649 else
46651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46652 $as_echo_n "checking for _logl declaration... " >&6; }
46653 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46654 if ${glibcxx_cv_func__logl_use+:} false; then :
46655 $as_echo_n "(cached) " >&6
46656 else
46659 ac_ext=cpp
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46666 /* end confdefs.h. */
46667 #include <math.h>
46668 #ifdef HAVE_IEEEFP_H
46669 #include <ieeefp.h>
46670 #endif
46673 main ()
46675 _logl(0);
46677 return 0;
46679 _ACEOF
46680 if ac_fn_cxx_try_compile "$LINENO"; then :
46681 glibcxx_cv_func__logl_use=yes
46682 else
46683 glibcxx_cv_func__logl_use=no
46685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46686 ac_ext=c
46687 ac_cpp='$CPP $CPPFLAGS'
46688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46697 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46699 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46700 for ac_func in _logl
46701 do :
46702 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46703 if test "x$ac_cv_func__logl" = xyes; then :
46704 cat >>confdefs.h <<_ACEOF
46705 #define HAVE__LOGL 1
46706 _ACEOF
46709 done
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46719 $as_echo_n "checking for log10l declaration... " >&6; }
46720 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46721 if ${glibcxx_cv_func_log10l_use+:} false; then :
46722 $as_echo_n "(cached) " >&6
46723 else
46726 ac_ext=cpp
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733 /* end confdefs.h. */
46734 #include <math.h>
46735 #ifdef HAVE_IEEEFP_H
46736 #include <ieeefp.h>
46737 #endif
46740 main ()
46742 log10l(0);
46744 return 0;
46746 _ACEOF
46747 if ac_fn_cxx_try_compile "$LINENO"; then :
46748 glibcxx_cv_func_log10l_use=yes
46749 else
46750 glibcxx_cv_func_log10l_use=no
46752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46753 ac_ext=c
46754 ac_cpp='$CPP $CPPFLAGS'
46755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46764 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46766 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46767 for ac_func in log10l
46768 do :
46769 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46770 if test "x$ac_cv_func_log10l" = xyes; then :
46771 cat >>confdefs.h <<_ACEOF
46772 #define HAVE_LOG10L 1
46773 _ACEOF
46776 done
46778 else
46780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46781 $as_echo_n "checking for _log10l declaration... " >&6; }
46782 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46783 if ${glibcxx_cv_func__log10l_use+:} false; then :
46784 $as_echo_n "(cached) " >&6
46785 else
46788 ac_ext=cpp
46789 ac_cpp='$CXXCPP $CPPFLAGS'
46790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46795 /* end confdefs.h. */
46796 #include <math.h>
46797 #ifdef HAVE_IEEEFP_H
46798 #include <ieeefp.h>
46799 #endif
46802 main ()
46804 _log10l(0);
46806 return 0;
46808 _ACEOF
46809 if ac_fn_cxx_try_compile "$LINENO"; then :
46810 glibcxx_cv_func__log10l_use=yes
46811 else
46812 glibcxx_cv_func__log10l_use=no
46814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46815 ac_ext=c
46816 ac_cpp='$CPP $CPPFLAGS'
46817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46826 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46828 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46829 for ac_func in _log10l
46830 do :
46831 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46832 if test "x$ac_cv_func__log10l" = xyes; then :
46833 cat >>confdefs.h <<_ACEOF
46834 #define HAVE__LOG10L 1
46835 _ACEOF
46838 done
46847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46848 $as_echo_n "checking for modfl declaration... " >&6; }
46849 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46850 if ${glibcxx_cv_func_modfl_use+:} false; then :
46851 $as_echo_n "(cached) " >&6
46852 else
46855 ac_ext=cpp
46856 ac_cpp='$CXXCPP $CPPFLAGS'
46857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46862 /* end confdefs.h. */
46863 #include <math.h>
46865 main ()
46867 modfl(0, 0);
46869 return 0;
46871 _ACEOF
46872 if ac_fn_cxx_try_compile "$LINENO"; then :
46873 glibcxx_cv_func_modfl_use=yes
46874 else
46875 glibcxx_cv_func_modfl_use=no
46877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46878 ac_ext=c
46879 ac_cpp='$CPP $CPPFLAGS'
46880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46889 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46891 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46892 for ac_func in modfl
46893 do :
46894 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46895 if test "x$ac_cv_func_modfl" = xyes; then :
46896 cat >>confdefs.h <<_ACEOF
46897 #define HAVE_MODFL 1
46898 _ACEOF
46901 done
46903 else
46905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46906 $as_echo_n "checking for _modfl declaration... " >&6; }
46907 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46908 if ${glibcxx_cv_func__modfl_use+:} false; then :
46909 $as_echo_n "(cached) " >&6
46910 else
46913 ac_ext=cpp
46914 ac_cpp='$CXXCPP $CPPFLAGS'
46915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46920 /* end confdefs.h. */
46921 #include <math.h>
46923 main ()
46925 _modfl(0, 0);
46927 return 0;
46929 _ACEOF
46930 if ac_fn_cxx_try_compile "$LINENO"; then :
46931 glibcxx_cv_func__modfl_use=yes
46932 else
46933 glibcxx_cv_func__modfl_use=no
46935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46936 ac_ext=c
46937 ac_cpp='$CPP $CPPFLAGS'
46938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46947 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46949 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46950 for ac_func in _modfl
46951 do :
46952 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46953 if test "x$ac_cv_func__modfl" = xyes; then :
46954 cat >>confdefs.h <<_ACEOF
46955 #define HAVE__MODFL 1
46956 _ACEOF
46959 done
46968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46969 $as_echo_n "checking for powl declaration... " >&6; }
46970 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46971 if ${glibcxx_cv_func_powl_use+:} false; then :
46972 $as_echo_n "(cached) " >&6
46973 else
46976 ac_ext=cpp
46977 ac_cpp='$CXXCPP $CPPFLAGS'
46978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46983 /* end confdefs.h. */
46984 #include <math.h>
46986 main ()
46988 powl(0, 0);
46990 return 0;
46992 _ACEOF
46993 if ac_fn_cxx_try_compile "$LINENO"; then :
46994 glibcxx_cv_func_powl_use=yes
46995 else
46996 glibcxx_cv_func_powl_use=no
46998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46999 ac_ext=c
47000 ac_cpp='$CPP $CPPFLAGS'
47001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
47010 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
47012 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47013 for ac_func in powl
47014 do :
47015 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
47016 if test "x$ac_cv_func_powl" = xyes; then :
47017 cat >>confdefs.h <<_ACEOF
47018 #define HAVE_POWL 1
47019 _ACEOF
47022 done
47024 else
47026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
47027 $as_echo_n "checking for _powl declaration... " >&6; }
47028 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47029 if ${glibcxx_cv_func__powl_use+:} false; then :
47030 $as_echo_n "(cached) " >&6
47031 else
47034 ac_ext=cpp
47035 ac_cpp='$CXXCPP $CPPFLAGS'
47036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47041 /* end confdefs.h. */
47042 #include <math.h>
47044 main ()
47046 _powl(0, 0);
47048 return 0;
47050 _ACEOF
47051 if ac_fn_cxx_try_compile "$LINENO"; then :
47052 glibcxx_cv_func__powl_use=yes
47053 else
47054 glibcxx_cv_func__powl_use=no
47056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47068 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
47070 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47071 for ac_func in _powl
47072 do :
47073 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47074 if test "x$ac_cv_func__powl" = xyes; then :
47075 cat >>confdefs.h <<_ACEOF
47076 #define HAVE__POWL 1
47077 _ACEOF
47080 done
47089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47090 $as_echo_n "checking for sqrtl declaration... " >&6; }
47091 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47092 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47093 $as_echo_n "(cached) " >&6
47094 else
47097 ac_ext=cpp
47098 ac_cpp='$CXXCPP $CPPFLAGS'
47099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47104 /* end confdefs.h. */
47105 #include <math.h>
47106 #ifdef HAVE_IEEEFP_H
47107 #include <ieeefp.h>
47108 #endif
47111 main ()
47113 sqrtl(0);
47115 return 0;
47117 _ACEOF
47118 if ac_fn_cxx_try_compile "$LINENO"; then :
47119 glibcxx_cv_func_sqrtl_use=yes
47120 else
47121 glibcxx_cv_func_sqrtl_use=no
47123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47124 ac_ext=c
47125 ac_cpp='$CPP $CPPFLAGS'
47126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47135 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47137 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47138 for ac_func in sqrtl
47139 do :
47140 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47141 if test "x$ac_cv_func_sqrtl" = xyes; then :
47142 cat >>confdefs.h <<_ACEOF
47143 #define HAVE_SQRTL 1
47144 _ACEOF
47147 done
47149 else
47151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47152 $as_echo_n "checking for _sqrtl declaration... " >&6; }
47153 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47154 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47155 $as_echo_n "(cached) " >&6
47156 else
47159 ac_ext=cpp
47160 ac_cpp='$CXXCPP $CPPFLAGS'
47161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47166 /* end confdefs.h. */
47167 #include <math.h>
47168 #ifdef HAVE_IEEEFP_H
47169 #include <ieeefp.h>
47170 #endif
47173 main ()
47175 _sqrtl(0);
47177 return 0;
47179 _ACEOF
47180 if ac_fn_cxx_try_compile "$LINENO"; then :
47181 glibcxx_cv_func__sqrtl_use=yes
47182 else
47183 glibcxx_cv_func__sqrtl_use=no
47185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47186 ac_ext=c
47187 ac_cpp='$CPP $CPPFLAGS'
47188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47197 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47199 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47200 for ac_func in _sqrtl
47201 do :
47202 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47203 if test "x$ac_cv_func__sqrtl" = xyes; then :
47204 cat >>confdefs.h <<_ACEOF
47205 #define HAVE__SQRTL 1
47206 _ACEOF
47209 done
47218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47219 $as_echo_n "checking for sincosl declaration... " >&6; }
47220 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47221 if ${glibcxx_cv_func_sincosl_use+:} false; then :
47222 $as_echo_n "(cached) " >&6
47223 else
47226 ac_ext=cpp
47227 ac_cpp='$CXXCPP $CPPFLAGS'
47228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47233 /* end confdefs.h. */
47234 #include <math.h>
47236 main ()
47238 sincosl(0, 0, 0);
47240 return 0;
47242 _ACEOF
47243 if ac_fn_cxx_try_compile "$LINENO"; then :
47244 glibcxx_cv_func_sincosl_use=yes
47245 else
47246 glibcxx_cv_func_sincosl_use=no
47248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47249 ac_ext=c
47250 ac_cpp='$CPP $CPPFLAGS'
47251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47260 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47262 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47263 for ac_func in sincosl
47264 do :
47265 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47266 if test "x$ac_cv_func_sincosl" = xyes; then :
47267 cat >>confdefs.h <<_ACEOF
47268 #define HAVE_SINCOSL 1
47269 _ACEOF
47272 done
47274 else
47276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47277 $as_echo_n "checking for _sincosl declaration... " >&6; }
47278 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47279 if ${glibcxx_cv_func__sincosl_use+:} false; then :
47280 $as_echo_n "(cached) " >&6
47281 else
47284 ac_ext=cpp
47285 ac_cpp='$CXXCPP $CPPFLAGS'
47286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47291 /* end confdefs.h. */
47292 #include <math.h>
47294 main ()
47296 _sincosl(0, 0, 0);
47298 return 0;
47300 _ACEOF
47301 if ac_fn_cxx_try_compile "$LINENO"; then :
47302 glibcxx_cv_func__sincosl_use=yes
47303 else
47304 glibcxx_cv_func__sincosl_use=no
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307 ac_ext=c
47308 ac_cpp='$CPP $CPPFLAGS'
47309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47318 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47320 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47321 for ac_func in _sincosl
47322 do :
47323 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47324 if test "x$ac_cv_func__sincosl" = xyes; then :
47325 cat >>confdefs.h <<_ACEOF
47326 #define HAVE__SINCOSL 1
47327 _ACEOF
47330 done
47339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47340 $as_echo_n "checking for finitel declaration... " >&6; }
47341 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47342 if ${glibcxx_cv_func_finitel_use+:} false; then :
47343 $as_echo_n "(cached) " >&6
47344 else
47347 ac_ext=cpp
47348 ac_cpp='$CXXCPP $CPPFLAGS'
47349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47354 /* end confdefs.h. */
47355 #include <math.h>
47356 #ifdef HAVE_IEEEFP_H
47357 #include <ieeefp.h>
47358 #endif
47361 main ()
47363 finitel(0);
47365 return 0;
47367 _ACEOF
47368 if ac_fn_cxx_try_compile "$LINENO"; then :
47369 glibcxx_cv_func_finitel_use=yes
47370 else
47371 glibcxx_cv_func_finitel_use=no
47373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47374 ac_ext=c
47375 ac_cpp='$CPP $CPPFLAGS'
47376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47385 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47387 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47388 for ac_func in finitel
47389 do :
47390 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47391 if test "x$ac_cv_func_finitel" = xyes; then :
47392 cat >>confdefs.h <<_ACEOF
47393 #define HAVE_FINITEL 1
47394 _ACEOF
47397 done
47399 else
47401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47402 $as_echo_n "checking for _finitel declaration... " >&6; }
47403 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47404 if ${glibcxx_cv_func__finitel_use+:} false; then :
47405 $as_echo_n "(cached) " >&6
47406 else
47409 ac_ext=cpp
47410 ac_cpp='$CXXCPP $CPPFLAGS'
47411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47416 /* end confdefs.h. */
47417 #include <math.h>
47418 #ifdef HAVE_IEEEFP_H
47419 #include <ieeefp.h>
47420 #endif
47423 main ()
47425 _finitel(0);
47427 return 0;
47429 _ACEOF
47430 if ac_fn_cxx_try_compile "$LINENO"; then :
47431 glibcxx_cv_func__finitel_use=yes
47432 else
47433 glibcxx_cv_func__finitel_use=no
47435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47436 ac_ext=c
47437 ac_cpp='$CPP $CPPFLAGS'
47438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47447 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47449 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47450 for ac_func in _finitel
47451 do :
47452 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47453 if test "x$ac_cv_func__finitel" = xyes; then :
47454 cat >>confdefs.h <<_ACEOF
47455 #define HAVE__FINITEL 1
47456 _ACEOF
47459 done
47467 LIBS="$ac_save_LIBS"
47468 CXXFLAGS="$ac_save_CXXFLAGS"
47471 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47472 ac_save_CXXFLAGS="$CXXFLAGS"
47473 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47477 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47478 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47479 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47480 $as_echo_n "(cached) " >&6
47481 else
47484 ac_ext=cpp
47485 ac_cpp='$CXXCPP $CPPFLAGS'
47486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47491 /* end confdefs.h. */
47492 #include <stdlib.h>
47494 main ()
47496 at_quick_exit(0);
47498 return 0;
47500 _ACEOF
47501 if ac_fn_cxx_try_compile "$LINENO"; then :
47502 glibcxx_cv_func_at_quick_exit_use=yes
47503 else
47504 glibcxx_cv_func_at_quick_exit_use=no
47506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47507 ac_ext=c
47508 ac_cpp='$CPP $CPPFLAGS'
47509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47518 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47519 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47520 for ac_func in at_quick_exit
47521 do :
47522 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47523 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47524 cat >>confdefs.h <<_ACEOF
47525 #define HAVE_AT_QUICK_EXIT 1
47526 _ACEOF
47529 done
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47535 $as_echo_n "checking for quick_exit declaration... " >&6; }
47536 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47537 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47538 $as_echo_n "(cached) " >&6
47539 else
47542 ac_ext=cpp
47543 ac_cpp='$CXXCPP $CPPFLAGS'
47544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47549 /* end confdefs.h. */
47550 #include <stdlib.h>
47552 main ()
47554 quick_exit(0);
47556 return 0;
47558 _ACEOF
47559 if ac_fn_cxx_try_compile "$LINENO"; then :
47560 glibcxx_cv_func_quick_exit_use=yes
47561 else
47562 glibcxx_cv_func_quick_exit_use=no
47564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47565 ac_ext=c
47566 ac_cpp='$CPP $CPPFLAGS'
47567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47576 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47577 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47578 for ac_func in quick_exit
47579 do :
47580 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47581 if test "x$ac_cv_func_quick_exit" = xyes; then :
47582 cat >>confdefs.h <<_ACEOF
47583 #define HAVE_QUICK_EXIT 1
47584 _ACEOF
47587 done
47592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47593 $as_echo_n "checking for strtold declaration... " >&6; }
47594 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47595 if ${glibcxx_cv_func_strtold_use+:} false; then :
47596 $as_echo_n "(cached) " >&6
47597 else
47600 ac_ext=cpp
47601 ac_cpp='$CXXCPP $CPPFLAGS'
47602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47607 /* end confdefs.h. */
47608 #include <stdlib.h>
47610 main ()
47612 strtold(0, 0);
47614 return 0;
47616 _ACEOF
47617 if ac_fn_cxx_try_compile "$LINENO"; then :
47618 glibcxx_cv_func_strtold_use=yes
47619 else
47620 glibcxx_cv_func_strtold_use=no
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47623 ac_ext=c
47624 ac_cpp='$CPP $CPPFLAGS'
47625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47634 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47635 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47636 for ac_func in strtold
47637 do :
47638 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47639 if test "x$ac_cv_func_strtold" = xyes; then :
47640 cat >>confdefs.h <<_ACEOF
47641 #define HAVE_STRTOLD 1
47642 _ACEOF
47645 done
47652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47653 $as_echo_n "checking for strtof declaration... " >&6; }
47654 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47655 if ${glibcxx_cv_func_strtof_use+:} false; then :
47656 $as_echo_n "(cached) " >&6
47657 else
47660 ac_ext=cpp
47661 ac_cpp='$CXXCPP $CPPFLAGS'
47662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47667 /* end confdefs.h. */
47668 #include <stdlib.h>
47670 main ()
47672 strtof(0, 0);
47674 return 0;
47676 _ACEOF
47677 if ac_fn_cxx_try_compile "$LINENO"; then :
47678 glibcxx_cv_func_strtof_use=yes
47679 else
47680 glibcxx_cv_func_strtof_use=no
47682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47683 ac_ext=c
47684 ac_cpp='$CPP $CPPFLAGS'
47685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47694 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47695 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47696 for ac_func in strtof
47697 do :
47698 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47699 if test "x$ac_cv_func_strtof" = xyes; then :
47700 cat >>confdefs.h <<_ACEOF
47701 #define HAVE_STRTOF 1
47702 _ACEOF
47705 done
47712 CXXFLAGS="$ac_save_CXXFLAGS"
47716 *djgpp)
47717 # GLIBCXX_CHECK_MATH_SUPPORT
47718 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47720 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47722 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47724 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47726 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47730 *-freebsd*)
47731 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47734 # If we're not using GNU ld, then there's no point in even trying these
47735 # tests. Check for that first. We should have already tested for gld
47736 # by now (in libtool), but require it now just to be safe...
47737 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47738 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47742 # The name set by libtool depends on the version of libtool. Shame on us
47743 # for depending on an impl detail, but c'est la vie. Older versions used
47744 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47745 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47746 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47747 # set (hence we're using an older libtool), then set it.
47748 if test x${with_gnu_ld+set} != xset; then
47749 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47750 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47751 with_gnu_ld=no
47752 else
47753 with_gnu_ld=$ac_cv_prog_gnu_ld
47757 # Start by getting the version number. I think the libtool test already
47758 # does some of this, but throws away the result.
47759 glibcxx_ld_is_gold=no
47760 if test x"$with_gnu_ld" = x"yes"; then
47761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47762 $as_echo_n "checking for ld version... " >&6; }
47764 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47765 glibcxx_ld_is_gold=yes
47767 ldver=`$LD --version 2>/dev/null |
47768 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47770 glibcxx_gnu_ld_version=`echo $ldver | \
47771 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47773 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47776 # Set --gc-sections.
47777 glibcxx_have_gc_sections=no
47778 if test "$glibcxx_ld_is_gold" = "yes"; then
47779 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47780 glibcxx_have_gc_sections=yes
47782 else
47783 glibcxx_gcsections_min_ld=21602
47784 if test x"$with_gnu_ld" = x"yes" &&
47785 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47786 glibcxx_have_gc_sections=yes
47789 if test "$glibcxx_have_gc_sections" = "yes"; then
47790 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47791 # NB: This flag only works reliably after 2.16.1. Configure tests
47792 # for this are difficult, so hard wire a value that should work.
47794 ac_test_CFLAGS="${CFLAGS+set}"
47795 ac_save_CFLAGS="$CFLAGS"
47796 CFLAGS='-Wl,--gc-sections'
47798 # Check for -Wl,--gc-sections
47799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47800 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47801 if test x$gcc_no_link = xyes; then
47802 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47805 /* end confdefs.h. */
47806 int one(void) { return 1; }
47807 int two(void) { return 2; }
47810 main ()
47812 two();
47814 return 0;
47816 _ACEOF
47817 if ac_fn_c_try_link "$LINENO"; then :
47818 ac_gcsections=yes
47819 else
47820 ac_gcsections=no
47822 rm -f core conftest.err conftest.$ac_objext \
47823 conftest$ac_exeext conftest.$ac_ext
47824 if test "$ac_gcsections" = "yes"; then
47825 rm -f conftest.c
47826 touch conftest.c
47827 if $CC -c conftest.c; then
47828 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47829 grep "Warning: gc-sections option ignored" > /dev/null; then
47830 ac_gcsections=no
47833 rm -f conftest.c conftest.o conftest
47835 if test "$ac_gcsections" = "yes"; then
47836 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47839 $as_echo "$ac_gcsections" >&6; }
47841 if test "$ac_test_CFLAGS" = set; then
47842 CFLAGS="$ac_save_CFLAGS"
47843 else
47844 # this is the suspicious part
47845 CFLAGS=''
47849 # Set -z,relro.
47850 # Note this is only for shared objects.
47851 ac_ld_relro=no
47852 if test x"$with_gnu_ld" = x"yes"; then
47853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47854 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47855 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47856 if test -n "$cxx_z_relo"; then
47857 OPT_LDFLAGS="-Wl,-z,relro"
47858 ac_ld_relro=yes
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47861 $as_echo "$ac_ld_relro" >&6; }
47864 # Set linker optimization flags.
47865 if test x"$with_gnu_ld" = x"yes"; then
47866 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47872 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47874 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47876 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47878 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47880 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47882 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47884 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47886 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47888 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47891 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47893 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47895 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47897 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47899 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47901 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47903 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47905 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47907 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47909 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47911 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47913 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47915 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47917 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47919 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47921 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47923 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47925 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47927 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47929 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47931 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47933 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47935 if test x"long_double_math_on_this_cpu" = x"yes"; then
47936 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47938 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47940 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47943 for ac_func in __cxa_thread_atexit
47944 do :
47945 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47946 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47947 cat >>confdefs.h <<_ACEOF
47948 #define HAVE___CXA_THREAD_ATEXIT 1
47949 _ACEOF
47952 done
47954 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47955 do :
47956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47958 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47959 cat >>confdefs.h <<_ACEOF
47960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47961 _ACEOF
47964 done
47966 for ac_func in timespec_get
47967 do :
47968 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47969 if test "x$ac_cv_func_timespec_get" = xyes; then :
47970 cat >>confdefs.h <<_ACEOF
47971 #define HAVE_TIMESPEC_GET 1
47972 _ACEOF
47975 done
47977 for ac_func in sockatmark
47978 do :
47979 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47980 if test "x$ac_cv_func_sockatmark" = xyes; then :
47981 cat >>confdefs.h <<_ACEOF
47982 #define HAVE_SOCKATMARK 1
47983 _ACEOF
47986 done
47990 *-fuchsia*)
47991 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47995 *-hpux*)
47996 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47999 # If we're not using GNU ld, then there's no point in even trying these
48000 # tests. Check for that first. We should have already tested for gld
48001 # by now (in libtool), but require it now just to be safe...
48002 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48003 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48007 # The name set by libtool depends on the version of libtool. Shame on us
48008 # for depending on an impl detail, but c'est la vie. Older versions used
48009 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48010 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48011 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48012 # set (hence we're using an older libtool), then set it.
48013 if test x${with_gnu_ld+set} != xset; then
48014 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48015 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48016 with_gnu_ld=no
48017 else
48018 with_gnu_ld=$ac_cv_prog_gnu_ld
48022 # Start by getting the version number. I think the libtool test already
48023 # does some of this, but throws away the result.
48024 glibcxx_ld_is_gold=no
48025 if test x"$with_gnu_ld" = x"yes"; then
48026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48027 $as_echo_n "checking for ld version... " >&6; }
48029 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48030 glibcxx_ld_is_gold=yes
48032 ldver=`$LD --version 2>/dev/null |
48033 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48035 glibcxx_gnu_ld_version=`echo $ldver | \
48036 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48038 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48041 # Set --gc-sections.
48042 glibcxx_have_gc_sections=no
48043 if test "$glibcxx_ld_is_gold" = "yes"; then
48044 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48045 glibcxx_have_gc_sections=yes
48047 else
48048 glibcxx_gcsections_min_ld=21602
48049 if test x"$with_gnu_ld" = x"yes" &&
48050 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48051 glibcxx_have_gc_sections=yes
48054 if test "$glibcxx_have_gc_sections" = "yes"; then
48055 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48056 # NB: This flag only works reliably after 2.16.1. Configure tests
48057 # for this are difficult, so hard wire a value that should work.
48059 ac_test_CFLAGS="${CFLAGS+set}"
48060 ac_save_CFLAGS="$CFLAGS"
48061 CFLAGS='-Wl,--gc-sections'
48063 # Check for -Wl,--gc-sections
48064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48065 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48066 if test x$gcc_no_link = xyes; then
48067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48070 /* end confdefs.h. */
48071 int one(void) { return 1; }
48072 int two(void) { return 2; }
48075 main ()
48077 two();
48079 return 0;
48081 _ACEOF
48082 if ac_fn_c_try_link "$LINENO"; then :
48083 ac_gcsections=yes
48084 else
48085 ac_gcsections=no
48087 rm -f core conftest.err conftest.$ac_objext \
48088 conftest$ac_exeext conftest.$ac_ext
48089 if test "$ac_gcsections" = "yes"; then
48090 rm -f conftest.c
48091 touch conftest.c
48092 if $CC -c conftest.c; then
48093 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48094 grep "Warning: gc-sections option ignored" > /dev/null; then
48095 ac_gcsections=no
48098 rm -f conftest.c conftest.o conftest
48100 if test "$ac_gcsections" = "yes"; then
48101 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48104 $as_echo "$ac_gcsections" >&6; }
48106 if test "$ac_test_CFLAGS" = set; then
48107 CFLAGS="$ac_save_CFLAGS"
48108 else
48109 # this is the suspicious part
48110 CFLAGS=''
48114 # Set -z,relro.
48115 # Note this is only for shared objects.
48116 ac_ld_relro=no
48117 if test x"$with_gnu_ld" = x"yes"; then
48118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48119 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48120 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48121 if test -n "$cxx_z_relo"; then
48122 OPT_LDFLAGS="-Wl,-z,relro"
48123 ac_ld_relro=yes
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48126 $as_echo "$ac_ld_relro" >&6; }
48129 # Set linker optimization flags.
48130 if test x"$with_gnu_ld" = x"yes"; then
48131 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48138 # GLIBCXX_CHECK_MATH_SUPPORT
48139 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48141 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48143 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48145 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48147 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48149 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48151 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48153 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48155 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48157 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48159 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48161 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48163 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48165 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48167 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48169 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48171 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48173 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48175 $as_echo "#define HAVE_MODF 1" >>confdefs.h
48177 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48179 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48182 # GLIBCXX_CHECK_STDLIB_SUPPORT
48183 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48188 # Check whether --enable-tls was given.
48189 if test "${enable_tls+set}" = set; then :
48190 enableval=$enable_tls;
48191 case "$enableval" in
48192 yes|no) ;;
48193 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48194 esac
48196 else
48197 enable_tls=yes
48201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48202 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48203 if ${gcc_cv_have_tls+:} false; then :
48204 $as_echo_n "(cached) " >&6
48205 else
48207 if test "$cross_compiling" = yes; then :
48208 if test x$gcc_no_link = xyes; then
48209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48212 /* end confdefs.h. */
48213 __thread int a; int b; int main() { return a = b; }
48214 _ACEOF
48215 if ac_fn_c_try_link "$LINENO"; then :
48216 chktls_save_LDFLAGS="$LDFLAGS"
48217 case $host in
48218 *-*-linux* | -*-uclinuxfdpic*)
48219 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48221 esac
48222 chktls_save_CFLAGS="$CFLAGS"
48223 CFLAGS="-fPIC $CFLAGS"
48224 if test x$gcc_no_link = xyes; then
48225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48228 /* end confdefs.h. */
48229 int f() { return 0; }
48230 _ACEOF
48231 if ac_fn_c_try_link "$LINENO"; then :
48232 if test x$gcc_no_link = xyes; then
48233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48236 /* end confdefs.h. */
48237 __thread int a; int b; int f() { return a = b; }
48238 _ACEOF
48239 if ac_fn_c_try_link "$LINENO"; then :
48240 gcc_cv_have_tls=yes
48241 else
48242 gcc_cv_have_tls=no
48244 rm -f core conftest.err conftest.$ac_objext \
48245 conftest$ac_exeext conftest.$ac_ext
48246 else
48247 gcc_cv_have_tls=yes
48249 rm -f core conftest.err conftest.$ac_objext \
48250 conftest$ac_exeext conftest.$ac_ext
48251 CFLAGS="$chktls_save_CFLAGS"
48252 LDFLAGS="$chktls_save_LDFLAGS"
48253 else
48254 gcc_cv_have_tls=no
48256 rm -f core conftest.err conftest.$ac_objext \
48257 conftest$ac_exeext conftest.$ac_ext
48260 else
48261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48262 /* end confdefs.h. */
48263 __thread int a; int b; int main() { return a = b; }
48264 _ACEOF
48265 if ac_fn_c_try_run "$LINENO"; then :
48266 chktls_save_LDFLAGS="$LDFLAGS"
48267 LDFLAGS="-static $LDFLAGS"
48268 if test x$gcc_no_link = xyes; then
48269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48272 /* end confdefs.h. */
48273 int main() { return 0; }
48274 _ACEOF
48275 if ac_fn_c_try_link "$LINENO"; then :
48276 if test "$cross_compiling" = yes; then :
48277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48279 as_fn_error $? "cannot run test program while cross compiling
48280 See \`config.log' for more details" "$LINENO" 5; }
48281 else
48282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48283 /* end confdefs.h. */
48284 __thread int a; int b; int main() { return a = b; }
48285 _ACEOF
48286 if ac_fn_c_try_run "$LINENO"; then :
48287 gcc_cv_have_tls=yes
48288 else
48289 gcc_cv_have_tls=no
48291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48292 conftest.$ac_objext conftest.beam conftest.$ac_ext
48295 else
48296 gcc_cv_have_tls=yes
48298 rm -f core conftest.err conftest.$ac_objext \
48299 conftest$ac_exeext conftest.$ac_ext
48300 LDFLAGS="$chktls_save_LDFLAGS"
48301 if test $gcc_cv_have_tls = yes; then
48302 chktls_save_CFLAGS="$CFLAGS"
48303 thread_CFLAGS=failed
48304 for flag in '' '-pthread' '-lpthread'; do
48305 CFLAGS="$flag $chktls_save_CFLAGS"
48306 if test x$gcc_no_link = xyes; then
48307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48310 /* end confdefs.h. */
48311 #include <pthread.h>
48312 void *g(void *d) { return NULL; }
48314 main ()
48316 pthread_t t; pthread_create(&t,NULL,g,NULL);
48318 return 0;
48320 _ACEOF
48321 if ac_fn_c_try_link "$LINENO"; then :
48322 thread_CFLAGS="$flag"
48324 rm -f core conftest.err conftest.$ac_objext \
48325 conftest$ac_exeext conftest.$ac_ext
48326 if test "X$thread_CFLAGS" != Xfailed; then
48327 break
48329 done
48330 CFLAGS="$chktls_save_CFLAGS"
48331 if test "X$thread_CFLAGS" != Xfailed; then
48332 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48333 if test "$cross_compiling" = yes; then :
48334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48336 as_fn_error $? "cannot run test program while cross compiling
48337 See \`config.log' for more details" "$LINENO" 5; }
48338 else
48339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48340 /* end confdefs.h. */
48341 #include <pthread.h>
48342 __thread int a;
48343 static int *volatile a_in_other_thread;
48344 static void *
48345 thread_func (void *arg)
48347 a_in_other_thread = &a;
48348 return (void *)0;
48351 main ()
48353 pthread_t thread;
48354 void *thread_retval;
48355 int *volatile a_in_main_thread;
48356 a_in_main_thread = &a;
48357 if (pthread_create (&thread, (pthread_attr_t *)0,
48358 thread_func, (void *)0))
48359 return 0;
48360 if (pthread_join (thread, &thread_retval))
48361 return 0;
48362 return (a_in_other_thread == a_in_main_thread);
48364 return 0;
48366 _ACEOF
48367 if ac_fn_c_try_run "$LINENO"; then :
48368 gcc_cv_have_tls=yes
48369 else
48370 gcc_cv_have_tls=no
48372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48373 conftest.$ac_objext conftest.beam conftest.$ac_ext
48376 CFLAGS="$chktls_save_CFLAGS"
48379 else
48380 gcc_cv_have_tls=no
48382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48383 conftest.$ac_objext conftest.beam conftest.$ac_ext
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48388 $as_echo "$gcc_cv_have_tls" >&6; }
48389 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48391 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48394 case "$target" in
48395 *-hpux10*)
48396 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48398 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
48400 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48402 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48404 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48407 esac
48409 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48411 # All these tests are for C++; save the language and the compiler flags.
48412 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48413 # found in GLIBCXX_CONFIGURE.
48415 ac_ext=cpp
48416 ac_cpp='$CXXCPP $CPPFLAGS'
48417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48421 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48422 ac_save_CXXFLAGS="$CXXFLAGS"
48424 # Check for -ffunction-sections -fdata-sections
48425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48426 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48427 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48429 /* end confdefs.h. */
48430 int foo; void bar() { };
48432 main ()
48436 return 0;
48438 _ACEOF
48439 if ac_fn_cxx_try_compile "$LINENO"; then :
48440 ac_fdsections=yes
48441 else
48442 ac_fdsections=no
48444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48445 if test "$ac_test_CXXFLAGS" = set; then
48446 CXXFLAGS="$ac_save_CXXFLAGS"
48447 else
48448 # this is the suspicious part
48449 CXXFLAGS=''
48451 if test x"$ac_fdsections" = x"yes"; then
48452 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48455 $as_echo "$ac_fdsections" >&6; }
48457 ac_ext=c
48458 ac_cpp='$CPP $CPPFLAGS'
48459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48466 # If we're not using GNU ld, then there's no point in even trying these
48467 # tests. Check for that first. We should have already tested for gld
48468 # by now (in libtool), but require it now just to be safe...
48469 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48470 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48474 # The name set by libtool depends on the version of libtool. Shame on us
48475 # for depending on an impl detail, but c'est la vie. Older versions used
48476 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48477 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48478 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48479 # set (hence we're using an older libtool), then set it.
48480 if test x${with_gnu_ld+set} != xset; then
48481 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48482 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48483 with_gnu_ld=no
48484 else
48485 with_gnu_ld=$ac_cv_prog_gnu_ld
48489 # Start by getting the version number. I think the libtool test already
48490 # does some of this, but throws away the result.
48491 glibcxx_ld_is_gold=no
48492 if test x"$with_gnu_ld" = x"yes"; then
48493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48494 $as_echo_n "checking for ld version... " >&6; }
48496 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48497 glibcxx_ld_is_gold=yes
48499 ldver=`$LD --version 2>/dev/null |
48500 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48502 glibcxx_gnu_ld_version=`echo $ldver | \
48503 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48505 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48508 # Set --gc-sections.
48509 glibcxx_have_gc_sections=no
48510 if test "$glibcxx_ld_is_gold" = "yes"; then
48511 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48512 glibcxx_have_gc_sections=yes
48514 else
48515 glibcxx_gcsections_min_ld=21602
48516 if test x"$with_gnu_ld" = x"yes" &&
48517 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48518 glibcxx_have_gc_sections=yes
48521 if test "$glibcxx_have_gc_sections" = "yes"; then
48522 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48523 # NB: This flag only works reliably after 2.16.1. Configure tests
48524 # for this are difficult, so hard wire a value that should work.
48526 ac_test_CFLAGS="${CFLAGS+set}"
48527 ac_save_CFLAGS="$CFLAGS"
48528 CFLAGS='-Wl,--gc-sections'
48530 # Check for -Wl,--gc-sections
48531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48532 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48533 if test x$gcc_no_link = xyes; then
48534 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48537 /* end confdefs.h. */
48538 int one(void) { return 1; }
48539 int two(void) { return 2; }
48542 main ()
48544 two();
48546 return 0;
48548 _ACEOF
48549 if ac_fn_c_try_link "$LINENO"; then :
48550 ac_gcsections=yes
48551 else
48552 ac_gcsections=no
48554 rm -f core conftest.err conftest.$ac_objext \
48555 conftest$ac_exeext conftest.$ac_ext
48556 if test "$ac_gcsections" = "yes"; then
48557 rm -f conftest.c
48558 touch conftest.c
48559 if $CC -c conftest.c; then
48560 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48561 grep "Warning: gc-sections option ignored" > /dev/null; then
48562 ac_gcsections=no
48565 rm -f conftest.c conftest.o conftest
48567 if test "$ac_gcsections" = "yes"; then
48568 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48571 $as_echo "$ac_gcsections" >&6; }
48573 if test "$ac_test_CFLAGS" = set; then
48574 CFLAGS="$ac_save_CFLAGS"
48575 else
48576 # this is the suspicious part
48577 CFLAGS=''
48581 # Set -z,relro.
48582 # Note this is only for shared objects.
48583 ac_ld_relro=no
48584 if test x"$with_gnu_ld" = x"yes"; then
48585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48586 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48587 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48588 if test -n "$cxx_z_relo"; then
48589 OPT_LDFLAGS="-Wl,-z,relro"
48590 ac_ld_relro=yes
48592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48593 $as_echo "$ac_ld_relro" >&6; }
48596 # Set linker optimization flags.
48597 if test x"$with_gnu_ld" = x"yes"; then
48598 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48605 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48606 ac_save_CXXFLAGS="$CXXFLAGS"
48607 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48610 $as_echo_n "checking for sin in -lm... " >&6; }
48611 if ${ac_cv_lib_m_sin+:} false; then :
48612 $as_echo_n "(cached) " >&6
48613 else
48614 ac_check_lib_save_LIBS=$LIBS
48615 LIBS="-lm $LIBS"
48616 if test x$gcc_no_link = xyes; then
48617 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48620 /* end confdefs.h. */
48622 /* Override any GCC internal prototype to avoid an error.
48623 Use char because int might match the return type of a GCC
48624 builtin and then its argument prototype would still apply. */
48625 #ifdef __cplusplus
48626 extern "C"
48627 #endif
48628 char sin ();
48630 main ()
48632 return sin ();
48634 return 0;
48636 _ACEOF
48637 if ac_fn_c_try_link "$LINENO"; then :
48638 ac_cv_lib_m_sin=yes
48639 else
48640 ac_cv_lib_m_sin=no
48642 rm -f core conftest.err conftest.$ac_objext \
48643 conftest$ac_exeext conftest.$ac_ext
48644 LIBS=$ac_check_lib_save_LIBS
48646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48647 $as_echo "$ac_cv_lib_m_sin" >&6; }
48648 if test "x$ac_cv_lib_m_sin" = xyes; then :
48649 libm="-lm"
48652 ac_save_LIBS="$LIBS"
48653 LIBS="$LIBS $libm"
48657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48658 $as_echo_n "checking for isinf declaration... " >&6; }
48659 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48660 if ${glibcxx_cv_func_isinf_use+:} false; then :
48661 $as_echo_n "(cached) " >&6
48662 else
48665 ac_ext=cpp
48666 ac_cpp='$CXXCPP $CPPFLAGS'
48667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48672 /* end confdefs.h. */
48673 #include <math.h>
48674 #ifdef HAVE_IEEEFP_H
48675 #include <ieeefp.h>
48676 #endif
48679 main ()
48681 isinf(0);
48683 return 0;
48685 _ACEOF
48686 if ac_fn_cxx_try_compile "$LINENO"; then :
48687 glibcxx_cv_func_isinf_use=yes
48688 else
48689 glibcxx_cv_func_isinf_use=no
48691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48692 ac_ext=c
48693 ac_cpp='$CPP $CPPFLAGS'
48694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48703 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48705 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48706 for ac_func in isinf
48707 do :
48708 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48709 if test "x$ac_cv_func_isinf" = xyes; then :
48710 cat >>confdefs.h <<_ACEOF
48711 #define HAVE_ISINF 1
48712 _ACEOF
48715 done
48717 else
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48720 $as_echo_n "checking for _isinf declaration... " >&6; }
48721 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48722 if ${glibcxx_cv_func__isinf_use+:} false; then :
48723 $as_echo_n "(cached) " >&6
48724 else
48727 ac_ext=cpp
48728 ac_cpp='$CXXCPP $CPPFLAGS'
48729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48734 /* end confdefs.h. */
48735 #include <math.h>
48736 #ifdef HAVE_IEEEFP_H
48737 #include <ieeefp.h>
48738 #endif
48741 main ()
48743 _isinf(0);
48745 return 0;
48747 _ACEOF
48748 if ac_fn_cxx_try_compile "$LINENO"; then :
48749 glibcxx_cv_func__isinf_use=yes
48750 else
48751 glibcxx_cv_func__isinf_use=no
48753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48754 ac_ext=c
48755 ac_cpp='$CPP $CPPFLAGS'
48756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48765 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48767 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48768 for ac_func in _isinf
48769 do :
48770 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48771 if test "x$ac_cv_func__isinf" = xyes; then :
48772 cat >>confdefs.h <<_ACEOF
48773 #define HAVE__ISINF 1
48774 _ACEOF
48777 done
48786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48787 $as_echo_n "checking for isnan declaration... " >&6; }
48788 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48789 if ${glibcxx_cv_func_isnan_use+:} false; then :
48790 $as_echo_n "(cached) " >&6
48791 else
48794 ac_ext=cpp
48795 ac_cpp='$CXXCPP $CPPFLAGS'
48796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48801 /* end confdefs.h. */
48802 #include <math.h>
48803 #ifdef HAVE_IEEEFP_H
48804 #include <ieeefp.h>
48805 #endif
48808 main ()
48810 isnan(0);
48812 return 0;
48814 _ACEOF
48815 if ac_fn_cxx_try_compile "$LINENO"; then :
48816 glibcxx_cv_func_isnan_use=yes
48817 else
48818 glibcxx_cv_func_isnan_use=no
48820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48821 ac_ext=c
48822 ac_cpp='$CPP $CPPFLAGS'
48823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48832 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48834 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48835 for ac_func in isnan
48836 do :
48837 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48838 if test "x$ac_cv_func_isnan" = xyes; then :
48839 cat >>confdefs.h <<_ACEOF
48840 #define HAVE_ISNAN 1
48841 _ACEOF
48844 done
48846 else
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48849 $as_echo_n "checking for _isnan declaration... " >&6; }
48850 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48851 if ${glibcxx_cv_func__isnan_use+:} false; then :
48852 $as_echo_n "(cached) " >&6
48853 else
48856 ac_ext=cpp
48857 ac_cpp='$CXXCPP $CPPFLAGS'
48858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48863 /* end confdefs.h. */
48864 #include <math.h>
48865 #ifdef HAVE_IEEEFP_H
48866 #include <ieeefp.h>
48867 #endif
48870 main ()
48872 _isnan(0);
48874 return 0;
48876 _ACEOF
48877 if ac_fn_cxx_try_compile "$LINENO"; then :
48878 glibcxx_cv_func__isnan_use=yes
48879 else
48880 glibcxx_cv_func__isnan_use=no
48882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48883 ac_ext=c
48884 ac_cpp='$CPP $CPPFLAGS'
48885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48894 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48896 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48897 for ac_func in _isnan
48898 do :
48899 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48900 if test "x$ac_cv_func__isnan" = xyes; then :
48901 cat >>confdefs.h <<_ACEOF
48902 #define HAVE__ISNAN 1
48903 _ACEOF
48906 done
48915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48916 $as_echo_n "checking for finite declaration... " >&6; }
48917 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48918 if ${glibcxx_cv_func_finite_use+:} false; then :
48919 $as_echo_n "(cached) " >&6
48920 else
48923 ac_ext=cpp
48924 ac_cpp='$CXXCPP $CPPFLAGS'
48925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48930 /* end confdefs.h. */
48931 #include <math.h>
48932 #ifdef HAVE_IEEEFP_H
48933 #include <ieeefp.h>
48934 #endif
48937 main ()
48939 finite(0);
48941 return 0;
48943 _ACEOF
48944 if ac_fn_cxx_try_compile "$LINENO"; then :
48945 glibcxx_cv_func_finite_use=yes
48946 else
48947 glibcxx_cv_func_finite_use=no
48949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48950 ac_ext=c
48951 ac_cpp='$CPP $CPPFLAGS'
48952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48961 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48963 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48964 for ac_func in finite
48965 do :
48966 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48967 if test "x$ac_cv_func_finite" = xyes; then :
48968 cat >>confdefs.h <<_ACEOF
48969 #define HAVE_FINITE 1
48970 _ACEOF
48973 done
48975 else
48977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48978 $as_echo_n "checking for _finite declaration... " >&6; }
48979 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48980 if ${glibcxx_cv_func__finite_use+:} false; then :
48981 $as_echo_n "(cached) " >&6
48982 else
48985 ac_ext=cpp
48986 ac_cpp='$CXXCPP $CPPFLAGS'
48987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48992 /* end confdefs.h. */
48993 #include <math.h>
48994 #ifdef HAVE_IEEEFP_H
48995 #include <ieeefp.h>
48996 #endif
48999 main ()
49001 _finite(0);
49003 return 0;
49005 _ACEOF
49006 if ac_fn_cxx_try_compile "$LINENO"; then :
49007 glibcxx_cv_func__finite_use=yes
49008 else
49009 glibcxx_cv_func__finite_use=no
49011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49012 ac_ext=c
49013 ac_cpp='$CPP $CPPFLAGS'
49014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
49023 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
49025 if test x$glibcxx_cv_func__finite_use = x"yes"; then
49026 for ac_func in _finite
49027 do :
49028 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
49029 if test "x$ac_cv_func__finite" = xyes; then :
49030 cat >>confdefs.h <<_ACEOF
49031 #define HAVE__FINITE 1
49032 _ACEOF
49035 done
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
49045 $as_echo_n "checking for sincos declaration... " >&6; }
49046 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
49047 if ${glibcxx_cv_func_sincos_use+:} false; then :
49048 $as_echo_n "(cached) " >&6
49049 else
49052 ac_ext=cpp
49053 ac_cpp='$CXXCPP $CPPFLAGS'
49054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49059 /* end confdefs.h. */
49060 #include <math.h>
49062 main ()
49064 sincos(0, 0, 0);
49066 return 0;
49068 _ACEOF
49069 if ac_fn_cxx_try_compile "$LINENO"; then :
49070 glibcxx_cv_func_sincos_use=yes
49071 else
49072 glibcxx_cv_func_sincos_use=no
49074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49075 ac_ext=c
49076 ac_cpp='$CPP $CPPFLAGS'
49077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
49086 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49088 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49089 for ac_func in sincos
49090 do :
49091 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49092 if test "x$ac_cv_func_sincos" = xyes; then :
49093 cat >>confdefs.h <<_ACEOF
49094 #define HAVE_SINCOS 1
49095 _ACEOF
49098 done
49100 else
49102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49103 $as_echo_n "checking for _sincos declaration... " >&6; }
49104 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49105 if ${glibcxx_cv_func__sincos_use+:} false; then :
49106 $as_echo_n "(cached) " >&6
49107 else
49110 ac_ext=cpp
49111 ac_cpp='$CXXCPP $CPPFLAGS'
49112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49117 /* end confdefs.h. */
49118 #include <math.h>
49120 main ()
49122 _sincos(0, 0, 0);
49124 return 0;
49126 _ACEOF
49127 if ac_fn_cxx_try_compile "$LINENO"; then :
49128 glibcxx_cv_func__sincos_use=yes
49129 else
49130 glibcxx_cv_func__sincos_use=no
49132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49133 ac_ext=c
49134 ac_cpp='$CPP $CPPFLAGS'
49135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49144 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49146 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49147 for ac_func in _sincos
49148 do :
49149 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49150 if test "x$ac_cv_func__sincos" = xyes; then :
49151 cat >>confdefs.h <<_ACEOF
49152 #define HAVE__SINCOS 1
49153 _ACEOF
49156 done
49165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49166 $as_echo_n "checking for fpclass declaration... " >&6; }
49167 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49168 if ${glibcxx_cv_func_fpclass_use+:} false; then :
49169 $as_echo_n "(cached) " >&6
49170 else
49173 ac_ext=cpp
49174 ac_cpp='$CXXCPP $CPPFLAGS'
49175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49180 /* end confdefs.h. */
49181 #include <math.h>
49182 #ifdef HAVE_IEEEFP_H
49183 #include <ieeefp.h>
49184 #endif
49187 main ()
49189 fpclass(0);
49191 return 0;
49193 _ACEOF
49194 if ac_fn_cxx_try_compile "$LINENO"; then :
49195 glibcxx_cv_func_fpclass_use=yes
49196 else
49197 glibcxx_cv_func_fpclass_use=no
49199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49200 ac_ext=c
49201 ac_cpp='$CPP $CPPFLAGS'
49202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49211 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49213 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49214 for ac_func in fpclass
49215 do :
49216 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49217 if test "x$ac_cv_func_fpclass" = xyes; then :
49218 cat >>confdefs.h <<_ACEOF
49219 #define HAVE_FPCLASS 1
49220 _ACEOF
49223 done
49225 else
49227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49228 $as_echo_n "checking for _fpclass declaration... " >&6; }
49229 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49230 if ${glibcxx_cv_func__fpclass_use+:} false; then :
49231 $as_echo_n "(cached) " >&6
49232 else
49235 ac_ext=cpp
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49242 /* end confdefs.h. */
49243 #include <math.h>
49244 #ifdef HAVE_IEEEFP_H
49245 #include <ieeefp.h>
49246 #endif
49249 main ()
49251 _fpclass(0);
49253 return 0;
49255 _ACEOF
49256 if ac_fn_cxx_try_compile "$LINENO"; then :
49257 glibcxx_cv_func__fpclass_use=yes
49258 else
49259 glibcxx_cv_func__fpclass_use=no
49261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49262 ac_ext=c
49263 ac_cpp='$CPP $CPPFLAGS'
49264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49273 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49275 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49276 for ac_func in _fpclass
49277 do :
49278 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49279 if test "x$ac_cv_func__fpclass" = xyes; then :
49280 cat >>confdefs.h <<_ACEOF
49281 #define HAVE__FPCLASS 1
49282 _ACEOF
49285 done
49294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49295 $as_echo_n "checking for qfpclass declaration... " >&6; }
49296 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49297 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49298 $as_echo_n "(cached) " >&6
49299 else
49302 ac_ext=cpp
49303 ac_cpp='$CXXCPP $CPPFLAGS'
49304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49309 /* end confdefs.h. */
49310 #include <math.h>
49311 #ifdef HAVE_IEEEFP_H
49312 #include <ieeefp.h>
49313 #endif
49316 main ()
49318 qfpclass(0);
49320 return 0;
49322 _ACEOF
49323 if ac_fn_cxx_try_compile "$LINENO"; then :
49324 glibcxx_cv_func_qfpclass_use=yes
49325 else
49326 glibcxx_cv_func_qfpclass_use=no
49328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49329 ac_ext=c
49330 ac_cpp='$CPP $CPPFLAGS'
49331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
49340 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49342 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49343 for ac_func in qfpclass
49344 do :
49345 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49346 if test "x$ac_cv_func_qfpclass" = xyes; then :
49347 cat >>confdefs.h <<_ACEOF
49348 #define HAVE_QFPCLASS 1
49349 _ACEOF
49352 done
49354 else
49356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49357 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49358 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49359 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49360 $as_echo_n "(cached) " >&6
49361 else
49364 ac_ext=cpp
49365 ac_cpp='$CXXCPP $CPPFLAGS'
49366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49371 /* end confdefs.h. */
49372 #include <math.h>
49373 #ifdef HAVE_IEEEFP_H
49374 #include <ieeefp.h>
49375 #endif
49378 main ()
49380 _qfpclass(0);
49382 return 0;
49384 _ACEOF
49385 if ac_fn_cxx_try_compile "$LINENO"; then :
49386 glibcxx_cv_func__qfpclass_use=yes
49387 else
49388 glibcxx_cv_func__qfpclass_use=no
49390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49391 ac_ext=c
49392 ac_cpp='$CPP $CPPFLAGS'
49393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49402 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49404 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49405 for ac_func in _qfpclass
49406 do :
49407 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49408 if test "x$ac_cv_func__qfpclass" = xyes; then :
49409 cat >>confdefs.h <<_ACEOF
49410 #define HAVE__QFPCLASS 1
49411 _ACEOF
49414 done
49423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49424 $as_echo_n "checking for hypot declaration... " >&6; }
49425 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49426 if ${glibcxx_cv_func_hypot_use+:} false; then :
49427 $as_echo_n "(cached) " >&6
49428 else
49431 ac_ext=cpp
49432 ac_cpp='$CXXCPP $CPPFLAGS'
49433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49438 /* end confdefs.h. */
49439 #include <math.h>
49441 main ()
49443 hypot(0, 0);
49445 return 0;
49447 _ACEOF
49448 if ac_fn_cxx_try_compile "$LINENO"; then :
49449 glibcxx_cv_func_hypot_use=yes
49450 else
49451 glibcxx_cv_func_hypot_use=no
49453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49454 ac_ext=c
49455 ac_cpp='$CPP $CPPFLAGS'
49456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49465 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49467 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49468 for ac_func in hypot
49469 do :
49470 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49471 if test "x$ac_cv_func_hypot" = xyes; then :
49472 cat >>confdefs.h <<_ACEOF
49473 #define HAVE_HYPOT 1
49474 _ACEOF
49477 done
49479 else
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49482 $as_echo_n "checking for _hypot declaration... " >&6; }
49483 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49484 if ${glibcxx_cv_func__hypot_use+:} false; then :
49485 $as_echo_n "(cached) " >&6
49486 else
49489 ac_ext=cpp
49490 ac_cpp='$CXXCPP $CPPFLAGS'
49491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49496 /* end confdefs.h. */
49497 #include <math.h>
49499 main ()
49501 _hypot(0, 0);
49503 return 0;
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507 glibcxx_cv_func__hypot_use=yes
49508 else
49509 glibcxx_cv_func__hypot_use=no
49511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512 ac_ext=c
49513 ac_cpp='$CPP $CPPFLAGS'
49514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49523 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49525 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49526 for ac_func in _hypot
49527 do :
49528 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49529 if test "x$ac_cv_func__hypot" = xyes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define HAVE__HYPOT 1
49532 _ACEOF
49535 done
49544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49545 $as_echo_n "checking for float trig functions... " >&6; }
49546 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49547 $as_echo_n "(cached) " >&6
49548 else
49551 ac_ext=cpp
49552 ac_cpp='$CXXCPP $CPPFLAGS'
49553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49558 /* end confdefs.h. */
49559 #include <math.h>
49561 main ()
49563 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49565 return 0;
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569 glibcxx_cv_func_float_trig_use=yes
49570 else
49571 glibcxx_cv_func_float_trig_use=no
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574 ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49583 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49584 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49585 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49586 do :
49587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49589 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49590 cat >>confdefs.h <<_ACEOF
49591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49592 _ACEOF
49595 done
49597 else
49598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49599 $as_echo_n "checking for _float trig functions... " >&6; }
49600 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49601 $as_echo_n "(cached) " >&6
49602 else
49605 ac_ext=cpp
49606 ac_cpp='$CXXCPP $CPPFLAGS'
49607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49612 /* end confdefs.h. */
49613 #include <math.h>
49615 main ()
49617 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49619 return 0;
49621 _ACEOF
49622 if ac_fn_cxx_try_compile "$LINENO"; then :
49623 glibcxx_cv_func__float_trig_use=yes
49624 else
49625 glibcxx_cv_func__float_trig_use=no
49627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49628 ac_ext=c
49629 ac_cpp='$CPP $CPPFLAGS'
49630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49637 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49638 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49639 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49640 do :
49641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49644 cat >>confdefs.h <<_ACEOF
49645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49646 _ACEOF
49649 done
49658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49659 $as_echo_n "checking for float round functions... " >&6; }
49660 if ${glibcxx_cv_func_float_round_use+:} false; then :
49661 $as_echo_n "(cached) " >&6
49662 else
49665 ac_ext=cpp
49666 ac_cpp='$CXXCPP $CPPFLAGS'
49667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49672 /* end confdefs.h. */
49673 #include <math.h>
49675 main ()
49677 ceilf (0); floorf (0);
49679 return 0;
49681 _ACEOF
49682 if ac_fn_cxx_try_compile "$LINENO"; then :
49683 glibcxx_cv_func_float_round_use=yes
49684 else
49685 glibcxx_cv_func_float_round_use=no
49687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49688 ac_ext=c
49689 ac_cpp='$CPP $CPPFLAGS'
49690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49697 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49698 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49699 for ac_func in ceilf floorf
49700 do :
49701 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49703 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49704 cat >>confdefs.h <<_ACEOF
49705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49706 _ACEOF
49709 done
49711 else
49712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49713 $as_echo_n "checking for _float round functions... " >&6; }
49714 if ${glibcxx_cv_func__float_round_use+:} false; then :
49715 $as_echo_n "(cached) " >&6
49716 else
49719 ac_ext=cpp
49720 ac_cpp='$CXXCPP $CPPFLAGS'
49721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49726 /* end confdefs.h. */
49727 #include <math.h>
49729 main ()
49731 _ceilf (0); _floorf (0);
49733 return 0;
49735 _ACEOF
49736 if ac_fn_cxx_try_compile "$LINENO"; then :
49737 glibcxx_cv_func__float_round_use=yes
49738 else
49739 glibcxx_cv_func__float_round_use=no
49741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49742 ac_ext=c
49743 ac_cpp='$CPP $CPPFLAGS'
49744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49751 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49752 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49753 for ac_func in _ceilf _floorf
49754 do :
49755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49757 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49758 cat >>confdefs.h <<_ACEOF
49759 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49760 _ACEOF
49763 done
49773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49774 $as_echo_n "checking for expf declaration... " >&6; }
49775 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49776 if ${glibcxx_cv_func_expf_use+:} false; then :
49777 $as_echo_n "(cached) " >&6
49778 else
49781 ac_ext=cpp
49782 ac_cpp='$CXXCPP $CPPFLAGS'
49783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49788 /* end confdefs.h. */
49789 #include <math.h>
49790 #ifdef HAVE_IEEEFP_H
49791 #include <ieeefp.h>
49792 #endif
49795 main ()
49797 expf(0);
49799 return 0;
49801 _ACEOF
49802 if ac_fn_cxx_try_compile "$LINENO"; then :
49803 glibcxx_cv_func_expf_use=yes
49804 else
49805 glibcxx_cv_func_expf_use=no
49807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49808 ac_ext=c
49809 ac_cpp='$CPP $CPPFLAGS'
49810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49819 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49821 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49822 for ac_func in expf
49823 do :
49824 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49825 if test "x$ac_cv_func_expf" = xyes; then :
49826 cat >>confdefs.h <<_ACEOF
49827 #define HAVE_EXPF 1
49828 _ACEOF
49831 done
49833 else
49835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49836 $as_echo_n "checking for _expf declaration... " >&6; }
49837 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49838 if ${glibcxx_cv_func__expf_use+:} false; then :
49839 $as_echo_n "(cached) " >&6
49840 else
49843 ac_ext=cpp
49844 ac_cpp='$CXXCPP $CPPFLAGS'
49845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49850 /* end confdefs.h. */
49851 #include <math.h>
49852 #ifdef HAVE_IEEEFP_H
49853 #include <ieeefp.h>
49854 #endif
49857 main ()
49859 _expf(0);
49861 return 0;
49863 _ACEOF
49864 if ac_fn_cxx_try_compile "$LINENO"; then :
49865 glibcxx_cv_func__expf_use=yes
49866 else
49867 glibcxx_cv_func__expf_use=no
49869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49870 ac_ext=c
49871 ac_cpp='$CPP $CPPFLAGS'
49872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49881 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49883 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49884 for ac_func in _expf
49885 do :
49886 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49887 if test "x$ac_cv_func__expf" = xyes; then :
49888 cat >>confdefs.h <<_ACEOF
49889 #define HAVE__EXPF 1
49890 _ACEOF
49893 done
49902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49903 $as_echo_n "checking for isnanf declaration... " >&6; }
49904 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49905 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49906 $as_echo_n "(cached) " >&6
49907 else
49910 ac_ext=cpp
49911 ac_cpp='$CXXCPP $CPPFLAGS'
49912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49917 /* end confdefs.h. */
49918 #include <math.h>
49919 #ifdef HAVE_IEEEFP_H
49920 #include <ieeefp.h>
49921 #endif
49924 main ()
49926 isnanf(0);
49928 return 0;
49930 _ACEOF
49931 if ac_fn_cxx_try_compile "$LINENO"; then :
49932 glibcxx_cv_func_isnanf_use=yes
49933 else
49934 glibcxx_cv_func_isnanf_use=no
49936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49937 ac_ext=c
49938 ac_cpp='$CPP $CPPFLAGS'
49939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49948 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49950 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49951 for ac_func in isnanf
49952 do :
49953 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49954 if test "x$ac_cv_func_isnanf" = xyes; then :
49955 cat >>confdefs.h <<_ACEOF
49956 #define HAVE_ISNANF 1
49957 _ACEOF
49960 done
49962 else
49964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49965 $as_echo_n "checking for _isnanf declaration... " >&6; }
49966 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49967 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49968 $as_echo_n "(cached) " >&6
49969 else
49972 ac_ext=cpp
49973 ac_cpp='$CXXCPP $CPPFLAGS'
49974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49979 /* end confdefs.h. */
49980 #include <math.h>
49981 #ifdef HAVE_IEEEFP_H
49982 #include <ieeefp.h>
49983 #endif
49986 main ()
49988 _isnanf(0);
49990 return 0;
49992 _ACEOF
49993 if ac_fn_cxx_try_compile "$LINENO"; then :
49994 glibcxx_cv_func__isnanf_use=yes
49995 else
49996 glibcxx_cv_func__isnanf_use=no
49998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49999 ac_ext=c
50000 ac_cpp='$CPP $CPPFLAGS'
50001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
50010 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
50012 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50013 for ac_func in _isnanf
50014 do :
50015 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
50016 if test "x$ac_cv_func__isnanf" = xyes; then :
50017 cat >>confdefs.h <<_ACEOF
50018 #define HAVE__ISNANF 1
50019 _ACEOF
50022 done
50031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
50032 $as_echo_n "checking for isinff declaration... " >&6; }
50033 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50034 if ${glibcxx_cv_func_isinff_use+:} false; then :
50035 $as_echo_n "(cached) " >&6
50036 else
50039 ac_ext=cpp
50040 ac_cpp='$CXXCPP $CPPFLAGS'
50041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50046 /* end confdefs.h. */
50047 #include <math.h>
50048 #ifdef HAVE_IEEEFP_H
50049 #include <ieeefp.h>
50050 #endif
50053 main ()
50055 isinff(0);
50057 return 0;
50059 _ACEOF
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061 glibcxx_cv_func_isinff_use=yes
50062 else
50063 glibcxx_cv_func_isinff_use=no
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50066 ac_ext=c
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
50077 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50079 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50080 for ac_func in isinff
50081 do :
50082 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50083 if test "x$ac_cv_func_isinff" = xyes; then :
50084 cat >>confdefs.h <<_ACEOF
50085 #define HAVE_ISINFF 1
50086 _ACEOF
50089 done
50091 else
50093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50094 $as_echo_n "checking for _isinff declaration... " >&6; }
50095 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50096 if ${glibcxx_cv_func__isinff_use+:} false; then :
50097 $as_echo_n "(cached) " >&6
50098 else
50101 ac_ext=cpp
50102 ac_cpp='$CXXCPP $CPPFLAGS'
50103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50108 /* end confdefs.h. */
50109 #include <math.h>
50110 #ifdef HAVE_IEEEFP_H
50111 #include <ieeefp.h>
50112 #endif
50115 main ()
50117 _isinff(0);
50119 return 0;
50121 _ACEOF
50122 if ac_fn_cxx_try_compile "$LINENO"; then :
50123 glibcxx_cv_func__isinff_use=yes
50124 else
50125 glibcxx_cv_func__isinff_use=no
50127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50128 ac_ext=c
50129 ac_cpp='$CPP $CPPFLAGS'
50130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50139 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50141 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50142 for ac_func in _isinff
50143 do :
50144 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50145 if test "x$ac_cv_func__isinff" = xyes; then :
50146 cat >>confdefs.h <<_ACEOF
50147 #define HAVE__ISINFF 1
50148 _ACEOF
50151 done
50160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50161 $as_echo_n "checking for atan2f declaration... " >&6; }
50162 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50163 if ${glibcxx_cv_func_atan2f_use+:} false; then :
50164 $as_echo_n "(cached) " >&6
50165 else
50168 ac_ext=cpp
50169 ac_cpp='$CXXCPP $CPPFLAGS'
50170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50175 /* end confdefs.h. */
50176 #include <math.h>
50178 main ()
50180 atan2f(0, 0);
50182 return 0;
50184 _ACEOF
50185 if ac_fn_cxx_try_compile "$LINENO"; then :
50186 glibcxx_cv_func_atan2f_use=yes
50187 else
50188 glibcxx_cv_func_atan2f_use=no
50190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50191 ac_ext=c
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
50202 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50204 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50205 for ac_func in atan2f
50206 do :
50207 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50208 if test "x$ac_cv_func_atan2f" = xyes; then :
50209 cat >>confdefs.h <<_ACEOF
50210 #define HAVE_ATAN2F 1
50211 _ACEOF
50214 done
50216 else
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50219 $as_echo_n "checking for _atan2f declaration... " >&6; }
50220 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50221 if ${glibcxx_cv_func__atan2f_use+:} false; then :
50222 $as_echo_n "(cached) " >&6
50223 else
50226 ac_ext=cpp
50227 ac_cpp='$CXXCPP $CPPFLAGS'
50228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233 /* end confdefs.h. */
50234 #include <math.h>
50236 main ()
50238 _atan2f(0, 0);
50240 return 0;
50242 _ACEOF
50243 if ac_fn_cxx_try_compile "$LINENO"; then :
50244 glibcxx_cv_func__atan2f_use=yes
50245 else
50246 glibcxx_cv_func__atan2f_use=no
50248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50249 ac_ext=c
50250 ac_cpp='$CPP $CPPFLAGS'
50251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50260 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50262 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50263 for ac_func in _atan2f
50264 do :
50265 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50266 if test "x$ac_cv_func__atan2f" = xyes; then :
50267 cat >>confdefs.h <<_ACEOF
50268 #define HAVE__ATAN2F 1
50269 _ACEOF
50272 done
50281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50282 $as_echo_n "checking for fabsf declaration... " >&6; }
50283 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50284 if ${glibcxx_cv_func_fabsf_use+:} false; then :
50285 $as_echo_n "(cached) " >&6
50286 else
50289 ac_ext=cpp
50290 ac_cpp='$CXXCPP $CPPFLAGS'
50291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50296 /* end confdefs.h. */
50297 #include <math.h>
50298 #ifdef HAVE_IEEEFP_H
50299 #include <ieeefp.h>
50300 #endif
50303 main ()
50305 fabsf(0);
50307 return 0;
50309 _ACEOF
50310 if ac_fn_cxx_try_compile "$LINENO"; then :
50311 glibcxx_cv_func_fabsf_use=yes
50312 else
50313 glibcxx_cv_func_fabsf_use=no
50315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50316 ac_ext=c
50317 ac_cpp='$CPP $CPPFLAGS'
50318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
50327 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50329 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50330 for ac_func in fabsf
50331 do :
50332 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50333 if test "x$ac_cv_func_fabsf" = xyes; then :
50334 cat >>confdefs.h <<_ACEOF
50335 #define HAVE_FABSF 1
50336 _ACEOF
50339 done
50341 else
50343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50344 $as_echo_n "checking for _fabsf declaration... " >&6; }
50345 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50346 if ${glibcxx_cv_func__fabsf_use+:} false; then :
50347 $as_echo_n "(cached) " >&6
50348 else
50351 ac_ext=cpp
50352 ac_cpp='$CXXCPP $CPPFLAGS'
50353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50358 /* end confdefs.h. */
50359 #include <math.h>
50360 #ifdef HAVE_IEEEFP_H
50361 #include <ieeefp.h>
50362 #endif
50365 main ()
50367 _fabsf(0);
50369 return 0;
50371 _ACEOF
50372 if ac_fn_cxx_try_compile "$LINENO"; then :
50373 glibcxx_cv_func__fabsf_use=yes
50374 else
50375 glibcxx_cv_func__fabsf_use=no
50377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50378 ac_ext=c
50379 ac_cpp='$CPP $CPPFLAGS'
50380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50389 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50391 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50392 for ac_func in _fabsf
50393 do :
50394 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50395 if test "x$ac_cv_func__fabsf" = xyes; then :
50396 cat >>confdefs.h <<_ACEOF
50397 #define HAVE__FABSF 1
50398 _ACEOF
50401 done
50410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50411 $as_echo_n "checking for fmodf declaration... " >&6; }
50412 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50413 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50414 $as_echo_n "(cached) " >&6
50415 else
50418 ac_ext=cpp
50419 ac_cpp='$CXXCPP $CPPFLAGS'
50420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50425 /* end confdefs.h. */
50426 #include <math.h>
50428 main ()
50430 fmodf(0, 0);
50432 return 0;
50434 _ACEOF
50435 if ac_fn_cxx_try_compile "$LINENO"; then :
50436 glibcxx_cv_func_fmodf_use=yes
50437 else
50438 glibcxx_cv_func_fmodf_use=no
50440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50441 ac_ext=c
50442 ac_cpp='$CPP $CPPFLAGS'
50443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50452 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50454 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50455 for ac_func in fmodf
50456 do :
50457 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50458 if test "x$ac_cv_func_fmodf" = xyes; then :
50459 cat >>confdefs.h <<_ACEOF
50460 #define HAVE_FMODF 1
50461 _ACEOF
50464 done
50466 else
50468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50469 $as_echo_n "checking for _fmodf declaration... " >&6; }
50470 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50471 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50472 $as_echo_n "(cached) " >&6
50473 else
50476 ac_ext=cpp
50477 ac_cpp='$CXXCPP $CPPFLAGS'
50478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50483 /* end confdefs.h. */
50484 #include <math.h>
50486 main ()
50488 _fmodf(0, 0);
50490 return 0;
50492 _ACEOF
50493 if ac_fn_cxx_try_compile "$LINENO"; then :
50494 glibcxx_cv_func__fmodf_use=yes
50495 else
50496 glibcxx_cv_func__fmodf_use=no
50498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50499 ac_ext=c
50500 ac_cpp='$CPP $CPPFLAGS'
50501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50510 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50512 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50513 for ac_func in _fmodf
50514 do :
50515 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50516 if test "x$ac_cv_func__fmodf" = xyes; then :
50517 cat >>confdefs.h <<_ACEOF
50518 #define HAVE__FMODF 1
50519 _ACEOF
50522 done
50531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50532 $as_echo_n "checking for frexpf declaration... " >&6; }
50533 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50534 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50535 $as_echo_n "(cached) " >&6
50536 else
50539 ac_ext=cpp
50540 ac_cpp='$CXXCPP $CPPFLAGS'
50541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50546 /* end confdefs.h. */
50547 #include <math.h>
50549 main ()
50551 frexpf(0, 0);
50553 return 0;
50555 _ACEOF
50556 if ac_fn_cxx_try_compile "$LINENO"; then :
50557 glibcxx_cv_func_frexpf_use=yes
50558 else
50559 glibcxx_cv_func_frexpf_use=no
50561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50562 ac_ext=c
50563 ac_cpp='$CPP $CPPFLAGS'
50564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50573 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50575 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50576 for ac_func in frexpf
50577 do :
50578 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50579 if test "x$ac_cv_func_frexpf" = xyes; then :
50580 cat >>confdefs.h <<_ACEOF
50581 #define HAVE_FREXPF 1
50582 _ACEOF
50585 done
50587 else
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50590 $as_echo_n "checking for _frexpf declaration... " >&6; }
50591 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50592 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50593 $as_echo_n "(cached) " >&6
50594 else
50597 ac_ext=cpp
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604 /* end confdefs.h. */
50605 #include <math.h>
50607 main ()
50609 _frexpf(0, 0);
50611 return 0;
50613 _ACEOF
50614 if ac_fn_cxx_try_compile "$LINENO"; then :
50615 glibcxx_cv_func__frexpf_use=yes
50616 else
50617 glibcxx_cv_func__frexpf_use=no
50619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50620 ac_ext=c
50621 ac_cpp='$CPP $CPPFLAGS'
50622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50631 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50633 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50634 for ac_func in _frexpf
50635 do :
50636 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50637 if test "x$ac_cv_func__frexpf" = xyes; then :
50638 cat >>confdefs.h <<_ACEOF
50639 #define HAVE__FREXPF 1
50640 _ACEOF
50643 done
50652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50653 $as_echo_n "checking for hypotf declaration... " >&6; }
50654 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50655 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50656 $as_echo_n "(cached) " >&6
50657 else
50660 ac_ext=cpp
50661 ac_cpp='$CXXCPP $CPPFLAGS'
50662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50667 /* end confdefs.h. */
50668 #include <math.h>
50670 main ()
50672 hypotf(0, 0);
50674 return 0;
50676 _ACEOF
50677 if ac_fn_cxx_try_compile "$LINENO"; then :
50678 glibcxx_cv_func_hypotf_use=yes
50679 else
50680 glibcxx_cv_func_hypotf_use=no
50682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50683 ac_ext=c
50684 ac_cpp='$CPP $CPPFLAGS'
50685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50694 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50696 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50697 for ac_func in hypotf
50698 do :
50699 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50700 if test "x$ac_cv_func_hypotf" = xyes; then :
50701 cat >>confdefs.h <<_ACEOF
50702 #define HAVE_HYPOTF 1
50703 _ACEOF
50706 done
50708 else
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50711 $as_echo_n "checking for _hypotf declaration... " >&6; }
50712 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50713 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50714 $as_echo_n "(cached) " >&6
50715 else
50718 ac_ext=cpp
50719 ac_cpp='$CXXCPP $CPPFLAGS'
50720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50725 /* end confdefs.h. */
50726 #include <math.h>
50728 main ()
50730 _hypotf(0, 0);
50732 return 0;
50734 _ACEOF
50735 if ac_fn_cxx_try_compile "$LINENO"; then :
50736 glibcxx_cv_func__hypotf_use=yes
50737 else
50738 glibcxx_cv_func__hypotf_use=no
50740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50741 ac_ext=c
50742 ac_cpp='$CPP $CPPFLAGS'
50743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50752 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50754 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50755 for ac_func in _hypotf
50756 do :
50757 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50758 if test "x$ac_cv_func__hypotf" = xyes; then :
50759 cat >>confdefs.h <<_ACEOF
50760 #define HAVE__HYPOTF 1
50761 _ACEOF
50764 done
50773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50774 $as_echo_n "checking for ldexpf declaration... " >&6; }
50775 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50776 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50777 $as_echo_n "(cached) " >&6
50778 else
50781 ac_ext=cpp
50782 ac_cpp='$CXXCPP $CPPFLAGS'
50783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50788 /* end confdefs.h. */
50789 #include <math.h>
50791 main ()
50793 ldexpf(0, 0);
50795 return 0;
50797 _ACEOF
50798 if ac_fn_cxx_try_compile "$LINENO"; then :
50799 glibcxx_cv_func_ldexpf_use=yes
50800 else
50801 glibcxx_cv_func_ldexpf_use=no
50803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50804 ac_ext=c
50805 ac_cpp='$CPP $CPPFLAGS'
50806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50815 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50817 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50818 for ac_func in ldexpf
50819 do :
50820 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50821 if test "x$ac_cv_func_ldexpf" = xyes; then :
50822 cat >>confdefs.h <<_ACEOF
50823 #define HAVE_LDEXPF 1
50824 _ACEOF
50827 done
50829 else
50831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50832 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50833 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50834 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50835 $as_echo_n "(cached) " >&6
50836 else
50839 ac_ext=cpp
50840 ac_cpp='$CXXCPP $CPPFLAGS'
50841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50846 /* end confdefs.h. */
50847 #include <math.h>
50849 main ()
50851 _ldexpf(0, 0);
50853 return 0;
50855 _ACEOF
50856 if ac_fn_cxx_try_compile "$LINENO"; then :
50857 glibcxx_cv_func__ldexpf_use=yes
50858 else
50859 glibcxx_cv_func__ldexpf_use=no
50861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50862 ac_ext=c
50863 ac_cpp='$CPP $CPPFLAGS'
50864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50873 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50875 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50876 for ac_func in _ldexpf
50877 do :
50878 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50879 if test "x$ac_cv_func__ldexpf" = xyes; then :
50880 cat >>confdefs.h <<_ACEOF
50881 #define HAVE__LDEXPF 1
50882 _ACEOF
50885 done
50894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50895 $as_echo_n "checking for logf declaration... " >&6; }
50896 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50897 if ${glibcxx_cv_func_logf_use+:} false; then :
50898 $as_echo_n "(cached) " >&6
50899 else
50902 ac_ext=cpp
50903 ac_cpp='$CXXCPP $CPPFLAGS'
50904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50909 /* end confdefs.h. */
50910 #include <math.h>
50911 #ifdef HAVE_IEEEFP_H
50912 #include <ieeefp.h>
50913 #endif
50916 main ()
50918 logf(0);
50920 return 0;
50922 _ACEOF
50923 if ac_fn_cxx_try_compile "$LINENO"; then :
50924 glibcxx_cv_func_logf_use=yes
50925 else
50926 glibcxx_cv_func_logf_use=no
50928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50929 ac_ext=c
50930 ac_cpp='$CPP $CPPFLAGS'
50931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50940 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50942 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50943 for ac_func in logf
50944 do :
50945 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50946 if test "x$ac_cv_func_logf" = xyes; then :
50947 cat >>confdefs.h <<_ACEOF
50948 #define HAVE_LOGF 1
50949 _ACEOF
50952 done
50954 else
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50957 $as_echo_n "checking for _logf declaration... " >&6; }
50958 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50959 if ${glibcxx_cv_func__logf_use+:} false; then :
50960 $as_echo_n "(cached) " >&6
50961 else
50964 ac_ext=cpp
50965 ac_cpp='$CXXCPP $CPPFLAGS'
50966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50971 /* end confdefs.h. */
50972 #include <math.h>
50973 #ifdef HAVE_IEEEFP_H
50974 #include <ieeefp.h>
50975 #endif
50978 main ()
50980 _logf(0);
50982 return 0;
50984 _ACEOF
50985 if ac_fn_cxx_try_compile "$LINENO"; then :
50986 glibcxx_cv_func__logf_use=yes
50987 else
50988 glibcxx_cv_func__logf_use=no
50990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50991 ac_ext=c
50992 ac_cpp='$CPP $CPPFLAGS'
50993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
51002 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
51004 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51005 for ac_func in _logf
51006 do :
51007 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
51008 if test "x$ac_cv_func__logf" = xyes; then :
51009 cat >>confdefs.h <<_ACEOF
51010 #define HAVE__LOGF 1
51011 _ACEOF
51014 done
51023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
51024 $as_echo_n "checking for log10f declaration... " >&6; }
51025 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51026 if ${glibcxx_cv_func_log10f_use+:} false; then :
51027 $as_echo_n "(cached) " >&6
51028 else
51031 ac_ext=cpp
51032 ac_cpp='$CXXCPP $CPPFLAGS'
51033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51038 /* end confdefs.h. */
51039 #include <math.h>
51040 #ifdef HAVE_IEEEFP_H
51041 #include <ieeefp.h>
51042 #endif
51045 main ()
51047 log10f(0);
51049 return 0;
51051 _ACEOF
51052 if ac_fn_cxx_try_compile "$LINENO"; then :
51053 glibcxx_cv_func_log10f_use=yes
51054 else
51055 glibcxx_cv_func_log10f_use=no
51057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51058 ac_ext=c
51059 ac_cpp='$CPP $CPPFLAGS'
51060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
51069 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
51071 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51072 for ac_func in log10f
51073 do :
51074 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
51075 if test "x$ac_cv_func_log10f" = xyes; then :
51076 cat >>confdefs.h <<_ACEOF
51077 #define HAVE_LOG10F 1
51078 _ACEOF
51081 done
51083 else
51085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51086 $as_echo_n "checking for _log10f declaration... " >&6; }
51087 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51088 if ${glibcxx_cv_func__log10f_use+:} false; then :
51089 $as_echo_n "(cached) " >&6
51090 else
51093 ac_ext=cpp
51094 ac_cpp='$CXXCPP $CPPFLAGS'
51095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51100 /* end confdefs.h. */
51101 #include <math.h>
51102 #ifdef HAVE_IEEEFP_H
51103 #include <ieeefp.h>
51104 #endif
51107 main ()
51109 _log10f(0);
51111 return 0;
51113 _ACEOF
51114 if ac_fn_cxx_try_compile "$LINENO"; then :
51115 glibcxx_cv_func__log10f_use=yes
51116 else
51117 glibcxx_cv_func__log10f_use=no
51119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51120 ac_ext=c
51121 ac_cpp='$CPP $CPPFLAGS'
51122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51131 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51133 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51134 for ac_func in _log10f
51135 do :
51136 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51137 if test "x$ac_cv_func__log10f" = xyes; then :
51138 cat >>confdefs.h <<_ACEOF
51139 #define HAVE__LOG10F 1
51140 _ACEOF
51143 done
51152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51153 $as_echo_n "checking for modff declaration... " >&6; }
51154 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51155 if ${glibcxx_cv_func_modff_use+:} false; then :
51156 $as_echo_n "(cached) " >&6
51157 else
51160 ac_ext=cpp
51161 ac_cpp='$CXXCPP $CPPFLAGS'
51162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51167 /* end confdefs.h. */
51168 #include <math.h>
51170 main ()
51172 modff(0, 0);
51174 return 0;
51176 _ACEOF
51177 if ac_fn_cxx_try_compile "$LINENO"; then :
51178 glibcxx_cv_func_modff_use=yes
51179 else
51180 glibcxx_cv_func_modff_use=no
51182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51183 ac_ext=c
51184 ac_cpp='$CPP $CPPFLAGS'
51185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51194 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
51196 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51197 for ac_func in modff
51198 do :
51199 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51200 if test "x$ac_cv_func_modff" = xyes; then :
51201 cat >>confdefs.h <<_ACEOF
51202 #define HAVE_MODFF 1
51203 _ACEOF
51206 done
51208 else
51210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51211 $as_echo_n "checking for _modff declaration... " >&6; }
51212 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51213 if ${glibcxx_cv_func__modff_use+:} false; then :
51214 $as_echo_n "(cached) " >&6
51215 else
51218 ac_ext=cpp
51219 ac_cpp='$CXXCPP $CPPFLAGS'
51220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51225 /* end confdefs.h. */
51226 #include <math.h>
51228 main ()
51230 _modff(0, 0);
51232 return 0;
51234 _ACEOF
51235 if ac_fn_cxx_try_compile "$LINENO"; then :
51236 glibcxx_cv_func__modff_use=yes
51237 else
51238 glibcxx_cv_func__modff_use=no
51240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51241 ac_ext=c
51242 ac_cpp='$CPP $CPPFLAGS'
51243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51252 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
51254 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51255 for ac_func in _modff
51256 do :
51257 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51258 if test "x$ac_cv_func__modff" = xyes; then :
51259 cat >>confdefs.h <<_ACEOF
51260 #define HAVE__MODFF 1
51261 _ACEOF
51264 done
51273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51274 $as_echo_n "checking for modf declaration... " >&6; }
51275 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51276 if ${glibcxx_cv_func_modf_use+:} false; then :
51277 $as_echo_n "(cached) " >&6
51278 else
51281 ac_ext=cpp
51282 ac_cpp='$CXXCPP $CPPFLAGS'
51283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51288 /* end confdefs.h. */
51289 #include <math.h>
51291 main ()
51293 modf(0, 0);
51295 return 0;
51297 _ACEOF
51298 if ac_fn_cxx_try_compile "$LINENO"; then :
51299 glibcxx_cv_func_modf_use=yes
51300 else
51301 glibcxx_cv_func_modf_use=no
51303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51304 ac_ext=c
51305 ac_cpp='$CPP $CPPFLAGS'
51306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51315 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
51317 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51318 for ac_func in modf
51319 do :
51320 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51321 if test "x$ac_cv_func_modf" = xyes; then :
51322 cat >>confdefs.h <<_ACEOF
51323 #define HAVE_MODF 1
51324 _ACEOF
51327 done
51329 else
51331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51332 $as_echo_n "checking for _modf declaration... " >&6; }
51333 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51334 if ${glibcxx_cv_func__modf_use+:} false; then :
51335 $as_echo_n "(cached) " >&6
51336 else
51339 ac_ext=cpp
51340 ac_cpp='$CXXCPP $CPPFLAGS'
51341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51346 /* end confdefs.h. */
51347 #include <math.h>
51349 main ()
51351 _modf(0, 0);
51353 return 0;
51355 _ACEOF
51356 if ac_fn_cxx_try_compile "$LINENO"; then :
51357 glibcxx_cv_func__modf_use=yes
51358 else
51359 glibcxx_cv_func__modf_use=no
51361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51362 ac_ext=c
51363 ac_cpp='$CPP $CPPFLAGS'
51364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51373 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51375 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51376 for ac_func in _modf
51377 do :
51378 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51379 if test "x$ac_cv_func__modf" = xyes; then :
51380 cat >>confdefs.h <<_ACEOF
51381 #define HAVE__MODF 1
51382 _ACEOF
51385 done
51394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51395 $as_echo_n "checking for powf declaration... " >&6; }
51396 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51397 if ${glibcxx_cv_func_powf_use+:} false; then :
51398 $as_echo_n "(cached) " >&6
51399 else
51402 ac_ext=cpp
51403 ac_cpp='$CXXCPP $CPPFLAGS'
51404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51409 /* end confdefs.h. */
51410 #include <math.h>
51412 main ()
51414 powf(0, 0);
51416 return 0;
51418 _ACEOF
51419 if ac_fn_cxx_try_compile "$LINENO"; then :
51420 glibcxx_cv_func_powf_use=yes
51421 else
51422 glibcxx_cv_func_powf_use=no
51424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51425 ac_ext=c
51426 ac_cpp='$CPP $CPPFLAGS'
51427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51436 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51438 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51439 for ac_func in powf
51440 do :
51441 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51442 if test "x$ac_cv_func_powf" = xyes; then :
51443 cat >>confdefs.h <<_ACEOF
51444 #define HAVE_POWF 1
51445 _ACEOF
51448 done
51450 else
51452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51453 $as_echo_n "checking for _powf declaration... " >&6; }
51454 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51455 if ${glibcxx_cv_func__powf_use+:} false; then :
51456 $as_echo_n "(cached) " >&6
51457 else
51460 ac_ext=cpp
51461 ac_cpp='$CXXCPP $CPPFLAGS'
51462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51467 /* end confdefs.h. */
51468 #include <math.h>
51470 main ()
51472 _powf(0, 0);
51474 return 0;
51476 _ACEOF
51477 if ac_fn_cxx_try_compile "$LINENO"; then :
51478 glibcxx_cv_func__powf_use=yes
51479 else
51480 glibcxx_cv_func__powf_use=no
51482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51483 ac_ext=c
51484 ac_cpp='$CPP $CPPFLAGS'
51485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51494 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51496 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51497 for ac_func in _powf
51498 do :
51499 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51500 if test "x$ac_cv_func__powf" = xyes; then :
51501 cat >>confdefs.h <<_ACEOF
51502 #define HAVE__POWF 1
51503 _ACEOF
51506 done
51515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51516 $as_echo_n "checking for sqrtf declaration... " >&6; }
51517 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51518 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51519 $as_echo_n "(cached) " >&6
51520 else
51523 ac_ext=cpp
51524 ac_cpp='$CXXCPP $CPPFLAGS'
51525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51530 /* end confdefs.h. */
51531 #include <math.h>
51532 #ifdef HAVE_IEEEFP_H
51533 #include <ieeefp.h>
51534 #endif
51537 main ()
51539 sqrtf(0);
51541 return 0;
51543 _ACEOF
51544 if ac_fn_cxx_try_compile "$LINENO"; then :
51545 glibcxx_cv_func_sqrtf_use=yes
51546 else
51547 glibcxx_cv_func_sqrtf_use=no
51549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51550 ac_ext=c
51551 ac_cpp='$CPP $CPPFLAGS'
51552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51561 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51563 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51564 for ac_func in sqrtf
51565 do :
51566 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51567 if test "x$ac_cv_func_sqrtf" = xyes; then :
51568 cat >>confdefs.h <<_ACEOF
51569 #define HAVE_SQRTF 1
51570 _ACEOF
51573 done
51575 else
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51578 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51579 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51580 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51581 $as_echo_n "(cached) " >&6
51582 else
51585 ac_ext=cpp
51586 ac_cpp='$CXXCPP $CPPFLAGS'
51587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51592 /* end confdefs.h. */
51593 #include <math.h>
51594 #ifdef HAVE_IEEEFP_H
51595 #include <ieeefp.h>
51596 #endif
51599 main ()
51601 _sqrtf(0);
51603 return 0;
51605 _ACEOF
51606 if ac_fn_cxx_try_compile "$LINENO"; then :
51607 glibcxx_cv_func__sqrtf_use=yes
51608 else
51609 glibcxx_cv_func__sqrtf_use=no
51611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51612 ac_ext=c
51613 ac_cpp='$CPP $CPPFLAGS'
51614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51623 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51625 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51626 for ac_func in _sqrtf
51627 do :
51628 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51629 if test "x$ac_cv_func__sqrtf" = xyes; then :
51630 cat >>confdefs.h <<_ACEOF
51631 #define HAVE__SQRTF 1
51632 _ACEOF
51635 done
51644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51645 $as_echo_n "checking for sincosf declaration... " >&6; }
51646 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51647 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51648 $as_echo_n "(cached) " >&6
51649 else
51652 ac_ext=cpp
51653 ac_cpp='$CXXCPP $CPPFLAGS'
51654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51659 /* end confdefs.h. */
51660 #include <math.h>
51662 main ()
51664 sincosf(0, 0, 0);
51666 return 0;
51668 _ACEOF
51669 if ac_fn_cxx_try_compile "$LINENO"; then :
51670 glibcxx_cv_func_sincosf_use=yes
51671 else
51672 glibcxx_cv_func_sincosf_use=no
51674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51675 ac_ext=c
51676 ac_cpp='$CPP $CPPFLAGS'
51677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51686 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51688 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51689 for ac_func in sincosf
51690 do :
51691 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51692 if test "x$ac_cv_func_sincosf" = xyes; then :
51693 cat >>confdefs.h <<_ACEOF
51694 #define HAVE_SINCOSF 1
51695 _ACEOF
51698 done
51700 else
51702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51703 $as_echo_n "checking for _sincosf declaration... " >&6; }
51704 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51705 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51706 $as_echo_n "(cached) " >&6
51707 else
51710 ac_ext=cpp
51711 ac_cpp='$CXXCPP $CPPFLAGS'
51712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51717 /* end confdefs.h. */
51718 #include <math.h>
51720 main ()
51722 _sincosf(0, 0, 0);
51724 return 0;
51726 _ACEOF
51727 if ac_fn_cxx_try_compile "$LINENO"; then :
51728 glibcxx_cv_func__sincosf_use=yes
51729 else
51730 glibcxx_cv_func__sincosf_use=no
51732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51733 ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51744 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51746 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51747 for ac_func in _sincosf
51748 do :
51749 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51750 if test "x$ac_cv_func__sincosf" = xyes; then :
51751 cat >>confdefs.h <<_ACEOF
51752 #define HAVE__SINCOSF 1
51753 _ACEOF
51756 done
51765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51766 $as_echo_n "checking for finitef declaration... " >&6; }
51767 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51768 if ${glibcxx_cv_func_finitef_use+:} false; then :
51769 $as_echo_n "(cached) " >&6
51770 else
51773 ac_ext=cpp
51774 ac_cpp='$CXXCPP $CPPFLAGS'
51775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51780 /* end confdefs.h. */
51781 #include <math.h>
51782 #ifdef HAVE_IEEEFP_H
51783 #include <ieeefp.h>
51784 #endif
51787 main ()
51789 finitef(0);
51791 return 0;
51793 _ACEOF
51794 if ac_fn_cxx_try_compile "$LINENO"; then :
51795 glibcxx_cv_func_finitef_use=yes
51796 else
51797 glibcxx_cv_func_finitef_use=no
51799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51800 ac_ext=c
51801 ac_cpp='$CPP $CPPFLAGS'
51802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51811 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51813 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51814 for ac_func in finitef
51815 do :
51816 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51817 if test "x$ac_cv_func_finitef" = xyes; then :
51818 cat >>confdefs.h <<_ACEOF
51819 #define HAVE_FINITEF 1
51820 _ACEOF
51823 done
51825 else
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51828 $as_echo_n "checking for _finitef declaration... " >&6; }
51829 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51830 if ${glibcxx_cv_func__finitef_use+:} false; then :
51831 $as_echo_n "(cached) " >&6
51832 else
51835 ac_ext=cpp
51836 ac_cpp='$CXXCPP $CPPFLAGS'
51837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51842 /* end confdefs.h. */
51843 #include <math.h>
51844 #ifdef HAVE_IEEEFP_H
51845 #include <ieeefp.h>
51846 #endif
51849 main ()
51851 _finitef(0);
51853 return 0;
51855 _ACEOF
51856 if ac_fn_cxx_try_compile "$LINENO"; then :
51857 glibcxx_cv_func__finitef_use=yes
51858 else
51859 glibcxx_cv_func__finitef_use=no
51861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51862 ac_ext=c
51863 ac_cpp='$CPP $CPPFLAGS'
51864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51873 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51875 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51876 for ac_func in _finitef
51877 do :
51878 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51879 if test "x$ac_cv_func__finitef" = xyes; then :
51880 cat >>confdefs.h <<_ACEOF
51881 #define HAVE__FINITEF 1
51882 _ACEOF
51885 done
51894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51895 $as_echo_n "checking for long double trig functions... " >&6; }
51896 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51897 $as_echo_n "(cached) " >&6
51898 else
51901 ac_ext=cpp
51902 ac_cpp='$CXXCPP $CPPFLAGS'
51903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51908 /* end confdefs.h. */
51909 #include <math.h>
51911 main ()
51913 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51915 return 0;
51917 _ACEOF
51918 if ac_fn_cxx_try_compile "$LINENO"; then :
51919 glibcxx_cv_func_long_double_trig_use=yes
51920 else
51921 glibcxx_cv_func_long_double_trig_use=no
51923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51924 ac_ext=c
51925 ac_cpp='$CPP $CPPFLAGS'
51926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51933 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51934 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51935 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51936 do :
51937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51939 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51940 cat >>confdefs.h <<_ACEOF
51941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51942 _ACEOF
51945 done
51947 else
51948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51949 $as_echo_n "checking for _long double trig functions... " >&6; }
51950 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51951 $as_echo_n "(cached) " >&6
51952 else
51955 ac_ext=cpp
51956 ac_cpp='$CXXCPP $CPPFLAGS'
51957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51962 /* end confdefs.h. */
51963 #include <math.h>
51965 main ()
51967 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51969 return 0;
51971 _ACEOF
51972 if ac_fn_cxx_try_compile "$LINENO"; then :
51973 glibcxx_cv_func__long_double_trig_use=yes
51974 else
51975 glibcxx_cv_func__long_double_trig_use=no
51977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51978 ac_ext=c
51979 ac_cpp='$CPP $CPPFLAGS'
51980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51987 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51988 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51989 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51990 do :
51991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51994 cat >>confdefs.h <<_ACEOF
51995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51996 _ACEOF
51999 done
52008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
52009 $as_echo_n "checking for long double round functions... " >&6; }
52010 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
52011 $as_echo_n "(cached) " >&6
52012 else
52015 ac_ext=cpp
52016 ac_cpp='$CXXCPP $CPPFLAGS'
52017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52022 /* end confdefs.h. */
52023 #include <math.h>
52025 main ()
52027 ceill (0); floorl (0);
52029 return 0;
52031 _ACEOF
52032 if ac_fn_cxx_try_compile "$LINENO"; then :
52033 glibcxx_cv_func_long_double_round_use=yes
52034 else
52035 glibcxx_cv_func_long_double_round_use=no
52037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52038 ac_ext=c
52039 ac_cpp='$CPP $CPPFLAGS'
52040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
52047 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
52048 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52049 for ac_func in ceill floorl
52050 do :
52051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52053 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52054 cat >>confdefs.h <<_ACEOF
52055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52056 _ACEOF
52059 done
52061 else
52062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
52063 $as_echo_n "checking for _long double round functions... " >&6; }
52064 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
52065 $as_echo_n "(cached) " >&6
52066 else
52069 ac_ext=cpp
52070 ac_cpp='$CXXCPP $CPPFLAGS'
52071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52076 /* end confdefs.h. */
52077 #include <math.h>
52079 main ()
52081 _ceill (0); _floorl (0);
52083 return 0;
52085 _ACEOF
52086 if ac_fn_cxx_try_compile "$LINENO"; then :
52087 glibcxx_cv_func__long_double_round_use=yes
52088 else
52089 glibcxx_cv_func__long_double_round_use=no
52091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52092 ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52101 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52102 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52103 for ac_func in _ceill _floorl
52104 do :
52105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52108 cat >>confdefs.h <<_ACEOF
52109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52110 _ACEOF
52113 done
52123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52124 $as_echo_n "checking for isnanl declaration... " >&6; }
52125 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52126 if ${glibcxx_cv_func_isnanl_use+:} false; then :
52127 $as_echo_n "(cached) " >&6
52128 else
52131 ac_ext=cpp
52132 ac_cpp='$CXXCPP $CPPFLAGS'
52133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52138 /* end confdefs.h. */
52139 #include <math.h>
52140 #ifdef HAVE_IEEEFP_H
52141 #include <ieeefp.h>
52142 #endif
52145 main ()
52147 isnanl(0);
52149 return 0;
52151 _ACEOF
52152 if ac_fn_cxx_try_compile "$LINENO"; then :
52153 glibcxx_cv_func_isnanl_use=yes
52154 else
52155 glibcxx_cv_func_isnanl_use=no
52157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52158 ac_ext=c
52159 ac_cpp='$CPP $CPPFLAGS'
52160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52169 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52171 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52172 for ac_func in isnanl
52173 do :
52174 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52175 if test "x$ac_cv_func_isnanl" = xyes; then :
52176 cat >>confdefs.h <<_ACEOF
52177 #define HAVE_ISNANL 1
52178 _ACEOF
52181 done
52183 else
52185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52186 $as_echo_n "checking for _isnanl declaration... " >&6; }
52187 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52188 if ${glibcxx_cv_func__isnanl_use+:} false; then :
52189 $as_echo_n "(cached) " >&6
52190 else
52193 ac_ext=cpp
52194 ac_cpp='$CXXCPP $CPPFLAGS'
52195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52200 /* end confdefs.h. */
52201 #include <math.h>
52202 #ifdef HAVE_IEEEFP_H
52203 #include <ieeefp.h>
52204 #endif
52207 main ()
52209 _isnanl(0);
52211 return 0;
52213 _ACEOF
52214 if ac_fn_cxx_try_compile "$LINENO"; then :
52215 glibcxx_cv_func__isnanl_use=yes
52216 else
52217 glibcxx_cv_func__isnanl_use=no
52219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52220 ac_ext=c
52221 ac_cpp='$CPP $CPPFLAGS'
52222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52231 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52233 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52234 for ac_func in _isnanl
52235 do :
52236 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52237 if test "x$ac_cv_func__isnanl" = xyes; then :
52238 cat >>confdefs.h <<_ACEOF
52239 #define HAVE__ISNANL 1
52240 _ACEOF
52243 done
52252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52253 $as_echo_n "checking for isinfl declaration... " >&6; }
52254 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52255 if ${glibcxx_cv_func_isinfl_use+:} false; then :
52256 $as_echo_n "(cached) " >&6
52257 else
52260 ac_ext=cpp
52261 ac_cpp='$CXXCPP $CPPFLAGS'
52262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52267 /* end confdefs.h. */
52268 #include <math.h>
52269 #ifdef HAVE_IEEEFP_H
52270 #include <ieeefp.h>
52271 #endif
52274 main ()
52276 isinfl(0);
52278 return 0;
52280 _ACEOF
52281 if ac_fn_cxx_try_compile "$LINENO"; then :
52282 glibcxx_cv_func_isinfl_use=yes
52283 else
52284 glibcxx_cv_func_isinfl_use=no
52286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52287 ac_ext=c
52288 ac_cpp='$CPP $CPPFLAGS'
52289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
52298 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52300 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52301 for ac_func in isinfl
52302 do :
52303 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52304 if test "x$ac_cv_func_isinfl" = xyes; then :
52305 cat >>confdefs.h <<_ACEOF
52306 #define HAVE_ISINFL 1
52307 _ACEOF
52310 done
52312 else
52314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52315 $as_echo_n "checking for _isinfl declaration... " >&6; }
52316 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52317 if ${glibcxx_cv_func__isinfl_use+:} false; then :
52318 $as_echo_n "(cached) " >&6
52319 else
52322 ac_ext=cpp
52323 ac_cpp='$CXXCPP $CPPFLAGS'
52324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52329 /* end confdefs.h. */
52330 #include <math.h>
52331 #ifdef HAVE_IEEEFP_H
52332 #include <ieeefp.h>
52333 #endif
52336 main ()
52338 _isinfl(0);
52340 return 0;
52342 _ACEOF
52343 if ac_fn_cxx_try_compile "$LINENO"; then :
52344 glibcxx_cv_func__isinfl_use=yes
52345 else
52346 glibcxx_cv_func__isinfl_use=no
52348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52349 ac_ext=c
52350 ac_cpp='$CPP $CPPFLAGS'
52351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52360 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52362 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52363 for ac_func in _isinfl
52364 do :
52365 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52366 if test "x$ac_cv_func__isinfl" = xyes; then :
52367 cat >>confdefs.h <<_ACEOF
52368 #define HAVE__ISINFL 1
52369 _ACEOF
52372 done
52381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52382 $as_echo_n "checking for atan2l declaration... " >&6; }
52383 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52384 if ${glibcxx_cv_func_atan2l_use+:} false; then :
52385 $as_echo_n "(cached) " >&6
52386 else
52389 ac_ext=cpp
52390 ac_cpp='$CXXCPP $CPPFLAGS'
52391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52396 /* end confdefs.h. */
52397 #include <math.h>
52399 main ()
52401 atan2l(0, 0);
52403 return 0;
52405 _ACEOF
52406 if ac_fn_cxx_try_compile "$LINENO"; then :
52407 glibcxx_cv_func_atan2l_use=yes
52408 else
52409 glibcxx_cv_func_atan2l_use=no
52411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52412 ac_ext=c
52413 ac_cpp='$CPP $CPPFLAGS'
52414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52423 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52425 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52426 for ac_func in atan2l
52427 do :
52428 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52429 if test "x$ac_cv_func_atan2l" = xyes; then :
52430 cat >>confdefs.h <<_ACEOF
52431 #define HAVE_ATAN2L 1
52432 _ACEOF
52435 done
52437 else
52439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52440 $as_echo_n "checking for _atan2l declaration... " >&6; }
52441 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52442 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52443 $as_echo_n "(cached) " >&6
52444 else
52447 ac_ext=cpp
52448 ac_cpp='$CXXCPP $CPPFLAGS'
52449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454 /* end confdefs.h. */
52455 #include <math.h>
52457 main ()
52459 _atan2l(0, 0);
52461 return 0;
52463 _ACEOF
52464 if ac_fn_cxx_try_compile "$LINENO"; then :
52465 glibcxx_cv_func__atan2l_use=yes
52466 else
52467 glibcxx_cv_func__atan2l_use=no
52469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52470 ac_ext=c
52471 ac_cpp='$CPP $CPPFLAGS'
52472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52481 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52483 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52484 for ac_func in _atan2l
52485 do :
52486 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52487 if test "x$ac_cv_func__atan2l" = xyes; then :
52488 cat >>confdefs.h <<_ACEOF
52489 #define HAVE__ATAN2L 1
52490 _ACEOF
52493 done
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52503 $as_echo_n "checking for expl declaration... " >&6; }
52504 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52505 if ${glibcxx_cv_func_expl_use+:} false; then :
52506 $as_echo_n "(cached) " >&6
52507 else
52510 ac_ext=cpp
52511 ac_cpp='$CXXCPP $CPPFLAGS'
52512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52517 /* end confdefs.h. */
52518 #include <math.h>
52519 #ifdef HAVE_IEEEFP_H
52520 #include <ieeefp.h>
52521 #endif
52524 main ()
52526 expl(0);
52528 return 0;
52530 _ACEOF
52531 if ac_fn_cxx_try_compile "$LINENO"; then :
52532 glibcxx_cv_func_expl_use=yes
52533 else
52534 glibcxx_cv_func_expl_use=no
52536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52537 ac_ext=c
52538 ac_cpp='$CPP $CPPFLAGS'
52539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52548 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52550 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52551 for ac_func in expl
52552 do :
52553 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52554 if test "x$ac_cv_func_expl" = xyes; then :
52555 cat >>confdefs.h <<_ACEOF
52556 #define HAVE_EXPL 1
52557 _ACEOF
52560 done
52562 else
52564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52565 $as_echo_n "checking for _expl declaration... " >&6; }
52566 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52567 if ${glibcxx_cv_func__expl_use+:} false; then :
52568 $as_echo_n "(cached) " >&6
52569 else
52572 ac_ext=cpp
52573 ac_cpp='$CXXCPP $CPPFLAGS'
52574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52579 /* end confdefs.h. */
52580 #include <math.h>
52581 #ifdef HAVE_IEEEFP_H
52582 #include <ieeefp.h>
52583 #endif
52586 main ()
52588 _expl(0);
52590 return 0;
52592 _ACEOF
52593 if ac_fn_cxx_try_compile "$LINENO"; then :
52594 glibcxx_cv_func__expl_use=yes
52595 else
52596 glibcxx_cv_func__expl_use=no
52598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52599 ac_ext=c
52600 ac_cpp='$CPP $CPPFLAGS'
52601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52610 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52612 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52613 for ac_func in _expl
52614 do :
52615 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52616 if test "x$ac_cv_func__expl" = xyes; then :
52617 cat >>confdefs.h <<_ACEOF
52618 #define HAVE__EXPL 1
52619 _ACEOF
52622 done
52631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52632 $as_echo_n "checking for fabsl declaration... " >&6; }
52633 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52634 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52635 $as_echo_n "(cached) " >&6
52636 else
52639 ac_ext=cpp
52640 ac_cpp='$CXXCPP $CPPFLAGS'
52641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52646 /* end confdefs.h. */
52647 #include <math.h>
52648 #ifdef HAVE_IEEEFP_H
52649 #include <ieeefp.h>
52650 #endif
52653 main ()
52655 fabsl(0);
52657 return 0;
52659 _ACEOF
52660 if ac_fn_cxx_try_compile "$LINENO"; then :
52661 glibcxx_cv_func_fabsl_use=yes
52662 else
52663 glibcxx_cv_func_fabsl_use=no
52665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52666 ac_ext=c
52667 ac_cpp='$CPP $CPPFLAGS'
52668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52677 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52679 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52680 for ac_func in fabsl
52681 do :
52682 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52683 if test "x$ac_cv_func_fabsl" = xyes; then :
52684 cat >>confdefs.h <<_ACEOF
52685 #define HAVE_FABSL 1
52686 _ACEOF
52689 done
52691 else
52693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52694 $as_echo_n "checking for _fabsl declaration... " >&6; }
52695 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52696 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52697 $as_echo_n "(cached) " >&6
52698 else
52701 ac_ext=cpp
52702 ac_cpp='$CXXCPP $CPPFLAGS'
52703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52708 /* end confdefs.h. */
52709 #include <math.h>
52710 #ifdef HAVE_IEEEFP_H
52711 #include <ieeefp.h>
52712 #endif
52715 main ()
52717 _fabsl(0);
52719 return 0;
52721 _ACEOF
52722 if ac_fn_cxx_try_compile "$LINENO"; then :
52723 glibcxx_cv_func__fabsl_use=yes
52724 else
52725 glibcxx_cv_func__fabsl_use=no
52727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52728 ac_ext=c
52729 ac_cpp='$CPP $CPPFLAGS'
52730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52739 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52741 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52742 for ac_func in _fabsl
52743 do :
52744 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52745 if test "x$ac_cv_func__fabsl" = xyes; then :
52746 cat >>confdefs.h <<_ACEOF
52747 #define HAVE__FABSL 1
52748 _ACEOF
52751 done
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52761 $as_echo_n "checking for fmodl declaration... " >&6; }
52762 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52763 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52764 $as_echo_n "(cached) " >&6
52765 else
52768 ac_ext=cpp
52769 ac_cpp='$CXXCPP $CPPFLAGS'
52770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52775 /* end confdefs.h. */
52776 #include <math.h>
52778 main ()
52780 fmodl(0, 0);
52782 return 0;
52784 _ACEOF
52785 if ac_fn_cxx_try_compile "$LINENO"; then :
52786 glibcxx_cv_func_fmodl_use=yes
52787 else
52788 glibcxx_cv_func_fmodl_use=no
52790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52791 ac_ext=c
52792 ac_cpp='$CPP $CPPFLAGS'
52793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52802 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52804 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52805 for ac_func in fmodl
52806 do :
52807 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52808 if test "x$ac_cv_func_fmodl" = xyes; then :
52809 cat >>confdefs.h <<_ACEOF
52810 #define HAVE_FMODL 1
52811 _ACEOF
52814 done
52816 else
52818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52819 $as_echo_n "checking for _fmodl declaration... " >&6; }
52820 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52821 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52822 $as_echo_n "(cached) " >&6
52823 else
52826 ac_ext=cpp
52827 ac_cpp='$CXXCPP $CPPFLAGS'
52828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52833 /* end confdefs.h. */
52834 #include <math.h>
52836 main ()
52838 _fmodl(0, 0);
52840 return 0;
52842 _ACEOF
52843 if ac_fn_cxx_try_compile "$LINENO"; then :
52844 glibcxx_cv_func__fmodl_use=yes
52845 else
52846 glibcxx_cv_func__fmodl_use=no
52848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52849 ac_ext=c
52850 ac_cpp='$CPP $CPPFLAGS'
52851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52860 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52862 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52863 for ac_func in _fmodl
52864 do :
52865 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52866 if test "x$ac_cv_func__fmodl" = xyes; then :
52867 cat >>confdefs.h <<_ACEOF
52868 #define HAVE__FMODL 1
52869 _ACEOF
52872 done
52881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52882 $as_echo_n "checking for frexpl declaration... " >&6; }
52883 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52884 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52885 $as_echo_n "(cached) " >&6
52886 else
52889 ac_ext=cpp
52890 ac_cpp='$CXXCPP $CPPFLAGS'
52891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52896 /* end confdefs.h. */
52897 #include <math.h>
52899 main ()
52901 frexpl(0, 0);
52903 return 0;
52905 _ACEOF
52906 if ac_fn_cxx_try_compile "$LINENO"; then :
52907 glibcxx_cv_func_frexpl_use=yes
52908 else
52909 glibcxx_cv_func_frexpl_use=no
52911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52912 ac_ext=c
52913 ac_cpp='$CPP $CPPFLAGS'
52914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52923 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52925 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52926 for ac_func in frexpl
52927 do :
52928 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52929 if test "x$ac_cv_func_frexpl" = xyes; then :
52930 cat >>confdefs.h <<_ACEOF
52931 #define HAVE_FREXPL 1
52932 _ACEOF
52935 done
52937 else
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52940 $as_echo_n "checking for _frexpl declaration... " >&6; }
52941 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52942 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52943 $as_echo_n "(cached) " >&6
52944 else
52947 ac_ext=cpp
52948 ac_cpp='$CXXCPP $CPPFLAGS'
52949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52954 /* end confdefs.h. */
52955 #include <math.h>
52957 main ()
52959 _frexpl(0, 0);
52961 return 0;
52963 _ACEOF
52964 if ac_fn_cxx_try_compile "$LINENO"; then :
52965 glibcxx_cv_func__frexpl_use=yes
52966 else
52967 glibcxx_cv_func__frexpl_use=no
52969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52970 ac_ext=c
52971 ac_cpp='$CPP $CPPFLAGS'
52972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52981 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52983 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52984 for ac_func in _frexpl
52985 do :
52986 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52987 if test "x$ac_cv_func__frexpl" = xyes; then :
52988 cat >>confdefs.h <<_ACEOF
52989 #define HAVE__FREXPL 1
52990 _ACEOF
52993 done
53002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
53003 $as_echo_n "checking for hypotl declaration... " >&6; }
53004 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
53005 if ${glibcxx_cv_func_hypotl_use+:} false; then :
53006 $as_echo_n "(cached) " >&6
53007 else
53010 ac_ext=cpp
53011 ac_cpp='$CXXCPP $CPPFLAGS'
53012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53017 /* end confdefs.h. */
53018 #include <math.h>
53020 main ()
53022 hypotl(0, 0);
53024 return 0;
53026 _ACEOF
53027 if ac_fn_cxx_try_compile "$LINENO"; then :
53028 glibcxx_cv_func_hypotl_use=yes
53029 else
53030 glibcxx_cv_func_hypotl_use=no
53032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53033 ac_ext=c
53034 ac_cpp='$CPP $CPPFLAGS'
53035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
53044 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
53046 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
53047 for ac_func in hypotl
53048 do :
53049 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
53050 if test "x$ac_cv_func_hypotl" = xyes; then :
53051 cat >>confdefs.h <<_ACEOF
53052 #define HAVE_HYPOTL 1
53053 _ACEOF
53056 done
53058 else
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
53061 $as_echo_n "checking for _hypotl declaration... " >&6; }
53062 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
53063 if ${glibcxx_cv_func__hypotl_use+:} false; then :
53064 $as_echo_n "(cached) " >&6
53065 else
53068 ac_ext=cpp
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075 /* end confdefs.h. */
53076 #include <math.h>
53078 main ()
53080 _hypotl(0, 0);
53082 return 0;
53084 _ACEOF
53085 if ac_fn_cxx_try_compile "$LINENO"; then :
53086 glibcxx_cv_func__hypotl_use=yes
53087 else
53088 glibcxx_cv_func__hypotl_use=no
53090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53091 ac_ext=c
53092 ac_cpp='$CPP $CPPFLAGS'
53093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53102 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53104 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53105 for ac_func in _hypotl
53106 do :
53107 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53108 if test "x$ac_cv_func__hypotl" = xyes; then :
53109 cat >>confdefs.h <<_ACEOF
53110 #define HAVE__HYPOTL 1
53111 _ACEOF
53114 done
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53124 $as_echo_n "checking for ldexpl declaration... " >&6; }
53125 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53126 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53127 $as_echo_n "(cached) " >&6
53128 else
53131 ac_ext=cpp
53132 ac_cpp='$CXXCPP $CPPFLAGS'
53133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53138 /* end confdefs.h. */
53139 #include <math.h>
53141 main ()
53143 ldexpl(0, 0);
53145 return 0;
53147 _ACEOF
53148 if ac_fn_cxx_try_compile "$LINENO"; then :
53149 glibcxx_cv_func_ldexpl_use=yes
53150 else
53151 glibcxx_cv_func_ldexpl_use=no
53153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53154 ac_ext=c
53155 ac_cpp='$CPP $CPPFLAGS'
53156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
53165 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53167 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53168 for ac_func in ldexpl
53169 do :
53170 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53171 if test "x$ac_cv_func_ldexpl" = xyes; then :
53172 cat >>confdefs.h <<_ACEOF
53173 #define HAVE_LDEXPL 1
53174 _ACEOF
53177 done
53179 else
53181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53182 $as_echo_n "checking for _ldexpl declaration... " >&6; }
53183 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53184 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
53185 $as_echo_n "(cached) " >&6
53186 else
53189 ac_ext=cpp
53190 ac_cpp='$CXXCPP $CPPFLAGS'
53191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53196 /* end confdefs.h. */
53197 #include <math.h>
53199 main ()
53201 _ldexpl(0, 0);
53203 return 0;
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207 glibcxx_cv_func__ldexpl_use=yes
53208 else
53209 glibcxx_cv_func__ldexpl_use=no
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53223 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53225 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53226 for ac_func in _ldexpl
53227 do :
53228 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53229 if test "x$ac_cv_func__ldexpl" = xyes; then :
53230 cat >>confdefs.h <<_ACEOF
53231 #define HAVE__LDEXPL 1
53232 _ACEOF
53235 done
53244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53245 $as_echo_n "checking for logl declaration... " >&6; }
53246 if test x${glibcxx_cv_func_logl_use+set} != xset; then
53247 if ${glibcxx_cv_func_logl_use+:} false; then :
53248 $as_echo_n "(cached) " >&6
53249 else
53252 ac_ext=cpp
53253 ac_cpp='$CXXCPP $CPPFLAGS'
53254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53259 /* end confdefs.h. */
53260 #include <math.h>
53261 #ifdef HAVE_IEEEFP_H
53262 #include <ieeefp.h>
53263 #endif
53266 main ()
53268 logl(0);
53270 return 0;
53272 _ACEOF
53273 if ac_fn_cxx_try_compile "$LINENO"; then :
53274 glibcxx_cv_func_logl_use=yes
53275 else
53276 glibcxx_cv_func_logl_use=no
53278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53279 ac_ext=c
53280 ac_cpp='$CPP $CPPFLAGS'
53281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53290 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
53292 if test x$glibcxx_cv_func_logl_use = x"yes"; then
53293 for ac_func in logl
53294 do :
53295 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53296 if test "x$ac_cv_func_logl" = xyes; then :
53297 cat >>confdefs.h <<_ACEOF
53298 #define HAVE_LOGL 1
53299 _ACEOF
53302 done
53304 else
53306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53307 $as_echo_n "checking for _logl declaration... " >&6; }
53308 if test x${glibcxx_cv_func__logl_use+set} != xset; then
53309 if ${glibcxx_cv_func__logl_use+:} false; then :
53310 $as_echo_n "(cached) " >&6
53311 else
53314 ac_ext=cpp
53315 ac_cpp='$CXXCPP $CPPFLAGS'
53316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53321 /* end confdefs.h. */
53322 #include <math.h>
53323 #ifdef HAVE_IEEEFP_H
53324 #include <ieeefp.h>
53325 #endif
53328 main ()
53330 _logl(0);
53332 return 0;
53334 _ACEOF
53335 if ac_fn_cxx_try_compile "$LINENO"; then :
53336 glibcxx_cv_func__logl_use=yes
53337 else
53338 glibcxx_cv_func__logl_use=no
53340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53341 ac_ext=c
53342 ac_cpp='$CPP $CPPFLAGS'
53343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53352 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
53354 if test x$glibcxx_cv_func__logl_use = x"yes"; then
53355 for ac_func in _logl
53356 do :
53357 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53358 if test "x$ac_cv_func__logl" = xyes; then :
53359 cat >>confdefs.h <<_ACEOF
53360 #define HAVE__LOGL 1
53361 _ACEOF
53364 done
53373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53374 $as_echo_n "checking for log10l declaration... " >&6; }
53375 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53376 if ${glibcxx_cv_func_log10l_use+:} false; then :
53377 $as_echo_n "(cached) " >&6
53378 else
53381 ac_ext=cpp
53382 ac_cpp='$CXXCPP $CPPFLAGS'
53383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53388 /* end confdefs.h. */
53389 #include <math.h>
53390 #ifdef HAVE_IEEEFP_H
53391 #include <ieeefp.h>
53392 #endif
53395 main ()
53397 log10l(0);
53399 return 0;
53401 _ACEOF
53402 if ac_fn_cxx_try_compile "$LINENO"; then :
53403 glibcxx_cv_func_log10l_use=yes
53404 else
53405 glibcxx_cv_func_log10l_use=no
53407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53408 ac_ext=c
53409 ac_cpp='$CPP $CPPFLAGS'
53410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53419 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53421 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53422 for ac_func in log10l
53423 do :
53424 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53425 if test "x$ac_cv_func_log10l" = xyes; then :
53426 cat >>confdefs.h <<_ACEOF
53427 #define HAVE_LOG10L 1
53428 _ACEOF
53431 done
53433 else
53435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53436 $as_echo_n "checking for _log10l declaration... " >&6; }
53437 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53438 if ${glibcxx_cv_func__log10l_use+:} false; then :
53439 $as_echo_n "(cached) " >&6
53440 else
53443 ac_ext=cpp
53444 ac_cpp='$CXXCPP $CPPFLAGS'
53445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53450 /* end confdefs.h. */
53451 #include <math.h>
53452 #ifdef HAVE_IEEEFP_H
53453 #include <ieeefp.h>
53454 #endif
53457 main ()
53459 _log10l(0);
53461 return 0;
53463 _ACEOF
53464 if ac_fn_cxx_try_compile "$LINENO"; then :
53465 glibcxx_cv_func__log10l_use=yes
53466 else
53467 glibcxx_cv_func__log10l_use=no
53469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53470 ac_ext=c
53471 ac_cpp='$CPP $CPPFLAGS'
53472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53481 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53483 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53484 for ac_func in _log10l
53485 do :
53486 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53487 if test "x$ac_cv_func__log10l" = xyes; then :
53488 cat >>confdefs.h <<_ACEOF
53489 #define HAVE__LOG10L 1
53490 _ACEOF
53493 done
53502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53503 $as_echo_n "checking for modfl declaration... " >&6; }
53504 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53505 if ${glibcxx_cv_func_modfl_use+:} false; then :
53506 $as_echo_n "(cached) " >&6
53507 else
53510 ac_ext=cpp
53511 ac_cpp='$CXXCPP $CPPFLAGS'
53512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53517 /* end confdefs.h. */
53518 #include <math.h>
53520 main ()
53522 modfl(0, 0);
53524 return 0;
53526 _ACEOF
53527 if ac_fn_cxx_try_compile "$LINENO"; then :
53528 glibcxx_cv_func_modfl_use=yes
53529 else
53530 glibcxx_cv_func_modfl_use=no
53532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53533 ac_ext=c
53534 ac_cpp='$CPP $CPPFLAGS'
53535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53544 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53546 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53547 for ac_func in modfl
53548 do :
53549 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53550 if test "x$ac_cv_func_modfl" = xyes; then :
53551 cat >>confdefs.h <<_ACEOF
53552 #define HAVE_MODFL 1
53553 _ACEOF
53556 done
53558 else
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53561 $as_echo_n "checking for _modfl declaration... " >&6; }
53562 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53563 if ${glibcxx_cv_func__modfl_use+:} false; then :
53564 $as_echo_n "(cached) " >&6
53565 else
53568 ac_ext=cpp
53569 ac_cpp='$CXXCPP $CPPFLAGS'
53570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575 /* end confdefs.h. */
53576 #include <math.h>
53578 main ()
53580 _modfl(0, 0);
53582 return 0;
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586 glibcxx_cv_func__modfl_use=yes
53587 else
53588 glibcxx_cv_func__modfl_use=no
53590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591 ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53602 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53604 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53605 for ac_func in _modfl
53606 do :
53607 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53608 if test "x$ac_cv_func__modfl" = xyes; then :
53609 cat >>confdefs.h <<_ACEOF
53610 #define HAVE__MODFL 1
53611 _ACEOF
53614 done
53623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53624 $as_echo_n "checking for powl declaration... " >&6; }
53625 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53626 if ${glibcxx_cv_func_powl_use+:} false; then :
53627 $as_echo_n "(cached) " >&6
53628 else
53631 ac_ext=cpp
53632 ac_cpp='$CXXCPP $CPPFLAGS'
53633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53638 /* end confdefs.h. */
53639 #include <math.h>
53641 main ()
53643 powl(0, 0);
53645 return 0;
53647 _ACEOF
53648 if ac_fn_cxx_try_compile "$LINENO"; then :
53649 glibcxx_cv_func_powl_use=yes
53650 else
53651 glibcxx_cv_func_powl_use=no
53653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53654 ac_ext=c
53655 ac_cpp='$CPP $CPPFLAGS'
53656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53665 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53667 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53668 for ac_func in powl
53669 do :
53670 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53671 if test "x$ac_cv_func_powl" = xyes; then :
53672 cat >>confdefs.h <<_ACEOF
53673 #define HAVE_POWL 1
53674 _ACEOF
53677 done
53679 else
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53682 $as_echo_n "checking for _powl declaration... " >&6; }
53683 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53684 if ${glibcxx_cv_func__powl_use+:} false; then :
53685 $as_echo_n "(cached) " >&6
53686 else
53689 ac_ext=cpp
53690 ac_cpp='$CXXCPP $CPPFLAGS'
53691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696 /* end confdefs.h. */
53697 #include <math.h>
53699 main ()
53701 _powl(0, 0);
53703 return 0;
53705 _ACEOF
53706 if ac_fn_cxx_try_compile "$LINENO"; then :
53707 glibcxx_cv_func__powl_use=yes
53708 else
53709 glibcxx_cv_func__powl_use=no
53711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53712 ac_ext=c
53713 ac_cpp='$CPP $CPPFLAGS'
53714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53723 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53725 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53726 for ac_func in _powl
53727 do :
53728 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53729 if test "x$ac_cv_func__powl" = xyes; then :
53730 cat >>confdefs.h <<_ACEOF
53731 #define HAVE__POWL 1
53732 _ACEOF
53735 done
53744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53745 $as_echo_n "checking for sqrtl declaration... " >&6; }
53746 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53747 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53748 $as_echo_n "(cached) " >&6
53749 else
53752 ac_ext=cpp
53753 ac_cpp='$CXXCPP $CPPFLAGS'
53754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53759 /* end confdefs.h. */
53760 #include <math.h>
53761 #ifdef HAVE_IEEEFP_H
53762 #include <ieeefp.h>
53763 #endif
53766 main ()
53768 sqrtl(0);
53770 return 0;
53772 _ACEOF
53773 if ac_fn_cxx_try_compile "$LINENO"; then :
53774 glibcxx_cv_func_sqrtl_use=yes
53775 else
53776 glibcxx_cv_func_sqrtl_use=no
53778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53779 ac_ext=c
53780 ac_cpp='$CPP $CPPFLAGS'
53781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53790 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53792 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53793 for ac_func in sqrtl
53794 do :
53795 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53796 if test "x$ac_cv_func_sqrtl" = xyes; then :
53797 cat >>confdefs.h <<_ACEOF
53798 #define HAVE_SQRTL 1
53799 _ACEOF
53802 done
53804 else
53806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53807 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53808 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53809 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53810 $as_echo_n "(cached) " >&6
53811 else
53814 ac_ext=cpp
53815 ac_cpp='$CXXCPP $CPPFLAGS'
53816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53821 /* end confdefs.h. */
53822 #include <math.h>
53823 #ifdef HAVE_IEEEFP_H
53824 #include <ieeefp.h>
53825 #endif
53828 main ()
53830 _sqrtl(0);
53832 return 0;
53834 _ACEOF
53835 if ac_fn_cxx_try_compile "$LINENO"; then :
53836 glibcxx_cv_func__sqrtl_use=yes
53837 else
53838 glibcxx_cv_func__sqrtl_use=no
53840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53841 ac_ext=c
53842 ac_cpp='$CPP $CPPFLAGS'
53843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53852 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53854 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53855 for ac_func in _sqrtl
53856 do :
53857 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53858 if test "x$ac_cv_func__sqrtl" = xyes; then :
53859 cat >>confdefs.h <<_ACEOF
53860 #define HAVE__SQRTL 1
53861 _ACEOF
53864 done
53873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53874 $as_echo_n "checking for sincosl declaration... " >&6; }
53875 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53876 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53877 $as_echo_n "(cached) " >&6
53878 else
53881 ac_ext=cpp
53882 ac_cpp='$CXXCPP $CPPFLAGS'
53883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53888 /* end confdefs.h. */
53889 #include <math.h>
53891 main ()
53893 sincosl(0, 0, 0);
53895 return 0;
53897 _ACEOF
53898 if ac_fn_cxx_try_compile "$LINENO"; then :
53899 glibcxx_cv_func_sincosl_use=yes
53900 else
53901 glibcxx_cv_func_sincosl_use=no
53903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53904 ac_ext=c
53905 ac_cpp='$CPP $CPPFLAGS'
53906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53915 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53917 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53918 for ac_func in sincosl
53919 do :
53920 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53921 if test "x$ac_cv_func_sincosl" = xyes; then :
53922 cat >>confdefs.h <<_ACEOF
53923 #define HAVE_SINCOSL 1
53924 _ACEOF
53927 done
53929 else
53931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53932 $as_echo_n "checking for _sincosl declaration... " >&6; }
53933 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53934 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53935 $as_echo_n "(cached) " >&6
53936 else
53939 ac_ext=cpp
53940 ac_cpp='$CXXCPP $CPPFLAGS'
53941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53946 /* end confdefs.h. */
53947 #include <math.h>
53949 main ()
53951 _sincosl(0, 0, 0);
53953 return 0;
53955 _ACEOF
53956 if ac_fn_cxx_try_compile "$LINENO"; then :
53957 glibcxx_cv_func__sincosl_use=yes
53958 else
53959 glibcxx_cv_func__sincosl_use=no
53961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53962 ac_ext=c
53963 ac_cpp='$CPP $CPPFLAGS'
53964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53973 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53975 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53976 for ac_func in _sincosl
53977 do :
53978 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53979 if test "x$ac_cv_func__sincosl" = xyes; then :
53980 cat >>confdefs.h <<_ACEOF
53981 #define HAVE__SINCOSL 1
53982 _ACEOF
53985 done
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53995 $as_echo_n "checking for finitel declaration... " >&6; }
53996 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53997 if ${glibcxx_cv_func_finitel_use+:} false; then :
53998 $as_echo_n "(cached) " >&6
53999 else
54002 ac_ext=cpp
54003 ac_cpp='$CXXCPP $CPPFLAGS'
54004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54009 /* end confdefs.h. */
54010 #include <math.h>
54011 #ifdef HAVE_IEEEFP_H
54012 #include <ieeefp.h>
54013 #endif
54016 main ()
54018 finitel(0);
54020 return 0;
54022 _ACEOF
54023 if ac_fn_cxx_try_compile "$LINENO"; then :
54024 glibcxx_cv_func_finitel_use=yes
54025 else
54026 glibcxx_cv_func_finitel_use=no
54028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54029 ac_ext=c
54030 ac_cpp='$CPP $CPPFLAGS'
54031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
54040 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
54042 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
54043 for ac_func in finitel
54044 do :
54045 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
54046 if test "x$ac_cv_func_finitel" = xyes; then :
54047 cat >>confdefs.h <<_ACEOF
54048 #define HAVE_FINITEL 1
54049 _ACEOF
54052 done
54054 else
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
54057 $as_echo_n "checking for _finitel declaration... " >&6; }
54058 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
54059 if ${glibcxx_cv_func__finitel_use+:} false; then :
54060 $as_echo_n "(cached) " >&6
54061 else
54064 ac_ext=cpp
54065 ac_cpp='$CXXCPP $CPPFLAGS'
54066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54071 /* end confdefs.h. */
54072 #include <math.h>
54073 #ifdef HAVE_IEEEFP_H
54074 #include <ieeefp.h>
54075 #endif
54078 main ()
54080 _finitel(0);
54082 return 0;
54084 _ACEOF
54085 if ac_fn_cxx_try_compile "$LINENO"; then :
54086 glibcxx_cv_func__finitel_use=yes
54087 else
54088 glibcxx_cv_func__finitel_use=no
54090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54091 ac_ext=c
54092 ac_cpp='$CPP $CPPFLAGS'
54093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54102 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54104 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54105 for ac_func in _finitel
54106 do :
54107 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54108 if test "x$ac_cv_func__finitel" = xyes; then :
54109 cat >>confdefs.h <<_ACEOF
54110 #define HAVE__FINITEL 1
54111 _ACEOF
54114 done
54122 LIBS="$ac_save_LIBS"
54123 CXXFLAGS="$ac_save_CXXFLAGS"
54126 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54127 ac_save_CXXFLAGS="$CXXFLAGS"
54128 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54132 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
54133 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54134 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54135 $as_echo_n "(cached) " >&6
54136 else
54139 ac_ext=cpp
54140 ac_cpp='$CXXCPP $CPPFLAGS'
54141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54146 /* end confdefs.h. */
54147 #include <stdlib.h>
54149 main ()
54151 at_quick_exit(0);
54153 return 0;
54155 _ACEOF
54156 if ac_fn_cxx_try_compile "$LINENO"; then :
54157 glibcxx_cv_func_at_quick_exit_use=yes
54158 else
54159 glibcxx_cv_func_at_quick_exit_use=no
54161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54162 ac_ext=c
54163 ac_cpp='$CPP $CPPFLAGS'
54164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54173 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54174 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54175 for ac_func in at_quick_exit
54176 do :
54177 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54178 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54179 cat >>confdefs.h <<_ACEOF
54180 #define HAVE_AT_QUICK_EXIT 1
54181 _ACEOF
54184 done
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54190 $as_echo_n "checking for quick_exit declaration... " >&6; }
54191 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54192 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54193 $as_echo_n "(cached) " >&6
54194 else
54197 ac_ext=cpp
54198 ac_cpp='$CXXCPP $CPPFLAGS'
54199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54204 /* end confdefs.h. */
54205 #include <stdlib.h>
54207 main ()
54209 quick_exit(0);
54211 return 0;
54213 _ACEOF
54214 if ac_fn_cxx_try_compile "$LINENO"; then :
54215 glibcxx_cv_func_quick_exit_use=yes
54216 else
54217 glibcxx_cv_func_quick_exit_use=no
54219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54220 ac_ext=c
54221 ac_cpp='$CPP $CPPFLAGS'
54222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54231 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54232 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54233 for ac_func in quick_exit
54234 do :
54235 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54236 if test "x$ac_cv_func_quick_exit" = xyes; then :
54237 cat >>confdefs.h <<_ACEOF
54238 #define HAVE_QUICK_EXIT 1
54239 _ACEOF
54242 done
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54248 $as_echo_n "checking for strtold declaration... " >&6; }
54249 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54250 if ${glibcxx_cv_func_strtold_use+:} false; then :
54251 $as_echo_n "(cached) " >&6
54252 else
54255 ac_ext=cpp
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262 /* end confdefs.h. */
54263 #include <stdlib.h>
54265 main ()
54267 strtold(0, 0);
54269 return 0;
54271 _ACEOF
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273 glibcxx_cv_func_strtold_use=yes
54274 else
54275 glibcxx_cv_func_strtold_use=no
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278 ac_ext=c
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54289 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54290 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54291 for ac_func in strtold
54292 do :
54293 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54294 if test "x$ac_cv_func_strtold" = xyes; then :
54295 cat >>confdefs.h <<_ACEOF
54296 #define HAVE_STRTOLD 1
54297 _ACEOF
54300 done
54307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54308 $as_echo_n "checking for strtof declaration... " >&6; }
54309 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54310 if ${glibcxx_cv_func_strtof_use+:} false; then :
54311 $as_echo_n "(cached) " >&6
54312 else
54315 ac_ext=cpp
54316 ac_cpp='$CXXCPP $CPPFLAGS'
54317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54322 /* end confdefs.h. */
54323 #include <stdlib.h>
54325 main ()
54327 strtof(0, 0);
54329 return 0;
54331 _ACEOF
54332 if ac_fn_cxx_try_compile "$LINENO"; then :
54333 glibcxx_cv_func_strtof_use=yes
54334 else
54335 glibcxx_cv_func_strtof_use=no
54337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54338 ac_ext=c
54339 ac_cpp='$CPP $CPPFLAGS'
54340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54349 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54350 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54351 for ac_func in strtof
54352 do :
54353 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54354 if test "x$ac_cv_func_strtof" = xyes; then :
54355 cat >>confdefs.h <<_ACEOF
54356 #define HAVE_STRTOF 1
54357 _ACEOF
54360 done
54367 CXXFLAGS="$ac_save_CXXFLAGS"
54369 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54371 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54375 # Check whether --enable-tls was given.
54376 if test "${enable_tls+set}" = set; then :
54377 enableval=$enable_tls;
54378 case "$enableval" in
54379 yes|no) ;;
54380 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54381 esac
54383 else
54384 enable_tls=yes
54388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54389 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54390 if ${gcc_cv_have_tls+:} false; then :
54391 $as_echo_n "(cached) " >&6
54392 else
54394 if test "$cross_compiling" = yes; then :
54395 if test x$gcc_no_link = xyes; then
54396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54399 /* end confdefs.h. */
54400 __thread int a; int b; int main() { return a = b; }
54401 _ACEOF
54402 if ac_fn_c_try_link "$LINENO"; then :
54403 chktls_save_LDFLAGS="$LDFLAGS"
54404 case $host in
54405 *-*-linux* | -*-uclinuxfdpic*)
54406 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54408 esac
54409 chktls_save_CFLAGS="$CFLAGS"
54410 CFLAGS="-fPIC $CFLAGS"
54411 if test x$gcc_no_link = xyes; then
54412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54415 /* end confdefs.h. */
54416 int f() { return 0; }
54417 _ACEOF
54418 if ac_fn_c_try_link "$LINENO"; then :
54419 if test x$gcc_no_link = xyes; then
54420 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54423 /* end confdefs.h. */
54424 __thread int a; int b; int f() { return a = b; }
54425 _ACEOF
54426 if ac_fn_c_try_link "$LINENO"; then :
54427 gcc_cv_have_tls=yes
54428 else
54429 gcc_cv_have_tls=no
54431 rm -f core conftest.err conftest.$ac_objext \
54432 conftest$ac_exeext conftest.$ac_ext
54433 else
54434 gcc_cv_have_tls=yes
54436 rm -f core conftest.err conftest.$ac_objext \
54437 conftest$ac_exeext conftest.$ac_ext
54438 CFLAGS="$chktls_save_CFLAGS"
54439 LDFLAGS="$chktls_save_LDFLAGS"
54440 else
54441 gcc_cv_have_tls=no
54443 rm -f core conftest.err conftest.$ac_objext \
54444 conftest$ac_exeext conftest.$ac_ext
54447 else
54448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54449 /* end confdefs.h. */
54450 __thread int a; int b; int main() { return a = b; }
54451 _ACEOF
54452 if ac_fn_c_try_run "$LINENO"; then :
54453 chktls_save_LDFLAGS="$LDFLAGS"
54454 LDFLAGS="-static $LDFLAGS"
54455 if test x$gcc_no_link = xyes; then
54456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54459 /* end confdefs.h. */
54460 int main() { return 0; }
54461 _ACEOF
54462 if ac_fn_c_try_link "$LINENO"; then :
54463 if test "$cross_compiling" = yes; then :
54464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54466 as_fn_error $? "cannot run test program while cross compiling
54467 See \`config.log' for more details" "$LINENO" 5; }
54468 else
54469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54470 /* end confdefs.h. */
54471 __thread int a; int b; int main() { return a = b; }
54472 _ACEOF
54473 if ac_fn_c_try_run "$LINENO"; then :
54474 gcc_cv_have_tls=yes
54475 else
54476 gcc_cv_have_tls=no
54478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54479 conftest.$ac_objext conftest.beam conftest.$ac_ext
54482 else
54483 gcc_cv_have_tls=yes
54485 rm -f core conftest.err conftest.$ac_objext \
54486 conftest$ac_exeext conftest.$ac_ext
54487 LDFLAGS="$chktls_save_LDFLAGS"
54488 if test $gcc_cv_have_tls = yes; then
54489 chktls_save_CFLAGS="$CFLAGS"
54490 thread_CFLAGS=failed
54491 for flag in '' '-pthread' '-lpthread'; do
54492 CFLAGS="$flag $chktls_save_CFLAGS"
54493 if test x$gcc_no_link = xyes; then
54494 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h. */
54498 #include <pthread.h>
54499 void *g(void *d) { return NULL; }
54501 main ()
54503 pthread_t t; pthread_create(&t,NULL,g,NULL);
54505 return 0;
54507 _ACEOF
54508 if ac_fn_c_try_link "$LINENO"; then :
54509 thread_CFLAGS="$flag"
54511 rm -f core conftest.err conftest.$ac_objext \
54512 conftest$ac_exeext conftest.$ac_ext
54513 if test "X$thread_CFLAGS" != Xfailed; then
54514 break
54516 done
54517 CFLAGS="$chktls_save_CFLAGS"
54518 if test "X$thread_CFLAGS" != Xfailed; then
54519 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54520 if test "$cross_compiling" = yes; then :
54521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54523 as_fn_error $? "cannot run test program while cross compiling
54524 See \`config.log' for more details" "$LINENO" 5; }
54525 else
54526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54527 /* end confdefs.h. */
54528 #include <pthread.h>
54529 __thread int a;
54530 static int *volatile a_in_other_thread;
54531 static void *
54532 thread_func (void *arg)
54534 a_in_other_thread = &a;
54535 return (void *)0;
54538 main ()
54540 pthread_t thread;
54541 void *thread_retval;
54542 int *volatile a_in_main_thread;
54543 a_in_main_thread = &a;
54544 if (pthread_create (&thread, (pthread_attr_t *)0,
54545 thread_func, (void *)0))
54546 return 0;
54547 if (pthread_join (thread, &thread_retval))
54548 return 0;
54549 return (a_in_other_thread == a_in_main_thread);
54551 return 0;
54553 _ACEOF
54554 if ac_fn_c_try_run "$LINENO"; then :
54555 gcc_cv_have_tls=yes
54556 else
54557 gcc_cv_have_tls=no
54559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54560 conftest.$ac_objext conftest.beam conftest.$ac_ext
54563 CFLAGS="$chktls_save_CFLAGS"
54566 else
54567 gcc_cv_have_tls=no
54569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54570 conftest.$ac_objext conftest.beam conftest.$ac_ext
54574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54575 $as_echo "$gcc_cv_have_tls" >&6; }
54576 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54578 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54581 for ac_func in __cxa_thread_atexit_impl
54582 do :
54583 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54584 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54585 cat >>confdefs.h <<_ACEOF
54586 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54587 _ACEOF
54590 done
54592 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54593 do :
54594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54596 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54597 cat >>confdefs.h <<_ACEOF
54598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54599 _ACEOF
54602 done
54604 for ac_func in timespec_get
54605 do :
54606 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54607 if test "x$ac_cv_func_timespec_get" = xyes; then :
54608 cat >>confdefs.h <<_ACEOF
54609 #define HAVE_TIMESPEC_GET 1
54610 _ACEOF
54613 done
54615 for ac_func in sockatmark
54616 do :
54617 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54618 if test "x$ac_cv_func_sockatmark" = xyes; then :
54619 cat >>confdefs.h <<_ACEOF
54620 #define HAVE_SOCKATMARK 1
54621 _ACEOF
54624 done
54631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54632 $as_echo_n "checking for iconv... " >&6; }
54633 if ${am_cv_func_iconv+:} false; then :
54634 $as_echo_n "(cached) " >&6
54635 else
54637 am_cv_func_iconv="no, consider installing GNU libiconv"
54638 am_cv_lib_iconv=no
54639 am_save_CPPFLAGS="$CPPFLAGS"
54640 CPPFLAGS="$CPPFLAGS $INCICONV"
54641 if test x$gcc_no_link = xyes; then
54642 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54645 /* end confdefs.h. */
54646 #include <stdlib.h>
54647 #include <iconv.h>
54649 main ()
54651 iconv_t cd = iconv_open("","");
54652 iconv(cd,NULL,NULL,NULL,NULL);
54653 iconv_close(cd);
54655 return 0;
54657 _ACEOF
54658 if ac_fn_c_try_link "$LINENO"; then :
54659 am_cv_func_iconv=yes
54661 rm -f core conftest.err conftest.$ac_objext \
54662 conftest$ac_exeext conftest.$ac_ext
54663 CPPFLAGS="$am_save_CPPFLAGS"
54665 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54666 for _libs in .libs _libs; do
54667 am_save_CPPFLAGS="$CPPFLAGS"
54668 am_save_LIBS="$LIBS"
54669 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54670 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54671 if test x$gcc_no_link = xyes; then
54672 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54675 /* end confdefs.h. */
54676 #include <stdlib.h>
54677 #include <iconv.h>
54679 main ()
54681 iconv_t cd = iconv_open("","");
54682 iconv(cd,NULL,NULL,NULL,NULL);
54683 iconv_close(cd);
54685 return 0;
54687 _ACEOF
54688 if ac_fn_c_try_link "$LINENO"; then :
54689 INCICONV="-I../libiconv/include"
54690 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54691 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54692 am_cv_lib_iconv=yes
54693 am_cv_func_iconv=yes
54695 rm -f core conftest.err conftest.$ac_objext \
54696 conftest$ac_exeext conftest.$ac_ext
54697 CPPFLAGS="$am_save_CPPFLAGS"
54698 LIBS="$am_save_LIBS"
54699 if test "$am_cv_func_iconv" = "yes"; then
54700 break
54702 done
54705 if test "$am_cv_func_iconv" != yes; then
54706 am_save_CPPFLAGS="$CPPFLAGS"
54707 am_save_LIBS="$LIBS"
54708 CPPFLAGS="$CPPFLAGS $INCICONV"
54709 LIBS="$LIBS $LIBICONV"
54710 if test x$gcc_no_link = xyes; then
54711 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54714 /* end confdefs.h. */
54715 #include <stdlib.h>
54716 #include <iconv.h>
54718 main ()
54720 iconv_t cd = iconv_open("","");
54721 iconv(cd,NULL,NULL,NULL,NULL);
54722 iconv_close(cd);
54724 return 0;
54726 _ACEOF
54727 if ac_fn_c_try_link "$LINENO"; then :
54728 am_cv_lib_iconv=yes
54729 am_cv_func_iconv=yes
54731 rm -f core conftest.err conftest.$ac_objext \
54732 conftest$ac_exeext conftest.$ac_ext
54733 CPPFLAGS="$am_save_CPPFLAGS"
54734 LIBS="$am_save_LIBS"
54738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54739 $as_echo "$am_cv_func_iconv" >&6; }
54740 if test "$am_cv_func_iconv" = yes; then
54742 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54745 if test "$am_cv_lib_iconv" = yes; then
54747 for element in $INCICONV; do
54748 haveit=
54749 for x in $CPPFLAGS; do
54751 acl_save_prefix="$prefix"
54752 prefix="$acl_final_prefix"
54753 acl_save_exec_prefix="$exec_prefix"
54754 exec_prefix="$acl_final_exec_prefix"
54755 eval x=\"$x\"
54756 exec_prefix="$acl_save_exec_prefix"
54757 prefix="$acl_save_prefix"
54759 if test "X$x" = "X$element"; then
54760 haveit=yes
54761 break
54763 done
54764 if test -z "$haveit"; then
54765 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54767 done
54769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54770 $as_echo_n "checking how to link with libiconv... " >&6; }
54771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54772 $as_echo "$LIBICONV" >&6; }
54773 else
54774 LIBICONV=
54775 LTLIBICONV=
54780 if test "$am_cv_func_iconv" = yes; then
54781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54782 $as_echo_n "checking for iconv declaration... " >&6; }
54783 if ${am_cv_proto_iconv+:} false; then :
54784 $as_echo_n "(cached) " >&6
54785 else
54787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54788 /* end confdefs.h. */
54790 #include <stdlib.h>
54791 #include <iconv.h>
54792 extern
54793 #ifdef __cplusplus
54795 #endif
54796 #if defined(__STDC__) || defined(__cplusplus)
54797 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54798 #else
54799 size_t iconv();
54800 #endif
54803 main ()
54807 return 0;
54809 _ACEOF
54810 if ac_fn_c_try_compile "$LINENO"; then :
54811 am_cv_proto_iconv_arg1=""
54812 else
54813 am_cv_proto_iconv_arg1="const"
54815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54816 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);"
54819 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54821 }$am_cv_proto_iconv" >&5
54822 $as_echo "${ac_t:-
54823 }$am_cv_proto_iconv" >&6; }
54825 cat >>confdefs.h <<_ACEOF
54826 #define ICONV_CONST $am_cv_proto_iconv_arg1
54827 _ACEOF
54832 *-mingw32*)
54834 # If we're not using GNU ld, then there's no point in even trying these
54835 # tests. Check for that first. We should have already tested for gld
54836 # by now (in libtool), but require it now just to be safe...
54837 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54838 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54842 # The name set by libtool depends on the version of libtool. Shame on us
54843 # for depending on an impl detail, but c'est la vie. Older versions used
54844 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54845 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54846 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54847 # set (hence we're using an older libtool), then set it.
54848 if test x${with_gnu_ld+set} != xset; then
54849 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54850 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54851 with_gnu_ld=no
54852 else
54853 with_gnu_ld=$ac_cv_prog_gnu_ld
54857 # Start by getting the version number. I think the libtool test already
54858 # does some of this, but throws away the result.
54859 glibcxx_ld_is_gold=no
54860 if test x"$with_gnu_ld" = x"yes"; then
54861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54862 $as_echo_n "checking for ld version... " >&6; }
54864 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54865 glibcxx_ld_is_gold=yes
54867 ldver=`$LD --version 2>/dev/null |
54868 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54870 glibcxx_gnu_ld_version=`echo $ldver | \
54871 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54873 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54876 # Set --gc-sections.
54877 glibcxx_have_gc_sections=no
54878 if test "$glibcxx_ld_is_gold" = "yes"; then
54879 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54880 glibcxx_have_gc_sections=yes
54882 else
54883 glibcxx_gcsections_min_ld=21602
54884 if test x"$with_gnu_ld" = x"yes" &&
54885 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54886 glibcxx_have_gc_sections=yes
54889 if test "$glibcxx_have_gc_sections" = "yes"; then
54890 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54891 # NB: This flag only works reliably after 2.16.1. Configure tests
54892 # for this are difficult, so hard wire a value that should work.
54894 ac_test_CFLAGS="${CFLAGS+set}"
54895 ac_save_CFLAGS="$CFLAGS"
54896 CFLAGS='-Wl,--gc-sections'
54898 # Check for -Wl,--gc-sections
54899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54900 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54901 if test x$gcc_no_link = xyes; then
54902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54905 /* end confdefs.h. */
54906 int one(void) { return 1; }
54907 int two(void) { return 2; }
54910 main ()
54912 two();
54914 return 0;
54916 _ACEOF
54917 if ac_fn_c_try_link "$LINENO"; then :
54918 ac_gcsections=yes
54919 else
54920 ac_gcsections=no
54922 rm -f core conftest.err conftest.$ac_objext \
54923 conftest$ac_exeext conftest.$ac_ext
54924 if test "$ac_gcsections" = "yes"; then
54925 rm -f conftest.c
54926 touch conftest.c
54927 if $CC -c conftest.c; then
54928 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54929 grep "Warning: gc-sections option ignored" > /dev/null; then
54930 ac_gcsections=no
54933 rm -f conftest.c conftest.o conftest
54935 if test "$ac_gcsections" = "yes"; then
54936 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54939 $as_echo "$ac_gcsections" >&6; }
54941 if test "$ac_test_CFLAGS" = set; then
54942 CFLAGS="$ac_save_CFLAGS"
54943 else
54944 # this is the suspicious part
54945 CFLAGS=''
54949 # Set -z,relro.
54950 # Note this is only for shared objects.
54951 ac_ld_relro=no
54952 if test x"$with_gnu_ld" = x"yes"; then
54953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54954 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54955 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54956 if test -n "$cxx_z_relo"; then
54957 OPT_LDFLAGS="-Wl,-z,relro"
54958 ac_ld_relro=yes
54960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54961 $as_echo "$ac_ld_relro" >&6; }
54964 # Set linker optimization flags.
54965 if test x"$with_gnu_ld" = x"yes"; then
54966 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54973 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54974 ac_save_CXXFLAGS="$CXXFLAGS"
54975 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54978 $as_echo_n "checking for sin in -lm... " >&6; }
54979 if ${ac_cv_lib_m_sin+:} false; then :
54980 $as_echo_n "(cached) " >&6
54981 else
54982 ac_check_lib_save_LIBS=$LIBS
54983 LIBS="-lm $LIBS"
54984 if test x$gcc_no_link = xyes; then
54985 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54988 /* end confdefs.h. */
54990 /* Override any GCC internal prototype to avoid an error.
54991 Use char because int might match the return type of a GCC
54992 builtin and then its argument prototype would still apply. */
54993 #ifdef __cplusplus
54994 extern "C"
54995 #endif
54996 char sin ();
54998 main ()
55000 return sin ();
55002 return 0;
55004 _ACEOF
55005 if ac_fn_c_try_link "$LINENO"; then :
55006 ac_cv_lib_m_sin=yes
55007 else
55008 ac_cv_lib_m_sin=no
55010 rm -f core conftest.err conftest.$ac_objext \
55011 conftest$ac_exeext conftest.$ac_ext
55012 LIBS=$ac_check_lib_save_LIBS
55014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
55015 $as_echo "$ac_cv_lib_m_sin" >&6; }
55016 if test "x$ac_cv_lib_m_sin" = xyes; then :
55017 libm="-lm"
55020 ac_save_LIBS="$LIBS"
55021 LIBS="$LIBS $libm"
55025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
55026 $as_echo_n "checking for isinf declaration... " >&6; }
55027 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55028 if ${glibcxx_cv_func_isinf_use+:} false; then :
55029 $as_echo_n "(cached) " >&6
55030 else
55033 ac_ext=cpp
55034 ac_cpp='$CXXCPP $CPPFLAGS'
55035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55040 /* end confdefs.h. */
55041 #include <math.h>
55042 #ifdef HAVE_IEEEFP_H
55043 #include <ieeefp.h>
55044 #endif
55047 main ()
55049 isinf(0);
55051 return 0;
55053 _ACEOF
55054 if ac_fn_cxx_try_compile "$LINENO"; then :
55055 glibcxx_cv_func_isinf_use=yes
55056 else
55057 glibcxx_cv_func_isinf_use=no
55059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55060 ac_ext=c
55061 ac_cpp='$CPP $CPPFLAGS'
55062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55071 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55073 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55074 for ac_func in isinf
55075 do :
55076 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55077 if test "x$ac_cv_func_isinf" = xyes; then :
55078 cat >>confdefs.h <<_ACEOF
55079 #define HAVE_ISINF 1
55080 _ACEOF
55083 done
55085 else
55087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55088 $as_echo_n "checking for _isinf declaration... " >&6; }
55089 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55090 if ${glibcxx_cv_func__isinf_use+:} false; then :
55091 $as_echo_n "(cached) " >&6
55092 else
55095 ac_ext=cpp
55096 ac_cpp='$CXXCPP $CPPFLAGS'
55097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55102 /* end confdefs.h. */
55103 #include <math.h>
55104 #ifdef HAVE_IEEEFP_H
55105 #include <ieeefp.h>
55106 #endif
55109 main ()
55111 _isinf(0);
55113 return 0;
55115 _ACEOF
55116 if ac_fn_cxx_try_compile "$LINENO"; then :
55117 glibcxx_cv_func__isinf_use=yes
55118 else
55119 glibcxx_cv_func__isinf_use=no
55121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55122 ac_ext=c
55123 ac_cpp='$CPP $CPPFLAGS'
55124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55133 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55135 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55136 for ac_func in _isinf
55137 do :
55138 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55139 if test "x$ac_cv_func__isinf" = xyes; then :
55140 cat >>confdefs.h <<_ACEOF
55141 #define HAVE__ISINF 1
55142 _ACEOF
55145 done
55154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55155 $as_echo_n "checking for isnan declaration... " >&6; }
55156 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55157 if ${glibcxx_cv_func_isnan_use+:} false; then :
55158 $as_echo_n "(cached) " >&6
55159 else
55162 ac_ext=cpp
55163 ac_cpp='$CXXCPP $CPPFLAGS'
55164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55169 /* end confdefs.h. */
55170 #include <math.h>
55171 #ifdef HAVE_IEEEFP_H
55172 #include <ieeefp.h>
55173 #endif
55176 main ()
55178 isnan(0);
55180 return 0;
55182 _ACEOF
55183 if ac_fn_cxx_try_compile "$LINENO"; then :
55184 glibcxx_cv_func_isnan_use=yes
55185 else
55186 glibcxx_cv_func_isnan_use=no
55188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55189 ac_ext=c
55190 ac_cpp='$CPP $CPPFLAGS'
55191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55200 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55202 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55203 for ac_func in isnan
55204 do :
55205 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55206 if test "x$ac_cv_func_isnan" = xyes; then :
55207 cat >>confdefs.h <<_ACEOF
55208 #define HAVE_ISNAN 1
55209 _ACEOF
55212 done
55214 else
55216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55217 $as_echo_n "checking for _isnan declaration... " >&6; }
55218 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55219 if ${glibcxx_cv_func__isnan_use+:} false; then :
55220 $as_echo_n "(cached) " >&6
55221 else
55224 ac_ext=cpp
55225 ac_cpp='$CXXCPP $CPPFLAGS'
55226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55231 /* end confdefs.h. */
55232 #include <math.h>
55233 #ifdef HAVE_IEEEFP_H
55234 #include <ieeefp.h>
55235 #endif
55238 main ()
55240 _isnan(0);
55242 return 0;
55244 _ACEOF
55245 if ac_fn_cxx_try_compile "$LINENO"; then :
55246 glibcxx_cv_func__isnan_use=yes
55247 else
55248 glibcxx_cv_func__isnan_use=no
55250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55251 ac_ext=c
55252 ac_cpp='$CPP $CPPFLAGS'
55253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55262 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55264 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55265 for ac_func in _isnan
55266 do :
55267 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55268 if test "x$ac_cv_func__isnan" = xyes; then :
55269 cat >>confdefs.h <<_ACEOF
55270 #define HAVE__ISNAN 1
55271 _ACEOF
55274 done
55283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55284 $as_echo_n "checking for finite declaration... " >&6; }
55285 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55286 if ${glibcxx_cv_func_finite_use+:} false; then :
55287 $as_echo_n "(cached) " >&6
55288 else
55291 ac_ext=cpp
55292 ac_cpp='$CXXCPP $CPPFLAGS'
55293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55298 /* end confdefs.h. */
55299 #include <math.h>
55300 #ifdef HAVE_IEEEFP_H
55301 #include <ieeefp.h>
55302 #endif
55305 main ()
55307 finite(0);
55309 return 0;
55311 _ACEOF
55312 if ac_fn_cxx_try_compile "$LINENO"; then :
55313 glibcxx_cv_func_finite_use=yes
55314 else
55315 glibcxx_cv_func_finite_use=no
55317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55318 ac_ext=c
55319 ac_cpp='$CPP $CPPFLAGS'
55320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55329 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55331 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55332 for ac_func in finite
55333 do :
55334 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55335 if test "x$ac_cv_func_finite" = xyes; then :
55336 cat >>confdefs.h <<_ACEOF
55337 #define HAVE_FINITE 1
55338 _ACEOF
55341 done
55343 else
55345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55346 $as_echo_n "checking for _finite declaration... " >&6; }
55347 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55348 if ${glibcxx_cv_func__finite_use+:} false; then :
55349 $as_echo_n "(cached) " >&6
55350 else
55353 ac_ext=cpp
55354 ac_cpp='$CXXCPP $CPPFLAGS'
55355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55360 /* end confdefs.h. */
55361 #include <math.h>
55362 #ifdef HAVE_IEEEFP_H
55363 #include <ieeefp.h>
55364 #endif
55367 main ()
55369 _finite(0);
55371 return 0;
55373 _ACEOF
55374 if ac_fn_cxx_try_compile "$LINENO"; then :
55375 glibcxx_cv_func__finite_use=yes
55376 else
55377 glibcxx_cv_func__finite_use=no
55379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55380 ac_ext=c
55381 ac_cpp='$CPP $CPPFLAGS'
55382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55391 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55393 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55394 for ac_func in _finite
55395 do :
55396 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55397 if test "x$ac_cv_func__finite" = xyes; then :
55398 cat >>confdefs.h <<_ACEOF
55399 #define HAVE__FINITE 1
55400 _ACEOF
55403 done
55412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55413 $as_echo_n "checking for sincos declaration... " >&6; }
55414 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55415 if ${glibcxx_cv_func_sincos_use+:} false; then :
55416 $as_echo_n "(cached) " >&6
55417 else
55420 ac_ext=cpp
55421 ac_cpp='$CXXCPP $CPPFLAGS'
55422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55427 /* end confdefs.h. */
55428 #include <math.h>
55430 main ()
55432 sincos(0, 0, 0);
55434 return 0;
55436 _ACEOF
55437 if ac_fn_cxx_try_compile "$LINENO"; then :
55438 glibcxx_cv_func_sincos_use=yes
55439 else
55440 glibcxx_cv_func_sincos_use=no
55442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55443 ac_ext=c
55444 ac_cpp='$CPP $CPPFLAGS'
55445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55454 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55456 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55457 for ac_func in sincos
55458 do :
55459 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55460 if test "x$ac_cv_func_sincos" = xyes; then :
55461 cat >>confdefs.h <<_ACEOF
55462 #define HAVE_SINCOS 1
55463 _ACEOF
55466 done
55468 else
55470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55471 $as_echo_n "checking for _sincos declaration... " >&6; }
55472 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55473 if ${glibcxx_cv_func__sincos_use+:} false; then :
55474 $as_echo_n "(cached) " >&6
55475 else
55478 ac_ext=cpp
55479 ac_cpp='$CXXCPP $CPPFLAGS'
55480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55485 /* end confdefs.h. */
55486 #include <math.h>
55488 main ()
55490 _sincos(0, 0, 0);
55492 return 0;
55494 _ACEOF
55495 if ac_fn_cxx_try_compile "$LINENO"; then :
55496 glibcxx_cv_func__sincos_use=yes
55497 else
55498 glibcxx_cv_func__sincos_use=no
55500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55501 ac_ext=c
55502 ac_cpp='$CPP $CPPFLAGS'
55503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55512 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55514 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55515 for ac_func in _sincos
55516 do :
55517 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55518 if test "x$ac_cv_func__sincos" = xyes; then :
55519 cat >>confdefs.h <<_ACEOF
55520 #define HAVE__SINCOS 1
55521 _ACEOF
55524 done
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55534 $as_echo_n "checking for fpclass declaration... " >&6; }
55535 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55536 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55537 $as_echo_n "(cached) " >&6
55538 else
55541 ac_ext=cpp
55542 ac_cpp='$CXXCPP $CPPFLAGS'
55543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55548 /* end confdefs.h. */
55549 #include <math.h>
55550 #ifdef HAVE_IEEEFP_H
55551 #include <ieeefp.h>
55552 #endif
55555 main ()
55557 fpclass(0);
55559 return 0;
55561 _ACEOF
55562 if ac_fn_cxx_try_compile "$LINENO"; then :
55563 glibcxx_cv_func_fpclass_use=yes
55564 else
55565 glibcxx_cv_func_fpclass_use=no
55567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55568 ac_ext=c
55569 ac_cpp='$CPP $CPPFLAGS'
55570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55579 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55581 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55582 for ac_func in fpclass
55583 do :
55584 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55585 if test "x$ac_cv_func_fpclass" = xyes; then :
55586 cat >>confdefs.h <<_ACEOF
55587 #define HAVE_FPCLASS 1
55588 _ACEOF
55591 done
55593 else
55595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55596 $as_echo_n "checking for _fpclass declaration... " >&6; }
55597 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55598 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55599 $as_echo_n "(cached) " >&6
55600 else
55603 ac_ext=cpp
55604 ac_cpp='$CXXCPP $CPPFLAGS'
55605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55610 /* end confdefs.h. */
55611 #include <math.h>
55612 #ifdef HAVE_IEEEFP_H
55613 #include <ieeefp.h>
55614 #endif
55617 main ()
55619 _fpclass(0);
55621 return 0;
55623 _ACEOF
55624 if ac_fn_cxx_try_compile "$LINENO"; then :
55625 glibcxx_cv_func__fpclass_use=yes
55626 else
55627 glibcxx_cv_func__fpclass_use=no
55629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55630 ac_ext=c
55631 ac_cpp='$CPP $CPPFLAGS'
55632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55641 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55643 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55644 for ac_func in _fpclass
55645 do :
55646 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55647 if test "x$ac_cv_func__fpclass" = xyes; then :
55648 cat >>confdefs.h <<_ACEOF
55649 #define HAVE__FPCLASS 1
55650 _ACEOF
55653 done
55662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55663 $as_echo_n "checking for qfpclass declaration... " >&6; }
55664 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55665 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55666 $as_echo_n "(cached) " >&6
55667 else
55670 ac_ext=cpp
55671 ac_cpp='$CXXCPP $CPPFLAGS'
55672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55677 /* end confdefs.h. */
55678 #include <math.h>
55679 #ifdef HAVE_IEEEFP_H
55680 #include <ieeefp.h>
55681 #endif
55684 main ()
55686 qfpclass(0);
55688 return 0;
55690 _ACEOF
55691 if ac_fn_cxx_try_compile "$LINENO"; then :
55692 glibcxx_cv_func_qfpclass_use=yes
55693 else
55694 glibcxx_cv_func_qfpclass_use=no
55696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55697 ac_ext=c
55698 ac_cpp='$CPP $CPPFLAGS'
55699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55708 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55710 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55711 for ac_func in qfpclass
55712 do :
55713 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55714 if test "x$ac_cv_func_qfpclass" = xyes; then :
55715 cat >>confdefs.h <<_ACEOF
55716 #define HAVE_QFPCLASS 1
55717 _ACEOF
55720 done
55722 else
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55725 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55726 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55727 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55728 $as_echo_n "(cached) " >&6
55729 else
55732 ac_ext=cpp
55733 ac_cpp='$CXXCPP $CPPFLAGS'
55734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55739 /* end confdefs.h. */
55740 #include <math.h>
55741 #ifdef HAVE_IEEEFP_H
55742 #include <ieeefp.h>
55743 #endif
55746 main ()
55748 _qfpclass(0);
55750 return 0;
55752 _ACEOF
55753 if ac_fn_cxx_try_compile "$LINENO"; then :
55754 glibcxx_cv_func__qfpclass_use=yes
55755 else
55756 glibcxx_cv_func__qfpclass_use=no
55758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55759 ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55770 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55772 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55773 for ac_func in _qfpclass
55774 do :
55775 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55776 if test "x$ac_cv_func__qfpclass" = xyes; then :
55777 cat >>confdefs.h <<_ACEOF
55778 #define HAVE__QFPCLASS 1
55779 _ACEOF
55782 done
55791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55792 $as_echo_n "checking for hypot declaration... " >&6; }
55793 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55794 if ${glibcxx_cv_func_hypot_use+:} false; then :
55795 $as_echo_n "(cached) " >&6
55796 else
55799 ac_ext=cpp
55800 ac_cpp='$CXXCPP $CPPFLAGS'
55801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55806 /* end confdefs.h. */
55807 #include <math.h>
55809 main ()
55811 hypot(0, 0);
55813 return 0;
55815 _ACEOF
55816 if ac_fn_cxx_try_compile "$LINENO"; then :
55817 glibcxx_cv_func_hypot_use=yes
55818 else
55819 glibcxx_cv_func_hypot_use=no
55821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55822 ac_ext=c
55823 ac_cpp='$CPP $CPPFLAGS'
55824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55833 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55835 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55836 for ac_func in hypot
55837 do :
55838 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55839 if test "x$ac_cv_func_hypot" = xyes; then :
55840 cat >>confdefs.h <<_ACEOF
55841 #define HAVE_HYPOT 1
55842 _ACEOF
55845 done
55847 else
55849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55850 $as_echo_n "checking for _hypot declaration... " >&6; }
55851 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55852 if ${glibcxx_cv_func__hypot_use+:} false; then :
55853 $as_echo_n "(cached) " >&6
55854 else
55857 ac_ext=cpp
55858 ac_cpp='$CXXCPP $CPPFLAGS'
55859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55864 /* end confdefs.h. */
55865 #include <math.h>
55867 main ()
55869 _hypot(0, 0);
55871 return 0;
55873 _ACEOF
55874 if ac_fn_cxx_try_compile "$LINENO"; then :
55875 glibcxx_cv_func__hypot_use=yes
55876 else
55877 glibcxx_cv_func__hypot_use=no
55879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55880 ac_ext=c
55881 ac_cpp='$CPP $CPPFLAGS'
55882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55891 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55893 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55894 for ac_func in _hypot
55895 do :
55896 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55897 if test "x$ac_cv_func__hypot" = xyes; then :
55898 cat >>confdefs.h <<_ACEOF
55899 #define HAVE__HYPOT 1
55900 _ACEOF
55903 done
55912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55913 $as_echo_n "checking for float trig functions... " >&6; }
55914 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55915 $as_echo_n "(cached) " >&6
55916 else
55919 ac_ext=cpp
55920 ac_cpp='$CXXCPP $CPPFLAGS'
55921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55926 /* end confdefs.h. */
55927 #include <math.h>
55929 main ()
55931 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55933 return 0;
55935 _ACEOF
55936 if ac_fn_cxx_try_compile "$LINENO"; then :
55937 glibcxx_cv_func_float_trig_use=yes
55938 else
55939 glibcxx_cv_func_float_trig_use=no
55941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55942 ac_ext=c
55943 ac_cpp='$CPP $CPPFLAGS'
55944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55951 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55952 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55953 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55954 do :
55955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55957 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55958 cat >>confdefs.h <<_ACEOF
55959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55960 _ACEOF
55963 done
55965 else
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55967 $as_echo_n "checking for _float trig functions... " >&6; }
55968 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55969 $as_echo_n "(cached) " >&6
55970 else
55973 ac_ext=cpp
55974 ac_cpp='$CXXCPP $CPPFLAGS'
55975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55980 /* end confdefs.h. */
55981 #include <math.h>
55983 main ()
55985 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55987 return 0;
55989 _ACEOF
55990 if ac_fn_cxx_try_compile "$LINENO"; then :
55991 glibcxx_cv_func__float_trig_use=yes
55992 else
55993 glibcxx_cv_func__float_trig_use=no
55995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55996 ac_ext=c
55997 ac_cpp='$CPP $CPPFLAGS'
55998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
56005 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
56006 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56007 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56008 do :
56009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56011 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56012 cat >>confdefs.h <<_ACEOF
56013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56014 _ACEOF
56017 done
56026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
56027 $as_echo_n "checking for float round functions... " >&6; }
56028 if ${glibcxx_cv_func_float_round_use+:} false; then :
56029 $as_echo_n "(cached) " >&6
56030 else
56033 ac_ext=cpp
56034 ac_cpp='$CXXCPP $CPPFLAGS'
56035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56040 /* end confdefs.h. */
56041 #include <math.h>
56043 main ()
56045 ceilf (0); floorf (0);
56047 return 0;
56049 _ACEOF
56050 if ac_fn_cxx_try_compile "$LINENO"; then :
56051 glibcxx_cv_func_float_round_use=yes
56052 else
56053 glibcxx_cv_func_float_round_use=no
56055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56056 ac_ext=c
56057 ac_cpp='$CPP $CPPFLAGS'
56058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56065 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56066 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56067 for ac_func in ceilf floorf
56068 do :
56069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56072 cat >>confdefs.h <<_ACEOF
56073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56074 _ACEOF
56077 done
56079 else
56080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56081 $as_echo_n "checking for _float round functions... " >&6; }
56082 if ${glibcxx_cv_func__float_round_use+:} false; then :
56083 $as_echo_n "(cached) " >&6
56084 else
56087 ac_ext=cpp
56088 ac_cpp='$CXXCPP $CPPFLAGS'
56089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56094 /* end confdefs.h. */
56095 #include <math.h>
56097 main ()
56099 _ceilf (0); _floorf (0);
56101 return 0;
56103 _ACEOF
56104 if ac_fn_cxx_try_compile "$LINENO"; then :
56105 glibcxx_cv_func__float_round_use=yes
56106 else
56107 glibcxx_cv_func__float_round_use=no
56109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56110 ac_ext=c
56111 ac_cpp='$CPP $CPPFLAGS'
56112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56119 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56120 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56121 for ac_func in _ceilf _floorf
56122 do :
56123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56125 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56126 cat >>confdefs.h <<_ACEOF
56127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56128 _ACEOF
56131 done
56141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56142 $as_echo_n "checking for expf declaration... " >&6; }
56143 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56144 if ${glibcxx_cv_func_expf_use+:} false; then :
56145 $as_echo_n "(cached) " >&6
56146 else
56149 ac_ext=cpp
56150 ac_cpp='$CXXCPP $CPPFLAGS'
56151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56156 /* end confdefs.h. */
56157 #include <math.h>
56158 #ifdef HAVE_IEEEFP_H
56159 #include <ieeefp.h>
56160 #endif
56163 main ()
56165 expf(0);
56167 return 0;
56169 _ACEOF
56170 if ac_fn_cxx_try_compile "$LINENO"; then :
56171 glibcxx_cv_func_expf_use=yes
56172 else
56173 glibcxx_cv_func_expf_use=no
56175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56176 ac_ext=c
56177 ac_cpp='$CPP $CPPFLAGS'
56178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56187 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
56189 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56190 for ac_func in expf
56191 do :
56192 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56193 if test "x$ac_cv_func_expf" = xyes; then :
56194 cat >>confdefs.h <<_ACEOF
56195 #define HAVE_EXPF 1
56196 _ACEOF
56199 done
56201 else
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56204 $as_echo_n "checking for _expf declaration... " >&6; }
56205 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56206 if ${glibcxx_cv_func__expf_use+:} false; then :
56207 $as_echo_n "(cached) " >&6
56208 else
56211 ac_ext=cpp
56212 ac_cpp='$CXXCPP $CPPFLAGS'
56213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218 /* end confdefs.h. */
56219 #include <math.h>
56220 #ifdef HAVE_IEEEFP_H
56221 #include <ieeefp.h>
56222 #endif
56225 main ()
56227 _expf(0);
56229 return 0;
56231 _ACEOF
56232 if ac_fn_cxx_try_compile "$LINENO"; then :
56233 glibcxx_cv_func__expf_use=yes
56234 else
56235 glibcxx_cv_func__expf_use=no
56237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56238 ac_ext=c
56239 ac_cpp='$CPP $CPPFLAGS'
56240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56249 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
56251 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56252 for ac_func in _expf
56253 do :
56254 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56255 if test "x$ac_cv_func__expf" = xyes; then :
56256 cat >>confdefs.h <<_ACEOF
56257 #define HAVE__EXPF 1
56258 _ACEOF
56261 done
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56271 $as_echo_n "checking for isnanf declaration... " >&6; }
56272 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56273 if ${glibcxx_cv_func_isnanf_use+:} false; then :
56274 $as_echo_n "(cached) " >&6
56275 else
56278 ac_ext=cpp
56279 ac_cpp='$CXXCPP $CPPFLAGS'
56280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56285 /* end confdefs.h. */
56286 #include <math.h>
56287 #ifdef HAVE_IEEEFP_H
56288 #include <ieeefp.h>
56289 #endif
56292 main ()
56294 isnanf(0);
56296 return 0;
56298 _ACEOF
56299 if ac_fn_cxx_try_compile "$LINENO"; then :
56300 glibcxx_cv_func_isnanf_use=yes
56301 else
56302 glibcxx_cv_func_isnanf_use=no
56304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56305 ac_ext=c
56306 ac_cpp='$CPP $CPPFLAGS'
56307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
56316 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56318 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56319 for ac_func in isnanf
56320 do :
56321 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56322 if test "x$ac_cv_func_isnanf" = xyes; then :
56323 cat >>confdefs.h <<_ACEOF
56324 #define HAVE_ISNANF 1
56325 _ACEOF
56328 done
56330 else
56332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56333 $as_echo_n "checking for _isnanf declaration... " >&6; }
56334 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56335 if ${glibcxx_cv_func__isnanf_use+:} false; then :
56336 $as_echo_n "(cached) " >&6
56337 else
56340 ac_ext=cpp
56341 ac_cpp='$CXXCPP $CPPFLAGS'
56342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56347 /* end confdefs.h. */
56348 #include <math.h>
56349 #ifdef HAVE_IEEEFP_H
56350 #include <ieeefp.h>
56351 #endif
56354 main ()
56356 _isnanf(0);
56358 return 0;
56360 _ACEOF
56361 if ac_fn_cxx_try_compile "$LINENO"; then :
56362 glibcxx_cv_func__isnanf_use=yes
56363 else
56364 glibcxx_cv_func__isnanf_use=no
56366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56367 ac_ext=c
56368 ac_cpp='$CPP $CPPFLAGS'
56369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56378 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56380 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56381 for ac_func in _isnanf
56382 do :
56383 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56384 if test "x$ac_cv_func__isnanf" = xyes; then :
56385 cat >>confdefs.h <<_ACEOF
56386 #define HAVE__ISNANF 1
56387 _ACEOF
56390 done
56399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56400 $as_echo_n "checking for isinff declaration... " >&6; }
56401 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56402 if ${glibcxx_cv_func_isinff_use+:} false; then :
56403 $as_echo_n "(cached) " >&6
56404 else
56407 ac_ext=cpp
56408 ac_cpp='$CXXCPP $CPPFLAGS'
56409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56414 /* end confdefs.h. */
56415 #include <math.h>
56416 #ifdef HAVE_IEEEFP_H
56417 #include <ieeefp.h>
56418 #endif
56421 main ()
56423 isinff(0);
56425 return 0;
56427 _ACEOF
56428 if ac_fn_cxx_try_compile "$LINENO"; then :
56429 glibcxx_cv_func_isinff_use=yes
56430 else
56431 glibcxx_cv_func_isinff_use=no
56433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56434 ac_ext=c
56435 ac_cpp='$CPP $CPPFLAGS'
56436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56445 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56447 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56448 for ac_func in isinff
56449 do :
56450 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56451 if test "x$ac_cv_func_isinff" = xyes; then :
56452 cat >>confdefs.h <<_ACEOF
56453 #define HAVE_ISINFF 1
56454 _ACEOF
56457 done
56459 else
56461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56462 $as_echo_n "checking for _isinff declaration... " >&6; }
56463 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56464 if ${glibcxx_cv_func__isinff_use+:} false; then :
56465 $as_echo_n "(cached) " >&6
56466 else
56469 ac_ext=cpp
56470 ac_cpp='$CXXCPP $CPPFLAGS'
56471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56476 /* end confdefs.h. */
56477 #include <math.h>
56478 #ifdef HAVE_IEEEFP_H
56479 #include <ieeefp.h>
56480 #endif
56483 main ()
56485 _isinff(0);
56487 return 0;
56489 _ACEOF
56490 if ac_fn_cxx_try_compile "$LINENO"; then :
56491 glibcxx_cv_func__isinff_use=yes
56492 else
56493 glibcxx_cv_func__isinff_use=no
56495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56496 ac_ext=c
56497 ac_cpp='$CPP $CPPFLAGS'
56498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56507 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56509 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56510 for ac_func in _isinff
56511 do :
56512 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56513 if test "x$ac_cv_func__isinff" = xyes; then :
56514 cat >>confdefs.h <<_ACEOF
56515 #define HAVE__ISINFF 1
56516 _ACEOF
56519 done
56528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56529 $as_echo_n "checking for atan2f declaration... " >&6; }
56530 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56531 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56532 $as_echo_n "(cached) " >&6
56533 else
56536 ac_ext=cpp
56537 ac_cpp='$CXXCPP $CPPFLAGS'
56538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56543 /* end confdefs.h. */
56544 #include <math.h>
56546 main ()
56548 atan2f(0, 0);
56550 return 0;
56552 _ACEOF
56553 if ac_fn_cxx_try_compile "$LINENO"; then :
56554 glibcxx_cv_func_atan2f_use=yes
56555 else
56556 glibcxx_cv_func_atan2f_use=no
56558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56559 ac_ext=c
56560 ac_cpp='$CPP $CPPFLAGS'
56561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56570 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56572 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56573 for ac_func in atan2f
56574 do :
56575 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56576 if test "x$ac_cv_func_atan2f" = xyes; then :
56577 cat >>confdefs.h <<_ACEOF
56578 #define HAVE_ATAN2F 1
56579 _ACEOF
56582 done
56584 else
56586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56587 $as_echo_n "checking for _atan2f declaration... " >&6; }
56588 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56589 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56590 $as_echo_n "(cached) " >&6
56591 else
56594 ac_ext=cpp
56595 ac_cpp='$CXXCPP $CPPFLAGS'
56596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56601 /* end confdefs.h. */
56602 #include <math.h>
56604 main ()
56606 _atan2f(0, 0);
56608 return 0;
56610 _ACEOF
56611 if ac_fn_cxx_try_compile "$LINENO"; then :
56612 glibcxx_cv_func__atan2f_use=yes
56613 else
56614 glibcxx_cv_func__atan2f_use=no
56616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56617 ac_ext=c
56618 ac_cpp='$CPP $CPPFLAGS'
56619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56628 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56630 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56631 for ac_func in _atan2f
56632 do :
56633 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56634 if test "x$ac_cv_func__atan2f" = xyes; then :
56635 cat >>confdefs.h <<_ACEOF
56636 #define HAVE__ATAN2F 1
56637 _ACEOF
56640 done
56649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56650 $as_echo_n "checking for fabsf declaration... " >&6; }
56651 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56652 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56653 $as_echo_n "(cached) " >&6
56654 else
56657 ac_ext=cpp
56658 ac_cpp='$CXXCPP $CPPFLAGS'
56659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56664 /* end confdefs.h. */
56665 #include <math.h>
56666 #ifdef HAVE_IEEEFP_H
56667 #include <ieeefp.h>
56668 #endif
56671 main ()
56673 fabsf(0);
56675 return 0;
56677 _ACEOF
56678 if ac_fn_cxx_try_compile "$LINENO"; then :
56679 glibcxx_cv_func_fabsf_use=yes
56680 else
56681 glibcxx_cv_func_fabsf_use=no
56683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56684 ac_ext=c
56685 ac_cpp='$CPP $CPPFLAGS'
56686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56695 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56697 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56698 for ac_func in fabsf
56699 do :
56700 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56701 if test "x$ac_cv_func_fabsf" = xyes; then :
56702 cat >>confdefs.h <<_ACEOF
56703 #define HAVE_FABSF 1
56704 _ACEOF
56707 done
56709 else
56711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56712 $as_echo_n "checking for _fabsf declaration... " >&6; }
56713 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56714 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56715 $as_echo_n "(cached) " >&6
56716 else
56719 ac_ext=cpp
56720 ac_cpp='$CXXCPP $CPPFLAGS'
56721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56726 /* end confdefs.h. */
56727 #include <math.h>
56728 #ifdef HAVE_IEEEFP_H
56729 #include <ieeefp.h>
56730 #endif
56733 main ()
56735 _fabsf(0);
56737 return 0;
56739 _ACEOF
56740 if ac_fn_cxx_try_compile "$LINENO"; then :
56741 glibcxx_cv_func__fabsf_use=yes
56742 else
56743 glibcxx_cv_func__fabsf_use=no
56745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56746 ac_ext=c
56747 ac_cpp='$CPP $CPPFLAGS'
56748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56757 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56759 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56760 for ac_func in _fabsf
56761 do :
56762 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56763 if test "x$ac_cv_func__fabsf" = xyes; then :
56764 cat >>confdefs.h <<_ACEOF
56765 #define HAVE__FABSF 1
56766 _ACEOF
56769 done
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56779 $as_echo_n "checking for fmodf declaration... " >&6; }
56780 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56781 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56782 $as_echo_n "(cached) " >&6
56783 else
56786 ac_ext=cpp
56787 ac_cpp='$CXXCPP $CPPFLAGS'
56788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56793 /* end confdefs.h. */
56794 #include <math.h>
56796 main ()
56798 fmodf(0, 0);
56800 return 0;
56802 _ACEOF
56803 if ac_fn_cxx_try_compile "$LINENO"; then :
56804 glibcxx_cv_func_fmodf_use=yes
56805 else
56806 glibcxx_cv_func_fmodf_use=no
56808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56809 ac_ext=c
56810 ac_cpp='$CPP $CPPFLAGS'
56811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56820 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56822 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56823 for ac_func in fmodf
56824 do :
56825 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56826 if test "x$ac_cv_func_fmodf" = xyes; then :
56827 cat >>confdefs.h <<_ACEOF
56828 #define HAVE_FMODF 1
56829 _ACEOF
56832 done
56834 else
56836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56837 $as_echo_n "checking for _fmodf declaration... " >&6; }
56838 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56839 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56840 $as_echo_n "(cached) " >&6
56841 else
56844 ac_ext=cpp
56845 ac_cpp='$CXXCPP $CPPFLAGS'
56846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56851 /* end confdefs.h. */
56852 #include <math.h>
56854 main ()
56856 _fmodf(0, 0);
56858 return 0;
56860 _ACEOF
56861 if ac_fn_cxx_try_compile "$LINENO"; then :
56862 glibcxx_cv_func__fmodf_use=yes
56863 else
56864 glibcxx_cv_func__fmodf_use=no
56866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56867 ac_ext=c
56868 ac_cpp='$CPP $CPPFLAGS'
56869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56878 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56880 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56881 for ac_func in _fmodf
56882 do :
56883 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56884 if test "x$ac_cv_func__fmodf" = xyes; then :
56885 cat >>confdefs.h <<_ACEOF
56886 #define HAVE__FMODF 1
56887 _ACEOF
56890 done
56899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56900 $as_echo_n "checking for frexpf declaration... " >&6; }
56901 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56902 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56903 $as_echo_n "(cached) " >&6
56904 else
56907 ac_ext=cpp
56908 ac_cpp='$CXXCPP $CPPFLAGS'
56909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56914 /* end confdefs.h. */
56915 #include <math.h>
56917 main ()
56919 frexpf(0, 0);
56921 return 0;
56923 _ACEOF
56924 if ac_fn_cxx_try_compile "$LINENO"; then :
56925 glibcxx_cv_func_frexpf_use=yes
56926 else
56927 glibcxx_cv_func_frexpf_use=no
56929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56930 ac_ext=c
56931 ac_cpp='$CPP $CPPFLAGS'
56932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56941 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56943 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56944 for ac_func in frexpf
56945 do :
56946 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56947 if test "x$ac_cv_func_frexpf" = xyes; then :
56948 cat >>confdefs.h <<_ACEOF
56949 #define HAVE_FREXPF 1
56950 _ACEOF
56953 done
56955 else
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56958 $as_echo_n "checking for _frexpf declaration... " >&6; }
56959 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56960 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56961 $as_echo_n "(cached) " >&6
56962 else
56965 ac_ext=cpp
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56972 /* end confdefs.h. */
56973 #include <math.h>
56975 main ()
56977 _frexpf(0, 0);
56979 return 0;
56981 _ACEOF
56982 if ac_fn_cxx_try_compile "$LINENO"; then :
56983 glibcxx_cv_func__frexpf_use=yes
56984 else
56985 glibcxx_cv_func__frexpf_use=no
56987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56988 ac_ext=c
56989 ac_cpp='$CPP $CPPFLAGS'
56990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56999 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
57001 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57002 for ac_func in _frexpf
57003 do :
57004 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
57005 if test "x$ac_cv_func__frexpf" = xyes; then :
57006 cat >>confdefs.h <<_ACEOF
57007 #define HAVE__FREXPF 1
57008 _ACEOF
57011 done
57020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
57021 $as_echo_n "checking for hypotf declaration... " >&6; }
57022 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57023 if ${glibcxx_cv_func_hypotf_use+:} false; then :
57024 $as_echo_n "(cached) " >&6
57025 else
57028 ac_ext=cpp
57029 ac_cpp='$CXXCPP $CPPFLAGS'
57030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57035 /* end confdefs.h. */
57036 #include <math.h>
57038 main ()
57040 hypotf(0, 0);
57042 return 0;
57044 _ACEOF
57045 if ac_fn_cxx_try_compile "$LINENO"; then :
57046 glibcxx_cv_func_hypotf_use=yes
57047 else
57048 glibcxx_cv_func_hypotf_use=no
57050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57051 ac_ext=c
57052 ac_cpp='$CPP $CPPFLAGS'
57053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57062 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57064 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57065 for ac_func in hypotf
57066 do :
57067 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57068 if test "x$ac_cv_func_hypotf" = xyes; then :
57069 cat >>confdefs.h <<_ACEOF
57070 #define HAVE_HYPOTF 1
57071 _ACEOF
57074 done
57076 else
57078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57079 $as_echo_n "checking for _hypotf declaration... " >&6; }
57080 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57081 if ${glibcxx_cv_func__hypotf_use+:} false; then :
57082 $as_echo_n "(cached) " >&6
57083 else
57086 ac_ext=cpp
57087 ac_cpp='$CXXCPP $CPPFLAGS'
57088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57093 /* end confdefs.h. */
57094 #include <math.h>
57096 main ()
57098 _hypotf(0, 0);
57100 return 0;
57102 _ACEOF
57103 if ac_fn_cxx_try_compile "$LINENO"; then :
57104 glibcxx_cv_func__hypotf_use=yes
57105 else
57106 glibcxx_cv_func__hypotf_use=no
57108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57109 ac_ext=c
57110 ac_cpp='$CPP $CPPFLAGS'
57111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57120 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57122 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57123 for ac_func in _hypotf
57124 do :
57125 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57126 if test "x$ac_cv_func__hypotf" = xyes; then :
57127 cat >>confdefs.h <<_ACEOF
57128 #define HAVE__HYPOTF 1
57129 _ACEOF
57132 done
57141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57142 $as_echo_n "checking for ldexpf declaration... " >&6; }
57143 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57144 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57145 $as_echo_n "(cached) " >&6
57146 else
57149 ac_ext=cpp
57150 ac_cpp='$CXXCPP $CPPFLAGS'
57151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57156 /* end confdefs.h. */
57157 #include <math.h>
57159 main ()
57161 ldexpf(0, 0);
57163 return 0;
57165 _ACEOF
57166 if ac_fn_cxx_try_compile "$LINENO"; then :
57167 glibcxx_cv_func_ldexpf_use=yes
57168 else
57169 glibcxx_cv_func_ldexpf_use=no
57171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57172 ac_ext=c
57173 ac_cpp='$CPP $CPPFLAGS'
57174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57183 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57185 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57186 for ac_func in ldexpf
57187 do :
57188 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57189 if test "x$ac_cv_func_ldexpf" = xyes; then :
57190 cat >>confdefs.h <<_ACEOF
57191 #define HAVE_LDEXPF 1
57192 _ACEOF
57195 done
57197 else
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57200 $as_echo_n "checking for _ldexpf declaration... " >&6; }
57201 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57202 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57217 main ()
57219 _ldexpf(0, 0);
57221 return 0;
57223 _ACEOF
57224 if ac_fn_cxx_try_compile "$LINENO"; then :
57225 glibcxx_cv_func__ldexpf_use=yes
57226 else
57227 glibcxx_cv_func__ldexpf_use=no
57229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57230 ac_ext=c
57231 ac_cpp='$CPP $CPPFLAGS'
57232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57241 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57243 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57244 for ac_func in _ldexpf
57245 do :
57246 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57247 if test "x$ac_cv_func__ldexpf" = xyes; then :
57248 cat >>confdefs.h <<_ACEOF
57249 #define HAVE__LDEXPF 1
57250 _ACEOF
57253 done
57262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57263 $as_echo_n "checking for logf declaration... " >&6; }
57264 if test x${glibcxx_cv_func_logf_use+set} != xset; then
57265 if ${glibcxx_cv_func_logf_use+:} false; then :
57266 $as_echo_n "(cached) " >&6
57267 else
57270 ac_ext=cpp
57271 ac_cpp='$CXXCPP $CPPFLAGS'
57272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57277 /* end confdefs.h. */
57278 #include <math.h>
57279 #ifdef HAVE_IEEEFP_H
57280 #include <ieeefp.h>
57281 #endif
57284 main ()
57286 logf(0);
57288 return 0;
57290 _ACEOF
57291 if ac_fn_cxx_try_compile "$LINENO"; then :
57292 glibcxx_cv_func_logf_use=yes
57293 else
57294 glibcxx_cv_func_logf_use=no
57296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57297 ac_ext=c
57298 ac_cpp='$CPP $CPPFLAGS'
57299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57308 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
57310 if test x$glibcxx_cv_func_logf_use = x"yes"; then
57311 for ac_func in logf
57312 do :
57313 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57314 if test "x$ac_cv_func_logf" = xyes; then :
57315 cat >>confdefs.h <<_ACEOF
57316 #define HAVE_LOGF 1
57317 _ACEOF
57320 done
57322 else
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57325 $as_echo_n "checking for _logf declaration... " >&6; }
57326 if test x${glibcxx_cv_func__logf_use+set} != xset; then
57327 if ${glibcxx_cv_func__logf_use+:} false; then :
57328 $as_echo_n "(cached) " >&6
57329 else
57332 ac_ext=cpp
57333 ac_cpp='$CXXCPP $CPPFLAGS'
57334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57339 /* end confdefs.h. */
57340 #include <math.h>
57341 #ifdef HAVE_IEEEFP_H
57342 #include <ieeefp.h>
57343 #endif
57346 main ()
57348 _logf(0);
57350 return 0;
57352 _ACEOF
57353 if ac_fn_cxx_try_compile "$LINENO"; then :
57354 glibcxx_cv_func__logf_use=yes
57355 else
57356 glibcxx_cv_func__logf_use=no
57358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57359 ac_ext=c
57360 ac_cpp='$CPP $CPPFLAGS'
57361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57370 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57372 if test x$glibcxx_cv_func__logf_use = x"yes"; then
57373 for ac_func in _logf
57374 do :
57375 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57376 if test "x$ac_cv_func__logf" = xyes; then :
57377 cat >>confdefs.h <<_ACEOF
57378 #define HAVE__LOGF 1
57379 _ACEOF
57382 done
57391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57392 $as_echo_n "checking for log10f declaration... " >&6; }
57393 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57394 if ${glibcxx_cv_func_log10f_use+:} false; then :
57395 $as_echo_n "(cached) " >&6
57396 else
57399 ac_ext=cpp
57400 ac_cpp='$CXXCPP $CPPFLAGS'
57401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57406 /* end confdefs.h. */
57407 #include <math.h>
57408 #ifdef HAVE_IEEEFP_H
57409 #include <ieeefp.h>
57410 #endif
57413 main ()
57415 log10f(0);
57417 return 0;
57419 _ACEOF
57420 if ac_fn_cxx_try_compile "$LINENO"; then :
57421 glibcxx_cv_func_log10f_use=yes
57422 else
57423 glibcxx_cv_func_log10f_use=no
57425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57426 ac_ext=c
57427 ac_cpp='$CPP $CPPFLAGS'
57428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57437 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57439 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57440 for ac_func in log10f
57441 do :
57442 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57443 if test "x$ac_cv_func_log10f" = xyes; then :
57444 cat >>confdefs.h <<_ACEOF
57445 #define HAVE_LOG10F 1
57446 _ACEOF
57449 done
57451 else
57453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57454 $as_echo_n "checking for _log10f declaration... " >&6; }
57455 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57456 if ${glibcxx_cv_func__log10f_use+:} false; then :
57457 $as_echo_n "(cached) " >&6
57458 else
57461 ac_ext=cpp
57462 ac_cpp='$CXXCPP $CPPFLAGS'
57463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57468 /* end confdefs.h. */
57469 #include <math.h>
57470 #ifdef HAVE_IEEEFP_H
57471 #include <ieeefp.h>
57472 #endif
57475 main ()
57477 _log10f(0);
57479 return 0;
57481 _ACEOF
57482 if ac_fn_cxx_try_compile "$LINENO"; then :
57483 glibcxx_cv_func__log10f_use=yes
57484 else
57485 glibcxx_cv_func__log10f_use=no
57487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57488 ac_ext=c
57489 ac_cpp='$CPP $CPPFLAGS'
57490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57499 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57501 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57502 for ac_func in _log10f
57503 do :
57504 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57505 if test "x$ac_cv_func__log10f" = xyes; then :
57506 cat >>confdefs.h <<_ACEOF
57507 #define HAVE__LOG10F 1
57508 _ACEOF
57511 done
57520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57521 $as_echo_n "checking for modff declaration... " >&6; }
57522 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57523 if ${glibcxx_cv_func_modff_use+:} false; then :
57524 $as_echo_n "(cached) " >&6
57525 else
57528 ac_ext=cpp
57529 ac_cpp='$CXXCPP $CPPFLAGS'
57530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57535 /* end confdefs.h. */
57536 #include <math.h>
57538 main ()
57540 modff(0, 0);
57542 return 0;
57544 _ACEOF
57545 if ac_fn_cxx_try_compile "$LINENO"; then :
57546 glibcxx_cv_func_modff_use=yes
57547 else
57548 glibcxx_cv_func_modff_use=no
57550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57551 ac_ext=c
57552 ac_cpp='$CPP $CPPFLAGS'
57553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57562 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57564 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57565 for ac_func in modff
57566 do :
57567 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57568 if test "x$ac_cv_func_modff" = xyes; then :
57569 cat >>confdefs.h <<_ACEOF
57570 #define HAVE_MODFF 1
57571 _ACEOF
57574 done
57576 else
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57579 $as_echo_n "checking for _modff declaration... " >&6; }
57580 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57581 if ${glibcxx_cv_func__modff_use+:} false; then :
57582 $as_echo_n "(cached) " >&6
57583 else
57586 ac_ext=cpp
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593 /* end confdefs.h. */
57594 #include <math.h>
57596 main ()
57598 _modff(0, 0);
57600 return 0;
57602 _ACEOF
57603 if ac_fn_cxx_try_compile "$LINENO"; then :
57604 glibcxx_cv_func__modff_use=yes
57605 else
57606 glibcxx_cv_func__modff_use=no
57608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57609 ac_ext=c
57610 ac_cpp='$CPP $CPPFLAGS'
57611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57620 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57622 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57623 for ac_func in _modff
57624 do :
57625 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57626 if test "x$ac_cv_func__modff" = xyes; then :
57627 cat >>confdefs.h <<_ACEOF
57628 #define HAVE__MODFF 1
57629 _ACEOF
57632 done
57641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57642 $as_echo_n "checking for modf declaration... " >&6; }
57643 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57644 if ${glibcxx_cv_func_modf_use+:} false; then :
57645 $as_echo_n "(cached) " >&6
57646 else
57649 ac_ext=cpp
57650 ac_cpp='$CXXCPP $CPPFLAGS'
57651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57656 /* end confdefs.h. */
57657 #include <math.h>
57659 main ()
57661 modf(0, 0);
57663 return 0;
57665 _ACEOF
57666 if ac_fn_cxx_try_compile "$LINENO"; then :
57667 glibcxx_cv_func_modf_use=yes
57668 else
57669 glibcxx_cv_func_modf_use=no
57671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57672 ac_ext=c
57673 ac_cpp='$CPP $CPPFLAGS'
57674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57683 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57685 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57686 for ac_func in modf
57687 do :
57688 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57689 if test "x$ac_cv_func_modf" = xyes; then :
57690 cat >>confdefs.h <<_ACEOF
57691 #define HAVE_MODF 1
57692 _ACEOF
57695 done
57697 else
57699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57700 $as_echo_n "checking for _modf declaration... " >&6; }
57701 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57702 if ${glibcxx_cv_func__modf_use+:} false; then :
57703 $as_echo_n "(cached) " >&6
57704 else
57707 ac_ext=cpp
57708 ac_cpp='$CXXCPP $CPPFLAGS'
57709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57714 /* end confdefs.h. */
57715 #include <math.h>
57717 main ()
57719 _modf(0, 0);
57721 return 0;
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725 glibcxx_cv_func__modf_use=yes
57726 else
57727 glibcxx_cv_func__modf_use=no
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57741 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57743 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57744 for ac_func in _modf
57745 do :
57746 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57747 if test "x$ac_cv_func__modf" = xyes; then :
57748 cat >>confdefs.h <<_ACEOF
57749 #define HAVE__MODF 1
57750 _ACEOF
57753 done
57762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57763 $as_echo_n "checking for powf declaration... " >&6; }
57764 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57765 if ${glibcxx_cv_func_powf_use+:} false; then :
57766 $as_echo_n "(cached) " >&6
57767 else
57770 ac_ext=cpp
57771 ac_cpp='$CXXCPP $CPPFLAGS'
57772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57777 /* end confdefs.h. */
57778 #include <math.h>
57780 main ()
57782 powf(0, 0);
57784 return 0;
57786 _ACEOF
57787 if ac_fn_cxx_try_compile "$LINENO"; then :
57788 glibcxx_cv_func_powf_use=yes
57789 else
57790 glibcxx_cv_func_powf_use=no
57792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57793 ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57804 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57806 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57807 for ac_func in powf
57808 do :
57809 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57810 if test "x$ac_cv_func_powf" = xyes; then :
57811 cat >>confdefs.h <<_ACEOF
57812 #define HAVE_POWF 1
57813 _ACEOF
57816 done
57818 else
57820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57821 $as_echo_n "checking for _powf declaration... " >&6; }
57822 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57823 if ${glibcxx_cv_func__powf_use+:} false; then :
57824 $as_echo_n "(cached) " >&6
57825 else
57828 ac_ext=cpp
57829 ac_cpp='$CXXCPP $CPPFLAGS'
57830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835 /* end confdefs.h. */
57836 #include <math.h>
57838 main ()
57840 _powf(0, 0);
57842 return 0;
57844 _ACEOF
57845 if ac_fn_cxx_try_compile "$LINENO"; then :
57846 glibcxx_cv_func__powf_use=yes
57847 else
57848 glibcxx_cv_func__powf_use=no
57850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57851 ac_ext=c
57852 ac_cpp='$CPP $CPPFLAGS'
57853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57862 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57864 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57865 for ac_func in _powf
57866 do :
57867 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57868 if test "x$ac_cv_func__powf" = xyes; then :
57869 cat >>confdefs.h <<_ACEOF
57870 #define HAVE__POWF 1
57871 _ACEOF
57874 done
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57884 $as_echo_n "checking for sqrtf declaration... " >&6; }
57885 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57886 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57887 $as_echo_n "(cached) " >&6
57888 else
57891 ac_ext=cpp
57892 ac_cpp='$CXXCPP $CPPFLAGS'
57893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57898 /* end confdefs.h. */
57899 #include <math.h>
57900 #ifdef HAVE_IEEEFP_H
57901 #include <ieeefp.h>
57902 #endif
57905 main ()
57907 sqrtf(0);
57909 return 0;
57911 _ACEOF
57912 if ac_fn_cxx_try_compile "$LINENO"; then :
57913 glibcxx_cv_func_sqrtf_use=yes
57914 else
57915 glibcxx_cv_func_sqrtf_use=no
57917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57918 ac_ext=c
57919 ac_cpp='$CPP $CPPFLAGS'
57920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57929 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57931 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57932 for ac_func in sqrtf
57933 do :
57934 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57935 if test "x$ac_cv_func_sqrtf" = xyes; then :
57936 cat >>confdefs.h <<_ACEOF
57937 #define HAVE_SQRTF 1
57938 _ACEOF
57941 done
57943 else
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57946 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57947 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57948 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57953 ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h. */
57961 #include <math.h>
57962 #ifdef HAVE_IEEEFP_H
57963 #include <ieeefp.h>
57964 #endif
57967 main ()
57969 _sqrtf(0);
57971 return 0;
57973 _ACEOF
57974 if ac_fn_cxx_try_compile "$LINENO"; then :
57975 glibcxx_cv_func__sqrtf_use=yes
57976 else
57977 glibcxx_cv_func__sqrtf_use=no
57979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57980 ac_ext=c
57981 ac_cpp='$CPP $CPPFLAGS'
57982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57991 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57993 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57994 for ac_func in _sqrtf
57995 do :
57996 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57997 if test "x$ac_cv_func__sqrtf" = xyes; then :
57998 cat >>confdefs.h <<_ACEOF
57999 #define HAVE__SQRTF 1
58000 _ACEOF
58003 done
58012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
58013 $as_echo_n "checking for sincosf declaration... " >&6; }
58014 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
58015 if ${glibcxx_cv_func_sincosf_use+:} false; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58020 ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h. */
58028 #include <math.h>
58030 main ()
58032 sincosf(0, 0, 0);
58034 return 0;
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038 glibcxx_cv_func_sincosf_use=yes
58039 else
58040 glibcxx_cv_func_sincosf_use=no
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58054 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58056 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58057 for ac_func in sincosf
58058 do :
58059 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58060 if test "x$ac_cv_func_sincosf" = xyes; then :
58061 cat >>confdefs.h <<_ACEOF
58062 #define HAVE_SINCOSF 1
58063 _ACEOF
58066 done
58068 else
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58071 $as_echo_n "checking for _sincosf declaration... " >&6; }
58072 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58073 if ${glibcxx_cv_func__sincosf_use+:} false; then :
58074 $as_echo_n "(cached) " >&6
58075 else
58078 ac_ext=cpp
58079 ac_cpp='$CXXCPP $CPPFLAGS'
58080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h. */
58086 #include <math.h>
58088 main ()
58090 _sincosf(0, 0, 0);
58092 return 0;
58094 _ACEOF
58095 if ac_fn_cxx_try_compile "$LINENO"; then :
58096 glibcxx_cv_func__sincosf_use=yes
58097 else
58098 glibcxx_cv_func__sincosf_use=no
58100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58101 ac_ext=c
58102 ac_cpp='$CPP $CPPFLAGS'
58103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58112 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58114 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58115 for ac_func in _sincosf
58116 do :
58117 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58118 if test "x$ac_cv_func__sincosf" = xyes; then :
58119 cat >>confdefs.h <<_ACEOF
58120 #define HAVE__SINCOSF 1
58121 _ACEOF
58124 done
58133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58134 $as_echo_n "checking for finitef declaration... " >&6; }
58135 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58136 if ${glibcxx_cv_func_finitef_use+:} false; then :
58137 $as_echo_n "(cached) " >&6
58138 else
58141 ac_ext=cpp
58142 ac_cpp='$CXXCPP $CPPFLAGS'
58143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58148 /* end confdefs.h. */
58149 #include <math.h>
58150 #ifdef HAVE_IEEEFP_H
58151 #include <ieeefp.h>
58152 #endif
58155 main ()
58157 finitef(0);
58159 return 0;
58161 _ACEOF
58162 if ac_fn_cxx_try_compile "$LINENO"; then :
58163 glibcxx_cv_func_finitef_use=yes
58164 else
58165 glibcxx_cv_func_finitef_use=no
58167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58168 ac_ext=c
58169 ac_cpp='$CPP $CPPFLAGS'
58170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58179 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58181 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58182 for ac_func in finitef
58183 do :
58184 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58185 if test "x$ac_cv_func_finitef" = xyes; then :
58186 cat >>confdefs.h <<_ACEOF
58187 #define HAVE_FINITEF 1
58188 _ACEOF
58191 done
58193 else
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58196 $as_echo_n "checking for _finitef declaration... " >&6; }
58197 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58198 if ${glibcxx_cv_func__finitef_use+:} false; then :
58199 $as_echo_n "(cached) " >&6
58200 else
58203 ac_ext=cpp
58204 ac_cpp='$CXXCPP $CPPFLAGS'
58205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58210 /* end confdefs.h. */
58211 #include <math.h>
58212 #ifdef HAVE_IEEEFP_H
58213 #include <ieeefp.h>
58214 #endif
58217 main ()
58219 _finitef(0);
58221 return 0;
58223 _ACEOF
58224 if ac_fn_cxx_try_compile "$LINENO"; then :
58225 glibcxx_cv_func__finitef_use=yes
58226 else
58227 glibcxx_cv_func__finitef_use=no
58229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58230 ac_ext=c
58231 ac_cpp='$CPP $CPPFLAGS'
58232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58241 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58243 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58244 for ac_func in _finitef
58245 do :
58246 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58247 if test "x$ac_cv_func__finitef" = xyes; then :
58248 cat >>confdefs.h <<_ACEOF
58249 #define HAVE__FINITEF 1
58250 _ACEOF
58253 done
58262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58263 $as_echo_n "checking for long double trig functions... " >&6; }
58264 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58265 $as_echo_n "(cached) " >&6
58266 else
58269 ac_ext=cpp
58270 ac_cpp='$CXXCPP $CPPFLAGS'
58271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58276 /* end confdefs.h. */
58277 #include <math.h>
58279 main ()
58281 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58283 return 0;
58285 _ACEOF
58286 if ac_fn_cxx_try_compile "$LINENO"; then :
58287 glibcxx_cv_func_long_double_trig_use=yes
58288 else
58289 glibcxx_cv_func_long_double_trig_use=no
58291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58292 ac_ext=c
58293 ac_cpp='$CPP $CPPFLAGS'
58294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58301 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58302 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58303 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58304 do :
58305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58307 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58308 cat >>confdefs.h <<_ACEOF
58309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58310 _ACEOF
58313 done
58315 else
58316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58317 $as_echo_n "checking for _long double trig functions... " >&6; }
58318 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <math.h>
58333 main ()
58335 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58337 return 0;
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func__long_double_trig_use=yes
58342 else
58343 glibcxx_cv_func__long_double_trig_use=no
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58355 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58356 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58357 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58358 do :
58359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58361 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58362 cat >>confdefs.h <<_ACEOF
58363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58364 _ACEOF
58367 done
58376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58377 $as_echo_n "checking for long double round functions... " >&6; }
58378 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58379 $as_echo_n "(cached) " >&6
58380 else
58383 ac_ext=cpp
58384 ac_cpp='$CXXCPP $CPPFLAGS'
58385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58390 /* end confdefs.h. */
58391 #include <math.h>
58393 main ()
58395 ceill (0); floorl (0);
58397 return 0;
58399 _ACEOF
58400 if ac_fn_cxx_try_compile "$LINENO"; then :
58401 glibcxx_cv_func_long_double_round_use=yes
58402 else
58403 glibcxx_cv_func_long_double_round_use=no
58405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58406 ac_ext=c
58407 ac_cpp='$CPP $CPPFLAGS'
58408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58415 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58416 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58417 for ac_func in ceill floorl
58418 do :
58419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58422 cat >>confdefs.h <<_ACEOF
58423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58424 _ACEOF
58427 done
58429 else
58430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58431 $as_echo_n "checking for _long double round functions... " >&6; }
58432 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58433 $as_echo_n "(cached) " >&6
58434 else
58437 ac_ext=cpp
58438 ac_cpp='$CXXCPP $CPPFLAGS'
58439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58444 /* end confdefs.h. */
58445 #include <math.h>
58447 main ()
58449 _ceill (0); _floorl (0);
58451 return 0;
58453 _ACEOF
58454 if ac_fn_cxx_try_compile "$LINENO"; then :
58455 glibcxx_cv_func__long_double_round_use=yes
58456 else
58457 glibcxx_cv_func__long_double_round_use=no
58459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58460 ac_ext=c
58461 ac_cpp='$CPP $CPPFLAGS'
58462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58469 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58470 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58471 for ac_func in _ceill _floorl
58472 do :
58473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58476 cat >>confdefs.h <<_ACEOF
58477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58478 _ACEOF
58481 done
58491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58492 $as_echo_n "checking for isnanl declaration... " >&6; }
58493 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58494 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58495 $as_echo_n "(cached) " >&6
58496 else
58499 ac_ext=cpp
58500 ac_cpp='$CXXCPP $CPPFLAGS'
58501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58506 /* end confdefs.h. */
58507 #include <math.h>
58508 #ifdef HAVE_IEEEFP_H
58509 #include <ieeefp.h>
58510 #endif
58513 main ()
58515 isnanl(0);
58517 return 0;
58519 _ACEOF
58520 if ac_fn_cxx_try_compile "$LINENO"; then :
58521 glibcxx_cv_func_isnanl_use=yes
58522 else
58523 glibcxx_cv_func_isnanl_use=no
58525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58526 ac_ext=c
58527 ac_cpp='$CPP $CPPFLAGS'
58528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58537 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58539 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58540 for ac_func in isnanl
58541 do :
58542 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58543 if test "x$ac_cv_func_isnanl" = xyes; then :
58544 cat >>confdefs.h <<_ACEOF
58545 #define HAVE_ISNANL 1
58546 _ACEOF
58549 done
58551 else
58553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58554 $as_echo_n "checking for _isnanl declaration... " >&6; }
58555 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58556 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58557 $as_echo_n "(cached) " >&6
58558 else
58561 ac_ext=cpp
58562 ac_cpp='$CXXCPP $CPPFLAGS'
58563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58568 /* end confdefs.h. */
58569 #include <math.h>
58570 #ifdef HAVE_IEEEFP_H
58571 #include <ieeefp.h>
58572 #endif
58575 main ()
58577 _isnanl(0);
58579 return 0;
58581 _ACEOF
58582 if ac_fn_cxx_try_compile "$LINENO"; then :
58583 glibcxx_cv_func__isnanl_use=yes
58584 else
58585 glibcxx_cv_func__isnanl_use=no
58587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588 ac_ext=c
58589 ac_cpp='$CPP $CPPFLAGS'
58590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58599 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58601 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58602 for ac_func in _isnanl
58603 do :
58604 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58605 if test "x$ac_cv_func__isnanl" = xyes; then :
58606 cat >>confdefs.h <<_ACEOF
58607 #define HAVE__ISNANL 1
58608 _ACEOF
58611 done
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58621 $as_echo_n "checking for isinfl declaration... " >&6; }
58622 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58623 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58624 $as_echo_n "(cached) " >&6
58625 else
58628 ac_ext=cpp
58629 ac_cpp='$CXXCPP $CPPFLAGS'
58630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58635 /* end confdefs.h. */
58636 #include <math.h>
58637 #ifdef HAVE_IEEEFP_H
58638 #include <ieeefp.h>
58639 #endif
58642 main ()
58644 isinfl(0);
58646 return 0;
58648 _ACEOF
58649 if ac_fn_cxx_try_compile "$LINENO"; then :
58650 glibcxx_cv_func_isinfl_use=yes
58651 else
58652 glibcxx_cv_func_isinfl_use=no
58654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58666 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58668 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58669 for ac_func in isinfl
58670 do :
58671 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58672 if test "x$ac_cv_func_isinfl" = xyes; then :
58673 cat >>confdefs.h <<_ACEOF
58674 #define HAVE_ISINFL 1
58675 _ACEOF
58678 done
58680 else
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58683 $as_echo_n "checking for _isinfl declaration... " >&6; }
58684 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58685 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58686 $as_echo_n "(cached) " >&6
58687 else
58690 ac_ext=cpp
58691 ac_cpp='$CXXCPP $CPPFLAGS'
58692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697 /* end confdefs.h. */
58698 #include <math.h>
58699 #ifdef HAVE_IEEEFP_H
58700 #include <ieeefp.h>
58701 #endif
58704 main ()
58706 _isinfl(0);
58708 return 0;
58710 _ACEOF
58711 if ac_fn_cxx_try_compile "$LINENO"; then :
58712 glibcxx_cv_func__isinfl_use=yes
58713 else
58714 glibcxx_cv_func__isinfl_use=no
58716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58717 ac_ext=c
58718 ac_cpp='$CPP $CPPFLAGS'
58719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58728 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58730 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58731 for ac_func in _isinfl
58732 do :
58733 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58734 if test "x$ac_cv_func__isinfl" = xyes; then :
58735 cat >>confdefs.h <<_ACEOF
58736 #define HAVE__ISINFL 1
58737 _ACEOF
58740 done
58749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58750 $as_echo_n "checking for atan2l declaration... " >&6; }
58751 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58752 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58753 $as_echo_n "(cached) " >&6
58754 else
58757 ac_ext=cpp
58758 ac_cpp='$CXXCPP $CPPFLAGS'
58759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58764 /* end confdefs.h. */
58765 #include <math.h>
58767 main ()
58769 atan2l(0, 0);
58771 return 0;
58773 _ACEOF
58774 if ac_fn_cxx_try_compile "$LINENO"; then :
58775 glibcxx_cv_func_atan2l_use=yes
58776 else
58777 glibcxx_cv_func_atan2l_use=no
58779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58780 ac_ext=c
58781 ac_cpp='$CPP $CPPFLAGS'
58782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58791 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58793 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58794 for ac_func in atan2l
58795 do :
58796 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58797 if test "x$ac_cv_func_atan2l" = xyes; then :
58798 cat >>confdefs.h <<_ACEOF
58799 #define HAVE_ATAN2L 1
58800 _ACEOF
58803 done
58805 else
58807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58808 $as_echo_n "checking for _atan2l declaration... " >&6; }
58809 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58810 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58811 $as_echo_n "(cached) " >&6
58812 else
58815 ac_ext=cpp
58816 ac_cpp='$CXXCPP $CPPFLAGS'
58817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58822 /* end confdefs.h. */
58823 #include <math.h>
58825 main ()
58827 _atan2l(0, 0);
58829 return 0;
58831 _ACEOF
58832 if ac_fn_cxx_try_compile "$LINENO"; then :
58833 glibcxx_cv_func__atan2l_use=yes
58834 else
58835 glibcxx_cv_func__atan2l_use=no
58837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58838 ac_ext=c
58839 ac_cpp='$CPP $CPPFLAGS'
58840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58849 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58851 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58852 for ac_func in _atan2l
58853 do :
58854 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58855 if test "x$ac_cv_func__atan2l" = xyes; then :
58856 cat >>confdefs.h <<_ACEOF
58857 #define HAVE__ATAN2L 1
58858 _ACEOF
58861 done
58870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58871 $as_echo_n "checking for expl declaration... " >&6; }
58872 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58873 if ${glibcxx_cv_func_expl_use+:} false; then :
58874 $as_echo_n "(cached) " >&6
58875 else
58878 ac_ext=cpp
58879 ac_cpp='$CXXCPP $CPPFLAGS'
58880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58885 /* end confdefs.h. */
58886 #include <math.h>
58887 #ifdef HAVE_IEEEFP_H
58888 #include <ieeefp.h>
58889 #endif
58892 main ()
58894 expl(0);
58896 return 0;
58898 _ACEOF
58899 if ac_fn_cxx_try_compile "$LINENO"; then :
58900 glibcxx_cv_func_expl_use=yes
58901 else
58902 glibcxx_cv_func_expl_use=no
58904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58905 ac_ext=c
58906 ac_cpp='$CPP $CPPFLAGS'
58907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58916 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58918 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58919 for ac_func in expl
58920 do :
58921 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58922 if test "x$ac_cv_func_expl" = xyes; then :
58923 cat >>confdefs.h <<_ACEOF
58924 #define HAVE_EXPL 1
58925 _ACEOF
58928 done
58930 else
58932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58933 $as_echo_n "checking for _expl declaration... " >&6; }
58934 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58935 if ${glibcxx_cv_func__expl_use+:} false; then :
58936 $as_echo_n "(cached) " >&6
58937 else
58940 ac_ext=cpp
58941 ac_cpp='$CXXCPP $CPPFLAGS'
58942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58947 /* end confdefs.h. */
58948 #include <math.h>
58949 #ifdef HAVE_IEEEFP_H
58950 #include <ieeefp.h>
58951 #endif
58954 main ()
58956 _expl(0);
58958 return 0;
58960 _ACEOF
58961 if ac_fn_cxx_try_compile "$LINENO"; then :
58962 glibcxx_cv_func__expl_use=yes
58963 else
58964 glibcxx_cv_func__expl_use=no
58966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58967 ac_ext=c
58968 ac_cpp='$CPP $CPPFLAGS'
58969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58978 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58980 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58981 for ac_func in _expl
58982 do :
58983 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58984 if test "x$ac_cv_func__expl" = xyes; then :
58985 cat >>confdefs.h <<_ACEOF
58986 #define HAVE__EXPL 1
58987 _ACEOF
58990 done
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
59000 $as_echo_n "checking for fabsl declaration... " >&6; }
59001 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
59002 if ${glibcxx_cv_func_fabsl_use+:} false; then :
59003 $as_echo_n "(cached) " >&6
59004 else
59007 ac_ext=cpp
59008 ac_cpp='$CXXCPP $CPPFLAGS'
59009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59014 /* end confdefs.h. */
59015 #include <math.h>
59016 #ifdef HAVE_IEEEFP_H
59017 #include <ieeefp.h>
59018 #endif
59021 main ()
59023 fabsl(0);
59025 return 0;
59027 _ACEOF
59028 if ac_fn_cxx_try_compile "$LINENO"; then :
59029 glibcxx_cv_func_fabsl_use=yes
59030 else
59031 glibcxx_cv_func_fabsl_use=no
59033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59034 ac_ext=c
59035 ac_cpp='$CPP $CPPFLAGS'
59036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59045 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59047 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59048 for ac_func in fabsl
59049 do :
59050 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59051 if test "x$ac_cv_func_fabsl" = xyes; then :
59052 cat >>confdefs.h <<_ACEOF
59053 #define HAVE_FABSL 1
59054 _ACEOF
59057 done
59059 else
59061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59062 $as_echo_n "checking for _fabsl declaration... " >&6; }
59063 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59064 if ${glibcxx_cv_func__fabsl_use+:} false; then :
59065 $as_echo_n "(cached) " >&6
59066 else
59069 ac_ext=cpp
59070 ac_cpp='$CXXCPP $CPPFLAGS'
59071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59076 /* end confdefs.h. */
59077 #include <math.h>
59078 #ifdef HAVE_IEEEFP_H
59079 #include <ieeefp.h>
59080 #endif
59083 main ()
59085 _fabsl(0);
59087 return 0;
59089 _ACEOF
59090 if ac_fn_cxx_try_compile "$LINENO"; then :
59091 glibcxx_cv_func__fabsl_use=yes
59092 else
59093 glibcxx_cv_func__fabsl_use=no
59095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59096 ac_ext=c
59097 ac_cpp='$CPP $CPPFLAGS'
59098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59107 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59109 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59110 for ac_func in _fabsl
59111 do :
59112 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59113 if test "x$ac_cv_func__fabsl" = xyes; then :
59114 cat >>confdefs.h <<_ACEOF
59115 #define HAVE__FABSL 1
59116 _ACEOF
59119 done
59128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59129 $as_echo_n "checking for fmodl declaration... " >&6; }
59130 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59131 if ${glibcxx_cv_func_fmodl_use+:} false; then :
59132 $as_echo_n "(cached) " >&6
59133 else
59136 ac_ext=cpp
59137 ac_cpp='$CXXCPP $CPPFLAGS'
59138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59143 /* end confdefs.h. */
59144 #include <math.h>
59146 main ()
59148 fmodl(0, 0);
59150 return 0;
59152 _ACEOF
59153 if ac_fn_cxx_try_compile "$LINENO"; then :
59154 glibcxx_cv_func_fmodl_use=yes
59155 else
59156 glibcxx_cv_func_fmodl_use=no
59158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59159 ac_ext=c
59160 ac_cpp='$CPP $CPPFLAGS'
59161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59170 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59172 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59173 for ac_func in fmodl
59174 do :
59175 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59176 if test "x$ac_cv_func_fmodl" = xyes; then :
59177 cat >>confdefs.h <<_ACEOF
59178 #define HAVE_FMODL 1
59179 _ACEOF
59182 done
59184 else
59186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59187 $as_echo_n "checking for _fmodl declaration... " >&6; }
59188 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59189 if ${glibcxx_cv_func__fmodl_use+:} false; then :
59190 $as_echo_n "(cached) " >&6
59191 else
59194 ac_ext=cpp
59195 ac_cpp='$CXXCPP $CPPFLAGS'
59196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59201 /* end confdefs.h. */
59202 #include <math.h>
59204 main ()
59206 _fmodl(0, 0);
59208 return 0;
59210 _ACEOF
59211 if ac_fn_cxx_try_compile "$LINENO"; then :
59212 glibcxx_cv_func__fmodl_use=yes
59213 else
59214 glibcxx_cv_func__fmodl_use=no
59216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59217 ac_ext=c
59218 ac_cpp='$CPP $CPPFLAGS'
59219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59228 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59230 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59231 for ac_func in _fmodl
59232 do :
59233 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59234 if test "x$ac_cv_func__fmodl" = xyes; then :
59235 cat >>confdefs.h <<_ACEOF
59236 #define HAVE__FMODL 1
59237 _ACEOF
59240 done
59249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59250 $as_echo_n "checking for frexpl declaration... " >&6; }
59251 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59252 if ${glibcxx_cv_func_frexpl_use+:} false; then :
59253 $as_echo_n "(cached) " >&6
59254 else
59257 ac_ext=cpp
59258 ac_cpp='$CXXCPP $CPPFLAGS'
59259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59264 /* end confdefs.h. */
59265 #include <math.h>
59267 main ()
59269 frexpl(0, 0);
59271 return 0;
59273 _ACEOF
59274 if ac_fn_cxx_try_compile "$LINENO"; then :
59275 glibcxx_cv_func_frexpl_use=yes
59276 else
59277 glibcxx_cv_func_frexpl_use=no
59279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59280 ac_ext=c
59281 ac_cpp='$CPP $CPPFLAGS'
59282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59291 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59293 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59294 for ac_func in frexpl
59295 do :
59296 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59297 if test "x$ac_cv_func_frexpl" = xyes; then :
59298 cat >>confdefs.h <<_ACEOF
59299 #define HAVE_FREXPL 1
59300 _ACEOF
59303 done
59305 else
59307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59308 $as_echo_n "checking for _frexpl declaration... " >&6; }
59309 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59310 if ${glibcxx_cv_func__frexpl_use+:} false; then :
59311 $as_echo_n "(cached) " >&6
59312 else
59315 ac_ext=cpp
59316 ac_cpp='$CXXCPP $CPPFLAGS'
59317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322 /* end confdefs.h. */
59323 #include <math.h>
59325 main ()
59327 _frexpl(0, 0);
59329 return 0;
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func__frexpl_use=yes
59334 else
59335 glibcxx_cv_func__frexpl_use=no
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59349 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59351 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59352 for ac_func in _frexpl
59353 do :
59354 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59355 if test "x$ac_cv_func__frexpl" = xyes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE__FREXPL 1
59358 _ACEOF
59361 done
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59371 $as_echo_n "checking for hypotl declaration... " >&6; }
59372 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59373 if ${glibcxx_cv_func_hypotl_use+:} false; then :
59374 $as_echo_n "(cached) " >&6
59375 else
59378 ac_ext=cpp
59379 ac_cpp='$CXXCPP $CPPFLAGS'
59380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59385 /* end confdefs.h. */
59386 #include <math.h>
59388 main ()
59390 hypotl(0, 0);
59392 return 0;
59394 _ACEOF
59395 if ac_fn_cxx_try_compile "$LINENO"; then :
59396 glibcxx_cv_func_hypotl_use=yes
59397 else
59398 glibcxx_cv_func_hypotl_use=no
59400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59401 ac_ext=c
59402 ac_cpp='$CPP $CPPFLAGS'
59403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59412 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59414 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59415 for ac_func in hypotl
59416 do :
59417 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59418 if test "x$ac_cv_func_hypotl" = xyes; then :
59419 cat >>confdefs.h <<_ACEOF
59420 #define HAVE_HYPOTL 1
59421 _ACEOF
59424 done
59426 else
59428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59429 $as_echo_n "checking for _hypotl declaration... " >&6; }
59430 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59431 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59432 $as_echo_n "(cached) " >&6
59433 else
59436 ac_ext=cpp
59437 ac_cpp='$CXXCPP $CPPFLAGS'
59438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59443 /* end confdefs.h. */
59444 #include <math.h>
59446 main ()
59448 _hypotl(0, 0);
59450 return 0;
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func__hypotl_use=yes
59455 else
59456 glibcxx_cv_func__hypotl_use=no
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59470 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59472 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59473 for ac_func in _hypotl
59474 do :
59475 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59476 if test "x$ac_cv_func__hypotl" = xyes; then :
59477 cat >>confdefs.h <<_ACEOF
59478 #define HAVE__HYPOTL 1
59479 _ACEOF
59482 done
59491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59492 $as_echo_n "checking for ldexpl declaration... " >&6; }
59493 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59494 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59495 $as_echo_n "(cached) " >&6
59496 else
59499 ac_ext=cpp
59500 ac_cpp='$CXXCPP $CPPFLAGS'
59501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59506 /* end confdefs.h. */
59507 #include <math.h>
59509 main ()
59511 ldexpl(0, 0);
59513 return 0;
59515 _ACEOF
59516 if ac_fn_cxx_try_compile "$LINENO"; then :
59517 glibcxx_cv_func_ldexpl_use=yes
59518 else
59519 glibcxx_cv_func_ldexpl_use=no
59521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59522 ac_ext=c
59523 ac_cpp='$CPP $CPPFLAGS'
59524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59533 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59535 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59536 for ac_func in ldexpl
59537 do :
59538 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59539 if test "x$ac_cv_func_ldexpl" = xyes; then :
59540 cat >>confdefs.h <<_ACEOF
59541 #define HAVE_LDEXPL 1
59542 _ACEOF
59545 done
59547 else
59549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59550 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59551 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59552 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59553 $as_echo_n "(cached) " >&6
59554 else
59557 ac_ext=cpp
59558 ac_cpp='$CXXCPP $CPPFLAGS'
59559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59564 /* end confdefs.h. */
59565 #include <math.h>
59567 main ()
59569 _ldexpl(0, 0);
59571 return 0;
59573 _ACEOF
59574 if ac_fn_cxx_try_compile "$LINENO"; then :
59575 glibcxx_cv_func__ldexpl_use=yes
59576 else
59577 glibcxx_cv_func__ldexpl_use=no
59579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59580 ac_ext=c
59581 ac_cpp='$CPP $CPPFLAGS'
59582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59591 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59593 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59594 for ac_func in _ldexpl
59595 do :
59596 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59597 if test "x$ac_cv_func__ldexpl" = xyes; then :
59598 cat >>confdefs.h <<_ACEOF
59599 #define HAVE__LDEXPL 1
59600 _ACEOF
59603 done
59612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59613 $as_echo_n "checking for logl declaration... " >&6; }
59614 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59615 if ${glibcxx_cv_func_logl_use+:} false; then :
59616 $as_echo_n "(cached) " >&6
59617 else
59620 ac_ext=cpp
59621 ac_cpp='$CXXCPP $CPPFLAGS'
59622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59627 /* end confdefs.h. */
59628 #include <math.h>
59629 #ifdef HAVE_IEEEFP_H
59630 #include <ieeefp.h>
59631 #endif
59634 main ()
59636 logl(0);
59638 return 0;
59640 _ACEOF
59641 if ac_fn_cxx_try_compile "$LINENO"; then :
59642 glibcxx_cv_func_logl_use=yes
59643 else
59644 glibcxx_cv_func_logl_use=no
59646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59647 ac_ext=c
59648 ac_cpp='$CPP $CPPFLAGS'
59649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59658 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59660 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59661 for ac_func in logl
59662 do :
59663 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59664 if test "x$ac_cv_func_logl" = xyes; then :
59665 cat >>confdefs.h <<_ACEOF
59666 #define HAVE_LOGL 1
59667 _ACEOF
59670 done
59672 else
59674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59675 $as_echo_n "checking for _logl declaration... " >&6; }
59676 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59677 if ${glibcxx_cv_func__logl_use+:} false; then :
59678 $as_echo_n "(cached) " >&6
59679 else
59682 ac_ext=cpp
59683 ac_cpp='$CXXCPP $CPPFLAGS'
59684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59689 /* end confdefs.h. */
59690 #include <math.h>
59691 #ifdef HAVE_IEEEFP_H
59692 #include <ieeefp.h>
59693 #endif
59696 main ()
59698 _logl(0);
59700 return 0;
59702 _ACEOF
59703 if ac_fn_cxx_try_compile "$LINENO"; then :
59704 glibcxx_cv_func__logl_use=yes
59705 else
59706 glibcxx_cv_func__logl_use=no
59708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59709 ac_ext=c
59710 ac_cpp='$CPP $CPPFLAGS'
59711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59720 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59722 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59723 for ac_func in _logl
59724 do :
59725 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59726 if test "x$ac_cv_func__logl" = xyes; then :
59727 cat >>confdefs.h <<_ACEOF
59728 #define HAVE__LOGL 1
59729 _ACEOF
59732 done
59741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59742 $as_echo_n "checking for log10l declaration... " >&6; }
59743 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59744 if ${glibcxx_cv_func_log10l_use+:} false; then :
59745 $as_echo_n "(cached) " >&6
59746 else
59749 ac_ext=cpp
59750 ac_cpp='$CXXCPP $CPPFLAGS'
59751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59756 /* end confdefs.h. */
59757 #include <math.h>
59758 #ifdef HAVE_IEEEFP_H
59759 #include <ieeefp.h>
59760 #endif
59763 main ()
59765 log10l(0);
59767 return 0;
59769 _ACEOF
59770 if ac_fn_cxx_try_compile "$LINENO"; then :
59771 glibcxx_cv_func_log10l_use=yes
59772 else
59773 glibcxx_cv_func_log10l_use=no
59775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59776 ac_ext=c
59777 ac_cpp='$CPP $CPPFLAGS'
59778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59787 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59789 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59790 for ac_func in log10l
59791 do :
59792 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59793 if test "x$ac_cv_func_log10l" = xyes; then :
59794 cat >>confdefs.h <<_ACEOF
59795 #define HAVE_LOG10L 1
59796 _ACEOF
59799 done
59801 else
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59804 $as_echo_n "checking for _log10l declaration... " >&6; }
59805 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59806 if ${glibcxx_cv_func__log10l_use+:} false; then :
59807 $as_echo_n "(cached) " >&6
59808 else
59811 ac_ext=cpp
59812 ac_cpp='$CXXCPP $CPPFLAGS'
59813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59818 /* end confdefs.h. */
59819 #include <math.h>
59820 #ifdef HAVE_IEEEFP_H
59821 #include <ieeefp.h>
59822 #endif
59825 main ()
59827 _log10l(0);
59829 return 0;
59831 _ACEOF
59832 if ac_fn_cxx_try_compile "$LINENO"; then :
59833 glibcxx_cv_func__log10l_use=yes
59834 else
59835 glibcxx_cv_func__log10l_use=no
59837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59838 ac_ext=c
59839 ac_cpp='$CPP $CPPFLAGS'
59840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59849 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59851 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59852 for ac_func in _log10l
59853 do :
59854 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59855 if test "x$ac_cv_func__log10l" = xyes; then :
59856 cat >>confdefs.h <<_ACEOF
59857 #define HAVE__LOG10L 1
59858 _ACEOF
59861 done
59870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59871 $as_echo_n "checking for modfl declaration... " >&6; }
59872 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59873 if ${glibcxx_cv_func_modfl_use+:} false; then :
59874 $as_echo_n "(cached) " >&6
59875 else
59878 ac_ext=cpp
59879 ac_cpp='$CXXCPP $CPPFLAGS'
59880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59885 /* end confdefs.h. */
59886 #include <math.h>
59888 main ()
59890 modfl(0, 0);
59892 return 0;
59894 _ACEOF
59895 if ac_fn_cxx_try_compile "$LINENO"; then :
59896 glibcxx_cv_func_modfl_use=yes
59897 else
59898 glibcxx_cv_func_modfl_use=no
59900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59901 ac_ext=c
59902 ac_cpp='$CPP $CPPFLAGS'
59903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59912 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59914 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59915 for ac_func in modfl
59916 do :
59917 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59918 if test "x$ac_cv_func_modfl" = xyes; then :
59919 cat >>confdefs.h <<_ACEOF
59920 #define HAVE_MODFL 1
59921 _ACEOF
59924 done
59926 else
59928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59929 $as_echo_n "checking for _modfl declaration... " >&6; }
59930 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59931 if ${glibcxx_cv_func__modfl_use+:} false; then :
59932 $as_echo_n "(cached) " >&6
59933 else
59936 ac_ext=cpp
59937 ac_cpp='$CXXCPP $CPPFLAGS'
59938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59943 /* end confdefs.h. */
59944 #include <math.h>
59946 main ()
59948 _modfl(0, 0);
59950 return 0;
59952 _ACEOF
59953 if ac_fn_cxx_try_compile "$LINENO"; then :
59954 glibcxx_cv_func__modfl_use=yes
59955 else
59956 glibcxx_cv_func__modfl_use=no
59958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959 ac_ext=c
59960 ac_cpp='$CPP $CPPFLAGS'
59961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59970 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59972 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59973 for ac_func in _modfl
59974 do :
59975 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59976 if test "x$ac_cv_func__modfl" = xyes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define HAVE__MODFL 1
59979 _ACEOF
59982 done
59991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59992 $as_echo_n "checking for powl declaration... " >&6; }
59993 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59994 if ${glibcxx_cv_func_powl_use+:} false; then :
59995 $as_echo_n "(cached) " >&6
59996 else
59999 ac_ext=cpp
60000 ac_cpp='$CXXCPP $CPPFLAGS'
60001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60006 /* end confdefs.h. */
60007 #include <math.h>
60009 main ()
60011 powl(0, 0);
60013 return 0;
60015 _ACEOF
60016 if ac_fn_cxx_try_compile "$LINENO"; then :
60017 glibcxx_cv_func_powl_use=yes
60018 else
60019 glibcxx_cv_func_powl_use=no
60021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60022 ac_ext=c
60023 ac_cpp='$CPP $CPPFLAGS'
60024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
60033 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
60035 if test x$glibcxx_cv_func_powl_use = x"yes"; then
60036 for ac_func in powl
60037 do :
60038 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
60039 if test "x$ac_cv_func_powl" = xyes; then :
60040 cat >>confdefs.h <<_ACEOF
60041 #define HAVE_POWL 1
60042 _ACEOF
60045 done
60047 else
60049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60050 $as_echo_n "checking for _powl declaration... " >&6; }
60051 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60052 if ${glibcxx_cv_func__powl_use+:} false; then :
60053 $as_echo_n "(cached) " >&6
60054 else
60057 ac_ext=cpp
60058 ac_cpp='$CXXCPP $CPPFLAGS'
60059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60064 /* end confdefs.h. */
60065 #include <math.h>
60067 main ()
60069 _powl(0, 0);
60071 return 0;
60073 _ACEOF
60074 if ac_fn_cxx_try_compile "$LINENO"; then :
60075 glibcxx_cv_func__powl_use=yes
60076 else
60077 glibcxx_cv_func__powl_use=no
60079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60080 ac_ext=c
60081 ac_cpp='$CPP $CPPFLAGS'
60082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60091 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
60093 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60094 for ac_func in _powl
60095 do :
60096 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60097 if test "x$ac_cv_func__powl" = xyes; then :
60098 cat >>confdefs.h <<_ACEOF
60099 #define HAVE__POWL 1
60100 _ACEOF
60103 done
60112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60113 $as_echo_n "checking for sqrtl declaration... " >&6; }
60114 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60115 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60116 $as_echo_n "(cached) " >&6
60117 else
60120 ac_ext=cpp
60121 ac_cpp='$CXXCPP $CPPFLAGS'
60122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60127 /* end confdefs.h. */
60128 #include <math.h>
60129 #ifdef HAVE_IEEEFP_H
60130 #include <ieeefp.h>
60131 #endif
60134 main ()
60136 sqrtl(0);
60138 return 0;
60140 _ACEOF
60141 if ac_fn_cxx_try_compile "$LINENO"; then :
60142 glibcxx_cv_func_sqrtl_use=yes
60143 else
60144 glibcxx_cv_func_sqrtl_use=no
60146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60147 ac_ext=c
60148 ac_cpp='$CPP $CPPFLAGS'
60149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
60158 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60160 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60161 for ac_func in sqrtl
60162 do :
60163 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60164 if test "x$ac_cv_func_sqrtl" = xyes; then :
60165 cat >>confdefs.h <<_ACEOF
60166 #define HAVE_SQRTL 1
60167 _ACEOF
60170 done
60172 else
60174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60175 $as_echo_n "checking for _sqrtl declaration... " >&6; }
60176 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60177 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60178 $as_echo_n "(cached) " >&6
60179 else
60182 ac_ext=cpp
60183 ac_cpp='$CXXCPP $CPPFLAGS'
60184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60189 /* end confdefs.h. */
60190 #include <math.h>
60191 #ifdef HAVE_IEEEFP_H
60192 #include <ieeefp.h>
60193 #endif
60196 main ()
60198 _sqrtl(0);
60200 return 0;
60202 _ACEOF
60203 if ac_fn_cxx_try_compile "$LINENO"; then :
60204 glibcxx_cv_func__sqrtl_use=yes
60205 else
60206 glibcxx_cv_func__sqrtl_use=no
60208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60209 ac_ext=c
60210 ac_cpp='$CPP $CPPFLAGS'
60211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60220 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60222 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60223 for ac_func in _sqrtl
60224 do :
60225 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60226 if test "x$ac_cv_func__sqrtl" = xyes; then :
60227 cat >>confdefs.h <<_ACEOF
60228 #define HAVE__SQRTL 1
60229 _ACEOF
60232 done
60241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60242 $as_echo_n "checking for sincosl declaration... " >&6; }
60243 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60244 if ${glibcxx_cv_func_sincosl_use+:} false; then :
60245 $as_echo_n "(cached) " >&6
60246 else
60249 ac_ext=cpp
60250 ac_cpp='$CXXCPP $CPPFLAGS'
60251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60256 /* end confdefs.h. */
60257 #include <math.h>
60259 main ()
60261 sincosl(0, 0, 0);
60263 return 0;
60265 _ACEOF
60266 if ac_fn_cxx_try_compile "$LINENO"; then :
60267 glibcxx_cv_func_sincosl_use=yes
60268 else
60269 glibcxx_cv_func_sincosl_use=no
60271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60272 ac_ext=c
60273 ac_cpp='$CPP $CPPFLAGS'
60274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60283 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60285 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60286 for ac_func in sincosl
60287 do :
60288 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60289 if test "x$ac_cv_func_sincosl" = xyes; then :
60290 cat >>confdefs.h <<_ACEOF
60291 #define HAVE_SINCOSL 1
60292 _ACEOF
60295 done
60297 else
60299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60300 $as_echo_n "checking for _sincosl declaration... " >&6; }
60301 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60302 if ${glibcxx_cv_func__sincosl_use+:} false; then :
60303 $as_echo_n "(cached) " >&6
60304 else
60307 ac_ext=cpp
60308 ac_cpp='$CXXCPP $CPPFLAGS'
60309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60314 /* end confdefs.h. */
60315 #include <math.h>
60317 main ()
60319 _sincosl(0, 0, 0);
60321 return 0;
60323 _ACEOF
60324 if ac_fn_cxx_try_compile "$LINENO"; then :
60325 glibcxx_cv_func__sincosl_use=yes
60326 else
60327 glibcxx_cv_func__sincosl_use=no
60329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60330 ac_ext=c
60331 ac_cpp='$CPP $CPPFLAGS'
60332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60341 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60343 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60344 for ac_func in _sincosl
60345 do :
60346 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60347 if test "x$ac_cv_func__sincosl" = xyes; then :
60348 cat >>confdefs.h <<_ACEOF
60349 #define HAVE__SINCOSL 1
60350 _ACEOF
60353 done
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60363 $as_echo_n "checking for finitel declaration... " >&6; }
60364 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60365 if ${glibcxx_cv_func_finitel_use+:} false; then :
60366 $as_echo_n "(cached) " >&6
60367 else
60370 ac_ext=cpp
60371 ac_cpp='$CXXCPP $CPPFLAGS'
60372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60377 /* end confdefs.h. */
60378 #include <math.h>
60379 #ifdef HAVE_IEEEFP_H
60380 #include <ieeefp.h>
60381 #endif
60384 main ()
60386 finitel(0);
60388 return 0;
60390 _ACEOF
60391 if ac_fn_cxx_try_compile "$LINENO"; then :
60392 glibcxx_cv_func_finitel_use=yes
60393 else
60394 glibcxx_cv_func_finitel_use=no
60396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60397 ac_ext=c
60398 ac_cpp='$CPP $CPPFLAGS'
60399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60408 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60410 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60411 for ac_func in finitel
60412 do :
60413 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60414 if test "x$ac_cv_func_finitel" = xyes; then :
60415 cat >>confdefs.h <<_ACEOF
60416 #define HAVE_FINITEL 1
60417 _ACEOF
60420 done
60422 else
60424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60425 $as_echo_n "checking for _finitel declaration... " >&6; }
60426 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60427 if ${glibcxx_cv_func__finitel_use+:} false; then :
60428 $as_echo_n "(cached) " >&6
60429 else
60432 ac_ext=cpp
60433 ac_cpp='$CXXCPP $CPPFLAGS'
60434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60439 /* end confdefs.h. */
60440 #include <math.h>
60441 #ifdef HAVE_IEEEFP_H
60442 #include <ieeefp.h>
60443 #endif
60446 main ()
60448 _finitel(0);
60450 return 0;
60452 _ACEOF
60453 if ac_fn_cxx_try_compile "$LINENO"; then :
60454 glibcxx_cv_func__finitel_use=yes
60455 else
60456 glibcxx_cv_func__finitel_use=no
60458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60459 ac_ext=c
60460 ac_cpp='$CPP $CPPFLAGS'
60461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60470 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60472 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60473 for ac_func in _finitel
60474 do :
60475 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60476 if test "x$ac_cv_func__finitel" = xyes; then :
60477 cat >>confdefs.h <<_ACEOF
60478 #define HAVE__FINITEL 1
60479 _ACEOF
60482 done
60490 LIBS="$ac_save_LIBS"
60491 CXXFLAGS="$ac_save_CXXFLAGS"
60494 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60495 ac_save_CXXFLAGS="$CXXFLAGS"
60496 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60500 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60501 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60502 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60503 $as_echo_n "(cached) " >&6
60504 else
60507 ac_ext=cpp
60508 ac_cpp='$CXXCPP $CPPFLAGS'
60509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60514 /* end confdefs.h. */
60515 #include <stdlib.h>
60517 main ()
60519 at_quick_exit(0);
60521 return 0;
60523 _ACEOF
60524 if ac_fn_cxx_try_compile "$LINENO"; then :
60525 glibcxx_cv_func_at_quick_exit_use=yes
60526 else
60527 glibcxx_cv_func_at_quick_exit_use=no
60529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60530 ac_ext=c
60531 ac_cpp='$CPP $CPPFLAGS'
60532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60541 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60542 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60543 for ac_func in at_quick_exit
60544 do :
60545 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60546 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60547 cat >>confdefs.h <<_ACEOF
60548 #define HAVE_AT_QUICK_EXIT 1
60549 _ACEOF
60552 done
60557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60558 $as_echo_n "checking for quick_exit declaration... " >&6; }
60559 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60560 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60561 $as_echo_n "(cached) " >&6
60562 else
60565 ac_ext=cpp
60566 ac_cpp='$CXXCPP $CPPFLAGS'
60567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60572 /* end confdefs.h. */
60573 #include <stdlib.h>
60575 main ()
60577 quick_exit(0);
60579 return 0;
60581 _ACEOF
60582 if ac_fn_cxx_try_compile "$LINENO"; then :
60583 glibcxx_cv_func_quick_exit_use=yes
60584 else
60585 glibcxx_cv_func_quick_exit_use=no
60587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60588 ac_ext=c
60589 ac_cpp='$CPP $CPPFLAGS'
60590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60599 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60600 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60601 for ac_func in quick_exit
60602 do :
60603 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60604 if test "x$ac_cv_func_quick_exit" = xyes; then :
60605 cat >>confdefs.h <<_ACEOF
60606 #define HAVE_QUICK_EXIT 1
60607 _ACEOF
60610 done
60615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60616 $as_echo_n "checking for strtold declaration... " >&6; }
60617 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60618 if ${glibcxx_cv_func_strtold_use+:} false; then :
60619 $as_echo_n "(cached) " >&6
60620 else
60623 ac_ext=cpp
60624 ac_cpp='$CXXCPP $CPPFLAGS'
60625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60630 /* end confdefs.h. */
60631 #include <stdlib.h>
60633 main ()
60635 strtold(0, 0);
60637 return 0;
60639 _ACEOF
60640 if ac_fn_cxx_try_compile "$LINENO"; then :
60641 glibcxx_cv_func_strtold_use=yes
60642 else
60643 glibcxx_cv_func_strtold_use=no
60645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60646 ac_ext=c
60647 ac_cpp='$CPP $CPPFLAGS'
60648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60657 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60658 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60659 for ac_func in strtold
60660 do :
60661 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60662 if test "x$ac_cv_func_strtold" = xyes; then :
60663 cat >>confdefs.h <<_ACEOF
60664 #define HAVE_STRTOLD 1
60665 _ACEOF
60668 done
60675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60676 $as_echo_n "checking for strtof declaration... " >&6; }
60677 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60678 if ${glibcxx_cv_func_strtof_use+:} false; then :
60679 $as_echo_n "(cached) " >&6
60680 else
60683 ac_ext=cpp
60684 ac_cpp='$CXXCPP $CPPFLAGS'
60685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60690 /* end confdefs.h. */
60691 #include <stdlib.h>
60693 main ()
60695 strtof(0, 0);
60697 return 0;
60699 _ACEOF
60700 if ac_fn_cxx_try_compile "$LINENO"; then :
60701 glibcxx_cv_func_strtof_use=yes
60702 else
60703 glibcxx_cv_func_strtof_use=no
60705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60706 ac_ext=c
60707 ac_cpp='$CPP $CPPFLAGS'
60708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60717 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60718 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60719 for ac_func in strtof
60720 do :
60721 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60722 if test "x$ac_cv_func_strtof" = xyes; then :
60723 cat >>confdefs.h <<_ACEOF
60724 #define HAVE_STRTOF 1
60725 _ACEOF
60728 done
60735 CXXFLAGS="$ac_save_CXXFLAGS"
60737 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60738 do :
60739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60741 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60742 cat >>confdefs.h <<_ACEOF
60743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60744 _ACEOF
60747 done
60749 for ac_func in _wfopen
60750 do :
60751 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60752 if test "x$ac_cv_func__wfopen" = xyes; then :
60753 cat >>confdefs.h <<_ACEOF
60754 #define HAVE__WFOPEN 1
60755 _ACEOF
60758 done
60761 *-netbsd* | *-openbsd*)
60762 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60765 # If we're not using GNU ld, then there's no point in even trying these
60766 # tests. Check for that first. We should have already tested for gld
60767 # by now (in libtool), but require it now just to be safe...
60768 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60769 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60773 # The name set by libtool depends on the version of libtool. Shame on us
60774 # for depending on an impl detail, but c'est la vie. Older versions used
60775 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60776 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60777 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60778 # set (hence we're using an older libtool), then set it.
60779 if test x${with_gnu_ld+set} != xset; then
60780 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60781 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60782 with_gnu_ld=no
60783 else
60784 with_gnu_ld=$ac_cv_prog_gnu_ld
60788 # Start by getting the version number. I think the libtool test already
60789 # does some of this, but throws away the result.
60790 glibcxx_ld_is_gold=no
60791 if test x"$with_gnu_ld" = x"yes"; then
60792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60793 $as_echo_n "checking for ld version... " >&6; }
60795 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60796 glibcxx_ld_is_gold=yes
60798 ldver=`$LD --version 2>/dev/null |
60799 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60801 glibcxx_gnu_ld_version=`echo $ldver | \
60802 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60804 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60807 # Set --gc-sections.
60808 glibcxx_have_gc_sections=no
60809 if test "$glibcxx_ld_is_gold" = "yes"; then
60810 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60811 glibcxx_have_gc_sections=yes
60813 else
60814 glibcxx_gcsections_min_ld=21602
60815 if test x"$with_gnu_ld" = x"yes" &&
60816 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60817 glibcxx_have_gc_sections=yes
60820 if test "$glibcxx_have_gc_sections" = "yes"; then
60821 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60822 # NB: This flag only works reliably after 2.16.1. Configure tests
60823 # for this are difficult, so hard wire a value that should work.
60825 ac_test_CFLAGS="${CFLAGS+set}"
60826 ac_save_CFLAGS="$CFLAGS"
60827 CFLAGS='-Wl,--gc-sections'
60829 # Check for -Wl,--gc-sections
60830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60831 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60832 if test x$gcc_no_link = xyes; then
60833 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60836 /* end confdefs.h. */
60837 int one(void) { return 1; }
60838 int two(void) { return 2; }
60841 main ()
60843 two();
60845 return 0;
60847 _ACEOF
60848 if ac_fn_c_try_link "$LINENO"; then :
60849 ac_gcsections=yes
60850 else
60851 ac_gcsections=no
60853 rm -f core conftest.err conftest.$ac_objext \
60854 conftest$ac_exeext conftest.$ac_ext
60855 if test "$ac_gcsections" = "yes"; then
60856 rm -f conftest.c
60857 touch conftest.c
60858 if $CC -c conftest.c; then
60859 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60860 grep "Warning: gc-sections option ignored" > /dev/null; then
60861 ac_gcsections=no
60864 rm -f conftest.c conftest.o conftest
60866 if test "$ac_gcsections" = "yes"; then
60867 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60870 $as_echo "$ac_gcsections" >&6; }
60872 if test "$ac_test_CFLAGS" = set; then
60873 CFLAGS="$ac_save_CFLAGS"
60874 else
60875 # this is the suspicious part
60876 CFLAGS=''
60880 # Set -z,relro.
60881 # Note this is only for shared objects.
60882 ac_ld_relro=no
60883 if test x"$with_gnu_ld" = x"yes"; then
60884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60885 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60886 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60887 if test -n "$cxx_z_relo"; then
60888 OPT_LDFLAGS="-Wl,-z,relro"
60889 ac_ld_relro=yes
60891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60892 $as_echo "$ac_ld_relro" >&6; }
60895 # Set linker optimization flags.
60896 if test x"$with_gnu_ld" = x"yes"; then
60897 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60903 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60905 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60907 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60909 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60911 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60913 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60915 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60917 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60919 if test x"long_double_math_on_this_cpu" = x"yes"; then
60920 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60922 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60924 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60927 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60928 do :
60929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60932 cat >>confdefs.h <<_ACEOF
60933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60934 _ACEOF
60937 done
60939 for ac_func in timespec_get
60940 do :
60941 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60942 if test "x$ac_cv_func_timespec_get" = xyes; then :
60943 cat >>confdefs.h <<_ACEOF
60944 #define HAVE_TIMESPEC_GET 1
60945 _ACEOF
60948 done
60950 for ac_func in sockatmark
60951 do :
60952 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60953 if test "x$ac_cv_func_sockatmark" = xyes; then :
60954 cat >>confdefs.h <<_ACEOF
60955 #define HAVE_SOCKATMARK 1
60956 _ACEOF
60959 done
60962 *-qnx6.1* | *-qnx6.2*)
60963 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60966 # If we're not using GNU ld, then there's no point in even trying these
60967 # tests. Check for that first. We should have already tested for gld
60968 # by now (in libtool), but require it now just to be safe...
60969 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60970 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60974 # The name set by libtool depends on the version of libtool. Shame on us
60975 # for depending on an impl detail, but c'est la vie. Older versions used
60976 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60977 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60978 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60979 # set (hence we're using an older libtool), then set it.
60980 if test x${with_gnu_ld+set} != xset; then
60981 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60982 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60983 with_gnu_ld=no
60984 else
60985 with_gnu_ld=$ac_cv_prog_gnu_ld
60989 # Start by getting the version number. I think the libtool test already
60990 # does some of this, but throws away the result.
60991 glibcxx_ld_is_gold=no
60992 if test x"$with_gnu_ld" = x"yes"; then
60993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60994 $as_echo_n "checking for ld version... " >&6; }
60996 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60997 glibcxx_ld_is_gold=yes
60999 ldver=`$LD --version 2>/dev/null |
61000 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61002 glibcxx_gnu_ld_version=`echo $ldver | \
61003 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61005 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61008 # Set --gc-sections.
61009 glibcxx_have_gc_sections=no
61010 if test "$glibcxx_ld_is_gold" = "yes"; then
61011 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61012 glibcxx_have_gc_sections=yes
61014 else
61015 glibcxx_gcsections_min_ld=21602
61016 if test x"$with_gnu_ld" = x"yes" &&
61017 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61018 glibcxx_have_gc_sections=yes
61021 if test "$glibcxx_have_gc_sections" = "yes"; then
61022 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61023 # NB: This flag only works reliably after 2.16.1. Configure tests
61024 # for this are difficult, so hard wire a value that should work.
61026 ac_test_CFLAGS="${CFLAGS+set}"
61027 ac_save_CFLAGS="$CFLAGS"
61028 CFLAGS='-Wl,--gc-sections'
61030 # Check for -Wl,--gc-sections
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61032 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61033 if test x$gcc_no_link = xyes; then
61034 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61037 /* end confdefs.h. */
61038 int one(void) { return 1; }
61039 int two(void) { return 2; }
61042 main ()
61044 two();
61046 return 0;
61048 _ACEOF
61049 if ac_fn_c_try_link "$LINENO"; then :
61050 ac_gcsections=yes
61051 else
61052 ac_gcsections=no
61054 rm -f core conftest.err conftest.$ac_objext \
61055 conftest$ac_exeext conftest.$ac_ext
61056 if test "$ac_gcsections" = "yes"; then
61057 rm -f conftest.c
61058 touch conftest.c
61059 if $CC -c conftest.c; then
61060 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61061 grep "Warning: gc-sections option ignored" > /dev/null; then
61062 ac_gcsections=no
61065 rm -f conftest.c conftest.o conftest
61067 if test "$ac_gcsections" = "yes"; then
61068 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61071 $as_echo "$ac_gcsections" >&6; }
61073 if test "$ac_test_CFLAGS" = set; then
61074 CFLAGS="$ac_save_CFLAGS"
61075 else
61076 # this is the suspicious part
61077 CFLAGS=''
61081 # Set -z,relro.
61082 # Note this is only for shared objects.
61083 ac_ld_relro=no
61084 if test x"$with_gnu_ld" = x"yes"; then
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61086 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61087 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61088 if test -n "$cxx_z_relo"; then
61089 OPT_LDFLAGS="-Wl,-z,relro"
61090 ac_ld_relro=yes
61092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61093 $as_echo "$ac_ld_relro" >&6; }
61096 # Set linker optimization flags.
61097 if test x"$with_gnu_ld" = x"yes"; then
61098 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61104 $as_echo "#define HAVE_COSF 1" >>confdefs.h
61106 $as_echo "#define HAVE_COSL 1" >>confdefs.h
61108 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61110 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61112 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61114 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61116 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61118 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61120 $as_echo "#define HAVE_SINF 1" >>confdefs.h
61122 $as_echo "#define HAVE_SINL 1" >>confdefs.h
61124 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61126 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61129 *-rtems*)
61131 # All these tests are for C++; save the language and the compiler flags.
61132 # The CXXFLAGS thing is suspicious, but based on similar bits previously
61133 # found in GLIBCXX_CONFIGURE.
61135 ac_ext=cpp
61136 ac_cpp='$CXXCPP $CPPFLAGS'
61137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61142 ac_save_CXXFLAGS="$CXXFLAGS"
61144 # Check for -ffunction-sections -fdata-sections
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
61146 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
61147 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
61148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61149 /* end confdefs.h. */
61150 int foo; void bar() { };
61152 main ()
61156 return 0;
61158 _ACEOF
61159 if ac_fn_cxx_try_compile "$LINENO"; then :
61160 ac_fdsections=yes
61161 else
61162 ac_fdsections=no
61164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61165 if test "$ac_test_CXXFLAGS" = set; then
61166 CXXFLAGS="$ac_save_CXXFLAGS"
61167 else
61168 # this is the suspicious part
61169 CXXFLAGS=''
61171 if test x"$ac_fdsections" = x"yes"; then
61172 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
61175 $as_echo "$ac_fdsections" >&6; }
61177 ac_ext=c
61178 ac_cpp='$CPP $CPPFLAGS'
61179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61186 # If we're not using GNU ld, then there's no point in even trying these
61187 # tests. Check for that first. We should have already tested for gld
61188 # by now (in libtool), but require it now just to be safe...
61189 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61190 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61194 # The name set by libtool depends on the version of libtool. Shame on us
61195 # for depending on an impl detail, but c'est la vie. Older versions used
61196 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61197 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61198 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61199 # set (hence we're using an older libtool), then set it.
61200 if test x${with_gnu_ld+set} != xset; then
61201 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61202 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61203 with_gnu_ld=no
61204 else
61205 with_gnu_ld=$ac_cv_prog_gnu_ld
61209 # Start by getting the version number. I think the libtool test already
61210 # does some of this, but throws away the result.
61211 glibcxx_ld_is_gold=no
61212 if test x"$with_gnu_ld" = x"yes"; then
61213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61214 $as_echo_n "checking for ld version... " >&6; }
61216 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61217 glibcxx_ld_is_gold=yes
61219 ldver=`$LD --version 2>/dev/null |
61220 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61222 glibcxx_gnu_ld_version=`echo $ldver | \
61223 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61225 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61228 # Set --gc-sections.
61229 glibcxx_have_gc_sections=no
61230 if test "$glibcxx_ld_is_gold" = "yes"; then
61231 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61232 glibcxx_have_gc_sections=yes
61234 else
61235 glibcxx_gcsections_min_ld=21602
61236 if test x"$with_gnu_ld" = x"yes" &&
61237 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61238 glibcxx_have_gc_sections=yes
61241 if test "$glibcxx_have_gc_sections" = "yes"; then
61242 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61243 # NB: This flag only works reliably after 2.16.1. Configure tests
61244 # for this are difficult, so hard wire a value that should work.
61246 ac_test_CFLAGS="${CFLAGS+set}"
61247 ac_save_CFLAGS="$CFLAGS"
61248 CFLAGS='-Wl,--gc-sections'
61250 # Check for -Wl,--gc-sections
61251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61252 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61253 if test x$gcc_no_link = xyes; then
61254 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 int one(void) { return 1; }
61259 int two(void) { return 2; }
61262 main ()
61264 two();
61266 return 0;
61268 _ACEOF
61269 if ac_fn_c_try_link "$LINENO"; then :
61270 ac_gcsections=yes
61271 else
61272 ac_gcsections=no
61274 rm -f core conftest.err conftest.$ac_objext \
61275 conftest$ac_exeext conftest.$ac_ext
61276 if test "$ac_gcsections" = "yes"; then
61277 rm -f conftest.c
61278 touch conftest.c
61279 if $CC -c conftest.c; then
61280 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61281 grep "Warning: gc-sections option ignored" > /dev/null; then
61282 ac_gcsections=no
61285 rm -f conftest.c conftest.o conftest
61287 if test "$ac_gcsections" = "yes"; then
61288 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61291 $as_echo "$ac_gcsections" >&6; }
61293 if test "$ac_test_CFLAGS" = set; then
61294 CFLAGS="$ac_save_CFLAGS"
61295 else
61296 # this is the suspicious part
61297 CFLAGS=''
61301 # Set -z,relro.
61302 # Note this is only for shared objects.
61303 ac_ld_relro=no
61304 if test x"$with_gnu_ld" = x"yes"; then
61305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61306 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61307 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61308 if test -n "$cxx_z_relo"; then
61309 OPT_LDFLAGS="-Wl,-z,relro"
61310 ac_ld_relro=yes
61312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61313 $as_echo "$ac_ld_relro" >&6; }
61316 # Set linker optimization flags.
61317 if test x"$with_gnu_ld" = x"yes"; then
61318 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61325 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61326 ac_save_CXXFLAGS="$CXXFLAGS"
61327 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61330 $as_echo_n "checking for sin in -lm... " >&6; }
61331 if ${ac_cv_lib_m_sin+:} false; then :
61332 $as_echo_n "(cached) " >&6
61333 else
61334 ac_check_lib_save_LIBS=$LIBS
61335 LIBS="-lm $LIBS"
61336 if test x$gcc_no_link = xyes; then
61337 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61340 /* end confdefs.h. */
61342 /* Override any GCC internal prototype to avoid an error.
61343 Use char because int might match the return type of a GCC
61344 builtin and then its argument prototype would still apply. */
61345 #ifdef __cplusplus
61346 extern "C"
61347 #endif
61348 char sin ();
61350 main ()
61352 return sin ();
61354 return 0;
61356 _ACEOF
61357 if ac_fn_c_try_link "$LINENO"; then :
61358 ac_cv_lib_m_sin=yes
61359 else
61360 ac_cv_lib_m_sin=no
61362 rm -f core conftest.err conftest.$ac_objext \
61363 conftest$ac_exeext conftest.$ac_ext
61364 LIBS=$ac_check_lib_save_LIBS
61366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61367 $as_echo "$ac_cv_lib_m_sin" >&6; }
61368 if test "x$ac_cv_lib_m_sin" = xyes; then :
61369 libm="-lm"
61372 ac_save_LIBS="$LIBS"
61373 LIBS="$LIBS $libm"
61377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61378 $as_echo_n "checking for isinf declaration... " >&6; }
61379 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61380 if ${glibcxx_cv_func_isinf_use+:} false; then :
61381 $as_echo_n "(cached) " >&6
61382 else
61385 ac_ext=cpp
61386 ac_cpp='$CXXCPP $CPPFLAGS'
61387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61392 /* end confdefs.h. */
61393 #include <math.h>
61394 #ifdef HAVE_IEEEFP_H
61395 #include <ieeefp.h>
61396 #endif
61399 main ()
61401 isinf(0);
61403 return 0;
61405 _ACEOF
61406 if ac_fn_cxx_try_compile "$LINENO"; then :
61407 glibcxx_cv_func_isinf_use=yes
61408 else
61409 glibcxx_cv_func_isinf_use=no
61411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61412 ac_ext=c
61413 ac_cpp='$CPP $CPPFLAGS'
61414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61423 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61425 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61426 for ac_func in isinf
61427 do :
61428 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61429 if test "x$ac_cv_func_isinf" = xyes; then :
61430 cat >>confdefs.h <<_ACEOF
61431 #define HAVE_ISINF 1
61432 _ACEOF
61435 done
61437 else
61439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61440 $as_echo_n "checking for _isinf declaration... " >&6; }
61441 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61442 if ${glibcxx_cv_func__isinf_use+:} false; then :
61443 $as_echo_n "(cached) " >&6
61444 else
61447 ac_ext=cpp
61448 ac_cpp='$CXXCPP $CPPFLAGS'
61449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61454 /* end confdefs.h. */
61455 #include <math.h>
61456 #ifdef HAVE_IEEEFP_H
61457 #include <ieeefp.h>
61458 #endif
61461 main ()
61463 _isinf(0);
61465 return 0;
61467 _ACEOF
61468 if ac_fn_cxx_try_compile "$LINENO"; then :
61469 glibcxx_cv_func__isinf_use=yes
61470 else
61471 glibcxx_cv_func__isinf_use=no
61473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61474 ac_ext=c
61475 ac_cpp='$CPP $CPPFLAGS'
61476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61485 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61487 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61488 for ac_func in _isinf
61489 do :
61490 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61491 if test "x$ac_cv_func__isinf" = xyes; then :
61492 cat >>confdefs.h <<_ACEOF
61493 #define HAVE__ISINF 1
61494 _ACEOF
61497 done
61506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61507 $as_echo_n "checking for isnan declaration... " >&6; }
61508 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61509 if ${glibcxx_cv_func_isnan_use+:} false; then :
61510 $as_echo_n "(cached) " >&6
61511 else
61514 ac_ext=cpp
61515 ac_cpp='$CXXCPP $CPPFLAGS'
61516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61521 /* end confdefs.h. */
61522 #include <math.h>
61523 #ifdef HAVE_IEEEFP_H
61524 #include <ieeefp.h>
61525 #endif
61528 main ()
61530 isnan(0);
61532 return 0;
61534 _ACEOF
61535 if ac_fn_cxx_try_compile "$LINENO"; then :
61536 glibcxx_cv_func_isnan_use=yes
61537 else
61538 glibcxx_cv_func_isnan_use=no
61540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61541 ac_ext=c
61542 ac_cpp='$CPP $CPPFLAGS'
61543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61552 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61554 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61555 for ac_func in isnan
61556 do :
61557 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61558 if test "x$ac_cv_func_isnan" = xyes; then :
61559 cat >>confdefs.h <<_ACEOF
61560 #define HAVE_ISNAN 1
61561 _ACEOF
61564 done
61566 else
61568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61569 $as_echo_n "checking for _isnan declaration... " >&6; }
61570 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61571 if ${glibcxx_cv_func__isnan_use+:} false; then :
61572 $as_echo_n "(cached) " >&6
61573 else
61576 ac_ext=cpp
61577 ac_cpp='$CXXCPP $CPPFLAGS'
61578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61583 /* end confdefs.h. */
61584 #include <math.h>
61585 #ifdef HAVE_IEEEFP_H
61586 #include <ieeefp.h>
61587 #endif
61590 main ()
61592 _isnan(0);
61594 return 0;
61596 _ACEOF
61597 if ac_fn_cxx_try_compile "$LINENO"; then :
61598 glibcxx_cv_func__isnan_use=yes
61599 else
61600 glibcxx_cv_func__isnan_use=no
61602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61603 ac_ext=c
61604 ac_cpp='$CPP $CPPFLAGS'
61605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61614 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61616 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61617 for ac_func in _isnan
61618 do :
61619 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61620 if test "x$ac_cv_func__isnan" = xyes; then :
61621 cat >>confdefs.h <<_ACEOF
61622 #define HAVE__ISNAN 1
61623 _ACEOF
61626 done
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61636 $as_echo_n "checking for finite declaration... " >&6; }
61637 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61638 if ${glibcxx_cv_func_finite_use+:} false; then :
61639 $as_echo_n "(cached) " >&6
61640 else
61643 ac_ext=cpp
61644 ac_cpp='$CXXCPP $CPPFLAGS'
61645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61650 /* end confdefs.h. */
61651 #include <math.h>
61652 #ifdef HAVE_IEEEFP_H
61653 #include <ieeefp.h>
61654 #endif
61657 main ()
61659 finite(0);
61661 return 0;
61663 _ACEOF
61664 if ac_fn_cxx_try_compile "$LINENO"; then :
61665 glibcxx_cv_func_finite_use=yes
61666 else
61667 glibcxx_cv_func_finite_use=no
61669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61670 ac_ext=c
61671 ac_cpp='$CPP $CPPFLAGS'
61672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61681 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61683 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61684 for ac_func in finite
61685 do :
61686 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61687 if test "x$ac_cv_func_finite" = xyes; then :
61688 cat >>confdefs.h <<_ACEOF
61689 #define HAVE_FINITE 1
61690 _ACEOF
61693 done
61695 else
61697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61698 $as_echo_n "checking for _finite declaration... " >&6; }
61699 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61700 if ${glibcxx_cv_func__finite_use+:} false; then :
61701 $as_echo_n "(cached) " >&6
61702 else
61705 ac_ext=cpp
61706 ac_cpp='$CXXCPP $CPPFLAGS'
61707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61712 /* end confdefs.h. */
61713 #include <math.h>
61714 #ifdef HAVE_IEEEFP_H
61715 #include <ieeefp.h>
61716 #endif
61719 main ()
61721 _finite(0);
61723 return 0;
61725 _ACEOF
61726 if ac_fn_cxx_try_compile "$LINENO"; then :
61727 glibcxx_cv_func__finite_use=yes
61728 else
61729 glibcxx_cv_func__finite_use=no
61731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61732 ac_ext=c
61733 ac_cpp='$CPP $CPPFLAGS'
61734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61743 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61745 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61746 for ac_func in _finite
61747 do :
61748 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61749 if test "x$ac_cv_func__finite" = xyes; then :
61750 cat >>confdefs.h <<_ACEOF
61751 #define HAVE__FINITE 1
61752 _ACEOF
61755 done
61764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61765 $as_echo_n "checking for sincos declaration... " >&6; }
61766 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61767 if ${glibcxx_cv_func_sincos_use+:} false; then :
61768 $as_echo_n "(cached) " >&6
61769 else
61772 ac_ext=cpp
61773 ac_cpp='$CXXCPP $CPPFLAGS'
61774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61779 /* end confdefs.h. */
61780 #include <math.h>
61782 main ()
61784 sincos(0, 0, 0);
61786 return 0;
61788 _ACEOF
61789 if ac_fn_cxx_try_compile "$LINENO"; then :
61790 glibcxx_cv_func_sincos_use=yes
61791 else
61792 glibcxx_cv_func_sincos_use=no
61794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61795 ac_ext=c
61796 ac_cpp='$CPP $CPPFLAGS'
61797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61806 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61808 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61809 for ac_func in sincos
61810 do :
61811 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61812 if test "x$ac_cv_func_sincos" = xyes; then :
61813 cat >>confdefs.h <<_ACEOF
61814 #define HAVE_SINCOS 1
61815 _ACEOF
61818 done
61820 else
61822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61823 $as_echo_n "checking for _sincos declaration... " >&6; }
61824 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61825 if ${glibcxx_cv_func__sincos_use+:} false; then :
61826 $as_echo_n "(cached) " >&6
61827 else
61830 ac_ext=cpp
61831 ac_cpp='$CXXCPP $CPPFLAGS'
61832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61837 /* end confdefs.h. */
61838 #include <math.h>
61840 main ()
61842 _sincos(0, 0, 0);
61844 return 0;
61846 _ACEOF
61847 if ac_fn_cxx_try_compile "$LINENO"; then :
61848 glibcxx_cv_func__sincos_use=yes
61849 else
61850 glibcxx_cv_func__sincos_use=no
61852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61853 ac_ext=c
61854 ac_cpp='$CPP $CPPFLAGS'
61855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61864 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61866 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61867 for ac_func in _sincos
61868 do :
61869 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61870 if test "x$ac_cv_func__sincos" = xyes; then :
61871 cat >>confdefs.h <<_ACEOF
61872 #define HAVE__SINCOS 1
61873 _ACEOF
61876 done
61885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61886 $as_echo_n "checking for fpclass declaration... " >&6; }
61887 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61888 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61889 $as_echo_n "(cached) " >&6
61890 else
61893 ac_ext=cpp
61894 ac_cpp='$CXXCPP $CPPFLAGS'
61895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61900 /* end confdefs.h. */
61901 #include <math.h>
61902 #ifdef HAVE_IEEEFP_H
61903 #include <ieeefp.h>
61904 #endif
61907 main ()
61909 fpclass(0);
61911 return 0;
61913 _ACEOF
61914 if ac_fn_cxx_try_compile "$LINENO"; then :
61915 glibcxx_cv_func_fpclass_use=yes
61916 else
61917 glibcxx_cv_func_fpclass_use=no
61919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61920 ac_ext=c
61921 ac_cpp='$CPP $CPPFLAGS'
61922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61931 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61933 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61934 for ac_func in fpclass
61935 do :
61936 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61937 if test "x$ac_cv_func_fpclass" = xyes; then :
61938 cat >>confdefs.h <<_ACEOF
61939 #define HAVE_FPCLASS 1
61940 _ACEOF
61943 done
61945 else
61947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61948 $as_echo_n "checking for _fpclass declaration... " >&6; }
61949 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61950 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61951 $as_echo_n "(cached) " >&6
61952 else
61955 ac_ext=cpp
61956 ac_cpp='$CXXCPP $CPPFLAGS'
61957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61962 /* end confdefs.h. */
61963 #include <math.h>
61964 #ifdef HAVE_IEEEFP_H
61965 #include <ieeefp.h>
61966 #endif
61969 main ()
61971 _fpclass(0);
61973 return 0;
61975 _ACEOF
61976 if ac_fn_cxx_try_compile "$LINENO"; then :
61977 glibcxx_cv_func__fpclass_use=yes
61978 else
61979 glibcxx_cv_func__fpclass_use=no
61981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61982 ac_ext=c
61983 ac_cpp='$CPP $CPPFLAGS'
61984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61993 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61995 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61996 for ac_func in _fpclass
61997 do :
61998 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61999 if test "x$ac_cv_func__fpclass" = xyes; then :
62000 cat >>confdefs.h <<_ACEOF
62001 #define HAVE__FPCLASS 1
62002 _ACEOF
62005 done
62014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62015 $as_echo_n "checking for qfpclass declaration... " >&6; }
62016 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62017 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62018 $as_echo_n "(cached) " >&6
62019 else
62022 ac_ext=cpp
62023 ac_cpp='$CXXCPP $CPPFLAGS'
62024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62029 /* end confdefs.h. */
62030 #include <math.h>
62031 #ifdef HAVE_IEEEFP_H
62032 #include <ieeefp.h>
62033 #endif
62036 main ()
62038 qfpclass(0);
62040 return 0;
62042 _ACEOF
62043 if ac_fn_cxx_try_compile "$LINENO"; then :
62044 glibcxx_cv_func_qfpclass_use=yes
62045 else
62046 glibcxx_cv_func_qfpclass_use=no
62048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62049 ac_ext=c
62050 ac_cpp='$CPP $CPPFLAGS'
62051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62060 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62062 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62063 for ac_func in qfpclass
62064 do :
62065 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62066 if test "x$ac_cv_func_qfpclass" = xyes; then :
62067 cat >>confdefs.h <<_ACEOF
62068 #define HAVE_QFPCLASS 1
62069 _ACEOF
62072 done
62074 else
62076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62077 $as_echo_n "checking for _qfpclass declaration... " >&6; }
62078 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62079 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62080 $as_echo_n "(cached) " >&6
62081 else
62084 ac_ext=cpp
62085 ac_cpp='$CXXCPP $CPPFLAGS'
62086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62091 /* end confdefs.h. */
62092 #include <math.h>
62093 #ifdef HAVE_IEEEFP_H
62094 #include <ieeefp.h>
62095 #endif
62098 main ()
62100 _qfpclass(0);
62102 return 0;
62104 _ACEOF
62105 if ac_fn_cxx_try_compile "$LINENO"; then :
62106 glibcxx_cv_func__qfpclass_use=yes
62107 else
62108 glibcxx_cv_func__qfpclass_use=no
62110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62111 ac_ext=c
62112 ac_cpp='$CPP $CPPFLAGS'
62113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62122 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62124 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62125 for ac_func in _qfpclass
62126 do :
62127 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62128 if test "x$ac_cv_func__qfpclass" = xyes; then :
62129 cat >>confdefs.h <<_ACEOF
62130 #define HAVE__QFPCLASS 1
62131 _ACEOF
62134 done
62143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62144 $as_echo_n "checking for hypot declaration... " >&6; }
62145 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62146 if ${glibcxx_cv_func_hypot_use+:} false; then :
62147 $as_echo_n "(cached) " >&6
62148 else
62151 ac_ext=cpp
62152 ac_cpp='$CXXCPP $CPPFLAGS'
62153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62158 /* end confdefs.h. */
62159 #include <math.h>
62161 main ()
62163 hypot(0, 0);
62165 return 0;
62167 _ACEOF
62168 if ac_fn_cxx_try_compile "$LINENO"; then :
62169 glibcxx_cv_func_hypot_use=yes
62170 else
62171 glibcxx_cv_func_hypot_use=no
62173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62174 ac_ext=c
62175 ac_cpp='$CPP $CPPFLAGS'
62176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62185 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62187 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62188 for ac_func in hypot
62189 do :
62190 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62191 if test "x$ac_cv_func_hypot" = xyes; then :
62192 cat >>confdefs.h <<_ACEOF
62193 #define HAVE_HYPOT 1
62194 _ACEOF
62197 done
62199 else
62201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62202 $as_echo_n "checking for _hypot declaration... " >&6; }
62203 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62204 if ${glibcxx_cv_func__hypot_use+:} false; then :
62205 $as_echo_n "(cached) " >&6
62206 else
62209 ac_ext=cpp
62210 ac_cpp='$CXXCPP $CPPFLAGS'
62211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62216 /* end confdefs.h. */
62217 #include <math.h>
62219 main ()
62221 _hypot(0, 0);
62223 return 0;
62225 _ACEOF
62226 if ac_fn_cxx_try_compile "$LINENO"; then :
62227 glibcxx_cv_func__hypot_use=yes
62228 else
62229 glibcxx_cv_func__hypot_use=no
62231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62232 ac_ext=c
62233 ac_cpp='$CPP $CPPFLAGS'
62234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62243 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62245 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62246 for ac_func in _hypot
62247 do :
62248 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62249 if test "x$ac_cv_func__hypot" = xyes; then :
62250 cat >>confdefs.h <<_ACEOF
62251 #define HAVE__HYPOT 1
62252 _ACEOF
62255 done
62264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62265 $as_echo_n "checking for float trig functions... " >&6; }
62266 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62267 $as_echo_n "(cached) " >&6
62268 else
62271 ac_ext=cpp
62272 ac_cpp='$CXXCPP $CPPFLAGS'
62273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62278 /* end confdefs.h. */
62279 #include <math.h>
62281 main ()
62283 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62285 return 0;
62287 _ACEOF
62288 if ac_fn_cxx_try_compile "$LINENO"; then :
62289 glibcxx_cv_func_float_trig_use=yes
62290 else
62291 glibcxx_cv_func_float_trig_use=no
62293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62294 ac_ext=c
62295 ac_cpp='$CPP $CPPFLAGS'
62296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62303 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62304 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62305 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62306 do :
62307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62310 cat >>confdefs.h <<_ACEOF
62311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62312 _ACEOF
62315 done
62317 else
62318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62319 $as_echo_n "checking for _float trig functions... " >&6; }
62320 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62321 $as_echo_n "(cached) " >&6
62322 else
62325 ac_ext=cpp
62326 ac_cpp='$CXXCPP $CPPFLAGS'
62327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62332 /* end confdefs.h. */
62333 #include <math.h>
62335 main ()
62337 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62339 return 0;
62341 _ACEOF
62342 if ac_fn_cxx_try_compile "$LINENO"; then :
62343 glibcxx_cv_func__float_trig_use=yes
62344 else
62345 glibcxx_cv_func__float_trig_use=no
62347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62348 ac_ext=c
62349 ac_cpp='$CPP $CPPFLAGS'
62350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62357 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62358 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62359 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62360 do :
62361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62363 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62364 cat >>confdefs.h <<_ACEOF
62365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62366 _ACEOF
62369 done
62378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62379 $as_echo_n "checking for float round functions... " >&6; }
62380 if ${glibcxx_cv_func_float_round_use+:} false; then :
62381 $as_echo_n "(cached) " >&6
62382 else
62385 ac_ext=cpp
62386 ac_cpp='$CXXCPP $CPPFLAGS'
62387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62392 /* end confdefs.h. */
62393 #include <math.h>
62395 main ()
62397 ceilf (0); floorf (0);
62399 return 0;
62401 _ACEOF
62402 if ac_fn_cxx_try_compile "$LINENO"; then :
62403 glibcxx_cv_func_float_round_use=yes
62404 else
62405 glibcxx_cv_func_float_round_use=no
62407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62408 ac_ext=c
62409 ac_cpp='$CPP $CPPFLAGS'
62410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62417 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62418 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62419 for ac_func in ceilf floorf
62420 do :
62421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62423 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62424 cat >>confdefs.h <<_ACEOF
62425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62426 _ACEOF
62429 done
62431 else
62432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62433 $as_echo_n "checking for _float round functions... " >&6; }
62434 if ${glibcxx_cv_func__float_round_use+:} false; then :
62435 $as_echo_n "(cached) " >&6
62436 else
62439 ac_ext=cpp
62440 ac_cpp='$CXXCPP $CPPFLAGS'
62441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62446 /* end confdefs.h. */
62447 #include <math.h>
62449 main ()
62451 _ceilf (0); _floorf (0);
62453 return 0;
62455 _ACEOF
62456 if ac_fn_cxx_try_compile "$LINENO"; then :
62457 glibcxx_cv_func__float_round_use=yes
62458 else
62459 glibcxx_cv_func__float_round_use=no
62461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62462 ac_ext=c
62463 ac_cpp='$CPP $CPPFLAGS'
62464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62471 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62472 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62473 for ac_func in _ceilf _floorf
62474 do :
62475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62477 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62478 cat >>confdefs.h <<_ACEOF
62479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62480 _ACEOF
62483 done
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62494 $as_echo_n "checking for expf declaration... " >&6; }
62495 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62496 if ${glibcxx_cv_func_expf_use+:} false; then :
62497 $as_echo_n "(cached) " >&6
62498 else
62501 ac_ext=cpp
62502 ac_cpp='$CXXCPP $CPPFLAGS'
62503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62508 /* end confdefs.h. */
62509 #include <math.h>
62510 #ifdef HAVE_IEEEFP_H
62511 #include <ieeefp.h>
62512 #endif
62515 main ()
62517 expf(0);
62519 return 0;
62521 _ACEOF
62522 if ac_fn_cxx_try_compile "$LINENO"; then :
62523 glibcxx_cv_func_expf_use=yes
62524 else
62525 glibcxx_cv_func_expf_use=no
62527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62528 ac_ext=c
62529 ac_cpp='$CPP $CPPFLAGS'
62530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62539 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62541 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62542 for ac_func in expf
62543 do :
62544 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62545 if test "x$ac_cv_func_expf" = xyes; then :
62546 cat >>confdefs.h <<_ACEOF
62547 #define HAVE_EXPF 1
62548 _ACEOF
62551 done
62553 else
62555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62556 $as_echo_n "checking for _expf declaration... " >&6; }
62557 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62558 if ${glibcxx_cv_func__expf_use+:} false; then :
62559 $as_echo_n "(cached) " >&6
62560 else
62563 ac_ext=cpp
62564 ac_cpp='$CXXCPP $CPPFLAGS'
62565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62570 /* end confdefs.h. */
62571 #include <math.h>
62572 #ifdef HAVE_IEEEFP_H
62573 #include <ieeefp.h>
62574 #endif
62577 main ()
62579 _expf(0);
62581 return 0;
62583 _ACEOF
62584 if ac_fn_cxx_try_compile "$LINENO"; then :
62585 glibcxx_cv_func__expf_use=yes
62586 else
62587 glibcxx_cv_func__expf_use=no
62589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62590 ac_ext=c
62591 ac_cpp='$CPP $CPPFLAGS'
62592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62601 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62603 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62604 for ac_func in _expf
62605 do :
62606 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62607 if test "x$ac_cv_func__expf" = xyes; then :
62608 cat >>confdefs.h <<_ACEOF
62609 #define HAVE__EXPF 1
62610 _ACEOF
62613 done
62622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62623 $as_echo_n "checking for isnanf declaration... " >&6; }
62624 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62625 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62626 $as_echo_n "(cached) " >&6
62627 else
62630 ac_ext=cpp
62631 ac_cpp='$CXXCPP $CPPFLAGS'
62632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62637 /* end confdefs.h. */
62638 #include <math.h>
62639 #ifdef HAVE_IEEEFP_H
62640 #include <ieeefp.h>
62641 #endif
62644 main ()
62646 isnanf(0);
62648 return 0;
62650 _ACEOF
62651 if ac_fn_cxx_try_compile "$LINENO"; then :
62652 glibcxx_cv_func_isnanf_use=yes
62653 else
62654 glibcxx_cv_func_isnanf_use=no
62656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62657 ac_ext=c
62658 ac_cpp='$CPP $CPPFLAGS'
62659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62668 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62670 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62671 for ac_func in isnanf
62672 do :
62673 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62674 if test "x$ac_cv_func_isnanf" = xyes; then :
62675 cat >>confdefs.h <<_ACEOF
62676 #define HAVE_ISNANF 1
62677 _ACEOF
62680 done
62682 else
62684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62685 $as_echo_n "checking for _isnanf declaration... " >&6; }
62686 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62687 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62688 $as_echo_n "(cached) " >&6
62689 else
62692 ac_ext=cpp
62693 ac_cpp='$CXXCPP $CPPFLAGS'
62694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62699 /* end confdefs.h. */
62700 #include <math.h>
62701 #ifdef HAVE_IEEEFP_H
62702 #include <ieeefp.h>
62703 #endif
62706 main ()
62708 _isnanf(0);
62710 return 0;
62712 _ACEOF
62713 if ac_fn_cxx_try_compile "$LINENO"; then :
62714 glibcxx_cv_func__isnanf_use=yes
62715 else
62716 glibcxx_cv_func__isnanf_use=no
62718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62719 ac_ext=c
62720 ac_cpp='$CPP $CPPFLAGS'
62721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62730 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62732 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62733 for ac_func in _isnanf
62734 do :
62735 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62736 if test "x$ac_cv_func__isnanf" = xyes; then :
62737 cat >>confdefs.h <<_ACEOF
62738 #define HAVE__ISNANF 1
62739 _ACEOF
62742 done
62751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62752 $as_echo_n "checking for isinff declaration... " >&6; }
62753 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62754 if ${glibcxx_cv_func_isinff_use+:} false; then :
62755 $as_echo_n "(cached) " >&6
62756 else
62759 ac_ext=cpp
62760 ac_cpp='$CXXCPP $CPPFLAGS'
62761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62766 /* end confdefs.h. */
62767 #include <math.h>
62768 #ifdef HAVE_IEEEFP_H
62769 #include <ieeefp.h>
62770 #endif
62773 main ()
62775 isinff(0);
62777 return 0;
62779 _ACEOF
62780 if ac_fn_cxx_try_compile "$LINENO"; then :
62781 glibcxx_cv_func_isinff_use=yes
62782 else
62783 glibcxx_cv_func_isinff_use=no
62785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62786 ac_ext=c
62787 ac_cpp='$CPP $CPPFLAGS'
62788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62797 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62799 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62800 for ac_func in isinff
62801 do :
62802 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62803 if test "x$ac_cv_func_isinff" = xyes; then :
62804 cat >>confdefs.h <<_ACEOF
62805 #define HAVE_ISINFF 1
62806 _ACEOF
62809 done
62811 else
62813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62814 $as_echo_n "checking for _isinff declaration... " >&6; }
62815 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62816 if ${glibcxx_cv_func__isinff_use+:} false; then :
62817 $as_echo_n "(cached) " >&6
62818 else
62821 ac_ext=cpp
62822 ac_cpp='$CXXCPP $CPPFLAGS'
62823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62828 /* end confdefs.h. */
62829 #include <math.h>
62830 #ifdef HAVE_IEEEFP_H
62831 #include <ieeefp.h>
62832 #endif
62835 main ()
62837 _isinff(0);
62839 return 0;
62841 _ACEOF
62842 if ac_fn_cxx_try_compile "$LINENO"; then :
62843 glibcxx_cv_func__isinff_use=yes
62844 else
62845 glibcxx_cv_func__isinff_use=no
62847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62848 ac_ext=c
62849 ac_cpp='$CPP $CPPFLAGS'
62850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62859 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62861 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62862 for ac_func in _isinff
62863 do :
62864 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62865 if test "x$ac_cv_func__isinff" = xyes; then :
62866 cat >>confdefs.h <<_ACEOF
62867 #define HAVE__ISINFF 1
62868 _ACEOF
62871 done
62880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62881 $as_echo_n "checking for atan2f declaration... " >&6; }
62882 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62883 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62884 $as_echo_n "(cached) " >&6
62885 else
62888 ac_ext=cpp
62889 ac_cpp='$CXXCPP $CPPFLAGS'
62890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62895 /* end confdefs.h. */
62896 #include <math.h>
62898 main ()
62900 atan2f(0, 0);
62902 return 0;
62904 _ACEOF
62905 if ac_fn_cxx_try_compile "$LINENO"; then :
62906 glibcxx_cv_func_atan2f_use=yes
62907 else
62908 glibcxx_cv_func_atan2f_use=no
62910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62911 ac_ext=c
62912 ac_cpp='$CPP $CPPFLAGS'
62913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62922 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62924 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62925 for ac_func in atan2f
62926 do :
62927 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62928 if test "x$ac_cv_func_atan2f" = xyes; then :
62929 cat >>confdefs.h <<_ACEOF
62930 #define HAVE_ATAN2F 1
62931 _ACEOF
62934 done
62936 else
62938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62939 $as_echo_n "checking for _atan2f declaration... " >&6; }
62940 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62941 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62942 $as_echo_n "(cached) " >&6
62943 else
62946 ac_ext=cpp
62947 ac_cpp='$CXXCPP $CPPFLAGS'
62948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62953 /* end confdefs.h. */
62954 #include <math.h>
62956 main ()
62958 _atan2f(0, 0);
62960 return 0;
62962 _ACEOF
62963 if ac_fn_cxx_try_compile "$LINENO"; then :
62964 glibcxx_cv_func__atan2f_use=yes
62965 else
62966 glibcxx_cv_func__atan2f_use=no
62968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62969 ac_ext=c
62970 ac_cpp='$CPP $CPPFLAGS'
62971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62980 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62982 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62983 for ac_func in _atan2f
62984 do :
62985 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62986 if test "x$ac_cv_func__atan2f" = xyes; then :
62987 cat >>confdefs.h <<_ACEOF
62988 #define HAVE__ATAN2F 1
62989 _ACEOF
62992 done
63001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63002 $as_echo_n "checking for fabsf declaration... " >&6; }
63003 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63004 if ${glibcxx_cv_func_fabsf_use+:} false; then :
63005 $as_echo_n "(cached) " >&6
63006 else
63009 ac_ext=cpp
63010 ac_cpp='$CXXCPP $CPPFLAGS'
63011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63016 /* end confdefs.h. */
63017 #include <math.h>
63018 #ifdef HAVE_IEEEFP_H
63019 #include <ieeefp.h>
63020 #endif
63023 main ()
63025 fabsf(0);
63027 return 0;
63029 _ACEOF
63030 if ac_fn_cxx_try_compile "$LINENO"; then :
63031 glibcxx_cv_func_fabsf_use=yes
63032 else
63033 glibcxx_cv_func_fabsf_use=no
63035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63036 ac_ext=c
63037 ac_cpp='$CPP $CPPFLAGS'
63038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
63047 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63049 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63050 for ac_func in fabsf
63051 do :
63052 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63053 if test "x$ac_cv_func_fabsf" = xyes; then :
63054 cat >>confdefs.h <<_ACEOF
63055 #define HAVE_FABSF 1
63056 _ACEOF
63059 done
63061 else
63063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63064 $as_echo_n "checking for _fabsf declaration... " >&6; }
63065 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63066 if ${glibcxx_cv_func__fabsf_use+:} false; then :
63067 $as_echo_n "(cached) " >&6
63068 else
63071 ac_ext=cpp
63072 ac_cpp='$CXXCPP $CPPFLAGS'
63073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63078 /* end confdefs.h. */
63079 #include <math.h>
63080 #ifdef HAVE_IEEEFP_H
63081 #include <ieeefp.h>
63082 #endif
63085 main ()
63087 _fabsf(0);
63089 return 0;
63091 _ACEOF
63092 if ac_fn_cxx_try_compile "$LINENO"; then :
63093 glibcxx_cv_func__fabsf_use=yes
63094 else
63095 glibcxx_cv_func__fabsf_use=no
63097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63098 ac_ext=c
63099 ac_cpp='$CPP $CPPFLAGS'
63100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63109 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63111 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63112 for ac_func in _fabsf
63113 do :
63114 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63115 if test "x$ac_cv_func__fabsf" = xyes; then :
63116 cat >>confdefs.h <<_ACEOF
63117 #define HAVE__FABSF 1
63118 _ACEOF
63121 done
63130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63131 $as_echo_n "checking for fmodf declaration... " >&6; }
63132 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63133 if ${glibcxx_cv_func_fmodf_use+:} false; then :
63134 $as_echo_n "(cached) " >&6
63135 else
63138 ac_ext=cpp
63139 ac_cpp='$CXXCPP $CPPFLAGS'
63140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63145 /* end confdefs.h. */
63146 #include <math.h>
63148 main ()
63150 fmodf(0, 0);
63152 return 0;
63154 _ACEOF
63155 if ac_fn_cxx_try_compile "$LINENO"; then :
63156 glibcxx_cv_func_fmodf_use=yes
63157 else
63158 glibcxx_cv_func_fmodf_use=no
63160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63161 ac_ext=c
63162 ac_cpp='$CPP $CPPFLAGS'
63163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
63172 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63174 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63175 for ac_func in fmodf
63176 do :
63177 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63178 if test "x$ac_cv_func_fmodf" = xyes; then :
63179 cat >>confdefs.h <<_ACEOF
63180 #define HAVE_FMODF 1
63181 _ACEOF
63184 done
63186 else
63188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63189 $as_echo_n "checking for _fmodf declaration... " >&6; }
63190 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63191 if ${glibcxx_cv_func__fmodf_use+:} false; then :
63192 $as_echo_n "(cached) " >&6
63193 else
63196 ac_ext=cpp
63197 ac_cpp='$CXXCPP $CPPFLAGS'
63198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63203 /* end confdefs.h. */
63204 #include <math.h>
63206 main ()
63208 _fmodf(0, 0);
63210 return 0;
63212 _ACEOF
63213 if ac_fn_cxx_try_compile "$LINENO"; then :
63214 glibcxx_cv_func__fmodf_use=yes
63215 else
63216 glibcxx_cv_func__fmodf_use=no
63218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63219 ac_ext=c
63220 ac_cpp='$CPP $CPPFLAGS'
63221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63230 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63232 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63233 for ac_func in _fmodf
63234 do :
63235 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63236 if test "x$ac_cv_func__fmodf" = xyes; then :
63237 cat >>confdefs.h <<_ACEOF
63238 #define HAVE__FMODF 1
63239 _ACEOF
63242 done
63251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63252 $as_echo_n "checking for frexpf declaration... " >&6; }
63253 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63254 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63255 $as_echo_n "(cached) " >&6
63256 else
63259 ac_ext=cpp
63260 ac_cpp='$CXXCPP $CPPFLAGS'
63261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63266 /* end confdefs.h. */
63267 #include <math.h>
63269 main ()
63271 frexpf(0, 0);
63273 return 0;
63275 _ACEOF
63276 if ac_fn_cxx_try_compile "$LINENO"; then :
63277 glibcxx_cv_func_frexpf_use=yes
63278 else
63279 glibcxx_cv_func_frexpf_use=no
63281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63282 ac_ext=c
63283 ac_cpp='$CPP $CPPFLAGS'
63284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63293 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63295 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63296 for ac_func in frexpf
63297 do :
63298 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63299 if test "x$ac_cv_func_frexpf" = xyes; then :
63300 cat >>confdefs.h <<_ACEOF
63301 #define HAVE_FREXPF 1
63302 _ACEOF
63305 done
63307 else
63309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63310 $as_echo_n "checking for _frexpf declaration... " >&6; }
63311 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63312 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63313 $as_echo_n "(cached) " >&6
63314 else
63317 ac_ext=cpp
63318 ac_cpp='$CXXCPP $CPPFLAGS'
63319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63324 /* end confdefs.h. */
63325 #include <math.h>
63327 main ()
63329 _frexpf(0, 0);
63331 return 0;
63333 _ACEOF
63334 if ac_fn_cxx_try_compile "$LINENO"; then :
63335 glibcxx_cv_func__frexpf_use=yes
63336 else
63337 glibcxx_cv_func__frexpf_use=no
63339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63340 ac_ext=c
63341 ac_cpp='$CPP $CPPFLAGS'
63342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63351 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63353 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63354 for ac_func in _frexpf
63355 do :
63356 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63357 if test "x$ac_cv_func__frexpf" = xyes; then :
63358 cat >>confdefs.h <<_ACEOF
63359 #define HAVE__FREXPF 1
63360 _ACEOF
63363 done
63372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63373 $as_echo_n "checking for hypotf declaration... " >&6; }
63374 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63375 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63376 $as_echo_n "(cached) " >&6
63377 else
63380 ac_ext=cpp
63381 ac_cpp='$CXXCPP $CPPFLAGS'
63382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63387 /* end confdefs.h. */
63388 #include <math.h>
63390 main ()
63392 hypotf(0, 0);
63394 return 0;
63396 _ACEOF
63397 if ac_fn_cxx_try_compile "$LINENO"; then :
63398 glibcxx_cv_func_hypotf_use=yes
63399 else
63400 glibcxx_cv_func_hypotf_use=no
63402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63403 ac_ext=c
63404 ac_cpp='$CPP $CPPFLAGS'
63405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63414 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63416 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63417 for ac_func in hypotf
63418 do :
63419 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63420 if test "x$ac_cv_func_hypotf" = xyes; then :
63421 cat >>confdefs.h <<_ACEOF
63422 #define HAVE_HYPOTF 1
63423 _ACEOF
63426 done
63428 else
63430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63431 $as_echo_n "checking for _hypotf declaration... " >&6; }
63432 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63433 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63434 $as_echo_n "(cached) " >&6
63435 else
63438 ac_ext=cpp
63439 ac_cpp='$CXXCPP $CPPFLAGS'
63440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63445 /* end confdefs.h. */
63446 #include <math.h>
63448 main ()
63450 _hypotf(0, 0);
63452 return 0;
63454 _ACEOF
63455 if ac_fn_cxx_try_compile "$LINENO"; then :
63456 glibcxx_cv_func__hypotf_use=yes
63457 else
63458 glibcxx_cv_func__hypotf_use=no
63460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63461 ac_ext=c
63462 ac_cpp='$CPP $CPPFLAGS'
63463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63472 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63474 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63475 for ac_func in _hypotf
63476 do :
63477 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63478 if test "x$ac_cv_func__hypotf" = xyes; then :
63479 cat >>confdefs.h <<_ACEOF
63480 #define HAVE__HYPOTF 1
63481 _ACEOF
63484 done
63493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63494 $as_echo_n "checking for ldexpf declaration... " >&6; }
63495 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63496 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63497 $as_echo_n "(cached) " >&6
63498 else
63501 ac_ext=cpp
63502 ac_cpp='$CXXCPP $CPPFLAGS'
63503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63508 /* end confdefs.h. */
63509 #include <math.h>
63511 main ()
63513 ldexpf(0, 0);
63515 return 0;
63517 _ACEOF
63518 if ac_fn_cxx_try_compile "$LINENO"; then :
63519 glibcxx_cv_func_ldexpf_use=yes
63520 else
63521 glibcxx_cv_func_ldexpf_use=no
63523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63524 ac_ext=c
63525 ac_cpp='$CPP $CPPFLAGS'
63526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63535 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63537 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63538 for ac_func in ldexpf
63539 do :
63540 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63541 if test "x$ac_cv_func_ldexpf" = xyes; then :
63542 cat >>confdefs.h <<_ACEOF
63543 #define HAVE_LDEXPF 1
63544 _ACEOF
63547 done
63549 else
63551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63552 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63553 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63554 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63555 $as_echo_n "(cached) " >&6
63556 else
63559 ac_ext=cpp
63560 ac_cpp='$CXXCPP $CPPFLAGS'
63561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63566 /* end confdefs.h. */
63567 #include <math.h>
63569 main ()
63571 _ldexpf(0, 0);
63573 return 0;
63575 _ACEOF
63576 if ac_fn_cxx_try_compile "$LINENO"; then :
63577 glibcxx_cv_func__ldexpf_use=yes
63578 else
63579 glibcxx_cv_func__ldexpf_use=no
63581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63582 ac_ext=c
63583 ac_cpp='$CPP $CPPFLAGS'
63584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63593 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63595 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63596 for ac_func in _ldexpf
63597 do :
63598 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63599 if test "x$ac_cv_func__ldexpf" = xyes; then :
63600 cat >>confdefs.h <<_ACEOF
63601 #define HAVE__LDEXPF 1
63602 _ACEOF
63605 done
63614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63615 $as_echo_n "checking for logf declaration... " >&6; }
63616 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63617 if ${glibcxx_cv_func_logf_use+:} false; then :
63618 $as_echo_n "(cached) " >&6
63619 else
63622 ac_ext=cpp
63623 ac_cpp='$CXXCPP $CPPFLAGS'
63624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63629 /* end confdefs.h. */
63630 #include <math.h>
63631 #ifdef HAVE_IEEEFP_H
63632 #include <ieeefp.h>
63633 #endif
63636 main ()
63638 logf(0);
63640 return 0;
63642 _ACEOF
63643 if ac_fn_cxx_try_compile "$LINENO"; then :
63644 glibcxx_cv_func_logf_use=yes
63645 else
63646 glibcxx_cv_func_logf_use=no
63648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63649 ac_ext=c
63650 ac_cpp='$CPP $CPPFLAGS'
63651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63660 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63662 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63663 for ac_func in logf
63664 do :
63665 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63666 if test "x$ac_cv_func_logf" = xyes; then :
63667 cat >>confdefs.h <<_ACEOF
63668 #define HAVE_LOGF 1
63669 _ACEOF
63672 done
63674 else
63676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63677 $as_echo_n "checking for _logf declaration... " >&6; }
63678 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63679 if ${glibcxx_cv_func__logf_use+:} false; then :
63680 $as_echo_n "(cached) " >&6
63681 else
63684 ac_ext=cpp
63685 ac_cpp='$CXXCPP $CPPFLAGS'
63686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63691 /* end confdefs.h. */
63692 #include <math.h>
63693 #ifdef HAVE_IEEEFP_H
63694 #include <ieeefp.h>
63695 #endif
63698 main ()
63700 _logf(0);
63702 return 0;
63704 _ACEOF
63705 if ac_fn_cxx_try_compile "$LINENO"; then :
63706 glibcxx_cv_func__logf_use=yes
63707 else
63708 glibcxx_cv_func__logf_use=no
63710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63711 ac_ext=c
63712 ac_cpp='$CPP $CPPFLAGS'
63713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63722 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63724 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63725 for ac_func in _logf
63726 do :
63727 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63728 if test "x$ac_cv_func__logf" = xyes; then :
63729 cat >>confdefs.h <<_ACEOF
63730 #define HAVE__LOGF 1
63731 _ACEOF
63734 done
63743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63744 $as_echo_n "checking for log10f declaration... " >&6; }
63745 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63746 if ${glibcxx_cv_func_log10f_use+:} false; then :
63747 $as_echo_n "(cached) " >&6
63748 else
63751 ac_ext=cpp
63752 ac_cpp='$CXXCPP $CPPFLAGS'
63753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63758 /* end confdefs.h. */
63759 #include <math.h>
63760 #ifdef HAVE_IEEEFP_H
63761 #include <ieeefp.h>
63762 #endif
63765 main ()
63767 log10f(0);
63769 return 0;
63771 _ACEOF
63772 if ac_fn_cxx_try_compile "$LINENO"; then :
63773 glibcxx_cv_func_log10f_use=yes
63774 else
63775 glibcxx_cv_func_log10f_use=no
63777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63778 ac_ext=c
63779 ac_cpp='$CPP $CPPFLAGS'
63780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63789 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63791 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63792 for ac_func in log10f
63793 do :
63794 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63795 if test "x$ac_cv_func_log10f" = xyes; then :
63796 cat >>confdefs.h <<_ACEOF
63797 #define HAVE_LOG10F 1
63798 _ACEOF
63801 done
63803 else
63805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63806 $as_echo_n "checking for _log10f declaration... " >&6; }
63807 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63808 if ${glibcxx_cv_func__log10f_use+:} false; then :
63809 $as_echo_n "(cached) " >&6
63810 else
63813 ac_ext=cpp
63814 ac_cpp='$CXXCPP $CPPFLAGS'
63815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63820 /* end confdefs.h. */
63821 #include <math.h>
63822 #ifdef HAVE_IEEEFP_H
63823 #include <ieeefp.h>
63824 #endif
63827 main ()
63829 _log10f(0);
63831 return 0;
63833 _ACEOF
63834 if ac_fn_cxx_try_compile "$LINENO"; then :
63835 glibcxx_cv_func__log10f_use=yes
63836 else
63837 glibcxx_cv_func__log10f_use=no
63839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63840 ac_ext=c
63841 ac_cpp='$CPP $CPPFLAGS'
63842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63851 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63853 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63854 for ac_func in _log10f
63855 do :
63856 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63857 if test "x$ac_cv_func__log10f" = xyes; then :
63858 cat >>confdefs.h <<_ACEOF
63859 #define HAVE__LOG10F 1
63860 _ACEOF
63863 done
63872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63873 $as_echo_n "checking for modff declaration... " >&6; }
63874 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63875 if ${glibcxx_cv_func_modff_use+:} false; then :
63876 $as_echo_n "(cached) " >&6
63877 else
63880 ac_ext=cpp
63881 ac_cpp='$CXXCPP $CPPFLAGS'
63882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63887 /* end confdefs.h. */
63888 #include <math.h>
63890 main ()
63892 modff(0, 0);
63894 return 0;
63896 _ACEOF
63897 if ac_fn_cxx_try_compile "$LINENO"; then :
63898 glibcxx_cv_func_modff_use=yes
63899 else
63900 glibcxx_cv_func_modff_use=no
63902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63903 ac_ext=c
63904 ac_cpp='$CPP $CPPFLAGS'
63905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63914 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63916 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63917 for ac_func in modff
63918 do :
63919 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63920 if test "x$ac_cv_func_modff" = xyes; then :
63921 cat >>confdefs.h <<_ACEOF
63922 #define HAVE_MODFF 1
63923 _ACEOF
63926 done
63928 else
63930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63931 $as_echo_n "checking for _modff declaration... " >&6; }
63932 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63933 if ${glibcxx_cv_func__modff_use+:} false; then :
63934 $as_echo_n "(cached) " >&6
63935 else
63938 ac_ext=cpp
63939 ac_cpp='$CXXCPP $CPPFLAGS'
63940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63945 /* end confdefs.h. */
63946 #include <math.h>
63948 main ()
63950 _modff(0, 0);
63952 return 0;
63954 _ACEOF
63955 if ac_fn_cxx_try_compile "$LINENO"; then :
63956 glibcxx_cv_func__modff_use=yes
63957 else
63958 glibcxx_cv_func__modff_use=no
63960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63961 ac_ext=c
63962 ac_cpp='$CPP $CPPFLAGS'
63963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63972 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63974 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63975 for ac_func in _modff
63976 do :
63977 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63978 if test "x$ac_cv_func__modff" = xyes; then :
63979 cat >>confdefs.h <<_ACEOF
63980 #define HAVE__MODFF 1
63981 _ACEOF
63984 done
63993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63994 $as_echo_n "checking for modf declaration... " >&6; }
63995 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63996 if ${glibcxx_cv_func_modf_use+:} false; then :
63997 $as_echo_n "(cached) " >&6
63998 else
64001 ac_ext=cpp
64002 ac_cpp='$CXXCPP $CPPFLAGS'
64003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64008 /* end confdefs.h. */
64009 #include <math.h>
64011 main ()
64013 modf(0, 0);
64015 return 0;
64017 _ACEOF
64018 if ac_fn_cxx_try_compile "$LINENO"; then :
64019 glibcxx_cv_func_modf_use=yes
64020 else
64021 glibcxx_cv_func_modf_use=no
64023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64024 ac_ext=c
64025 ac_cpp='$CPP $CPPFLAGS'
64026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64035 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
64037 if test x$glibcxx_cv_func_modf_use = x"yes"; then
64038 for ac_func in modf
64039 do :
64040 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64041 if test "x$ac_cv_func_modf" = xyes; then :
64042 cat >>confdefs.h <<_ACEOF
64043 #define HAVE_MODF 1
64044 _ACEOF
64047 done
64049 else
64051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64052 $as_echo_n "checking for _modf declaration... " >&6; }
64053 if test x${glibcxx_cv_func__modf_use+set} != xset; then
64054 if ${glibcxx_cv_func__modf_use+:} false; then :
64055 $as_echo_n "(cached) " >&6
64056 else
64059 ac_ext=cpp
64060 ac_cpp='$CXXCPP $CPPFLAGS'
64061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64066 /* end confdefs.h. */
64067 #include <math.h>
64069 main ()
64071 _modf(0, 0);
64073 return 0;
64075 _ACEOF
64076 if ac_fn_cxx_try_compile "$LINENO"; then :
64077 glibcxx_cv_func__modf_use=yes
64078 else
64079 glibcxx_cv_func__modf_use=no
64081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64082 ac_ext=c
64083 ac_cpp='$CPP $CPPFLAGS'
64084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64093 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
64095 if test x$glibcxx_cv_func__modf_use = x"yes"; then
64096 for ac_func in _modf
64097 do :
64098 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64099 if test "x$ac_cv_func__modf" = xyes; then :
64100 cat >>confdefs.h <<_ACEOF
64101 #define HAVE__MODF 1
64102 _ACEOF
64105 done
64114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64115 $as_echo_n "checking for powf declaration... " >&6; }
64116 if test x${glibcxx_cv_func_powf_use+set} != xset; then
64117 if ${glibcxx_cv_func_powf_use+:} false; then :
64118 $as_echo_n "(cached) " >&6
64119 else
64122 ac_ext=cpp
64123 ac_cpp='$CXXCPP $CPPFLAGS'
64124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64129 /* end confdefs.h. */
64130 #include <math.h>
64132 main ()
64134 powf(0, 0);
64136 return 0;
64138 _ACEOF
64139 if ac_fn_cxx_try_compile "$LINENO"; then :
64140 glibcxx_cv_func_powf_use=yes
64141 else
64142 glibcxx_cv_func_powf_use=no
64144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64145 ac_ext=c
64146 ac_cpp='$CPP $CPPFLAGS'
64147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64156 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
64158 if test x$glibcxx_cv_func_powf_use = x"yes"; then
64159 for ac_func in powf
64160 do :
64161 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64162 if test "x$ac_cv_func_powf" = xyes; then :
64163 cat >>confdefs.h <<_ACEOF
64164 #define HAVE_POWF 1
64165 _ACEOF
64168 done
64170 else
64172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64173 $as_echo_n "checking for _powf declaration... " >&6; }
64174 if test x${glibcxx_cv_func__powf_use+set} != xset; then
64175 if ${glibcxx_cv_func__powf_use+:} false; then :
64176 $as_echo_n "(cached) " >&6
64177 else
64180 ac_ext=cpp
64181 ac_cpp='$CXXCPP $CPPFLAGS'
64182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64187 /* end confdefs.h. */
64188 #include <math.h>
64190 main ()
64192 _powf(0, 0);
64194 return 0;
64196 _ACEOF
64197 if ac_fn_cxx_try_compile "$LINENO"; then :
64198 glibcxx_cv_func__powf_use=yes
64199 else
64200 glibcxx_cv_func__powf_use=no
64202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64203 ac_ext=c
64204 ac_cpp='$CPP $CPPFLAGS'
64205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64214 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64216 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64217 for ac_func in _powf
64218 do :
64219 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64220 if test "x$ac_cv_func__powf" = xyes; then :
64221 cat >>confdefs.h <<_ACEOF
64222 #define HAVE__POWF 1
64223 _ACEOF
64226 done
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64236 $as_echo_n "checking for sqrtf declaration... " >&6; }
64237 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64238 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64239 $as_echo_n "(cached) " >&6
64240 else
64243 ac_ext=cpp
64244 ac_cpp='$CXXCPP $CPPFLAGS'
64245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64250 /* end confdefs.h. */
64251 #include <math.h>
64252 #ifdef HAVE_IEEEFP_H
64253 #include <ieeefp.h>
64254 #endif
64257 main ()
64259 sqrtf(0);
64261 return 0;
64263 _ACEOF
64264 if ac_fn_cxx_try_compile "$LINENO"; then :
64265 glibcxx_cv_func_sqrtf_use=yes
64266 else
64267 glibcxx_cv_func_sqrtf_use=no
64269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64270 ac_ext=c
64271 ac_cpp='$CPP $CPPFLAGS'
64272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64281 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64283 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64284 for ac_func in sqrtf
64285 do :
64286 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64287 if test "x$ac_cv_func_sqrtf" = xyes; then :
64288 cat >>confdefs.h <<_ACEOF
64289 #define HAVE_SQRTF 1
64290 _ACEOF
64293 done
64295 else
64297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64298 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64299 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64300 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64301 $as_echo_n "(cached) " >&6
64302 else
64305 ac_ext=cpp
64306 ac_cpp='$CXXCPP $CPPFLAGS'
64307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64312 /* end confdefs.h. */
64313 #include <math.h>
64314 #ifdef HAVE_IEEEFP_H
64315 #include <ieeefp.h>
64316 #endif
64319 main ()
64321 _sqrtf(0);
64323 return 0;
64325 _ACEOF
64326 if ac_fn_cxx_try_compile "$LINENO"; then :
64327 glibcxx_cv_func__sqrtf_use=yes
64328 else
64329 glibcxx_cv_func__sqrtf_use=no
64331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64332 ac_ext=c
64333 ac_cpp='$CPP $CPPFLAGS'
64334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64343 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64345 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64346 for ac_func in _sqrtf
64347 do :
64348 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64349 if test "x$ac_cv_func__sqrtf" = xyes; then :
64350 cat >>confdefs.h <<_ACEOF
64351 #define HAVE__SQRTF 1
64352 _ACEOF
64355 done
64364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64365 $as_echo_n "checking for sincosf declaration... " >&6; }
64366 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64367 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64368 $as_echo_n "(cached) " >&6
64369 else
64372 ac_ext=cpp
64373 ac_cpp='$CXXCPP $CPPFLAGS'
64374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64379 /* end confdefs.h. */
64380 #include <math.h>
64382 main ()
64384 sincosf(0, 0, 0);
64386 return 0;
64388 _ACEOF
64389 if ac_fn_cxx_try_compile "$LINENO"; then :
64390 glibcxx_cv_func_sincosf_use=yes
64391 else
64392 glibcxx_cv_func_sincosf_use=no
64394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64395 ac_ext=c
64396 ac_cpp='$CPP $CPPFLAGS'
64397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64406 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64408 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64409 for ac_func in sincosf
64410 do :
64411 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64412 if test "x$ac_cv_func_sincosf" = xyes; then :
64413 cat >>confdefs.h <<_ACEOF
64414 #define HAVE_SINCOSF 1
64415 _ACEOF
64418 done
64420 else
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64423 $as_echo_n "checking for _sincosf declaration... " >&6; }
64424 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64425 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64426 $as_echo_n "(cached) " >&6
64427 else
64430 ac_ext=cpp
64431 ac_cpp='$CXXCPP $CPPFLAGS'
64432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64437 /* end confdefs.h. */
64438 #include <math.h>
64440 main ()
64442 _sincosf(0, 0, 0);
64444 return 0;
64446 _ACEOF
64447 if ac_fn_cxx_try_compile "$LINENO"; then :
64448 glibcxx_cv_func__sincosf_use=yes
64449 else
64450 glibcxx_cv_func__sincosf_use=no
64452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64453 ac_ext=c
64454 ac_cpp='$CPP $CPPFLAGS'
64455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64464 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64466 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64467 for ac_func in _sincosf
64468 do :
64469 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64470 if test "x$ac_cv_func__sincosf" = xyes; then :
64471 cat >>confdefs.h <<_ACEOF
64472 #define HAVE__SINCOSF 1
64473 _ACEOF
64476 done
64485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64486 $as_echo_n "checking for finitef declaration... " >&6; }
64487 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64488 if ${glibcxx_cv_func_finitef_use+:} false; then :
64489 $as_echo_n "(cached) " >&6
64490 else
64493 ac_ext=cpp
64494 ac_cpp='$CXXCPP $CPPFLAGS'
64495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64500 /* end confdefs.h. */
64501 #include <math.h>
64502 #ifdef HAVE_IEEEFP_H
64503 #include <ieeefp.h>
64504 #endif
64507 main ()
64509 finitef(0);
64511 return 0;
64513 _ACEOF
64514 if ac_fn_cxx_try_compile "$LINENO"; then :
64515 glibcxx_cv_func_finitef_use=yes
64516 else
64517 glibcxx_cv_func_finitef_use=no
64519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64520 ac_ext=c
64521 ac_cpp='$CPP $CPPFLAGS'
64522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64531 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64533 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64534 for ac_func in finitef
64535 do :
64536 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64537 if test "x$ac_cv_func_finitef" = xyes; then :
64538 cat >>confdefs.h <<_ACEOF
64539 #define HAVE_FINITEF 1
64540 _ACEOF
64543 done
64545 else
64547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64548 $as_echo_n "checking for _finitef declaration... " >&6; }
64549 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64550 if ${glibcxx_cv_func__finitef_use+:} false; then :
64551 $as_echo_n "(cached) " >&6
64552 else
64555 ac_ext=cpp
64556 ac_cpp='$CXXCPP $CPPFLAGS'
64557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64562 /* end confdefs.h. */
64563 #include <math.h>
64564 #ifdef HAVE_IEEEFP_H
64565 #include <ieeefp.h>
64566 #endif
64569 main ()
64571 _finitef(0);
64573 return 0;
64575 _ACEOF
64576 if ac_fn_cxx_try_compile "$LINENO"; then :
64577 glibcxx_cv_func__finitef_use=yes
64578 else
64579 glibcxx_cv_func__finitef_use=no
64581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64582 ac_ext=c
64583 ac_cpp='$CPP $CPPFLAGS'
64584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64593 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64595 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64596 for ac_func in _finitef
64597 do :
64598 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64599 if test "x$ac_cv_func__finitef" = xyes; then :
64600 cat >>confdefs.h <<_ACEOF
64601 #define HAVE__FINITEF 1
64602 _ACEOF
64605 done
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64615 $as_echo_n "checking for long double trig functions... " >&6; }
64616 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64617 $as_echo_n "(cached) " >&6
64618 else
64621 ac_ext=cpp
64622 ac_cpp='$CXXCPP $CPPFLAGS'
64623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64628 /* end confdefs.h. */
64629 #include <math.h>
64631 main ()
64633 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64635 return 0;
64637 _ACEOF
64638 if ac_fn_cxx_try_compile "$LINENO"; then :
64639 glibcxx_cv_func_long_double_trig_use=yes
64640 else
64641 glibcxx_cv_func_long_double_trig_use=no
64643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64644 ac_ext=c
64645 ac_cpp='$CPP $CPPFLAGS'
64646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64653 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64654 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64655 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64656 do :
64657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64660 cat >>confdefs.h <<_ACEOF
64661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64662 _ACEOF
64665 done
64667 else
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64669 $as_echo_n "checking for _long double trig functions... " >&6; }
64670 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64671 $as_echo_n "(cached) " >&6
64672 else
64675 ac_ext=cpp
64676 ac_cpp='$CXXCPP $CPPFLAGS'
64677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64682 /* end confdefs.h. */
64683 #include <math.h>
64685 main ()
64687 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64689 return 0;
64691 _ACEOF
64692 if ac_fn_cxx_try_compile "$LINENO"; then :
64693 glibcxx_cv_func__long_double_trig_use=yes
64694 else
64695 glibcxx_cv_func__long_double_trig_use=no
64697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64698 ac_ext=c
64699 ac_cpp='$CPP $CPPFLAGS'
64700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64707 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64708 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64709 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64710 do :
64711 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64712 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64713 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64714 cat >>confdefs.h <<_ACEOF
64715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64716 _ACEOF
64719 done
64728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64729 $as_echo_n "checking for long double round functions... " >&6; }
64730 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64731 $as_echo_n "(cached) " >&6
64732 else
64735 ac_ext=cpp
64736 ac_cpp='$CXXCPP $CPPFLAGS'
64737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64742 /* end confdefs.h. */
64743 #include <math.h>
64745 main ()
64747 ceill (0); floorl (0);
64749 return 0;
64751 _ACEOF
64752 if ac_fn_cxx_try_compile "$LINENO"; then :
64753 glibcxx_cv_func_long_double_round_use=yes
64754 else
64755 glibcxx_cv_func_long_double_round_use=no
64757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64758 ac_ext=c
64759 ac_cpp='$CPP $CPPFLAGS'
64760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64767 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64768 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64769 for ac_func in ceill floorl
64770 do :
64771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64773 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64774 cat >>confdefs.h <<_ACEOF
64775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64776 _ACEOF
64779 done
64781 else
64782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64783 $as_echo_n "checking for _long double round functions... " >&6; }
64784 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64785 $as_echo_n "(cached) " >&6
64786 else
64789 ac_ext=cpp
64790 ac_cpp='$CXXCPP $CPPFLAGS'
64791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64796 /* end confdefs.h. */
64797 #include <math.h>
64799 main ()
64801 _ceill (0); _floorl (0);
64803 return 0;
64805 _ACEOF
64806 if ac_fn_cxx_try_compile "$LINENO"; then :
64807 glibcxx_cv_func__long_double_round_use=yes
64808 else
64809 glibcxx_cv_func__long_double_round_use=no
64811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64812 ac_ext=c
64813 ac_cpp='$CPP $CPPFLAGS'
64814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64821 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64822 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64823 for ac_func in _ceill _floorl
64824 do :
64825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64827 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64828 cat >>confdefs.h <<_ACEOF
64829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64830 _ACEOF
64833 done
64843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64844 $as_echo_n "checking for isnanl declaration... " >&6; }
64845 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64846 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64847 $as_echo_n "(cached) " >&6
64848 else
64851 ac_ext=cpp
64852 ac_cpp='$CXXCPP $CPPFLAGS'
64853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64858 /* end confdefs.h. */
64859 #include <math.h>
64860 #ifdef HAVE_IEEEFP_H
64861 #include <ieeefp.h>
64862 #endif
64865 main ()
64867 isnanl(0);
64869 return 0;
64871 _ACEOF
64872 if ac_fn_cxx_try_compile "$LINENO"; then :
64873 glibcxx_cv_func_isnanl_use=yes
64874 else
64875 glibcxx_cv_func_isnanl_use=no
64877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64878 ac_ext=c
64879 ac_cpp='$CPP $CPPFLAGS'
64880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64889 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64891 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64892 for ac_func in isnanl
64893 do :
64894 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64895 if test "x$ac_cv_func_isnanl" = xyes; then :
64896 cat >>confdefs.h <<_ACEOF
64897 #define HAVE_ISNANL 1
64898 _ACEOF
64901 done
64903 else
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64906 $as_echo_n "checking for _isnanl declaration... " >&6; }
64907 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64908 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64909 $as_echo_n "(cached) " >&6
64910 else
64913 ac_ext=cpp
64914 ac_cpp='$CXXCPP $CPPFLAGS'
64915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64920 /* end confdefs.h. */
64921 #include <math.h>
64922 #ifdef HAVE_IEEEFP_H
64923 #include <ieeefp.h>
64924 #endif
64927 main ()
64929 _isnanl(0);
64931 return 0;
64933 _ACEOF
64934 if ac_fn_cxx_try_compile "$LINENO"; then :
64935 glibcxx_cv_func__isnanl_use=yes
64936 else
64937 glibcxx_cv_func__isnanl_use=no
64939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64940 ac_ext=c
64941 ac_cpp='$CPP $CPPFLAGS'
64942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64951 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64953 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64954 for ac_func in _isnanl
64955 do :
64956 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64957 if test "x$ac_cv_func__isnanl" = xyes; then :
64958 cat >>confdefs.h <<_ACEOF
64959 #define HAVE__ISNANL 1
64960 _ACEOF
64963 done
64972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64973 $as_echo_n "checking for isinfl declaration... " >&6; }
64974 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64975 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64976 $as_echo_n "(cached) " >&6
64977 else
64980 ac_ext=cpp
64981 ac_cpp='$CXXCPP $CPPFLAGS'
64982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64987 /* end confdefs.h. */
64988 #include <math.h>
64989 #ifdef HAVE_IEEEFP_H
64990 #include <ieeefp.h>
64991 #endif
64994 main ()
64996 isinfl(0);
64998 return 0;
65000 _ACEOF
65001 if ac_fn_cxx_try_compile "$LINENO"; then :
65002 glibcxx_cv_func_isinfl_use=yes
65003 else
65004 glibcxx_cv_func_isinfl_use=no
65006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65007 ac_ext=c
65008 ac_cpp='$CPP $CPPFLAGS'
65009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65018 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65020 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65021 for ac_func in isinfl
65022 do :
65023 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65024 if test "x$ac_cv_func_isinfl" = xyes; then :
65025 cat >>confdefs.h <<_ACEOF
65026 #define HAVE_ISINFL 1
65027 _ACEOF
65030 done
65032 else
65034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65035 $as_echo_n "checking for _isinfl declaration... " >&6; }
65036 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65037 if ${glibcxx_cv_func__isinfl_use+:} false; then :
65038 $as_echo_n "(cached) " >&6
65039 else
65042 ac_ext=cpp
65043 ac_cpp='$CXXCPP $CPPFLAGS'
65044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65049 /* end confdefs.h. */
65050 #include <math.h>
65051 #ifdef HAVE_IEEEFP_H
65052 #include <ieeefp.h>
65053 #endif
65056 main ()
65058 _isinfl(0);
65060 return 0;
65062 _ACEOF
65063 if ac_fn_cxx_try_compile "$LINENO"; then :
65064 glibcxx_cv_func__isinfl_use=yes
65065 else
65066 glibcxx_cv_func__isinfl_use=no
65068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65069 ac_ext=c
65070 ac_cpp='$CPP $CPPFLAGS'
65071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65080 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65082 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65083 for ac_func in _isinfl
65084 do :
65085 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65086 if test "x$ac_cv_func__isinfl" = xyes; then :
65087 cat >>confdefs.h <<_ACEOF
65088 #define HAVE__ISINFL 1
65089 _ACEOF
65092 done
65101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65102 $as_echo_n "checking for atan2l declaration... " >&6; }
65103 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65104 if ${glibcxx_cv_func_atan2l_use+:} false; then :
65105 $as_echo_n "(cached) " >&6
65106 else
65109 ac_ext=cpp
65110 ac_cpp='$CXXCPP $CPPFLAGS'
65111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65116 /* end confdefs.h. */
65117 #include <math.h>
65119 main ()
65121 atan2l(0, 0);
65123 return 0;
65125 _ACEOF
65126 if ac_fn_cxx_try_compile "$LINENO"; then :
65127 glibcxx_cv_func_atan2l_use=yes
65128 else
65129 glibcxx_cv_func_atan2l_use=no
65131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65132 ac_ext=c
65133 ac_cpp='$CPP $CPPFLAGS'
65134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65143 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65145 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65146 for ac_func in atan2l
65147 do :
65148 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65149 if test "x$ac_cv_func_atan2l" = xyes; then :
65150 cat >>confdefs.h <<_ACEOF
65151 #define HAVE_ATAN2L 1
65152 _ACEOF
65155 done
65157 else
65159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65160 $as_echo_n "checking for _atan2l declaration... " >&6; }
65161 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65162 if ${glibcxx_cv_func__atan2l_use+:} false; then :
65163 $as_echo_n "(cached) " >&6
65164 else
65167 ac_ext=cpp
65168 ac_cpp='$CXXCPP $CPPFLAGS'
65169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65174 /* end confdefs.h. */
65175 #include <math.h>
65177 main ()
65179 _atan2l(0, 0);
65181 return 0;
65183 _ACEOF
65184 if ac_fn_cxx_try_compile "$LINENO"; then :
65185 glibcxx_cv_func__atan2l_use=yes
65186 else
65187 glibcxx_cv_func__atan2l_use=no
65189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65190 ac_ext=c
65191 ac_cpp='$CPP $CPPFLAGS'
65192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65201 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65203 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65204 for ac_func in _atan2l
65205 do :
65206 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65207 if test "x$ac_cv_func__atan2l" = xyes; then :
65208 cat >>confdefs.h <<_ACEOF
65209 #define HAVE__ATAN2L 1
65210 _ACEOF
65213 done
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65223 $as_echo_n "checking for expl declaration... " >&6; }
65224 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65225 if ${glibcxx_cv_func_expl_use+:} false; then :
65226 $as_echo_n "(cached) " >&6
65227 else
65230 ac_ext=cpp
65231 ac_cpp='$CXXCPP $CPPFLAGS'
65232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65237 /* end confdefs.h. */
65238 #include <math.h>
65239 #ifdef HAVE_IEEEFP_H
65240 #include <ieeefp.h>
65241 #endif
65244 main ()
65246 expl(0);
65248 return 0;
65250 _ACEOF
65251 if ac_fn_cxx_try_compile "$LINENO"; then :
65252 glibcxx_cv_func_expl_use=yes
65253 else
65254 glibcxx_cv_func_expl_use=no
65256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65257 ac_ext=c
65258 ac_cpp='$CPP $CPPFLAGS'
65259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65268 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65270 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65271 for ac_func in expl
65272 do :
65273 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65274 if test "x$ac_cv_func_expl" = xyes; then :
65275 cat >>confdefs.h <<_ACEOF
65276 #define HAVE_EXPL 1
65277 _ACEOF
65280 done
65282 else
65284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65285 $as_echo_n "checking for _expl declaration... " >&6; }
65286 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65287 if ${glibcxx_cv_func__expl_use+:} false; then :
65288 $as_echo_n "(cached) " >&6
65289 else
65292 ac_ext=cpp
65293 ac_cpp='$CXXCPP $CPPFLAGS'
65294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65299 /* end confdefs.h. */
65300 #include <math.h>
65301 #ifdef HAVE_IEEEFP_H
65302 #include <ieeefp.h>
65303 #endif
65306 main ()
65308 _expl(0);
65310 return 0;
65312 _ACEOF
65313 if ac_fn_cxx_try_compile "$LINENO"; then :
65314 glibcxx_cv_func__expl_use=yes
65315 else
65316 glibcxx_cv_func__expl_use=no
65318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65319 ac_ext=c
65320 ac_cpp='$CPP $CPPFLAGS'
65321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65330 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65332 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65333 for ac_func in _expl
65334 do :
65335 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65336 if test "x$ac_cv_func__expl" = xyes; then :
65337 cat >>confdefs.h <<_ACEOF
65338 #define HAVE__EXPL 1
65339 _ACEOF
65342 done
65351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65352 $as_echo_n "checking for fabsl declaration... " >&6; }
65353 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65354 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65355 $as_echo_n "(cached) " >&6
65356 else
65359 ac_ext=cpp
65360 ac_cpp='$CXXCPP $CPPFLAGS'
65361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65366 /* end confdefs.h. */
65367 #include <math.h>
65368 #ifdef HAVE_IEEEFP_H
65369 #include <ieeefp.h>
65370 #endif
65373 main ()
65375 fabsl(0);
65377 return 0;
65379 _ACEOF
65380 if ac_fn_cxx_try_compile "$LINENO"; then :
65381 glibcxx_cv_func_fabsl_use=yes
65382 else
65383 glibcxx_cv_func_fabsl_use=no
65385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65386 ac_ext=c
65387 ac_cpp='$CPP $CPPFLAGS'
65388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65397 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65399 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65400 for ac_func in fabsl
65401 do :
65402 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65403 if test "x$ac_cv_func_fabsl" = xyes; then :
65404 cat >>confdefs.h <<_ACEOF
65405 #define HAVE_FABSL 1
65406 _ACEOF
65409 done
65411 else
65413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65414 $as_echo_n "checking for _fabsl declaration... " >&6; }
65415 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65416 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65417 $as_echo_n "(cached) " >&6
65418 else
65421 ac_ext=cpp
65422 ac_cpp='$CXXCPP $CPPFLAGS'
65423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65428 /* end confdefs.h. */
65429 #include <math.h>
65430 #ifdef HAVE_IEEEFP_H
65431 #include <ieeefp.h>
65432 #endif
65435 main ()
65437 _fabsl(0);
65439 return 0;
65441 _ACEOF
65442 if ac_fn_cxx_try_compile "$LINENO"; then :
65443 glibcxx_cv_func__fabsl_use=yes
65444 else
65445 glibcxx_cv_func__fabsl_use=no
65447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65448 ac_ext=c
65449 ac_cpp='$CPP $CPPFLAGS'
65450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65459 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65461 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65462 for ac_func in _fabsl
65463 do :
65464 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65465 if test "x$ac_cv_func__fabsl" = xyes; then :
65466 cat >>confdefs.h <<_ACEOF
65467 #define HAVE__FABSL 1
65468 _ACEOF
65471 done
65480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65481 $as_echo_n "checking for fmodl declaration... " >&6; }
65482 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65483 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65484 $as_echo_n "(cached) " >&6
65485 else
65488 ac_ext=cpp
65489 ac_cpp='$CXXCPP $CPPFLAGS'
65490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65495 /* end confdefs.h. */
65496 #include <math.h>
65498 main ()
65500 fmodl(0, 0);
65502 return 0;
65504 _ACEOF
65505 if ac_fn_cxx_try_compile "$LINENO"; then :
65506 glibcxx_cv_func_fmodl_use=yes
65507 else
65508 glibcxx_cv_func_fmodl_use=no
65510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65511 ac_ext=c
65512 ac_cpp='$CPP $CPPFLAGS'
65513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65522 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65524 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65525 for ac_func in fmodl
65526 do :
65527 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65528 if test "x$ac_cv_func_fmodl" = xyes; then :
65529 cat >>confdefs.h <<_ACEOF
65530 #define HAVE_FMODL 1
65531 _ACEOF
65534 done
65536 else
65538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65539 $as_echo_n "checking for _fmodl declaration... " >&6; }
65540 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65541 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65542 $as_echo_n "(cached) " >&6
65543 else
65546 ac_ext=cpp
65547 ac_cpp='$CXXCPP $CPPFLAGS'
65548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65553 /* end confdefs.h. */
65554 #include <math.h>
65556 main ()
65558 _fmodl(0, 0);
65560 return 0;
65562 _ACEOF
65563 if ac_fn_cxx_try_compile "$LINENO"; then :
65564 glibcxx_cv_func__fmodl_use=yes
65565 else
65566 glibcxx_cv_func__fmodl_use=no
65568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65569 ac_ext=c
65570 ac_cpp='$CPP $CPPFLAGS'
65571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65580 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65582 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65583 for ac_func in _fmodl
65584 do :
65585 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65586 if test "x$ac_cv_func__fmodl" = xyes; then :
65587 cat >>confdefs.h <<_ACEOF
65588 #define HAVE__FMODL 1
65589 _ACEOF
65592 done
65601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65602 $as_echo_n "checking for frexpl declaration... " >&6; }
65603 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65604 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65605 $as_echo_n "(cached) " >&6
65606 else
65609 ac_ext=cpp
65610 ac_cpp='$CXXCPP $CPPFLAGS'
65611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65616 /* end confdefs.h. */
65617 #include <math.h>
65619 main ()
65621 frexpl(0, 0);
65623 return 0;
65625 _ACEOF
65626 if ac_fn_cxx_try_compile "$LINENO"; then :
65627 glibcxx_cv_func_frexpl_use=yes
65628 else
65629 glibcxx_cv_func_frexpl_use=no
65631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65632 ac_ext=c
65633 ac_cpp='$CPP $CPPFLAGS'
65634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65643 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65645 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65646 for ac_func in frexpl
65647 do :
65648 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65649 if test "x$ac_cv_func_frexpl" = xyes; then :
65650 cat >>confdefs.h <<_ACEOF
65651 #define HAVE_FREXPL 1
65652 _ACEOF
65655 done
65657 else
65659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65660 $as_echo_n "checking for _frexpl declaration... " >&6; }
65661 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65662 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65663 $as_echo_n "(cached) " >&6
65664 else
65667 ac_ext=cpp
65668 ac_cpp='$CXXCPP $CPPFLAGS'
65669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65674 /* end confdefs.h. */
65675 #include <math.h>
65677 main ()
65679 _frexpl(0, 0);
65681 return 0;
65683 _ACEOF
65684 if ac_fn_cxx_try_compile "$LINENO"; then :
65685 glibcxx_cv_func__frexpl_use=yes
65686 else
65687 glibcxx_cv_func__frexpl_use=no
65689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65690 ac_ext=c
65691 ac_cpp='$CPP $CPPFLAGS'
65692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65701 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65703 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65704 for ac_func in _frexpl
65705 do :
65706 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65707 if test "x$ac_cv_func__frexpl" = xyes; then :
65708 cat >>confdefs.h <<_ACEOF
65709 #define HAVE__FREXPL 1
65710 _ACEOF
65713 done
65722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65723 $as_echo_n "checking for hypotl declaration... " >&6; }
65724 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65725 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65726 $as_echo_n "(cached) " >&6
65727 else
65730 ac_ext=cpp
65731 ac_cpp='$CXXCPP $CPPFLAGS'
65732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65737 /* end confdefs.h. */
65738 #include <math.h>
65740 main ()
65742 hypotl(0, 0);
65744 return 0;
65746 _ACEOF
65747 if ac_fn_cxx_try_compile "$LINENO"; then :
65748 glibcxx_cv_func_hypotl_use=yes
65749 else
65750 glibcxx_cv_func_hypotl_use=no
65752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65753 ac_ext=c
65754 ac_cpp='$CPP $CPPFLAGS'
65755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65764 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65766 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65767 for ac_func in hypotl
65768 do :
65769 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65770 if test "x$ac_cv_func_hypotl" = xyes; then :
65771 cat >>confdefs.h <<_ACEOF
65772 #define HAVE_HYPOTL 1
65773 _ACEOF
65776 done
65778 else
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65781 $as_echo_n "checking for _hypotl declaration... " >&6; }
65782 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65783 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65784 $as_echo_n "(cached) " >&6
65785 else
65788 ac_ext=cpp
65789 ac_cpp='$CXXCPP $CPPFLAGS'
65790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65795 /* end confdefs.h. */
65796 #include <math.h>
65798 main ()
65800 _hypotl(0, 0);
65802 return 0;
65804 _ACEOF
65805 if ac_fn_cxx_try_compile "$LINENO"; then :
65806 glibcxx_cv_func__hypotl_use=yes
65807 else
65808 glibcxx_cv_func__hypotl_use=no
65810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65811 ac_ext=c
65812 ac_cpp='$CPP $CPPFLAGS'
65813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65822 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65824 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65825 for ac_func in _hypotl
65826 do :
65827 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65828 if test "x$ac_cv_func__hypotl" = xyes; then :
65829 cat >>confdefs.h <<_ACEOF
65830 #define HAVE__HYPOTL 1
65831 _ACEOF
65834 done
65843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65844 $as_echo_n "checking for ldexpl declaration... " >&6; }
65845 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65846 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65847 $as_echo_n "(cached) " >&6
65848 else
65851 ac_ext=cpp
65852 ac_cpp='$CXXCPP $CPPFLAGS'
65853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65858 /* end confdefs.h. */
65859 #include <math.h>
65861 main ()
65863 ldexpl(0, 0);
65865 return 0;
65867 _ACEOF
65868 if ac_fn_cxx_try_compile "$LINENO"; then :
65869 glibcxx_cv_func_ldexpl_use=yes
65870 else
65871 glibcxx_cv_func_ldexpl_use=no
65873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65874 ac_ext=c
65875 ac_cpp='$CPP $CPPFLAGS'
65876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65885 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65887 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65888 for ac_func in ldexpl
65889 do :
65890 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65891 if test "x$ac_cv_func_ldexpl" = xyes; then :
65892 cat >>confdefs.h <<_ACEOF
65893 #define HAVE_LDEXPL 1
65894 _ACEOF
65897 done
65899 else
65901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65902 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65903 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65904 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65905 $as_echo_n "(cached) " >&6
65906 else
65909 ac_ext=cpp
65910 ac_cpp='$CXXCPP $CPPFLAGS'
65911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65916 /* end confdefs.h. */
65917 #include <math.h>
65919 main ()
65921 _ldexpl(0, 0);
65923 return 0;
65925 _ACEOF
65926 if ac_fn_cxx_try_compile "$LINENO"; then :
65927 glibcxx_cv_func__ldexpl_use=yes
65928 else
65929 glibcxx_cv_func__ldexpl_use=no
65931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65932 ac_ext=c
65933 ac_cpp='$CPP $CPPFLAGS'
65934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65943 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65945 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65946 for ac_func in _ldexpl
65947 do :
65948 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65949 if test "x$ac_cv_func__ldexpl" = xyes; then :
65950 cat >>confdefs.h <<_ACEOF
65951 #define HAVE__LDEXPL 1
65952 _ACEOF
65955 done
65964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65965 $as_echo_n "checking for logl declaration... " >&6; }
65966 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65967 if ${glibcxx_cv_func_logl_use+:} false; then :
65968 $as_echo_n "(cached) " >&6
65969 else
65972 ac_ext=cpp
65973 ac_cpp='$CXXCPP $CPPFLAGS'
65974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65979 /* end confdefs.h. */
65980 #include <math.h>
65981 #ifdef HAVE_IEEEFP_H
65982 #include <ieeefp.h>
65983 #endif
65986 main ()
65988 logl(0);
65990 return 0;
65992 _ACEOF
65993 if ac_fn_cxx_try_compile "$LINENO"; then :
65994 glibcxx_cv_func_logl_use=yes
65995 else
65996 glibcxx_cv_func_logl_use=no
65998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65999 ac_ext=c
66000 ac_cpp='$CPP $CPPFLAGS'
66001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66010 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
66012 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66013 for ac_func in logl
66014 do :
66015 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66016 if test "x$ac_cv_func_logl" = xyes; then :
66017 cat >>confdefs.h <<_ACEOF
66018 #define HAVE_LOGL 1
66019 _ACEOF
66022 done
66024 else
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66027 $as_echo_n "checking for _logl declaration... " >&6; }
66028 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66029 if ${glibcxx_cv_func__logl_use+:} false; then :
66030 $as_echo_n "(cached) " >&6
66031 else
66034 ac_ext=cpp
66035 ac_cpp='$CXXCPP $CPPFLAGS'
66036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66041 /* end confdefs.h. */
66042 #include <math.h>
66043 #ifdef HAVE_IEEEFP_H
66044 #include <ieeefp.h>
66045 #endif
66048 main ()
66050 _logl(0);
66052 return 0;
66054 _ACEOF
66055 if ac_fn_cxx_try_compile "$LINENO"; then :
66056 glibcxx_cv_func__logl_use=yes
66057 else
66058 glibcxx_cv_func__logl_use=no
66060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66061 ac_ext=c
66062 ac_cpp='$CPP $CPPFLAGS'
66063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66072 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
66074 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66075 for ac_func in _logl
66076 do :
66077 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66078 if test "x$ac_cv_func__logl" = xyes; then :
66079 cat >>confdefs.h <<_ACEOF
66080 #define HAVE__LOGL 1
66081 _ACEOF
66084 done
66093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66094 $as_echo_n "checking for log10l declaration... " >&6; }
66095 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66096 if ${glibcxx_cv_func_log10l_use+:} false; then :
66097 $as_echo_n "(cached) " >&6
66098 else
66101 ac_ext=cpp
66102 ac_cpp='$CXXCPP $CPPFLAGS'
66103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66108 /* end confdefs.h. */
66109 #include <math.h>
66110 #ifdef HAVE_IEEEFP_H
66111 #include <ieeefp.h>
66112 #endif
66115 main ()
66117 log10l(0);
66119 return 0;
66121 _ACEOF
66122 if ac_fn_cxx_try_compile "$LINENO"; then :
66123 glibcxx_cv_func_log10l_use=yes
66124 else
66125 glibcxx_cv_func_log10l_use=no
66127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66128 ac_ext=c
66129 ac_cpp='$CPP $CPPFLAGS'
66130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66139 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66141 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66142 for ac_func in log10l
66143 do :
66144 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66145 if test "x$ac_cv_func_log10l" = xyes; then :
66146 cat >>confdefs.h <<_ACEOF
66147 #define HAVE_LOG10L 1
66148 _ACEOF
66151 done
66153 else
66155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66156 $as_echo_n "checking for _log10l declaration... " >&6; }
66157 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66158 if ${glibcxx_cv_func__log10l_use+:} false; then :
66159 $as_echo_n "(cached) " >&6
66160 else
66163 ac_ext=cpp
66164 ac_cpp='$CXXCPP $CPPFLAGS'
66165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66170 /* end confdefs.h. */
66171 #include <math.h>
66172 #ifdef HAVE_IEEEFP_H
66173 #include <ieeefp.h>
66174 #endif
66177 main ()
66179 _log10l(0);
66181 return 0;
66183 _ACEOF
66184 if ac_fn_cxx_try_compile "$LINENO"; then :
66185 glibcxx_cv_func__log10l_use=yes
66186 else
66187 glibcxx_cv_func__log10l_use=no
66189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66190 ac_ext=c
66191 ac_cpp='$CPP $CPPFLAGS'
66192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66201 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66203 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66204 for ac_func in _log10l
66205 do :
66206 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66207 if test "x$ac_cv_func__log10l" = xyes; then :
66208 cat >>confdefs.h <<_ACEOF
66209 #define HAVE__LOG10L 1
66210 _ACEOF
66213 done
66222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66223 $as_echo_n "checking for modfl declaration... " >&6; }
66224 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66225 if ${glibcxx_cv_func_modfl_use+:} false; then :
66226 $as_echo_n "(cached) " >&6
66227 else
66230 ac_ext=cpp
66231 ac_cpp='$CXXCPP $CPPFLAGS'
66232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66237 /* end confdefs.h. */
66238 #include <math.h>
66240 main ()
66242 modfl(0, 0);
66244 return 0;
66246 _ACEOF
66247 if ac_fn_cxx_try_compile "$LINENO"; then :
66248 glibcxx_cv_func_modfl_use=yes
66249 else
66250 glibcxx_cv_func_modfl_use=no
66252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66253 ac_ext=c
66254 ac_cpp='$CPP $CPPFLAGS'
66255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66264 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66266 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66267 for ac_func in modfl
66268 do :
66269 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66270 if test "x$ac_cv_func_modfl" = xyes; then :
66271 cat >>confdefs.h <<_ACEOF
66272 #define HAVE_MODFL 1
66273 _ACEOF
66276 done
66278 else
66280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66281 $as_echo_n "checking for _modfl declaration... " >&6; }
66282 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66283 if ${glibcxx_cv_func__modfl_use+:} false; then :
66284 $as_echo_n "(cached) " >&6
66285 else
66288 ac_ext=cpp
66289 ac_cpp='$CXXCPP $CPPFLAGS'
66290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66295 /* end confdefs.h. */
66296 #include <math.h>
66298 main ()
66300 _modfl(0, 0);
66302 return 0;
66304 _ACEOF
66305 if ac_fn_cxx_try_compile "$LINENO"; then :
66306 glibcxx_cv_func__modfl_use=yes
66307 else
66308 glibcxx_cv_func__modfl_use=no
66310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66311 ac_ext=c
66312 ac_cpp='$CPP $CPPFLAGS'
66313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66322 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66324 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66325 for ac_func in _modfl
66326 do :
66327 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66328 if test "x$ac_cv_func__modfl" = xyes; then :
66329 cat >>confdefs.h <<_ACEOF
66330 #define HAVE__MODFL 1
66331 _ACEOF
66334 done
66343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66344 $as_echo_n "checking for powl declaration... " >&6; }
66345 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66346 if ${glibcxx_cv_func_powl_use+:} false; then :
66347 $as_echo_n "(cached) " >&6
66348 else
66351 ac_ext=cpp
66352 ac_cpp='$CXXCPP $CPPFLAGS'
66353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66358 /* end confdefs.h. */
66359 #include <math.h>
66361 main ()
66363 powl(0, 0);
66365 return 0;
66367 _ACEOF
66368 if ac_fn_cxx_try_compile "$LINENO"; then :
66369 glibcxx_cv_func_powl_use=yes
66370 else
66371 glibcxx_cv_func_powl_use=no
66373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66374 ac_ext=c
66375 ac_cpp='$CPP $CPPFLAGS'
66376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66385 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66387 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66388 for ac_func in powl
66389 do :
66390 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66391 if test "x$ac_cv_func_powl" = xyes; then :
66392 cat >>confdefs.h <<_ACEOF
66393 #define HAVE_POWL 1
66394 _ACEOF
66397 done
66399 else
66401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66402 $as_echo_n "checking for _powl declaration... " >&6; }
66403 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66404 if ${glibcxx_cv_func__powl_use+:} false; then :
66405 $as_echo_n "(cached) " >&6
66406 else
66409 ac_ext=cpp
66410 ac_cpp='$CXXCPP $CPPFLAGS'
66411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66416 /* end confdefs.h. */
66417 #include <math.h>
66419 main ()
66421 _powl(0, 0);
66423 return 0;
66425 _ACEOF
66426 if ac_fn_cxx_try_compile "$LINENO"; then :
66427 glibcxx_cv_func__powl_use=yes
66428 else
66429 glibcxx_cv_func__powl_use=no
66431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432 ac_ext=c
66433 ac_cpp='$CPP $CPPFLAGS'
66434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66443 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66445 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66446 for ac_func in _powl
66447 do :
66448 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66449 if test "x$ac_cv_func__powl" = xyes; then :
66450 cat >>confdefs.h <<_ACEOF
66451 #define HAVE__POWL 1
66452 _ACEOF
66455 done
66464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66465 $as_echo_n "checking for sqrtl declaration... " >&6; }
66466 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66467 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66468 $as_echo_n "(cached) " >&6
66469 else
66472 ac_ext=cpp
66473 ac_cpp='$CXXCPP $CPPFLAGS'
66474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66479 /* end confdefs.h. */
66480 #include <math.h>
66481 #ifdef HAVE_IEEEFP_H
66482 #include <ieeefp.h>
66483 #endif
66486 main ()
66488 sqrtl(0);
66490 return 0;
66492 _ACEOF
66493 if ac_fn_cxx_try_compile "$LINENO"; then :
66494 glibcxx_cv_func_sqrtl_use=yes
66495 else
66496 glibcxx_cv_func_sqrtl_use=no
66498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66499 ac_ext=c
66500 ac_cpp='$CPP $CPPFLAGS'
66501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66510 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66512 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66513 for ac_func in sqrtl
66514 do :
66515 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66516 if test "x$ac_cv_func_sqrtl" = xyes; then :
66517 cat >>confdefs.h <<_ACEOF
66518 #define HAVE_SQRTL 1
66519 _ACEOF
66522 done
66524 else
66526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66527 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66528 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66529 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66530 $as_echo_n "(cached) " >&6
66531 else
66534 ac_ext=cpp
66535 ac_cpp='$CXXCPP $CPPFLAGS'
66536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66541 /* end confdefs.h. */
66542 #include <math.h>
66543 #ifdef HAVE_IEEEFP_H
66544 #include <ieeefp.h>
66545 #endif
66548 main ()
66550 _sqrtl(0);
66552 return 0;
66554 _ACEOF
66555 if ac_fn_cxx_try_compile "$LINENO"; then :
66556 glibcxx_cv_func__sqrtl_use=yes
66557 else
66558 glibcxx_cv_func__sqrtl_use=no
66560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66561 ac_ext=c
66562 ac_cpp='$CPP $CPPFLAGS'
66563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66572 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66574 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66575 for ac_func in _sqrtl
66576 do :
66577 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66578 if test "x$ac_cv_func__sqrtl" = xyes; then :
66579 cat >>confdefs.h <<_ACEOF
66580 #define HAVE__SQRTL 1
66581 _ACEOF
66584 done
66593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66594 $as_echo_n "checking for sincosl declaration... " >&6; }
66595 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66596 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66597 $as_echo_n "(cached) " >&6
66598 else
66601 ac_ext=cpp
66602 ac_cpp='$CXXCPP $CPPFLAGS'
66603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66608 /* end confdefs.h. */
66609 #include <math.h>
66611 main ()
66613 sincosl(0, 0, 0);
66615 return 0;
66617 _ACEOF
66618 if ac_fn_cxx_try_compile "$LINENO"; then :
66619 glibcxx_cv_func_sincosl_use=yes
66620 else
66621 glibcxx_cv_func_sincosl_use=no
66623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66624 ac_ext=c
66625 ac_cpp='$CPP $CPPFLAGS'
66626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66635 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66637 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66638 for ac_func in sincosl
66639 do :
66640 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66641 if test "x$ac_cv_func_sincosl" = xyes; then :
66642 cat >>confdefs.h <<_ACEOF
66643 #define HAVE_SINCOSL 1
66644 _ACEOF
66647 done
66649 else
66651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66652 $as_echo_n "checking for _sincosl declaration... " >&6; }
66653 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66654 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66655 $as_echo_n "(cached) " >&6
66656 else
66659 ac_ext=cpp
66660 ac_cpp='$CXXCPP $CPPFLAGS'
66661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66666 /* end confdefs.h. */
66667 #include <math.h>
66669 main ()
66671 _sincosl(0, 0, 0);
66673 return 0;
66675 _ACEOF
66676 if ac_fn_cxx_try_compile "$LINENO"; then :
66677 glibcxx_cv_func__sincosl_use=yes
66678 else
66679 glibcxx_cv_func__sincosl_use=no
66681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66682 ac_ext=c
66683 ac_cpp='$CPP $CPPFLAGS'
66684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66693 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66695 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66696 for ac_func in _sincosl
66697 do :
66698 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66699 if test "x$ac_cv_func__sincosl" = xyes; then :
66700 cat >>confdefs.h <<_ACEOF
66701 #define HAVE__SINCOSL 1
66702 _ACEOF
66705 done
66714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66715 $as_echo_n "checking for finitel declaration... " >&6; }
66716 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66717 if ${glibcxx_cv_func_finitel_use+:} false; then :
66718 $as_echo_n "(cached) " >&6
66719 else
66722 ac_ext=cpp
66723 ac_cpp='$CXXCPP $CPPFLAGS'
66724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66729 /* end confdefs.h. */
66730 #include <math.h>
66731 #ifdef HAVE_IEEEFP_H
66732 #include <ieeefp.h>
66733 #endif
66736 main ()
66738 finitel(0);
66740 return 0;
66742 _ACEOF
66743 if ac_fn_cxx_try_compile "$LINENO"; then :
66744 glibcxx_cv_func_finitel_use=yes
66745 else
66746 glibcxx_cv_func_finitel_use=no
66748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66749 ac_ext=c
66750 ac_cpp='$CPP $CPPFLAGS'
66751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66760 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66762 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66763 for ac_func in finitel
66764 do :
66765 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66766 if test "x$ac_cv_func_finitel" = xyes; then :
66767 cat >>confdefs.h <<_ACEOF
66768 #define HAVE_FINITEL 1
66769 _ACEOF
66772 done
66774 else
66776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66777 $as_echo_n "checking for _finitel declaration... " >&6; }
66778 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66779 if ${glibcxx_cv_func__finitel_use+:} false; then :
66780 $as_echo_n "(cached) " >&6
66781 else
66784 ac_ext=cpp
66785 ac_cpp='$CXXCPP $CPPFLAGS'
66786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66791 /* end confdefs.h. */
66792 #include <math.h>
66793 #ifdef HAVE_IEEEFP_H
66794 #include <ieeefp.h>
66795 #endif
66798 main ()
66800 _finitel(0);
66802 return 0;
66804 _ACEOF
66805 if ac_fn_cxx_try_compile "$LINENO"; then :
66806 glibcxx_cv_func__finitel_use=yes
66807 else
66808 glibcxx_cv_func__finitel_use=no
66810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66811 ac_ext=c
66812 ac_cpp='$CPP $CPPFLAGS'
66813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66822 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66824 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66825 for ac_func in _finitel
66826 do :
66827 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66828 if test "x$ac_cv_func__finitel" = xyes; then :
66829 cat >>confdefs.h <<_ACEOF
66830 #define HAVE__FINITEL 1
66831 _ACEOF
66834 done
66842 LIBS="$ac_save_LIBS"
66843 CXXFLAGS="$ac_save_CXXFLAGS"
66846 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66847 ac_save_CXXFLAGS="$CXXFLAGS"
66848 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66852 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66853 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66854 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66855 $as_echo_n "(cached) " >&6
66856 else
66859 ac_ext=cpp
66860 ac_cpp='$CXXCPP $CPPFLAGS'
66861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66866 /* end confdefs.h. */
66867 #include <stdlib.h>
66869 main ()
66871 at_quick_exit(0);
66873 return 0;
66875 _ACEOF
66876 if ac_fn_cxx_try_compile "$LINENO"; then :
66877 glibcxx_cv_func_at_quick_exit_use=yes
66878 else
66879 glibcxx_cv_func_at_quick_exit_use=no
66881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66882 ac_ext=c
66883 ac_cpp='$CPP $CPPFLAGS'
66884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66893 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66894 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66895 for ac_func in at_quick_exit
66896 do :
66897 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66898 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66899 cat >>confdefs.h <<_ACEOF
66900 #define HAVE_AT_QUICK_EXIT 1
66901 _ACEOF
66904 done
66909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66910 $as_echo_n "checking for quick_exit declaration... " >&6; }
66911 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66912 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66913 $as_echo_n "(cached) " >&6
66914 else
66917 ac_ext=cpp
66918 ac_cpp='$CXXCPP $CPPFLAGS'
66919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66924 /* end confdefs.h. */
66925 #include <stdlib.h>
66927 main ()
66929 quick_exit(0);
66931 return 0;
66933 _ACEOF
66934 if ac_fn_cxx_try_compile "$LINENO"; then :
66935 glibcxx_cv_func_quick_exit_use=yes
66936 else
66937 glibcxx_cv_func_quick_exit_use=no
66939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66940 ac_ext=c
66941 ac_cpp='$CPP $CPPFLAGS'
66942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66951 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66952 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66953 for ac_func in quick_exit
66954 do :
66955 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66956 if test "x$ac_cv_func_quick_exit" = xyes; then :
66957 cat >>confdefs.h <<_ACEOF
66958 #define HAVE_QUICK_EXIT 1
66959 _ACEOF
66962 done
66967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66968 $as_echo_n "checking for strtold declaration... " >&6; }
66969 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66970 if ${glibcxx_cv_func_strtold_use+:} false; then :
66971 $as_echo_n "(cached) " >&6
66972 else
66975 ac_ext=cpp
66976 ac_cpp='$CXXCPP $CPPFLAGS'
66977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66982 /* end confdefs.h. */
66983 #include <stdlib.h>
66985 main ()
66987 strtold(0, 0);
66989 return 0;
66991 _ACEOF
66992 if ac_fn_cxx_try_compile "$LINENO"; then :
66993 glibcxx_cv_func_strtold_use=yes
66994 else
66995 glibcxx_cv_func_strtold_use=no
66997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66998 ac_ext=c
66999 ac_cpp='$CPP $CPPFLAGS'
67000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67009 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67010 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67011 for ac_func in strtold
67012 do :
67013 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67014 if test "x$ac_cv_func_strtold" = xyes; then :
67015 cat >>confdefs.h <<_ACEOF
67016 #define HAVE_STRTOLD 1
67017 _ACEOF
67020 done
67027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67028 $as_echo_n "checking for strtof declaration... " >&6; }
67029 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67030 if ${glibcxx_cv_func_strtof_use+:} false; then :
67031 $as_echo_n "(cached) " >&6
67032 else
67035 ac_ext=cpp
67036 ac_cpp='$CXXCPP $CPPFLAGS'
67037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67042 /* end confdefs.h. */
67043 #include <stdlib.h>
67045 main ()
67047 strtof(0, 0);
67049 return 0;
67051 _ACEOF
67052 if ac_fn_cxx_try_compile "$LINENO"; then :
67053 glibcxx_cv_func_strtof_use=yes
67054 else
67055 glibcxx_cv_func_strtof_use=no
67057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67058 ac_ext=c
67059 ac_cpp='$CPP $CPPFLAGS'
67060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67069 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67070 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67071 for ac_func in strtof
67072 do :
67073 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67074 if test "x$ac_cv_func_strtof" = xyes; then :
67075 cat >>confdefs.h <<_ACEOF
67076 #define HAVE_STRTOF 1
67077 _ACEOF
67080 done
67087 CXXFLAGS="$ac_save_CXXFLAGS"
67090 *-tpf)
67091 SECTION_FLAGS='-ffunction-sections -fdata-sections'
67092 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
67094 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
67096 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
67098 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
67100 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
67102 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
67104 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
67106 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
67108 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
67110 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
67112 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
67114 if test x"long_double_math_on_this_cpu" = x"yes"; then
67115 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
67117 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
67119 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
67121 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
67125 *-*vms*)
67126 # Check for available headers.
67127 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
67129 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67130 ac_save_CXXFLAGS="$CXXFLAGS"
67131 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67134 $as_echo_n "checking for sin in -lm... " >&6; }
67135 if ${ac_cv_lib_m_sin+:} false; then :
67136 $as_echo_n "(cached) " >&6
67137 else
67138 ac_check_lib_save_LIBS=$LIBS
67139 LIBS="-lm $LIBS"
67140 if test x$gcc_no_link = xyes; then
67141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67144 /* end confdefs.h. */
67146 /* Override any GCC internal prototype to avoid an error.
67147 Use char because int might match the return type of a GCC
67148 builtin and then its argument prototype would still apply. */
67149 #ifdef __cplusplus
67150 extern "C"
67151 #endif
67152 char sin ();
67154 main ()
67156 return sin ();
67158 return 0;
67160 _ACEOF
67161 if ac_fn_c_try_link "$LINENO"; then :
67162 ac_cv_lib_m_sin=yes
67163 else
67164 ac_cv_lib_m_sin=no
67166 rm -f core conftest.err conftest.$ac_objext \
67167 conftest$ac_exeext conftest.$ac_ext
67168 LIBS=$ac_check_lib_save_LIBS
67170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67171 $as_echo "$ac_cv_lib_m_sin" >&6; }
67172 if test "x$ac_cv_lib_m_sin" = xyes; then :
67173 libm="-lm"
67176 ac_save_LIBS="$LIBS"
67177 LIBS="$LIBS $libm"
67181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67182 $as_echo_n "checking for isinf declaration... " >&6; }
67183 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67184 if ${glibcxx_cv_func_isinf_use+:} false; then :
67185 $as_echo_n "(cached) " >&6
67186 else
67189 ac_ext=cpp
67190 ac_cpp='$CXXCPP $CPPFLAGS'
67191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67196 /* end confdefs.h. */
67197 #include <math.h>
67198 #ifdef HAVE_IEEEFP_H
67199 #include <ieeefp.h>
67200 #endif
67203 main ()
67205 isinf(0);
67207 return 0;
67209 _ACEOF
67210 if ac_fn_cxx_try_compile "$LINENO"; then :
67211 glibcxx_cv_func_isinf_use=yes
67212 else
67213 glibcxx_cv_func_isinf_use=no
67215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67216 ac_ext=c
67217 ac_cpp='$CPP $CPPFLAGS'
67218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67227 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67229 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67230 for ac_func in isinf
67231 do :
67232 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67233 if test "x$ac_cv_func_isinf" = xyes; then :
67234 cat >>confdefs.h <<_ACEOF
67235 #define HAVE_ISINF 1
67236 _ACEOF
67239 done
67241 else
67243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67244 $as_echo_n "checking for _isinf declaration... " >&6; }
67245 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67246 if ${glibcxx_cv_func__isinf_use+:} false; then :
67247 $as_echo_n "(cached) " >&6
67248 else
67251 ac_ext=cpp
67252 ac_cpp='$CXXCPP $CPPFLAGS'
67253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67258 /* end confdefs.h. */
67259 #include <math.h>
67260 #ifdef HAVE_IEEEFP_H
67261 #include <ieeefp.h>
67262 #endif
67265 main ()
67267 _isinf(0);
67269 return 0;
67271 _ACEOF
67272 if ac_fn_cxx_try_compile "$LINENO"; then :
67273 glibcxx_cv_func__isinf_use=yes
67274 else
67275 glibcxx_cv_func__isinf_use=no
67277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67278 ac_ext=c
67279 ac_cpp='$CPP $CPPFLAGS'
67280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67289 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67291 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67292 for ac_func in _isinf
67293 do :
67294 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67295 if test "x$ac_cv_func__isinf" = xyes; then :
67296 cat >>confdefs.h <<_ACEOF
67297 #define HAVE__ISINF 1
67298 _ACEOF
67301 done
67310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67311 $as_echo_n "checking for isnan declaration... " >&6; }
67312 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67313 if ${glibcxx_cv_func_isnan_use+:} false; then :
67314 $as_echo_n "(cached) " >&6
67315 else
67318 ac_ext=cpp
67319 ac_cpp='$CXXCPP $CPPFLAGS'
67320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67325 /* end confdefs.h. */
67326 #include <math.h>
67327 #ifdef HAVE_IEEEFP_H
67328 #include <ieeefp.h>
67329 #endif
67332 main ()
67334 isnan(0);
67336 return 0;
67338 _ACEOF
67339 if ac_fn_cxx_try_compile "$LINENO"; then :
67340 glibcxx_cv_func_isnan_use=yes
67341 else
67342 glibcxx_cv_func_isnan_use=no
67344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67345 ac_ext=c
67346 ac_cpp='$CPP $CPPFLAGS'
67347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67356 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67358 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67359 for ac_func in isnan
67360 do :
67361 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67362 if test "x$ac_cv_func_isnan" = xyes; then :
67363 cat >>confdefs.h <<_ACEOF
67364 #define HAVE_ISNAN 1
67365 _ACEOF
67368 done
67370 else
67372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67373 $as_echo_n "checking for _isnan declaration... " >&6; }
67374 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67375 if ${glibcxx_cv_func__isnan_use+:} false; then :
67376 $as_echo_n "(cached) " >&6
67377 else
67380 ac_ext=cpp
67381 ac_cpp='$CXXCPP $CPPFLAGS'
67382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67387 /* end confdefs.h. */
67388 #include <math.h>
67389 #ifdef HAVE_IEEEFP_H
67390 #include <ieeefp.h>
67391 #endif
67394 main ()
67396 _isnan(0);
67398 return 0;
67400 _ACEOF
67401 if ac_fn_cxx_try_compile "$LINENO"; then :
67402 glibcxx_cv_func__isnan_use=yes
67403 else
67404 glibcxx_cv_func__isnan_use=no
67406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67407 ac_ext=c
67408 ac_cpp='$CPP $CPPFLAGS'
67409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67418 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67420 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67421 for ac_func in _isnan
67422 do :
67423 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67424 if test "x$ac_cv_func__isnan" = xyes; then :
67425 cat >>confdefs.h <<_ACEOF
67426 #define HAVE__ISNAN 1
67427 _ACEOF
67430 done
67439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67440 $as_echo_n "checking for finite declaration... " >&6; }
67441 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67442 if ${glibcxx_cv_func_finite_use+:} false; then :
67443 $as_echo_n "(cached) " >&6
67444 else
67447 ac_ext=cpp
67448 ac_cpp='$CXXCPP $CPPFLAGS'
67449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67454 /* end confdefs.h. */
67455 #include <math.h>
67456 #ifdef HAVE_IEEEFP_H
67457 #include <ieeefp.h>
67458 #endif
67461 main ()
67463 finite(0);
67465 return 0;
67467 _ACEOF
67468 if ac_fn_cxx_try_compile "$LINENO"; then :
67469 glibcxx_cv_func_finite_use=yes
67470 else
67471 glibcxx_cv_func_finite_use=no
67473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67474 ac_ext=c
67475 ac_cpp='$CPP $CPPFLAGS'
67476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67485 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67487 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67488 for ac_func in finite
67489 do :
67490 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67491 if test "x$ac_cv_func_finite" = xyes; then :
67492 cat >>confdefs.h <<_ACEOF
67493 #define HAVE_FINITE 1
67494 _ACEOF
67497 done
67499 else
67501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67502 $as_echo_n "checking for _finite declaration... " >&6; }
67503 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67504 if ${glibcxx_cv_func__finite_use+:} false; then :
67505 $as_echo_n "(cached) " >&6
67506 else
67509 ac_ext=cpp
67510 ac_cpp='$CXXCPP $CPPFLAGS'
67511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67516 /* end confdefs.h. */
67517 #include <math.h>
67518 #ifdef HAVE_IEEEFP_H
67519 #include <ieeefp.h>
67520 #endif
67523 main ()
67525 _finite(0);
67527 return 0;
67529 _ACEOF
67530 if ac_fn_cxx_try_compile "$LINENO"; then :
67531 glibcxx_cv_func__finite_use=yes
67532 else
67533 glibcxx_cv_func__finite_use=no
67535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67536 ac_ext=c
67537 ac_cpp='$CPP $CPPFLAGS'
67538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67547 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67549 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67550 for ac_func in _finite
67551 do :
67552 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67553 if test "x$ac_cv_func__finite" = xyes; then :
67554 cat >>confdefs.h <<_ACEOF
67555 #define HAVE__FINITE 1
67556 _ACEOF
67559 done
67568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67569 $as_echo_n "checking for sincos declaration... " >&6; }
67570 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67571 if ${glibcxx_cv_func_sincos_use+:} false; then :
67572 $as_echo_n "(cached) " >&6
67573 else
67576 ac_ext=cpp
67577 ac_cpp='$CXXCPP $CPPFLAGS'
67578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67583 /* end confdefs.h. */
67584 #include <math.h>
67586 main ()
67588 sincos(0, 0, 0);
67590 return 0;
67592 _ACEOF
67593 if ac_fn_cxx_try_compile "$LINENO"; then :
67594 glibcxx_cv_func_sincos_use=yes
67595 else
67596 glibcxx_cv_func_sincos_use=no
67598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67599 ac_ext=c
67600 ac_cpp='$CPP $CPPFLAGS'
67601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67610 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67612 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67613 for ac_func in sincos
67614 do :
67615 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67616 if test "x$ac_cv_func_sincos" = xyes; then :
67617 cat >>confdefs.h <<_ACEOF
67618 #define HAVE_SINCOS 1
67619 _ACEOF
67622 done
67624 else
67626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67627 $as_echo_n "checking for _sincos declaration... " >&6; }
67628 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67629 if ${glibcxx_cv_func__sincos_use+:} false; then :
67630 $as_echo_n "(cached) " >&6
67631 else
67634 ac_ext=cpp
67635 ac_cpp='$CXXCPP $CPPFLAGS'
67636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67641 /* end confdefs.h. */
67642 #include <math.h>
67644 main ()
67646 _sincos(0, 0, 0);
67648 return 0;
67650 _ACEOF
67651 if ac_fn_cxx_try_compile "$LINENO"; then :
67652 glibcxx_cv_func__sincos_use=yes
67653 else
67654 glibcxx_cv_func__sincos_use=no
67656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67657 ac_ext=c
67658 ac_cpp='$CPP $CPPFLAGS'
67659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67668 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67670 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67671 for ac_func in _sincos
67672 do :
67673 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67674 if test "x$ac_cv_func__sincos" = xyes; then :
67675 cat >>confdefs.h <<_ACEOF
67676 #define HAVE__SINCOS 1
67677 _ACEOF
67680 done
67689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67690 $as_echo_n "checking for fpclass declaration... " >&6; }
67691 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67692 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67693 $as_echo_n "(cached) " >&6
67694 else
67697 ac_ext=cpp
67698 ac_cpp='$CXXCPP $CPPFLAGS'
67699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67704 /* end confdefs.h. */
67705 #include <math.h>
67706 #ifdef HAVE_IEEEFP_H
67707 #include <ieeefp.h>
67708 #endif
67711 main ()
67713 fpclass(0);
67715 return 0;
67717 _ACEOF
67718 if ac_fn_cxx_try_compile "$LINENO"; then :
67719 glibcxx_cv_func_fpclass_use=yes
67720 else
67721 glibcxx_cv_func_fpclass_use=no
67723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67724 ac_ext=c
67725 ac_cpp='$CPP $CPPFLAGS'
67726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67735 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67737 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67738 for ac_func in fpclass
67739 do :
67740 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67741 if test "x$ac_cv_func_fpclass" = xyes; then :
67742 cat >>confdefs.h <<_ACEOF
67743 #define HAVE_FPCLASS 1
67744 _ACEOF
67747 done
67749 else
67751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67752 $as_echo_n "checking for _fpclass declaration... " >&6; }
67753 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67754 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67755 $as_echo_n "(cached) " >&6
67756 else
67759 ac_ext=cpp
67760 ac_cpp='$CXXCPP $CPPFLAGS'
67761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67766 /* end confdefs.h. */
67767 #include <math.h>
67768 #ifdef HAVE_IEEEFP_H
67769 #include <ieeefp.h>
67770 #endif
67773 main ()
67775 _fpclass(0);
67777 return 0;
67779 _ACEOF
67780 if ac_fn_cxx_try_compile "$LINENO"; then :
67781 glibcxx_cv_func__fpclass_use=yes
67782 else
67783 glibcxx_cv_func__fpclass_use=no
67785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67786 ac_ext=c
67787 ac_cpp='$CPP $CPPFLAGS'
67788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67797 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67799 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67800 for ac_func in _fpclass
67801 do :
67802 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67803 if test "x$ac_cv_func__fpclass" = xyes; then :
67804 cat >>confdefs.h <<_ACEOF
67805 #define HAVE__FPCLASS 1
67806 _ACEOF
67809 done
67818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67819 $as_echo_n "checking for qfpclass declaration... " >&6; }
67820 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67821 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67822 $as_echo_n "(cached) " >&6
67823 else
67826 ac_ext=cpp
67827 ac_cpp='$CXXCPP $CPPFLAGS'
67828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67833 /* end confdefs.h. */
67834 #include <math.h>
67835 #ifdef HAVE_IEEEFP_H
67836 #include <ieeefp.h>
67837 #endif
67840 main ()
67842 qfpclass(0);
67844 return 0;
67846 _ACEOF
67847 if ac_fn_cxx_try_compile "$LINENO"; then :
67848 glibcxx_cv_func_qfpclass_use=yes
67849 else
67850 glibcxx_cv_func_qfpclass_use=no
67852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67853 ac_ext=c
67854 ac_cpp='$CPP $CPPFLAGS'
67855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67864 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67866 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67867 for ac_func in qfpclass
67868 do :
67869 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67870 if test "x$ac_cv_func_qfpclass" = xyes; then :
67871 cat >>confdefs.h <<_ACEOF
67872 #define HAVE_QFPCLASS 1
67873 _ACEOF
67876 done
67878 else
67880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67881 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67882 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67883 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67884 $as_echo_n "(cached) " >&6
67885 else
67888 ac_ext=cpp
67889 ac_cpp='$CXXCPP $CPPFLAGS'
67890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67895 /* end confdefs.h. */
67896 #include <math.h>
67897 #ifdef HAVE_IEEEFP_H
67898 #include <ieeefp.h>
67899 #endif
67902 main ()
67904 _qfpclass(0);
67906 return 0;
67908 _ACEOF
67909 if ac_fn_cxx_try_compile "$LINENO"; then :
67910 glibcxx_cv_func__qfpclass_use=yes
67911 else
67912 glibcxx_cv_func__qfpclass_use=no
67914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67915 ac_ext=c
67916 ac_cpp='$CPP $CPPFLAGS'
67917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67926 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67928 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67929 for ac_func in _qfpclass
67930 do :
67931 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67932 if test "x$ac_cv_func__qfpclass" = xyes; then :
67933 cat >>confdefs.h <<_ACEOF
67934 #define HAVE__QFPCLASS 1
67935 _ACEOF
67938 done
67947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67948 $as_echo_n "checking for hypot declaration... " >&6; }
67949 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67950 if ${glibcxx_cv_func_hypot_use+:} false; then :
67951 $as_echo_n "(cached) " >&6
67952 else
67955 ac_ext=cpp
67956 ac_cpp='$CXXCPP $CPPFLAGS'
67957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67962 /* end confdefs.h. */
67963 #include <math.h>
67965 main ()
67967 hypot(0, 0);
67969 return 0;
67971 _ACEOF
67972 if ac_fn_cxx_try_compile "$LINENO"; then :
67973 glibcxx_cv_func_hypot_use=yes
67974 else
67975 glibcxx_cv_func_hypot_use=no
67977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67978 ac_ext=c
67979 ac_cpp='$CPP $CPPFLAGS'
67980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67989 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67991 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67992 for ac_func in hypot
67993 do :
67994 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67995 if test "x$ac_cv_func_hypot" = xyes; then :
67996 cat >>confdefs.h <<_ACEOF
67997 #define HAVE_HYPOT 1
67998 _ACEOF
68001 done
68003 else
68005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
68006 $as_echo_n "checking for _hypot declaration... " >&6; }
68007 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68008 if ${glibcxx_cv_func__hypot_use+:} false; then :
68009 $as_echo_n "(cached) " >&6
68010 else
68013 ac_ext=cpp
68014 ac_cpp='$CXXCPP $CPPFLAGS'
68015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68020 /* end confdefs.h. */
68021 #include <math.h>
68023 main ()
68025 _hypot(0, 0);
68027 return 0;
68029 _ACEOF
68030 if ac_fn_cxx_try_compile "$LINENO"; then :
68031 glibcxx_cv_func__hypot_use=yes
68032 else
68033 glibcxx_cv_func__hypot_use=no
68035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68036 ac_ext=c
68037 ac_cpp='$CPP $CPPFLAGS'
68038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
68047 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
68049 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68050 for ac_func in _hypot
68051 do :
68052 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
68053 if test "x$ac_cv_func__hypot" = xyes; then :
68054 cat >>confdefs.h <<_ACEOF
68055 #define HAVE__HYPOT 1
68056 _ACEOF
68059 done
68068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
68069 $as_echo_n "checking for float trig functions... " >&6; }
68070 if ${glibcxx_cv_func_float_trig_use+:} false; then :
68071 $as_echo_n "(cached) " >&6
68072 else
68075 ac_ext=cpp
68076 ac_cpp='$CXXCPP $CPPFLAGS'
68077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68082 /* end confdefs.h. */
68083 #include <math.h>
68085 main ()
68087 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68089 return 0;
68091 _ACEOF
68092 if ac_fn_cxx_try_compile "$LINENO"; then :
68093 glibcxx_cv_func_float_trig_use=yes
68094 else
68095 glibcxx_cv_func_float_trig_use=no
68097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68098 ac_ext=c
68099 ac_cpp='$CPP $CPPFLAGS'
68100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
68107 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
68108 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68109 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68110 do :
68111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68114 cat >>confdefs.h <<_ACEOF
68115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68116 _ACEOF
68119 done
68121 else
68122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68123 $as_echo_n "checking for _float trig functions... " >&6; }
68124 if ${glibcxx_cv_func__float_trig_use+:} false; then :
68125 $as_echo_n "(cached) " >&6
68126 else
68129 ac_ext=cpp
68130 ac_cpp='$CXXCPP $CPPFLAGS'
68131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68136 /* end confdefs.h. */
68137 #include <math.h>
68139 main ()
68141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68143 return 0;
68145 _ACEOF
68146 if ac_fn_cxx_try_compile "$LINENO"; then :
68147 glibcxx_cv_func__float_trig_use=yes
68148 else
68149 glibcxx_cv_func__float_trig_use=no
68151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68152 ac_ext=c
68153 ac_cpp='$CPP $CPPFLAGS'
68154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68164 do :
68165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68167 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68168 cat >>confdefs.h <<_ACEOF
68169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68170 _ACEOF
68173 done
68182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68183 $as_echo_n "checking for float round functions... " >&6; }
68184 if ${glibcxx_cv_func_float_round_use+:} false; then :
68185 $as_echo_n "(cached) " >&6
68186 else
68189 ac_ext=cpp
68190 ac_cpp='$CXXCPP $CPPFLAGS'
68191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68196 /* end confdefs.h. */
68197 #include <math.h>
68199 main ()
68201 ceilf (0); floorf (0);
68203 return 0;
68205 _ACEOF
68206 if ac_fn_cxx_try_compile "$LINENO"; then :
68207 glibcxx_cv_func_float_round_use=yes
68208 else
68209 glibcxx_cv_func_float_round_use=no
68211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68212 ac_ext=c
68213 ac_cpp='$CPP $CPPFLAGS'
68214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68221 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68222 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68223 for ac_func in ceilf floorf
68224 do :
68225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68228 cat >>confdefs.h <<_ACEOF
68229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68230 _ACEOF
68233 done
68235 else
68236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68237 $as_echo_n "checking for _float round functions... " >&6; }
68238 if ${glibcxx_cv_func__float_round_use+:} false; then :
68239 $as_echo_n "(cached) " >&6
68240 else
68243 ac_ext=cpp
68244 ac_cpp='$CXXCPP $CPPFLAGS'
68245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68250 /* end confdefs.h. */
68251 #include <math.h>
68253 main ()
68255 _ceilf (0); _floorf (0);
68257 return 0;
68259 _ACEOF
68260 if ac_fn_cxx_try_compile "$LINENO"; then :
68261 glibcxx_cv_func__float_round_use=yes
68262 else
68263 glibcxx_cv_func__float_round_use=no
68265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68266 ac_ext=c
68267 ac_cpp='$CPP $CPPFLAGS'
68268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68275 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68276 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68277 for ac_func in _ceilf _floorf
68278 do :
68279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68282 cat >>confdefs.h <<_ACEOF
68283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68284 _ACEOF
68287 done
68297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68298 $as_echo_n "checking for expf declaration... " >&6; }
68299 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68300 if ${glibcxx_cv_func_expf_use+:} false; then :
68301 $as_echo_n "(cached) " >&6
68302 else
68305 ac_ext=cpp
68306 ac_cpp='$CXXCPP $CPPFLAGS'
68307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68312 /* end confdefs.h. */
68313 #include <math.h>
68314 #ifdef HAVE_IEEEFP_H
68315 #include <ieeefp.h>
68316 #endif
68319 main ()
68321 expf(0);
68323 return 0;
68325 _ACEOF
68326 if ac_fn_cxx_try_compile "$LINENO"; then :
68327 glibcxx_cv_func_expf_use=yes
68328 else
68329 glibcxx_cv_func_expf_use=no
68331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68332 ac_ext=c
68333 ac_cpp='$CPP $CPPFLAGS'
68334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68343 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68345 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68346 for ac_func in expf
68347 do :
68348 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68349 if test "x$ac_cv_func_expf" = xyes; then :
68350 cat >>confdefs.h <<_ACEOF
68351 #define HAVE_EXPF 1
68352 _ACEOF
68355 done
68357 else
68359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68360 $as_echo_n "checking for _expf declaration... " >&6; }
68361 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68362 if ${glibcxx_cv_func__expf_use+:} false; then :
68363 $as_echo_n "(cached) " >&6
68364 else
68367 ac_ext=cpp
68368 ac_cpp='$CXXCPP $CPPFLAGS'
68369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68374 /* end confdefs.h. */
68375 #include <math.h>
68376 #ifdef HAVE_IEEEFP_H
68377 #include <ieeefp.h>
68378 #endif
68381 main ()
68383 _expf(0);
68385 return 0;
68387 _ACEOF
68388 if ac_fn_cxx_try_compile "$LINENO"; then :
68389 glibcxx_cv_func__expf_use=yes
68390 else
68391 glibcxx_cv_func__expf_use=no
68393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68394 ac_ext=c
68395 ac_cpp='$CPP $CPPFLAGS'
68396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68405 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68407 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68408 for ac_func in _expf
68409 do :
68410 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68411 if test "x$ac_cv_func__expf" = xyes; then :
68412 cat >>confdefs.h <<_ACEOF
68413 #define HAVE__EXPF 1
68414 _ACEOF
68417 done
68426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68427 $as_echo_n "checking for isnanf declaration... " >&6; }
68428 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68429 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68430 $as_echo_n "(cached) " >&6
68431 else
68434 ac_ext=cpp
68435 ac_cpp='$CXXCPP $CPPFLAGS'
68436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68441 /* end confdefs.h. */
68442 #include <math.h>
68443 #ifdef HAVE_IEEEFP_H
68444 #include <ieeefp.h>
68445 #endif
68448 main ()
68450 isnanf(0);
68452 return 0;
68454 _ACEOF
68455 if ac_fn_cxx_try_compile "$LINENO"; then :
68456 glibcxx_cv_func_isnanf_use=yes
68457 else
68458 glibcxx_cv_func_isnanf_use=no
68460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68461 ac_ext=c
68462 ac_cpp='$CPP $CPPFLAGS'
68463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68472 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68474 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68475 for ac_func in isnanf
68476 do :
68477 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68478 if test "x$ac_cv_func_isnanf" = xyes; then :
68479 cat >>confdefs.h <<_ACEOF
68480 #define HAVE_ISNANF 1
68481 _ACEOF
68484 done
68486 else
68488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68489 $as_echo_n "checking for _isnanf declaration... " >&6; }
68490 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68491 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68492 $as_echo_n "(cached) " >&6
68493 else
68496 ac_ext=cpp
68497 ac_cpp='$CXXCPP $CPPFLAGS'
68498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68503 /* end confdefs.h. */
68504 #include <math.h>
68505 #ifdef HAVE_IEEEFP_H
68506 #include <ieeefp.h>
68507 #endif
68510 main ()
68512 _isnanf(0);
68514 return 0;
68516 _ACEOF
68517 if ac_fn_cxx_try_compile "$LINENO"; then :
68518 glibcxx_cv_func__isnanf_use=yes
68519 else
68520 glibcxx_cv_func__isnanf_use=no
68522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68523 ac_ext=c
68524 ac_cpp='$CPP $CPPFLAGS'
68525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68534 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68536 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68537 for ac_func in _isnanf
68538 do :
68539 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68540 if test "x$ac_cv_func__isnanf" = xyes; then :
68541 cat >>confdefs.h <<_ACEOF
68542 #define HAVE__ISNANF 1
68543 _ACEOF
68546 done
68555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68556 $as_echo_n "checking for isinff declaration... " >&6; }
68557 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68558 if ${glibcxx_cv_func_isinff_use+:} false; then :
68559 $as_echo_n "(cached) " >&6
68560 else
68563 ac_ext=cpp
68564 ac_cpp='$CXXCPP $CPPFLAGS'
68565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68570 /* end confdefs.h. */
68571 #include <math.h>
68572 #ifdef HAVE_IEEEFP_H
68573 #include <ieeefp.h>
68574 #endif
68577 main ()
68579 isinff(0);
68581 return 0;
68583 _ACEOF
68584 if ac_fn_cxx_try_compile "$LINENO"; then :
68585 glibcxx_cv_func_isinff_use=yes
68586 else
68587 glibcxx_cv_func_isinff_use=no
68589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68590 ac_ext=c
68591 ac_cpp='$CPP $CPPFLAGS'
68592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68601 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68603 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68604 for ac_func in isinff
68605 do :
68606 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68607 if test "x$ac_cv_func_isinff" = xyes; then :
68608 cat >>confdefs.h <<_ACEOF
68609 #define HAVE_ISINFF 1
68610 _ACEOF
68613 done
68615 else
68617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68618 $as_echo_n "checking for _isinff declaration... " >&6; }
68619 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68620 if ${glibcxx_cv_func__isinff_use+:} false; then :
68621 $as_echo_n "(cached) " >&6
68622 else
68625 ac_ext=cpp
68626 ac_cpp='$CXXCPP $CPPFLAGS'
68627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68632 /* end confdefs.h. */
68633 #include <math.h>
68634 #ifdef HAVE_IEEEFP_H
68635 #include <ieeefp.h>
68636 #endif
68639 main ()
68641 _isinff(0);
68643 return 0;
68645 _ACEOF
68646 if ac_fn_cxx_try_compile "$LINENO"; then :
68647 glibcxx_cv_func__isinff_use=yes
68648 else
68649 glibcxx_cv_func__isinff_use=no
68651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68652 ac_ext=c
68653 ac_cpp='$CPP $CPPFLAGS'
68654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68663 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68665 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68666 for ac_func in _isinff
68667 do :
68668 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68669 if test "x$ac_cv_func__isinff" = xyes; then :
68670 cat >>confdefs.h <<_ACEOF
68671 #define HAVE__ISINFF 1
68672 _ACEOF
68675 done
68684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68685 $as_echo_n "checking for atan2f declaration... " >&6; }
68686 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68687 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68688 $as_echo_n "(cached) " >&6
68689 else
68692 ac_ext=cpp
68693 ac_cpp='$CXXCPP $CPPFLAGS'
68694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68699 /* end confdefs.h. */
68700 #include <math.h>
68702 main ()
68704 atan2f(0, 0);
68706 return 0;
68708 _ACEOF
68709 if ac_fn_cxx_try_compile "$LINENO"; then :
68710 glibcxx_cv_func_atan2f_use=yes
68711 else
68712 glibcxx_cv_func_atan2f_use=no
68714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68715 ac_ext=c
68716 ac_cpp='$CPP $CPPFLAGS'
68717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68726 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68728 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68729 for ac_func in atan2f
68730 do :
68731 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68732 if test "x$ac_cv_func_atan2f" = xyes; then :
68733 cat >>confdefs.h <<_ACEOF
68734 #define HAVE_ATAN2F 1
68735 _ACEOF
68738 done
68740 else
68742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68743 $as_echo_n "checking for _atan2f declaration... " >&6; }
68744 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68745 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68746 $as_echo_n "(cached) " >&6
68747 else
68750 ac_ext=cpp
68751 ac_cpp='$CXXCPP $CPPFLAGS'
68752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68757 /* end confdefs.h. */
68758 #include <math.h>
68760 main ()
68762 _atan2f(0, 0);
68764 return 0;
68766 _ACEOF
68767 if ac_fn_cxx_try_compile "$LINENO"; then :
68768 glibcxx_cv_func__atan2f_use=yes
68769 else
68770 glibcxx_cv_func__atan2f_use=no
68772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68773 ac_ext=c
68774 ac_cpp='$CPP $CPPFLAGS'
68775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68784 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68786 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68787 for ac_func in _atan2f
68788 do :
68789 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68790 if test "x$ac_cv_func__atan2f" = xyes; then :
68791 cat >>confdefs.h <<_ACEOF
68792 #define HAVE__ATAN2F 1
68793 _ACEOF
68796 done
68805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68806 $as_echo_n "checking for fabsf declaration... " >&6; }
68807 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68808 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68809 $as_echo_n "(cached) " >&6
68810 else
68813 ac_ext=cpp
68814 ac_cpp='$CXXCPP $CPPFLAGS'
68815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68820 /* end confdefs.h. */
68821 #include <math.h>
68822 #ifdef HAVE_IEEEFP_H
68823 #include <ieeefp.h>
68824 #endif
68827 main ()
68829 fabsf(0);
68831 return 0;
68833 _ACEOF
68834 if ac_fn_cxx_try_compile "$LINENO"; then :
68835 glibcxx_cv_func_fabsf_use=yes
68836 else
68837 glibcxx_cv_func_fabsf_use=no
68839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68840 ac_ext=c
68841 ac_cpp='$CPP $CPPFLAGS'
68842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68851 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68853 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68854 for ac_func in fabsf
68855 do :
68856 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68857 if test "x$ac_cv_func_fabsf" = xyes; then :
68858 cat >>confdefs.h <<_ACEOF
68859 #define HAVE_FABSF 1
68860 _ACEOF
68863 done
68865 else
68867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68868 $as_echo_n "checking for _fabsf declaration... " >&6; }
68869 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68870 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68871 $as_echo_n "(cached) " >&6
68872 else
68875 ac_ext=cpp
68876 ac_cpp='$CXXCPP $CPPFLAGS'
68877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68882 /* end confdefs.h. */
68883 #include <math.h>
68884 #ifdef HAVE_IEEEFP_H
68885 #include <ieeefp.h>
68886 #endif
68889 main ()
68891 _fabsf(0);
68893 return 0;
68895 _ACEOF
68896 if ac_fn_cxx_try_compile "$LINENO"; then :
68897 glibcxx_cv_func__fabsf_use=yes
68898 else
68899 glibcxx_cv_func__fabsf_use=no
68901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68902 ac_ext=c
68903 ac_cpp='$CPP $CPPFLAGS'
68904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68913 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68915 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68916 for ac_func in _fabsf
68917 do :
68918 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68919 if test "x$ac_cv_func__fabsf" = xyes; then :
68920 cat >>confdefs.h <<_ACEOF
68921 #define HAVE__FABSF 1
68922 _ACEOF
68925 done
68934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68935 $as_echo_n "checking for fmodf declaration... " >&6; }
68936 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68937 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68938 $as_echo_n "(cached) " >&6
68939 else
68942 ac_ext=cpp
68943 ac_cpp='$CXXCPP $CPPFLAGS'
68944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68949 /* end confdefs.h. */
68950 #include <math.h>
68952 main ()
68954 fmodf(0, 0);
68956 return 0;
68958 _ACEOF
68959 if ac_fn_cxx_try_compile "$LINENO"; then :
68960 glibcxx_cv_func_fmodf_use=yes
68961 else
68962 glibcxx_cv_func_fmodf_use=no
68964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68965 ac_ext=c
68966 ac_cpp='$CPP $CPPFLAGS'
68967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68976 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68978 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68979 for ac_func in fmodf
68980 do :
68981 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68982 if test "x$ac_cv_func_fmodf" = xyes; then :
68983 cat >>confdefs.h <<_ACEOF
68984 #define HAVE_FMODF 1
68985 _ACEOF
68988 done
68990 else
68992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68993 $as_echo_n "checking for _fmodf declaration... " >&6; }
68994 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68995 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68996 $as_echo_n "(cached) " >&6
68997 else
69000 ac_ext=cpp
69001 ac_cpp='$CXXCPP $CPPFLAGS'
69002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69007 /* end confdefs.h. */
69008 #include <math.h>
69010 main ()
69012 _fmodf(0, 0);
69014 return 0;
69016 _ACEOF
69017 if ac_fn_cxx_try_compile "$LINENO"; then :
69018 glibcxx_cv_func__fmodf_use=yes
69019 else
69020 glibcxx_cv_func__fmodf_use=no
69022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69023 ac_ext=c
69024 ac_cpp='$CPP $CPPFLAGS'
69025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
69034 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
69036 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69037 for ac_func in _fmodf
69038 do :
69039 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
69040 if test "x$ac_cv_func__fmodf" = xyes; then :
69041 cat >>confdefs.h <<_ACEOF
69042 #define HAVE__FMODF 1
69043 _ACEOF
69046 done
69055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69056 $as_echo_n "checking for frexpf declaration... " >&6; }
69057 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69058 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69059 $as_echo_n "(cached) " >&6
69060 else
69063 ac_ext=cpp
69064 ac_cpp='$CXXCPP $CPPFLAGS'
69065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69070 /* end confdefs.h. */
69071 #include <math.h>
69073 main ()
69075 frexpf(0, 0);
69077 return 0;
69079 _ACEOF
69080 if ac_fn_cxx_try_compile "$LINENO"; then :
69081 glibcxx_cv_func_frexpf_use=yes
69082 else
69083 glibcxx_cv_func_frexpf_use=no
69085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69086 ac_ext=c
69087 ac_cpp='$CPP $CPPFLAGS'
69088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69097 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69099 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69100 for ac_func in frexpf
69101 do :
69102 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
69103 if test "x$ac_cv_func_frexpf" = xyes; then :
69104 cat >>confdefs.h <<_ACEOF
69105 #define HAVE_FREXPF 1
69106 _ACEOF
69109 done
69111 else
69113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69114 $as_echo_n "checking for _frexpf declaration... " >&6; }
69115 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69116 if ${glibcxx_cv_func__frexpf_use+:} false; then :
69117 $as_echo_n "(cached) " >&6
69118 else
69121 ac_ext=cpp
69122 ac_cpp='$CXXCPP $CPPFLAGS'
69123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69128 /* end confdefs.h. */
69129 #include <math.h>
69131 main ()
69133 _frexpf(0, 0);
69135 return 0;
69137 _ACEOF
69138 if ac_fn_cxx_try_compile "$LINENO"; then :
69139 glibcxx_cv_func__frexpf_use=yes
69140 else
69141 glibcxx_cv_func__frexpf_use=no
69143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69144 ac_ext=c
69145 ac_cpp='$CPP $CPPFLAGS'
69146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69155 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69157 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69158 for ac_func in _frexpf
69159 do :
69160 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69161 if test "x$ac_cv_func__frexpf" = xyes; then :
69162 cat >>confdefs.h <<_ACEOF
69163 #define HAVE__FREXPF 1
69164 _ACEOF
69167 done
69176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69177 $as_echo_n "checking for hypotf declaration... " >&6; }
69178 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69179 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69180 $as_echo_n "(cached) " >&6
69181 else
69184 ac_ext=cpp
69185 ac_cpp='$CXXCPP $CPPFLAGS'
69186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69191 /* end confdefs.h. */
69192 #include <math.h>
69194 main ()
69196 hypotf(0, 0);
69198 return 0;
69200 _ACEOF
69201 if ac_fn_cxx_try_compile "$LINENO"; then :
69202 glibcxx_cv_func_hypotf_use=yes
69203 else
69204 glibcxx_cv_func_hypotf_use=no
69206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69207 ac_ext=c
69208 ac_cpp='$CPP $CPPFLAGS'
69209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69218 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69220 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69221 for ac_func in hypotf
69222 do :
69223 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69224 if test "x$ac_cv_func_hypotf" = xyes; then :
69225 cat >>confdefs.h <<_ACEOF
69226 #define HAVE_HYPOTF 1
69227 _ACEOF
69230 done
69232 else
69234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69235 $as_echo_n "checking for _hypotf declaration... " >&6; }
69236 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69237 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69238 $as_echo_n "(cached) " >&6
69239 else
69242 ac_ext=cpp
69243 ac_cpp='$CXXCPP $CPPFLAGS'
69244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69249 /* end confdefs.h. */
69250 #include <math.h>
69252 main ()
69254 _hypotf(0, 0);
69256 return 0;
69258 _ACEOF
69259 if ac_fn_cxx_try_compile "$LINENO"; then :
69260 glibcxx_cv_func__hypotf_use=yes
69261 else
69262 glibcxx_cv_func__hypotf_use=no
69264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69265 ac_ext=c
69266 ac_cpp='$CPP $CPPFLAGS'
69267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69276 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69278 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69279 for ac_func in _hypotf
69280 do :
69281 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69282 if test "x$ac_cv_func__hypotf" = xyes; then :
69283 cat >>confdefs.h <<_ACEOF
69284 #define HAVE__HYPOTF 1
69285 _ACEOF
69288 done
69297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69298 $as_echo_n "checking for ldexpf declaration... " >&6; }
69299 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69300 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69301 $as_echo_n "(cached) " >&6
69302 else
69305 ac_ext=cpp
69306 ac_cpp='$CXXCPP $CPPFLAGS'
69307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69312 /* end confdefs.h. */
69313 #include <math.h>
69315 main ()
69317 ldexpf(0, 0);
69319 return 0;
69321 _ACEOF
69322 if ac_fn_cxx_try_compile "$LINENO"; then :
69323 glibcxx_cv_func_ldexpf_use=yes
69324 else
69325 glibcxx_cv_func_ldexpf_use=no
69327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69328 ac_ext=c
69329 ac_cpp='$CPP $CPPFLAGS'
69330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69339 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69341 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69342 for ac_func in ldexpf
69343 do :
69344 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69345 if test "x$ac_cv_func_ldexpf" = xyes; then :
69346 cat >>confdefs.h <<_ACEOF
69347 #define HAVE_LDEXPF 1
69348 _ACEOF
69351 done
69353 else
69355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69356 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69357 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69358 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69359 $as_echo_n "(cached) " >&6
69360 else
69363 ac_ext=cpp
69364 ac_cpp='$CXXCPP $CPPFLAGS'
69365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69370 /* end confdefs.h. */
69371 #include <math.h>
69373 main ()
69375 _ldexpf(0, 0);
69377 return 0;
69379 _ACEOF
69380 if ac_fn_cxx_try_compile "$LINENO"; then :
69381 glibcxx_cv_func__ldexpf_use=yes
69382 else
69383 glibcxx_cv_func__ldexpf_use=no
69385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69386 ac_ext=c
69387 ac_cpp='$CPP $CPPFLAGS'
69388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69397 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69399 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69400 for ac_func in _ldexpf
69401 do :
69402 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69403 if test "x$ac_cv_func__ldexpf" = xyes; then :
69404 cat >>confdefs.h <<_ACEOF
69405 #define HAVE__LDEXPF 1
69406 _ACEOF
69409 done
69418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69419 $as_echo_n "checking for logf declaration... " >&6; }
69420 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69421 if ${glibcxx_cv_func_logf_use+:} false; then :
69422 $as_echo_n "(cached) " >&6
69423 else
69426 ac_ext=cpp
69427 ac_cpp='$CXXCPP $CPPFLAGS'
69428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69433 /* end confdefs.h. */
69434 #include <math.h>
69435 #ifdef HAVE_IEEEFP_H
69436 #include <ieeefp.h>
69437 #endif
69440 main ()
69442 logf(0);
69444 return 0;
69446 _ACEOF
69447 if ac_fn_cxx_try_compile "$LINENO"; then :
69448 glibcxx_cv_func_logf_use=yes
69449 else
69450 glibcxx_cv_func_logf_use=no
69452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69453 ac_ext=c
69454 ac_cpp='$CPP $CPPFLAGS'
69455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69464 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69466 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69467 for ac_func in logf
69468 do :
69469 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69470 if test "x$ac_cv_func_logf" = xyes; then :
69471 cat >>confdefs.h <<_ACEOF
69472 #define HAVE_LOGF 1
69473 _ACEOF
69476 done
69478 else
69480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69481 $as_echo_n "checking for _logf declaration... " >&6; }
69482 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69483 if ${glibcxx_cv_func__logf_use+:} false; then :
69484 $as_echo_n "(cached) " >&6
69485 else
69488 ac_ext=cpp
69489 ac_cpp='$CXXCPP $CPPFLAGS'
69490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69495 /* end confdefs.h. */
69496 #include <math.h>
69497 #ifdef HAVE_IEEEFP_H
69498 #include <ieeefp.h>
69499 #endif
69502 main ()
69504 _logf(0);
69506 return 0;
69508 _ACEOF
69509 if ac_fn_cxx_try_compile "$LINENO"; then :
69510 glibcxx_cv_func__logf_use=yes
69511 else
69512 glibcxx_cv_func__logf_use=no
69514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69515 ac_ext=c
69516 ac_cpp='$CPP $CPPFLAGS'
69517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69526 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69528 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69529 for ac_func in _logf
69530 do :
69531 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69532 if test "x$ac_cv_func__logf" = xyes; then :
69533 cat >>confdefs.h <<_ACEOF
69534 #define HAVE__LOGF 1
69535 _ACEOF
69538 done
69547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69548 $as_echo_n "checking for log10f declaration... " >&6; }
69549 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69550 if ${glibcxx_cv_func_log10f_use+:} false; then :
69551 $as_echo_n "(cached) " >&6
69552 else
69555 ac_ext=cpp
69556 ac_cpp='$CXXCPP $CPPFLAGS'
69557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69562 /* end confdefs.h. */
69563 #include <math.h>
69564 #ifdef HAVE_IEEEFP_H
69565 #include <ieeefp.h>
69566 #endif
69569 main ()
69571 log10f(0);
69573 return 0;
69575 _ACEOF
69576 if ac_fn_cxx_try_compile "$LINENO"; then :
69577 glibcxx_cv_func_log10f_use=yes
69578 else
69579 glibcxx_cv_func_log10f_use=no
69581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69582 ac_ext=c
69583 ac_cpp='$CPP $CPPFLAGS'
69584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69593 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69595 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69596 for ac_func in log10f
69597 do :
69598 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69599 if test "x$ac_cv_func_log10f" = xyes; then :
69600 cat >>confdefs.h <<_ACEOF
69601 #define HAVE_LOG10F 1
69602 _ACEOF
69605 done
69607 else
69609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69610 $as_echo_n "checking for _log10f declaration... " >&6; }
69611 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69612 if ${glibcxx_cv_func__log10f_use+:} false; then :
69613 $as_echo_n "(cached) " >&6
69614 else
69617 ac_ext=cpp
69618 ac_cpp='$CXXCPP $CPPFLAGS'
69619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69624 /* end confdefs.h. */
69625 #include <math.h>
69626 #ifdef HAVE_IEEEFP_H
69627 #include <ieeefp.h>
69628 #endif
69631 main ()
69633 _log10f(0);
69635 return 0;
69637 _ACEOF
69638 if ac_fn_cxx_try_compile "$LINENO"; then :
69639 glibcxx_cv_func__log10f_use=yes
69640 else
69641 glibcxx_cv_func__log10f_use=no
69643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69644 ac_ext=c
69645 ac_cpp='$CPP $CPPFLAGS'
69646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69655 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69657 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69658 for ac_func in _log10f
69659 do :
69660 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69661 if test "x$ac_cv_func__log10f" = xyes; then :
69662 cat >>confdefs.h <<_ACEOF
69663 #define HAVE__LOG10F 1
69664 _ACEOF
69667 done
69676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69677 $as_echo_n "checking for modff declaration... " >&6; }
69678 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69679 if ${glibcxx_cv_func_modff_use+:} false; then :
69680 $as_echo_n "(cached) " >&6
69681 else
69684 ac_ext=cpp
69685 ac_cpp='$CXXCPP $CPPFLAGS'
69686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69691 /* end confdefs.h. */
69692 #include <math.h>
69694 main ()
69696 modff(0, 0);
69698 return 0;
69700 _ACEOF
69701 if ac_fn_cxx_try_compile "$LINENO"; then :
69702 glibcxx_cv_func_modff_use=yes
69703 else
69704 glibcxx_cv_func_modff_use=no
69706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69707 ac_ext=c
69708 ac_cpp='$CPP $CPPFLAGS'
69709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69718 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69720 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69721 for ac_func in modff
69722 do :
69723 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69724 if test "x$ac_cv_func_modff" = xyes; then :
69725 cat >>confdefs.h <<_ACEOF
69726 #define HAVE_MODFF 1
69727 _ACEOF
69730 done
69732 else
69734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69735 $as_echo_n "checking for _modff declaration... " >&6; }
69736 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69737 if ${glibcxx_cv_func__modff_use+:} false; then :
69738 $as_echo_n "(cached) " >&6
69739 else
69742 ac_ext=cpp
69743 ac_cpp='$CXXCPP $CPPFLAGS'
69744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69749 /* end confdefs.h. */
69750 #include <math.h>
69752 main ()
69754 _modff(0, 0);
69756 return 0;
69758 _ACEOF
69759 if ac_fn_cxx_try_compile "$LINENO"; then :
69760 glibcxx_cv_func__modff_use=yes
69761 else
69762 glibcxx_cv_func__modff_use=no
69764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69765 ac_ext=c
69766 ac_cpp='$CPP $CPPFLAGS'
69767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69776 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69778 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69779 for ac_func in _modff
69780 do :
69781 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69782 if test "x$ac_cv_func__modff" = xyes; then :
69783 cat >>confdefs.h <<_ACEOF
69784 #define HAVE__MODFF 1
69785 _ACEOF
69788 done
69797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69798 $as_echo_n "checking for modf declaration... " >&6; }
69799 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69800 if ${glibcxx_cv_func_modf_use+:} false; then :
69801 $as_echo_n "(cached) " >&6
69802 else
69805 ac_ext=cpp
69806 ac_cpp='$CXXCPP $CPPFLAGS'
69807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69812 /* end confdefs.h. */
69813 #include <math.h>
69815 main ()
69817 modf(0, 0);
69819 return 0;
69821 _ACEOF
69822 if ac_fn_cxx_try_compile "$LINENO"; then :
69823 glibcxx_cv_func_modf_use=yes
69824 else
69825 glibcxx_cv_func_modf_use=no
69827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69828 ac_ext=c
69829 ac_cpp='$CPP $CPPFLAGS'
69830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69839 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69841 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69842 for ac_func in modf
69843 do :
69844 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69845 if test "x$ac_cv_func_modf" = xyes; then :
69846 cat >>confdefs.h <<_ACEOF
69847 #define HAVE_MODF 1
69848 _ACEOF
69851 done
69853 else
69855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69856 $as_echo_n "checking for _modf declaration... " >&6; }
69857 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69858 if ${glibcxx_cv_func__modf_use+:} false; then :
69859 $as_echo_n "(cached) " >&6
69860 else
69863 ac_ext=cpp
69864 ac_cpp='$CXXCPP $CPPFLAGS'
69865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69870 /* end confdefs.h. */
69871 #include <math.h>
69873 main ()
69875 _modf(0, 0);
69877 return 0;
69879 _ACEOF
69880 if ac_fn_cxx_try_compile "$LINENO"; then :
69881 glibcxx_cv_func__modf_use=yes
69882 else
69883 glibcxx_cv_func__modf_use=no
69885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69886 ac_ext=c
69887 ac_cpp='$CPP $CPPFLAGS'
69888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69897 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69899 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69900 for ac_func in _modf
69901 do :
69902 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69903 if test "x$ac_cv_func__modf" = xyes; then :
69904 cat >>confdefs.h <<_ACEOF
69905 #define HAVE__MODF 1
69906 _ACEOF
69909 done
69918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69919 $as_echo_n "checking for powf declaration... " >&6; }
69920 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69921 if ${glibcxx_cv_func_powf_use+:} false; then :
69922 $as_echo_n "(cached) " >&6
69923 else
69926 ac_ext=cpp
69927 ac_cpp='$CXXCPP $CPPFLAGS'
69928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69933 /* end confdefs.h. */
69934 #include <math.h>
69936 main ()
69938 powf(0, 0);
69940 return 0;
69942 _ACEOF
69943 if ac_fn_cxx_try_compile "$LINENO"; then :
69944 glibcxx_cv_func_powf_use=yes
69945 else
69946 glibcxx_cv_func_powf_use=no
69948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69949 ac_ext=c
69950 ac_cpp='$CPP $CPPFLAGS'
69951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69960 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69962 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69963 for ac_func in powf
69964 do :
69965 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69966 if test "x$ac_cv_func_powf" = xyes; then :
69967 cat >>confdefs.h <<_ACEOF
69968 #define HAVE_POWF 1
69969 _ACEOF
69972 done
69974 else
69976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69977 $as_echo_n "checking for _powf declaration... " >&6; }
69978 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69979 if ${glibcxx_cv_func__powf_use+:} false; then :
69980 $as_echo_n "(cached) " >&6
69981 else
69984 ac_ext=cpp
69985 ac_cpp='$CXXCPP $CPPFLAGS'
69986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69991 /* end confdefs.h. */
69992 #include <math.h>
69994 main ()
69996 _powf(0, 0);
69998 return 0;
70000 _ACEOF
70001 if ac_fn_cxx_try_compile "$LINENO"; then :
70002 glibcxx_cv_func__powf_use=yes
70003 else
70004 glibcxx_cv_func__powf_use=no
70006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70007 ac_ext=c
70008 ac_cpp='$CPP $CPPFLAGS'
70009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
70018 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
70020 if test x$glibcxx_cv_func__powf_use = x"yes"; then
70021 for ac_func in _powf
70022 do :
70023 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
70024 if test "x$ac_cv_func__powf" = xyes; then :
70025 cat >>confdefs.h <<_ACEOF
70026 #define HAVE__POWF 1
70027 _ACEOF
70030 done
70039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
70040 $as_echo_n "checking for sqrtf declaration... " >&6; }
70041 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70042 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
70043 $as_echo_n "(cached) " >&6
70044 else
70047 ac_ext=cpp
70048 ac_cpp='$CXXCPP $CPPFLAGS'
70049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70054 /* end confdefs.h. */
70055 #include <math.h>
70056 #ifdef HAVE_IEEEFP_H
70057 #include <ieeefp.h>
70058 #endif
70061 main ()
70063 sqrtf(0);
70065 return 0;
70067 _ACEOF
70068 if ac_fn_cxx_try_compile "$LINENO"; then :
70069 glibcxx_cv_func_sqrtf_use=yes
70070 else
70071 glibcxx_cv_func_sqrtf_use=no
70073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70074 ac_ext=c
70075 ac_cpp='$CPP $CPPFLAGS'
70076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
70085 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
70087 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70088 for ac_func in sqrtf
70089 do :
70090 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
70091 if test "x$ac_cv_func_sqrtf" = xyes; then :
70092 cat >>confdefs.h <<_ACEOF
70093 #define HAVE_SQRTF 1
70094 _ACEOF
70097 done
70099 else
70101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
70102 $as_echo_n "checking for _sqrtf declaration... " >&6; }
70103 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70104 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
70105 $as_echo_n "(cached) " >&6
70106 else
70109 ac_ext=cpp
70110 ac_cpp='$CXXCPP $CPPFLAGS'
70111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70116 /* end confdefs.h. */
70117 #include <math.h>
70118 #ifdef HAVE_IEEEFP_H
70119 #include <ieeefp.h>
70120 #endif
70123 main ()
70125 _sqrtf(0);
70127 return 0;
70129 _ACEOF
70130 if ac_fn_cxx_try_compile "$LINENO"; then :
70131 glibcxx_cv_func__sqrtf_use=yes
70132 else
70133 glibcxx_cv_func__sqrtf_use=no
70135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70136 ac_ext=c
70137 ac_cpp='$CPP $CPPFLAGS'
70138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70147 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70149 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70150 for ac_func in _sqrtf
70151 do :
70152 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70153 if test "x$ac_cv_func__sqrtf" = xyes; then :
70154 cat >>confdefs.h <<_ACEOF
70155 #define HAVE__SQRTF 1
70156 _ACEOF
70159 done
70168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70169 $as_echo_n "checking for sincosf declaration... " >&6; }
70170 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70171 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70172 $as_echo_n "(cached) " >&6
70173 else
70176 ac_ext=cpp
70177 ac_cpp='$CXXCPP $CPPFLAGS'
70178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70183 /* end confdefs.h. */
70184 #include <math.h>
70186 main ()
70188 sincosf(0, 0, 0);
70190 return 0;
70192 _ACEOF
70193 if ac_fn_cxx_try_compile "$LINENO"; then :
70194 glibcxx_cv_func_sincosf_use=yes
70195 else
70196 glibcxx_cv_func_sincosf_use=no
70198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70199 ac_ext=c
70200 ac_cpp='$CPP $CPPFLAGS'
70201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70210 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70212 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70213 for ac_func in sincosf
70214 do :
70215 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70216 if test "x$ac_cv_func_sincosf" = xyes; then :
70217 cat >>confdefs.h <<_ACEOF
70218 #define HAVE_SINCOSF 1
70219 _ACEOF
70222 done
70224 else
70226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70227 $as_echo_n "checking for _sincosf declaration... " >&6; }
70228 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70229 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70230 $as_echo_n "(cached) " >&6
70231 else
70234 ac_ext=cpp
70235 ac_cpp='$CXXCPP $CPPFLAGS'
70236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70241 /* end confdefs.h. */
70242 #include <math.h>
70244 main ()
70246 _sincosf(0, 0, 0);
70248 return 0;
70250 _ACEOF
70251 if ac_fn_cxx_try_compile "$LINENO"; then :
70252 glibcxx_cv_func__sincosf_use=yes
70253 else
70254 glibcxx_cv_func__sincosf_use=no
70256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70257 ac_ext=c
70258 ac_cpp='$CPP $CPPFLAGS'
70259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70268 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70270 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70271 for ac_func in _sincosf
70272 do :
70273 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70274 if test "x$ac_cv_func__sincosf" = xyes; then :
70275 cat >>confdefs.h <<_ACEOF
70276 #define HAVE__SINCOSF 1
70277 _ACEOF
70280 done
70289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70290 $as_echo_n "checking for finitef declaration... " >&6; }
70291 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70292 if ${glibcxx_cv_func_finitef_use+:} false; then :
70293 $as_echo_n "(cached) " >&6
70294 else
70297 ac_ext=cpp
70298 ac_cpp='$CXXCPP $CPPFLAGS'
70299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70304 /* end confdefs.h. */
70305 #include <math.h>
70306 #ifdef HAVE_IEEEFP_H
70307 #include <ieeefp.h>
70308 #endif
70311 main ()
70313 finitef(0);
70315 return 0;
70317 _ACEOF
70318 if ac_fn_cxx_try_compile "$LINENO"; then :
70319 glibcxx_cv_func_finitef_use=yes
70320 else
70321 glibcxx_cv_func_finitef_use=no
70323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70324 ac_ext=c
70325 ac_cpp='$CPP $CPPFLAGS'
70326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70335 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70337 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70338 for ac_func in finitef
70339 do :
70340 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70341 if test "x$ac_cv_func_finitef" = xyes; then :
70342 cat >>confdefs.h <<_ACEOF
70343 #define HAVE_FINITEF 1
70344 _ACEOF
70347 done
70349 else
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70352 $as_echo_n "checking for _finitef declaration... " >&6; }
70353 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70354 if ${glibcxx_cv_func__finitef_use+:} false; then :
70355 $as_echo_n "(cached) " >&6
70356 else
70359 ac_ext=cpp
70360 ac_cpp='$CXXCPP $CPPFLAGS'
70361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70366 /* end confdefs.h. */
70367 #include <math.h>
70368 #ifdef HAVE_IEEEFP_H
70369 #include <ieeefp.h>
70370 #endif
70373 main ()
70375 _finitef(0);
70377 return 0;
70379 _ACEOF
70380 if ac_fn_cxx_try_compile "$LINENO"; then :
70381 glibcxx_cv_func__finitef_use=yes
70382 else
70383 glibcxx_cv_func__finitef_use=no
70385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70386 ac_ext=c
70387 ac_cpp='$CPP $CPPFLAGS'
70388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70397 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70399 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70400 for ac_func in _finitef
70401 do :
70402 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70403 if test "x$ac_cv_func__finitef" = xyes; then :
70404 cat >>confdefs.h <<_ACEOF
70405 #define HAVE__FINITEF 1
70406 _ACEOF
70409 done
70418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70419 $as_echo_n "checking for long double trig functions... " >&6; }
70420 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70421 $as_echo_n "(cached) " >&6
70422 else
70425 ac_ext=cpp
70426 ac_cpp='$CXXCPP $CPPFLAGS'
70427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70432 /* end confdefs.h. */
70433 #include <math.h>
70435 main ()
70437 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70439 return 0;
70441 _ACEOF
70442 if ac_fn_cxx_try_compile "$LINENO"; then :
70443 glibcxx_cv_func_long_double_trig_use=yes
70444 else
70445 glibcxx_cv_func_long_double_trig_use=no
70447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70448 ac_ext=c
70449 ac_cpp='$CPP $CPPFLAGS'
70450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70457 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70458 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70459 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70460 do :
70461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70463 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70464 cat >>confdefs.h <<_ACEOF
70465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70466 _ACEOF
70469 done
70471 else
70472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70473 $as_echo_n "checking for _long double trig functions... " >&6; }
70474 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70475 $as_echo_n "(cached) " >&6
70476 else
70479 ac_ext=cpp
70480 ac_cpp='$CXXCPP $CPPFLAGS'
70481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70486 /* end confdefs.h. */
70487 #include <math.h>
70489 main ()
70491 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70493 return 0;
70495 _ACEOF
70496 if ac_fn_cxx_try_compile "$LINENO"; then :
70497 glibcxx_cv_func__long_double_trig_use=yes
70498 else
70499 glibcxx_cv_func__long_double_trig_use=no
70501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70502 ac_ext=c
70503 ac_cpp='$CPP $CPPFLAGS'
70504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70511 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70512 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70513 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70514 do :
70515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70517 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70518 cat >>confdefs.h <<_ACEOF
70519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70520 _ACEOF
70523 done
70532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70533 $as_echo_n "checking for long double round functions... " >&6; }
70534 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70535 $as_echo_n "(cached) " >&6
70536 else
70539 ac_ext=cpp
70540 ac_cpp='$CXXCPP $CPPFLAGS'
70541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70546 /* end confdefs.h. */
70547 #include <math.h>
70549 main ()
70551 ceill (0); floorl (0);
70553 return 0;
70555 _ACEOF
70556 if ac_fn_cxx_try_compile "$LINENO"; then :
70557 glibcxx_cv_func_long_double_round_use=yes
70558 else
70559 glibcxx_cv_func_long_double_round_use=no
70561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70562 ac_ext=c
70563 ac_cpp='$CPP $CPPFLAGS'
70564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70571 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70572 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70573 for ac_func in ceill floorl
70574 do :
70575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70578 cat >>confdefs.h <<_ACEOF
70579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70580 _ACEOF
70583 done
70585 else
70586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70587 $as_echo_n "checking for _long double round functions... " >&6; }
70588 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70589 $as_echo_n "(cached) " >&6
70590 else
70593 ac_ext=cpp
70594 ac_cpp='$CXXCPP $CPPFLAGS'
70595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70600 /* end confdefs.h. */
70601 #include <math.h>
70603 main ()
70605 _ceill (0); _floorl (0);
70607 return 0;
70609 _ACEOF
70610 if ac_fn_cxx_try_compile "$LINENO"; then :
70611 glibcxx_cv_func__long_double_round_use=yes
70612 else
70613 glibcxx_cv_func__long_double_round_use=no
70615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70616 ac_ext=c
70617 ac_cpp='$CPP $CPPFLAGS'
70618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70625 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70626 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70627 for ac_func in _ceill _floorl
70628 do :
70629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70632 cat >>confdefs.h <<_ACEOF
70633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70634 _ACEOF
70637 done
70647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70648 $as_echo_n "checking for isnanl declaration... " >&6; }
70649 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70650 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70651 $as_echo_n "(cached) " >&6
70652 else
70655 ac_ext=cpp
70656 ac_cpp='$CXXCPP $CPPFLAGS'
70657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70662 /* end confdefs.h. */
70663 #include <math.h>
70664 #ifdef HAVE_IEEEFP_H
70665 #include <ieeefp.h>
70666 #endif
70669 main ()
70671 isnanl(0);
70673 return 0;
70675 _ACEOF
70676 if ac_fn_cxx_try_compile "$LINENO"; then :
70677 glibcxx_cv_func_isnanl_use=yes
70678 else
70679 glibcxx_cv_func_isnanl_use=no
70681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70682 ac_ext=c
70683 ac_cpp='$CPP $CPPFLAGS'
70684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70693 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70695 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70696 for ac_func in isnanl
70697 do :
70698 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70699 if test "x$ac_cv_func_isnanl" = xyes; then :
70700 cat >>confdefs.h <<_ACEOF
70701 #define HAVE_ISNANL 1
70702 _ACEOF
70705 done
70707 else
70709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70710 $as_echo_n "checking for _isnanl declaration... " >&6; }
70711 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70712 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70713 $as_echo_n "(cached) " >&6
70714 else
70717 ac_ext=cpp
70718 ac_cpp='$CXXCPP $CPPFLAGS'
70719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70724 /* end confdefs.h. */
70725 #include <math.h>
70726 #ifdef HAVE_IEEEFP_H
70727 #include <ieeefp.h>
70728 #endif
70731 main ()
70733 _isnanl(0);
70735 return 0;
70737 _ACEOF
70738 if ac_fn_cxx_try_compile "$LINENO"; then :
70739 glibcxx_cv_func__isnanl_use=yes
70740 else
70741 glibcxx_cv_func__isnanl_use=no
70743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70744 ac_ext=c
70745 ac_cpp='$CPP $CPPFLAGS'
70746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70755 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70757 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70758 for ac_func in _isnanl
70759 do :
70760 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70761 if test "x$ac_cv_func__isnanl" = xyes; then :
70762 cat >>confdefs.h <<_ACEOF
70763 #define HAVE__ISNANL 1
70764 _ACEOF
70767 done
70776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70777 $as_echo_n "checking for isinfl declaration... " >&6; }
70778 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70779 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70780 $as_echo_n "(cached) " >&6
70781 else
70784 ac_ext=cpp
70785 ac_cpp='$CXXCPP $CPPFLAGS'
70786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70791 /* end confdefs.h. */
70792 #include <math.h>
70793 #ifdef HAVE_IEEEFP_H
70794 #include <ieeefp.h>
70795 #endif
70798 main ()
70800 isinfl(0);
70802 return 0;
70804 _ACEOF
70805 if ac_fn_cxx_try_compile "$LINENO"; then :
70806 glibcxx_cv_func_isinfl_use=yes
70807 else
70808 glibcxx_cv_func_isinfl_use=no
70810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70811 ac_ext=c
70812 ac_cpp='$CPP $CPPFLAGS'
70813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70822 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70824 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70825 for ac_func in isinfl
70826 do :
70827 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70828 if test "x$ac_cv_func_isinfl" = xyes; then :
70829 cat >>confdefs.h <<_ACEOF
70830 #define HAVE_ISINFL 1
70831 _ACEOF
70834 done
70836 else
70838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70839 $as_echo_n "checking for _isinfl declaration... " >&6; }
70840 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70841 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70842 $as_echo_n "(cached) " >&6
70843 else
70846 ac_ext=cpp
70847 ac_cpp='$CXXCPP $CPPFLAGS'
70848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70853 /* end confdefs.h. */
70854 #include <math.h>
70855 #ifdef HAVE_IEEEFP_H
70856 #include <ieeefp.h>
70857 #endif
70860 main ()
70862 _isinfl(0);
70864 return 0;
70866 _ACEOF
70867 if ac_fn_cxx_try_compile "$LINENO"; then :
70868 glibcxx_cv_func__isinfl_use=yes
70869 else
70870 glibcxx_cv_func__isinfl_use=no
70872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70873 ac_ext=c
70874 ac_cpp='$CPP $CPPFLAGS'
70875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70884 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70886 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70887 for ac_func in _isinfl
70888 do :
70889 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70890 if test "x$ac_cv_func__isinfl" = xyes; then :
70891 cat >>confdefs.h <<_ACEOF
70892 #define HAVE__ISINFL 1
70893 _ACEOF
70896 done
70905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70906 $as_echo_n "checking for atan2l declaration... " >&6; }
70907 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70908 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70909 $as_echo_n "(cached) " >&6
70910 else
70913 ac_ext=cpp
70914 ac_cpp='$CXXCPP $CPPFLAGS'
70915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70920 /* end confdefs.h. */
70921 #include <math.h>
70923 main ()
70925 atan2l(0, 0);
70927 return 0;
70929 _ACEOF
70930 if ac_fn_cxx_try_compile "$LINENO"; then :
70931 glibcxx_cv_func_atan2l_use=yes
70932 else
70933 glibcxx_cv_func_atan2l_use=no
70935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70936 ac_ext=c
70937 ac_cpp='$CPP $CPPFLAGS'
70938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70947 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70949 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70950 for ac_func in atan2l
70951 do :
70952 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70953 if test "x$ac_cv_func_atan2l" = xyes; then :
70954 cat >>confdefs.h <<_ACEOF
70955 #define HAVE_ATAN2L 1
70956 _ACEOF
70959 done
70961 else
70963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70964 $as_echo_n "checking for _atan2l declaration... " >&6; }
70965 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70966 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70967 $as_echo_n "(cached) " >&6
70968 else
70971 ac_ext=cpp
70972 ac_cpp='$CXXCPP $CPPFLAGS'
70973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978 /* end confdefs.h. */
70979 #include <math.h>
70981 main ()
70983 _atan2l(0, 0);
70985 return 0;
70987 _ACEOF
70988 if ac_fn_cxx_try_compile "$LINENO"; then :
70989 glibcxx_cv_func__atan2l_use=yes
70990 else
70991 glibcxx_cv_func__atan2l_use=no
70993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70994 ac_ext=c
70995 ac_cpp='$CPP $CPPFLAGS'
70996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
71005 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
71007 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71008 for ac_func in _atan2l
71009 do :
71010 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
71011 if test "x$ac_cv_func__atan2l" = xyes; then :
71012 cat >>confdefs.h <<_ACEOF
71013 #define HAVE__ATAN2L 1
71014 _ACEOF
71017 done
71026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
71027 $as_echo_n "checking for expl declaration... " >&6; }
71028 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71029 if ${glibcxx_cv_func_expl_use+:} false; then :
71030 $as_echo_n "(cached) " >&6
71031 else
71034 ac_ext=cpp
71035 ac_cpp='$CXXCPP $CPPFLAGS'
71036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71041 /* end confdefs.h. */
71042 #include <math.h>
71043 #ifdef HAVE_IEEEFP_H
71044 #include <ieeefp.h>
71045 #endif
71048 main ()
71050 expl(0);
71052 return 0;
71054 _ACEOF
71055 if ac_fn_cxx_try_compile "$LINENO"; then :
71056 glibcxx_cv_func_expl_use=yes
71057 else
71058 glibcxx_cv_func_expl_use=no
71060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71061 ac_ext=c
71062 ac_cpp='$CPP $CPPFLAGS'
71063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
71072 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
71074 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71075 for ac_func in expl
71076 do :
71077 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
71078 if test "x$ac_cv_func_expl" = xyes; then :
71079 cat >>confdefs.h <<_ACEOF
71080 #define HAVE_EXPL 1
71081 _ACEOF
71084 done
71086 else
71088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
71089 $as_echo_n "checking for _expl declaration... " >&6; }
71090 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71091 if ${glibcxx_cv_func__expl_use+:} false; then :
71092 $as_echo_n "(cached) " >&6
71093 else
71096 ac_ext=cpp
71097 ac_cpp='$CXXCPP $CPPFLAGS'
71098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71103 /* end confdefs.h. */
71104 #include <math.h>
71105 #ifdef HAVE_IEEEFP_H
71106 #include <ieeefp.h>
71107 #endif
71110 main ()
71112 _expl(0);
71114 return 0;
71116 _ACEOF
71117 if ac_fn_cxx_try_compile "$LINENO"; then :
71118 glibcxx_cv_func__expl_use=yes
71119 else
71120 glibcxx_cv_func__expl_use=no
71122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71123 ac_ext=c
71124 ac_cpp='$CPP $CPPFLAGS'
71125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71134 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
71136 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71137 for ac_func in _expl
71138 do :
71139 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71140 if test "x$ac_cv_func__expl" = xyes; then :
71141 cat >>confdefs.h <<_ACEOF
71142 #define HAVE__EXPL 1
71143 _ACEOF
71146 done
71155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71156 $as_echo_n "checking for fabsl declaration... " >&6; }
71157 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71158 if ${glibcxx_cv_func_fabsl_use+:} false; then :
71159 $as_echo_n "(cached) " >&6
71160 else
71163 ac_ext=cpp
71164 ac_cpp='$CXXCPP $CPPFLAGS'
71165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71170 /* end confdefs.h. */
71171 #include <math.h>
71172 #ifdef HAVE_IEEEFP_H
71173 #include <ieeefp.h>
71174 #endif
71177 main ()
71179 fabsl(0);
71181 return 0;
71183 _ACEOF
71184 if ac_fn_cxx_try_compile "$LINENO"; then :
71185 glibcxx_cv_func_fabsl_use=yes
71186 else
71187 glibcxx_cv_func_fabsl_use=no
71189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71190 ac_ext=c
71191 ac_cpp='$CPP $CPPFLAGS'
71192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71201 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71203 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71204 for ac_func in fabsl
71205 do :
71206 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71207 if test "x$ac_cv_func_fabsl" = xyes; then :
71208 cat >>confdefs.h <<_ACEOF
71209 #define HAVE_FABSL 1
71210 _ACEOF
71213 done
71215 else
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71218 $as_echo_n "checking for _fabsl declaration... " >&6; }
71219 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71220 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71221 $as_echo_n "(cached) " >&6
71222 else
71225 ac_ext=cpp
71226 ac_cpp='$CXXCPP $CPPFLAGS'
71227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71232 /* end confdefs.h. */
71233 #include <math.h>
71234 #ifdef HAVE_IEEEFP_H
71235 #include <ieeefp.h>
71236 #endif
71239 main ()
71241 _fabsl(0);
71243 return 0;
71245 _ACEOF
71246 if ac_fn_cxx_try_compile "$LINENO"; then :
71247 glibcxx_cv_func__fabsl_use=yes
71248 else
71249 glibcxx_cv_func__fabsl_use=no
71251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71252 ac_ext=c
71253 ac_cpp='$CPP $CPPFLAGS'
71254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71263 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71265 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71266 for ac_func in _fabsl
71267 do :
71268 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71269 if test "x$ac_cv_func__fabsl" = xyes; then :
71270 cat >>confdefs.h <<_ACEOF
71271 #define HAVE__FABSL 1
71272 _ACEOF
71275 done
71284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71285 $as_echo_n "checking for fmodl declaration... " >&6; }
71286 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71287 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71288 $as_echo_n "(cached) " >&6
71289 else
71292 ac_ext=cpp
71293 ac_cpp='$CXXCPP $CPPFLAGS'
71294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71299 /* end confdefs.h. */
71300 #include <math.h>
71302 main ()
71304 fmodl(0, 0);
71306 return 0;
71308 _ACEOF
71309 if ac_fn_cxx_try_compile "$LINENO"; then :
71310 glibcxx_cv_func_fmodl_use=yes
71311 else
71312 glibcxx_cv_func_fmodl_use=no
71314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71315 ac_ext=c
71316 ac_cpp='$CPP $CPPFLAGS'
71317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71326 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71328 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71329 for ac_func in fmodl
71330 do :
71331 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71332 if test "x$ac_cv_func_fmodl" = xyes; then :
71333 cat >>confdefs.h <<_ACEOF
71334 #define HAVE_FMODL 1
71335 _ACEOF
71338 done
71340 else
71342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71343 $as_echo_n "checking for _fmodl declaration... " >&6; }
71344 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71345 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71346 $as_echo_n "(cached) " >&6
71347 else
71350 ac_ext=cpp
71351 ac_cpp='$CXXCPP $CPPFLAGS'
71352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71357 /* end confdefs.h. */
71358 #include <math.h>
71360 main ()
71362 _fmodl(0, 0);
71364 return 0;
71366 _ACEOF
71367 if ac_fn_cxx_try_compile "$LINENO"; then :
71368 glibcxx_cv_func__fmodl_use=yes
71369 else
71370 glibcxx_cv_func__fmodl_use=no
71372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71373 ac_ext=c
71374 ac_cpp='$CPP $CPPFLAGS'
71375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71384 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71386 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71387 for ac_func in _fmodl
71388 do :
71389 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71390 if test "x$ac_cv_func__fmodl" = xyes; then :
71391 cat >>confdefs.h <<_ACEOF
71392 #define HAVE__FMODL 1
71393 _ACEOF
71396 done
71405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71406 $as_echo_n "checking for frexpl declaration... " >&6; }
71407 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71408 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71409 $as_echo_n "(cached) " >&6
71410 else
71413 ac_ext=cpp
71414 ac_cpp='$CXXCPP $CPPFLAGS'
71415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71420 /* end confdefs.h. */
71421 #include <math.h>
71423 main ()
71425 frexpl(0, 0);
71427 return 0;
71429 _ACEOF
71430 if ac_fn_cxx_try_compile "$LINENO"; then :
71431 glibcxx_cv_func_frexpl_use=yes
71432 else
71433 glibcxx_cv_func_frexpl_use=no
71435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71436 ac_ext=c
71437 ac_cpp='$CPP $CPPFLAGS'
71438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71447 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71449 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71450 for ac_func in frexpl
71451 do :
71452 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71453 if test "x$ac_cv_func_frexpl" = xyes; then :
71454 cat >>confdefs.h <<_ACEOF
71455 #define HAVE_FREXPL 1
71456 _ACEOF
71459 done
71461 else
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71464 $as_echo_n "checking for _frexpl declaration... " >&6; }
71465 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71466 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71467 $as_echo_n "(cached) " >&6
71468 else
71471 ac_ext=cpp
71472 ac_cpp='$CXXCPP $CPPFLAGS'
71473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71478 /* end confdefs.h. */
71479 #include <math.h>
71481 main ()
71483 _frexpl(0, 0);
71485 return 0;
71487 _ACEOF
71488 if ac_fn_cxx_try_compile "$LINENO"; then :
71489 glibcxx_cv_func__frexpl_use=yes
71490 else
71491 glibcxx_cv_func__frexpl_use=no
71493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71494 ac_ext=c
71495 ac_cpp='$CPP $CPPFLAGS'
71496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71505 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71507 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71508 for ac_func in _frexpl
71509 do :
71510 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71511 if test "x$ac_cv_func__frexpl" = xyes; then :
71512 cat >>confdefs.h <<_ACEOF
71513 #define HAVE__FREXPL 1
71514 _ACEOF
71517 done
71526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71527 $as_echo_n "checking for hypotl declaration... " >&6; }
71528 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71529 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71530 $as_echo_n "(cached) " >&6
71531 else
71534 ac_ext=cpp
71535 ac_cpp='$CXXCPP $CPPFLAGS'
71536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71541 /* end confdefs.h. */
71542 #include <math.h>
71544 main ()
71546 hypotl(0, 0);
71548 return 0;
71550 _ACEOF
71551 if ac_fn_cxx_try_compile "$LINENO"; then :
71552 glibcxx_cv_func_hypotl_use=yes
71553 else
71554 glibcxx_cv_func_hypotl_use=no
71556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71557 ac_ext=c
71558 ac_cpp='$CPP $CPPFLAGS'
71559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71568 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71570 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71571 for ac_func in hypotl
71572 do :
71573 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71574 if test "x$ac_cv_func_hypotl" = xyes; then :
71575 cat >>confdefs.h <<_ACEOF
71576 #define HAVE_HYPOTL 1
71577 _ACEOF
71580 done
71582 else
71584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71585 $as_echo_n "checking for _hypotl declaration... " >&6; }
71586 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71587 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71588 $as_echo_n "(cached) " >&6
71589 else
71592 ac_ext=cpp
71593 ac_cpp='$CXXCPP $CPPFLAGS'
71594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71599 /* end confdefs.h. */
71600 #include <math.h>
71602 main ()
71604 _hypotl(0, 0);
71606 return 0;
71608 _ACEOF
71609 if ac_fn_cxx_try_compile "$LINENO"; then :
71610 glibcxx_cv_func__hypotl_use=yes
71611 else
71612 glibcxx_cv_func__hypotl_use=no
71614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71615 ac_ext=c
71616 ac_cpp='$CPP $CPPFLAGS'
71617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71626 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71628 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71629 for ac_func in _hypotl
71630 do :
71631 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71632 if test "x$ac_cv_func__hypotl" = xyes; then :
71633 cat >>confdefs.h <<_ACEOF
71634 #define HAVE__HYPOTL 1
71635 _ACEOF
71638 done
71647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71648 $as_echo_n "checking for ldexpl declaration... " >&6; }
71649 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71650 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71651 $as_echo_n "(cached) " >&6
71652 else
71655 ac_ext=cpp
71656 ac_cpp='$CXXCPP $CPPFLAGS'
71657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71662 /* end confdefs.h. */
71663 #include <math.h>
71665 main ()
71667 ldexpl(0, 0);
71669 return 0;
71671 _ACEOF
71672 if ac_fn_cxx_try_compile "$LINENO"; then :
71673 glibcxx_cv_func_ldexpl_use=yes
71674 else
71675 glibcxx_cv_func_ldexpl_use=no
71677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71678 ac_ext=c
71679 ac_cpp='$CPP $CPPFLAGS'
71680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71689 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71691 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71692 for ac_func in ldexpl
71693 do :
71694 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71695 if test "x$ac_cv_func_ldexpl" = xyes; then :
71696 cat >>confdefs.h <<_ACEOF
71697 #define HAVE_LDEXPL 1
71698 _ACEOF
71701 done
71703 else
71705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71706 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71707 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71708 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71709 $as_echo_n "(cached) " >&6
71710 else
71713 ac_ext=cpp
71714 ac_cpp='$CXXCPP $CPPFLAGS'
71715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71720 /* end confdefs.h. */
71721 #include <math.h>
71723 main ()
71725 _ldexpl(0, 0);
71727 return 0;
71729 _ACEOF
71730 if ac_fn_cxx_try_compile "$LINENO"; then :
71731 glibcxx_cv_func__ldexpl_use=yes
71732 else
71733 glibcxx_cv_func__ldexpl_use=no
71735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71736 ac_ext=c
71737 ac_cpp='$CPP $CPPFLAGS'
71738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71747 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71749 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71750 for ac_func in _ldexpl
71751 do :
71752 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71753 if test "x$ac_cv_func__ldexpl" = xyes; then :
71754 cat >>confdefs.h <<_ACEOF
71755 #define HAVE__LDEXPL 1
71756 _ACEOF
71759 done
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71769 $as_echo_n "checking for logl declaration... " >&6; }
71770 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71771 if ${glibcxx_cv_func_logl_use+:} false; then :
71772 $as_echo_n "(cached) " >&6
71773 else
71776 ac_ext=cpp
71777 ac_cpp='$CXXCPP $CPPFLAGS'
71778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71783 /* end confdefs.h. */
71784 #include <math.h>
71785 #ifdef HAVE_IEEEFP_H
71786 #include <ieeefp.h>
71787 #endif
71790 main ()
71792 logl(0);
71794 return 0;
71796 _ACEOF
71797 if ac_fn_cxx_try_compile "$LINENO"; then :
71798 glibcxx_cv_func_logl_use=yes
71799 else
71800 glibcxx_cv_func_logl_use=no
71802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71803 ac_ext=c
71804 ac_cpp='$CPP $CPPFLAGS'
71805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71814 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71816 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71817 for ac_func in logl
71818 do :
71819 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71820 if test "x$ac_cv_func_logl" = xyes; then :
71821 cat >>confdefs.h <<_ACEOF
71822 #define HAVE_LOGL 1
71823 _ACEOF
71826 done
71828 else
71830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71831 $as_echo_n "checking for _logl declaration... " >&6; }
71832 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71833 if ${glibcxx_cv_func__logl_use+:} false; then :
71834 $as_echo_n "(cached) " >&6
71835 else
71838 ac_ext=cpp
71839 ac_cpp='$CXXCPP $CPPFLAGS'
71840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71845 /* end confdefs.h. */
71846 #include <math.h>
71847 #ifdef HAVE_IEEEFP_H
71848 #include <ieeefp.h>
71849 #endif
71852 main ()
71854 _logl(0);
71856 return 0;
71858 _ACEOF
71859 if ac_fn_cxx_try_compile "$LINENO"; then :
71860 glibcxx_cv_func__logl_use=yes
71861 else
71862 glibcxx_cv_func__logl_use=no
71864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71865 ac_ext=c
71866 ac_cpp='$CPP $CPPFLAGS'
71867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71876 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71878 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71879 for ac_func in _logl
71880 do :
71881 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71882 if test "x$ac_cv_func__logl" = xyes; then :
71883 cat >>confdefs.h <<_ACEOF
71884 #define HAVE__LOGL 1
71885 _ACEOF
71888 done
71897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71898 $as_echo_n "checking for log10l declaration... " >&6; }
71899 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71900 if ${glibcxx_cv_func_log10l_use+:} false; then :
71901 $as_echo_n "(cached) " >&6
71902 else
71905 ac_ext=cpp
71906 ac_cpp='$CXXCPP $CPPFLAGS'
71907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71912 /* end confdefs.h. */
71913 #include <math.h>
71914 #ifdef HAVE_IEEEFP_H
71915 #include <ieeefp.h>
71916 #endif
71919 main ()
71921 log10l(0);
71923 return 0;
71925 _ACEOF
71926 if ac_fn_cxx_try_compile "$LINENO"; then :
71927 glibcxx_cv_func_log10l_use=yes
71928 else
71929 glibcxx_cv_func_log10l_use=no
71931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71932 ac_ext=c
71933 ac_cpp='$CPP $CPPFLAGS'
71934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71943 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71945 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71946 for ac_func in log10l
71947 do :
71948 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71949 if test "x$ac_cv_func_log10l" = xyes; then :
71950 cat >>confdefs.h <<_ACEOF
71951 #define HAVE_LOG10L 1
71952 _ACEOF
71955 done
71957 else
71959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71960 $as_echo_n "checking for _log10l declaration... " >&6; }
71961 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71962 if ${glibcxx_cv_func__log10l_use+:} false; then :
71963 $as_echo_n "(cached) " >&6
71964 else
71967 ac_ext=cpp
71968 ac_cpp='$CXXCPP $CPPFLAGS'
71969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71974 /* end confdefs.h. */
71975 #include <math.h>
71976 #ifdef HAVE_IEEEFP_H
71977 #include <ieeefp.h>
71978 #endif
71981 main ()
71983 _log10l(0);
71985 return 0;
71987 _ACEOF
71988 if ac_fn_cxx_try_compile "$LINENO"; then :
71989 glibcxx_cv_func__log10l_use=yes
71990 else
71991 glibcxx_cv_func__log10l_use=no
71993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71994 ac_ext=c
71995 ac_cpp='$CPP $CPPFLAGS'
71996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
72005 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
72007 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72008 for ac_func in _log10l
72009 do :
72010 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
72011 if test "x$ac_cv_func__log10l" = xyes; then :
72012 cat >>confdefs.h <<_ACEOF
72013 #define HAVE__LOG10L 1
72014 _ACEOF
72017 done
72026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
72027 $as_echo_n "checking for modfl declaration... " >&6; }
72028 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72029 if ${glibcxx_cv_func_modfl_use+:} false; then :
72030 $as_echo_n "(cached) " >&6
72031 else
72034 ac_ext=cpp
72035 ac_cpp='$CXXCPP $CPPFLAGS'
72036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72041 /* end confdefs.h. */
72042 #include <math.h>
72044 main ()
72046 modfl(0, 0);
72048 return 0;
72050 _ACEOF
72051 if ac_fn_cxx_try_compile "$LINENO"; then :
72052 glibcxx_cv_func_modfl_use=yes
72053 else
72054 glibcxx_cv_func_modfl_use=no
72056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72057 ac_ext=c
72058 ac_cpp='$CPP $CPPFLAGS'
72059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
72068 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
72070 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72071 for ac_func in modfl
72072 do :
72073 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
72074 if test "x$ac_cv_func_modfl" = xyes; then :
72075 cat >>confdefs.h <<_ACEOF
72076 #define HAVE_MODFL 1
72077 _ACEOF
72080 done
72082 else
72084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
72085 $as_echo_n "checking for _modfl declaration... " >&6; }
72086 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72087 if ${glibcxx_cv_func__modfl_use+:} false; then :
72088 $as_echo_n "(cached) " >&6
72089 else
72092 ac_ext=cpp
72093 ac_cpp='$CXXCPP $CPPFLAGS'
72094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72099 /* end confdefs.h. */
72100 #include <math.h>
72102 main ()
72104 _modfl(0, 0);
72106 return 0;
72108 _ACEOF
72109 if ac_fn_cxx_try_compile "$LINENO"; then :
72110 glibcxx_cv_func__modfl_use=yes
72111 else
72112 glibcxx_cv_func__modfl_use=no
72114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72115 ac_ext=c
72116 ac_cpp='$CPP $CPPFLAGS'
72117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72126 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72128 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72129 for ac_func in _modfl
72130 do :
72131 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72132 if test "x$ac_cv_func__modfl" = xyes; then :
72133 cat >>confdefs.h <<_ACEOF
72134 #define HAVE__MODFL 1
72135 _ACEOF
72138 done
72147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72148 $as_echo_n "checking for powl declaration... " >&6; }
72149 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72150 if ${glibcxx_cv_func_powl_use+:} false; then :
72151 $as_echo_n "(cached) " >&6
72152 else
72155 ac_ext=cpp
72156 ac_cpp='$CXXCPP $CPPFLAGS'
72157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72162 /* end confdefs.h. */
72163 #include <math.h>
72165 main ()
72167 powl(0, 0);
72169 return 0;
72171 _ACEOF
72172 if ac_fn_cxx_try_compile "$LINENO"; then :
72173 glibcxx_cv_func_powl_use=yes
72174 else
72175 glibcxx_cv_func_powl_use=no
72177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72178 ac_ext=c
72179 ac_cpp='$CPP $CPPFLAGS'
72180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72189 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72191 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72192 for ac_func in powl
72193 do :
72194 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72195 if test "x$ac_cv_func_powl" = xyes; then :
72196 cat >>confdefs.h <<_ACEOF
72197 #define HAVE_POWL 1
72198 _ACEOF
72201 done
72203 else
72205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72206 $as_echo_n "checking for _powl declaration... " >&6; }
72207 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72208 if ${glibcxx_cv_func__powl_use+:} false; then :
72209 $as_echo_n "(cached) " >&6
72210 else
72213 ac_ext=cpp
72214 ac_cpp='$CXXCPP $CPPFLAGS'
72215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72220 /* end confdefs.h. */
72221 #include <math.h>
72223 main ()
72225 _powl(0, 0);
72227 return 0;
72229 _ACEOF
72230 if ac_fn_cxx_try_compile "$LINENO"; then :
72231 glibcxx_cv_func__powl_use=yes
72232 else
72233 glibcxx_cv_func__powl_use=no
72235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72236 ac_ext=c
72237 ac_cpp='$CPP $CPPFLAGS'
72238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72247 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72249 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72250 for ac_func in _powl
72251 do :
72252 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72253 if test "x$ac_cv_func__powl" = xyes; then :
72254 cat >>confdefs.h <<_ACEOF
72255 #define HAVE__POWL 1
72256 _ACEOF
72259 done
72268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72269 $as_echo_n "checking for sqrtl declaration... " >&6; }
72270 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72271 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72272 $as_echo_n "(cached) " >&6
72273 else
72276 ac_ext=cpp
72277 ac_cpp='$CXXCPP $CPPFLAGS'
72278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72283 /* end confdefs.h. */
72284 #include <math.h>
72285 #ifdef HAVE_IEEEFP_H
72286 #include <ieeefp.h>
72287 #endif
72290 main ()
72292 sqrtl(0);
72294 return 0;
72296 _ACEOF
72297 if ac_fn_cxx_try_compile "$LINENO"; then :
72298 glibcxx_cv_func_sqrtl_use=yes
72299 else
72300 glibcxx_cv_func_sqrtl_use=no
72302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72303 ac_ext=c
72304 ac_cpp='$CPP $CPPFLAGS'
72305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72314 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72316 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72317 for ac_func in sqrtl
72318 do :
72319 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72320 if test "x$ac_cv_func_sqrtl" = xyes; then :
72321 cat >>confdefs.h <<_ACEOF
72322 #define HAVE_SQRTL 1
72323 _ACEOF
72326 done
72328 else
72330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72331 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72332 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72333 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72334 $as_echo_n "(cached) " >&6
72335 else
72338 ac_ext=cpp
72339 ac_cpp='$CXXCPP $CPPFLAGS'
72340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72345 /* end confdefs.h. */
72346 #include <math.h>
72347 #ifdef HAVE_IEEEFP_H
72348 #include <ieeefp.h>
72349 #endif
72352 main ()
72354 _sqrtl(0);
72356 return 0;
72358 _ACEOF
72359 if ac_fn_cxx_try_compile "$LINENO"; then :
72360 glibcxx_cv_func__sqrtl_use=yes
72361 else
72362 glibcxx_cv_func__sqrtl_use=no
72364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72365 ac_ext=c
72366 ac_cpp='$CPP $CPPFLAGS'
72367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72376 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72378 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72379 for ac_func in _sqrtl
72380 do :
72381 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72382 if test "x$ac_cv_func__sqrtl" = xyes; then :
72383 cat >>confdefs.h <<_ACEOF
72384 #define HAVE__SQRTL 1
72385 _ACEOF
72388 done
72397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72398 $as_echo_n "checking for sincosl declaration... " >&6; }
72399 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72400 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72401 $as_echo_n "(cached) " >&6
72402 else
72405 ac_ext=cpp
72406 ac_cpp='$CXXCPP $CPPFLAGS'
72407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72412 /* end confdefs.h. */
72413 #include <math.h>
72415 main ()
72417 sincosl(0, 0, 0);
72419 return 0;
72421 _ACEOF
72422 if ac_fn_cxx_try_compile "$LINENO"; then :
72423 glibcxx_cv_func_sincosl_use=yes
72424 else
72425 glibcxx_cv_func_sincosl_use=no
72427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72428 ac_ext=c
72429 ac_cpp='$CPP $CPPFLAGS'
72430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72439 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72441 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72442 for ac_func in sincosl
72443 do :
72444 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72445 if test "x$ac_cv_func_sincosl" = xyes; then :
72446 cat >>confdefs.h <<_ACEOF
72447 #define HAVE_SINCOSL 1
72448 _ACEOF
72451 done
72453 else
72455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72456 $as_echo_n "checking for _sincosl declaration... " >&6; }
72457 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72458 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72459 $as_echo_n "(cached) " >&6
72460 else
72463 ac_ext=cpp
72464 ac_cpp='$CXXCPP $CPPFLAGS'
72465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72470 /* end confdefs.h. */
72471 #include <math.h>
72473 main ()
72475 _sincosl(0, 0, 0);
72477 return 0;
72479 _ACEOF
72480 if ac_fn_cxx_try_compile "$LINENO"; then :
72481 glibcxx_cv_func__sincosl_use=yes
72482 else
72483 glibcxx_cv_func__sincosl_use=no
72485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72486 ac_ext=c
72487 ac_cpp='$CPP $CPPFLAGS'
72488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72497 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72499 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72500 for ac_func in _sincosl
72501 do :
72502 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72503 if test "x$ac_cv_func__sincosl" = xyes; then :
72504 cat >>confdefs.h <<_ACEOF
72505 #define HAVE__SINCOSL 1
72506 _ACEOF
72509 done
72518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72519 $as_echo_n "checking for finitel declaration... " >&6; }
72520 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72521 if ${glibcxx_cv_func_finitel_use+:} false; then :
72522 $as_echo_n "(cached) " >&6
72523 else
72526 ac_ext=cpp
72527 ac_cpp='$CXXCPP $CPPFLAGS'
72528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72533 /* end confdefs.h. */
72534 #include <math.h>
72535 #ifdef HAVE_IEEEFP_H
72536 #include <ieeefp.h>
72537 #endif
72540 main ()
72542 finitel(0);
72544 return 0;
72546 _ACEOF
72547 if ac_fn_cxx_try_compile "$LINENO"; then :
72548 glibcxx_cv_func_finitel_use=yes
72549 else
72550 glibcxx_cv_func_finitel_use=no
72552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72553 ac_ext=c
72554 ac_cpp='$CPP $CPPFLAGS'
72555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72564 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72566 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72567 for ac_func in finitel
72568 do :
72569 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72570 if test "x$ac_cv_func_finitel" = xyes; then :
72571 cat >>confdefs.h <<_ACEOF
72572 #define HAVE_FINITEL 1
72573 _ACEOF
72576 done
72578 else
72580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72581 $as_echo_n "checking for _finitel declaration... " >&6; }
72582 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72583 if ${glibcxx_cv_func__finitel_use+:} false; then :
72584 $as_echo_n "(cached) " >&6
72585 else
72588 ac_ext=cpp
72589 ac_cpp='$CXXCPP $CPPFLAGS'
72590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72595 /* end confdefs.h. */
72596 #include <math.h>
72597 #ifdef HAVE_IEEEFP_H
72598 #include <ieeefp.h>
72599 #endif
72602 main ()
72604 _finitel(0);
72606 return 0;
72608 _ACEOF
72609 if ac_fn_cxx_try_compile "$LINENO"; then :
72610 glibcxx_cv_func__finitel_use=yes
72611 else
72612 glibcxx_cv_func__finitel_use=no
72614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72615 ac_ext=c
72616 ac_cpp='$CPP $CPPFLAGS'
72617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72626 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72628 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72629 for ac_func in _finitel
72630 do :
72631 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72632 if test "x$ac_cv_func__finitel" = xyes; then :
72633 cat >>confdefs.h <<_ACEOF
72634 #define HAVE__FINITEL 1
72635 _ACEOF
72638 done
72646 LIBS="$ac_save_LIBS"
72647 CXXFLAGS="$ac_save_CXXFLAGS"
72650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72651 ac_save_CXXFLAGS="$CXXFLAGS"
72652 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72656 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72657 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72658 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72659 $as_echo_n "(cached) " >&6
72660 else
72663 ac_ext=cpp
72664 ac_cpp='$CXXCPP $CPPFLAGS'
72665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72670 /* end confdefs.h. */
72671 #include <stdlib.h>
72673 main ()
72675 at_quick_exit(0);
72677 return 0;
72679 _ACEOF
72680 if ac_fn_cxx_try_compile "$LINENO"; then :
72681 glibcxx_cv_func_at_quick_exit_use=yes
72682 else
72683 glibcxx_cv_func_at_quick_exit_use=no
72685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72686 ac_ext=c
72687 ac_cpp='$CPP $CPPFLAGS'
72688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72697 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72698 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72699 for ac_func in at_quick_exit
72700 do :
72701 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72702 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72703 cat >>confdefs.h <<_ACEOF
72704 #define HAVE_AT_QUICK_EXIT 1
72705 _ACEOF
72708 done
72713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72714 $as_echo_n "checking for quick_exit declaration... " >&6; }
72715 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72716 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72717 $as_echo_n "(cached) " >&6
72718 else
72721 ac_ext=cpp
72722 ac_cpp='$CXXCPP $CPPFLAGS'
72723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72728 /* end confdefs.h. */
72729 #include <stdlib.h>
72731 main ()
72733 quick_exit(0);
72735 return 0;
72737 _ACEOF
72738 if ac_fn_cxx_try_compile "$LINENO"; then :
72739 glibcxx_cv_func_quick_exit_use=yes
72740 else
72741 glibcxx_cv_func_quick_exit_use=no
72743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72744 ac_ext=c
72745 ac_cpp='$CPP $CPPFLAGS'
72746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72755 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72756 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72757 for ac_func in quick_exit
72758 do :
72759 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72760 if test "x$ac_cv_func_quick_exit" = xyes; then :
72761 cat >>confdefs.h <<_ACEOF
72762 #define HAVE_QUICK_EXIT 1
72763 _ACEOF
72766 done
72771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72772 $as_echo_n "checking for strtold declaration... " >&6; }
72773 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72774 if ${glibcxx_cv_func_strtold_use+:} false; then :
72775 $as_echo_n "(cached) " >&6
72776 else
72779 ac_ext=cpp
72780 ac_cpp='$CXXCPP $CPPFLAGS'
72781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72786 /* end confdefs.h. */
72787 #include <stdlib.h>
72789 main ()
72791 strtold(0, 0);
72793 return 0;
72795 _ACEOF
72796 if ac_fn_cxx_try_compile "$LINENO"; then :
72797 glibcxx_cv_func_strtold_use=yes
72798 else
72799 glibcxx_cv_func_strtold_use=no
72801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72802 ac_ext=c
72803 ac_cpp='$CPP $CPPFLAGS'
72804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72813 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72814 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72815 for ac_func in strtold
72816 do :
72817 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72818 if test "x$ac_cv_func_strtold" = xyes; then :
72819 cat >>confdefs.h <<_ACEOF
72820 #define HAVE_STRTOLD 1
72821 _ACEOF
72824 done
72831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72832 $as_echo_n "checking for strtof declaration... " >&6; }
72833 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72834 if ${glibcxx_cv_func_strtof_use+:} false; then :
72835 $as_echo_n "(cached) " >&6
72836 else
72839 ac_ext=cpp
72840 ac_cpp='$CXXCPP $CPPFLAGS'
72841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72846 /* end confdefs.h. */
72847 #include <stdlib.h>
72849 main ()
72851 strtof(0, 0);
72853 return 0;
72855 _ACEOF
72856 if ac_fn_cxx_try_compile "$LINENO"; then :
72857 glibcxx_cv_func_strtof_use=yes
72858 else
72859 glibcxx_cv_func_strtof_use=no
72861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72862 ac_ext=c
72863 ac_cpp='$CPP $CPPFLAGS'
72864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72873 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72874 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72875 for ac_func in strtof
72876 do :
72877 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72878 if test "x$ac_cv_func_strtof" = xyes; then :
72879 cat >>confdefs.h <<_ACEOF
72880 #define HAVE_STRTOF 1
72881 _ACEOF
72884 done
72891 CXXFLAGS="$ac_save_CXXFLAGS"
72894 *-vxworks)
72895 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72897 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72899 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72901 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72903 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72905 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72907 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72909 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72911 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72913 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72915 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72917 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72919 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72921 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72923 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72925 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72927 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72929 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72931 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72933 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72940 $as_echo_n "checking for acosl declaration... " >&6; }
72941 if ${glibcxx_cv_func_acosl_use+:} false; then :
72942 $as_echo_n "(cached) " >&6
72943 else
72946 ac_ext=c
72947 ac_cpp='$CPP $CPPFLAGS'
72948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72953 /* end confdefs.h. */
72955 #include <math.h>
72956 #ifdef HAVE_IEEEFP_H
72957 # include <ieeefp.h>
72958 #endif
72961 main ()
72964 void (*f)(void) = (void (*)(void))acosl;
72967 return 0;
72969 _ACEOF
72970 if ac_fn_c_try_compile "$LINENO"; then :
72971 glibcxx_cv_func_acosl_use=yes
72973 else
72974 glibcxx_cv_func_acosl_use=no
72976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72979 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72980 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72981 cat >>confdefs.h <<_ACEOF
72982 #define HAVE_ACOSL 1
72983 _ACEOF
72989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72990 $as_echo_n "checking for asinl declaration... " >&6; }
72991 if ${glibcxx_cv_func_asinl_use+:} false; then :
72992 $as_echo_n "(cached) " >&6
72993 else
72996 ac_ext=c
72997 ac_cpp='$CPP $CPPFLAGS'
72998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73003 /* end confdefs.h. */
73005 #include <math.h>
73006 #ifdef HAVE_IEEEFP_H
73007 # include <ieeefp.h>
73008 #endif
73011 main ()
73014 void (*f)(void) = (void (*)(void))asinl;
73017 return 0;
73019 _ACEOF
73020 if ac_fn_c_try_compile "$LINENO"; then :
73021 glibcxx_cv_func_asinl_use=yes
73023 else
73024 glibcxx_cv_func_asinl_use=no
73026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
73029 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
73030 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
73031 cat >>confdefs.h <<_ACEOF
73032 #define HAVE_ASINL 1
73033 _ACEOF
73039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
73040 $as_echo_n "checking for atan2l declaration... " >&6; }
73041 if ${glibcxx_cv_func_atan2l_use+:} false; then :
73042 $as_echo_n "(cached) " >&6
73043 else
73046 ac_ext=c
73047 ac_cpp='$CPP $CPPFLAGS'
73048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73053 /* end confdefs.h. */
73055 #include <math.h>
73056 #ifdef HAVE_IEEEFP_H
73057 # include <ieeefp.h>
73058 #endif
73061 main ()
73064 void (*f)(void) = (void (*)(void))atan2l;
73067 return 0;
73069 _ACEOF
73070 if ac_fn_c_try_compile "$LINENO"; then :
73071 glibcxx_cv_func_atan2l_use=yes
73073 else
73074 glibcxx_cv_func_atan2l_use=no
73076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
73079 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
73080 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
73081 cat >>confdefs.h <<_ACEOF
73082 #define HAVE_ATAN2L 1
73083 _ACEOF
73089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
73090 $as_echo_n "checking for atanl declaration... " >&6; }
73091 if ${glibcxx_cv_func_atanl_use+:} false; then :
73092 $as_echo_n "(cached) " >&6
73093 else
73096 ac_ext=c
73097 ac_cpp='$CPP $CPPFLAGS'
73098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73103 /* end confdefs.h. */
73105 #include <math.h>
73106 #ifdef HAVE_IEEEFP_H
73107 # include <ieeefp.h>
73108 #endif
73111 main ()
73114 void (*f)(void) = (void (*)(void))atanl;
73117 return 0;
73119 _ACEOF
73120 if ac_fn_c_try_compile "$LINENO"; then :
73121 glibcxx_cv_func_atanl_use=yes
73123 else
73124 glibcxx_cv_func_atanl_use=no
73126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
73129 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
73130 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
73131 cat >>confdefs.h <<_ACEOF
73132 #define HAVE_ATANL 1
73133 _ACEOF
73139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
73140 $as_echo_n "checking for ceill declaration... " >&6; }
73141 if ${glibcxx_cv_func_ceill_use+:} false; then :
73142 $as_echo_n "(cached) " >&6
73143 else
73146 ac_ext=c
73147 ac_cpp='$CPP $CPPFLAGS'
73148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73153 /* end confdefs.h. */
73155 #include <math.h>
73156 #ifdef HAVE_IEEEFP_H
73157 # include <ieeefp.h>
73158 #endif
73161 main ()
73164 void (*f)(void) = (void (*)(void))ceill;
73167 return 0;
73169 _ACEOF
73170 if ac_fn_c_try_compile "$LINENO"; then :
73171 glibcxx_cv_func_ceill_use=yes
73173 else
73174 glibcxx_cv_func_ceill_use=no
73176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
73179 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
73180 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
73181 cat >>confdefs.h <<_ACEOF
73182 #define HAVE_CEILL 1
73183 _ACEOF
73189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73190 $as_echo_n "checking for cosl declaration... " >&6; }
73191 if ${glibcxx_cv_func_cosl_use+:} false; then :
73192 $as_echo_n "(cached) " >&6
73193 else
73196 ac_ext=c
73197 ac_cpp='$CPP $CPPFLAGS'
73198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73203 /* end confdefs.h. */
73205 #include <math.h>
73206 #ifdef HAVE_IEEEFP_H
73207 # include <ieeefp.h>
73208 #endif
73211 main ()
73214 void (*f)(void) = (void (*)(void))cosl;
73217 return 0;
73219 _ACEOF
73220 if ac_fn_c_try_compile "$LINENO"; then :
73221 glibcxx_cv_func_cosl_use=yes
73223 else
73224 glibcxx_cv_func_cosl_use=no
73226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73229 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73230 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73231 cat >>confdefs.h <<_ACEOF
73232 #define HAVE_COSL 1
73233 _ACEOF
73239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73240 $as_echo_n "checking for coshl declaration... " >&6; }
73241 if ${glibcxx_cv_func_coshl_use+:} false; then :
73242 $as_echo_n "(cached) " >&6
73243 else
73246 ac_ext=c
73247 ac_cpp='$CPP $CPPFLAGS'
73248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73253 /* end confdefs.h. */
73255 #include <math.h>
73256 #ifdef HAVE_IEEEFP_H
73257 # include <ieeefp.h>
73258 #endif
73261 main ()
73264 void (*f)(void) = (void (*)(void))coshl;
73267 return 0;
73269 _ACEOF
73270 if ac_fn_c_try_compile "$LINENO"; then :
73271 glibcxx_cv_func_coshl_use=yes
73273 else
73274 glibcxx_cv_func_coshl_use=no
73276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73279 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73280 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73281 cat >>confdefs.h <<_ACEOF
73282 #define HAVE_COSHL 1
73283 _ACEOF
73289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73290 $as_echo_n "checking for expl declaration... " >&6; }
73291 if ${glibcxx_cv_func_expl_use+:} false; then :
73292 $as_echo_n "(cached) " >&6
73293 else
73296 ac_ext=c
73297 ac_cpp='$CPP $CPPFLAGS'
73298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73303 /* end confdefs.h. */
73305 #include <math.h>
73306 #ifdef HAVE_IEEEFP_H
73307 # include <ieeefp.h>
73308 #endif
73311 main ()
73314 void (*f)(void) = (void (*)(void))expl;
73317 return 0;
73319 _ACEOF
73320 if ac_fn_c_try_compile "$LINENO"; then :
73321 glibcxx_cv_func_expl_use=yes
73323 else
73324 glibcxx_cv_func_expl_use=no
73326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73329 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73330 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73331 cat >>confdefs.h <<_ACEOF
73332 #define HAVE_EXPL 1
73333 _ACEOF
73339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73340 $as_echo_n "checking for fabsl declaration... " >&6; }
73341 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73342 $as_echo_n "(cached) " >&6
73343 else
73346 ac_ext=c
73347 ac_cpp='$CPP $CPPFLAGS'
73348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73353 /* end confdefs.h. */
73355 #include <math.h>
73356 #ifdef HAVE_IEEEFP_H
73357 # include <ieeefp.h>
73358 #endif
73361 main ()
73364 void (*f)(void) = (void (*)(void))fabsl;
73367 return 0;
73369 _ACEOF
73370 if ac_fn_c_try_compile "$LINENO"; then :
73371 glibcxx_cv_func_fabsl_use=yes
73373 else
73374 glibcxx_cv_func_fabsl_use=no
73376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73379 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73380 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73381 cat >>confdefs.h <<_ACEOF
73382 #define HAVE_FABSL 1
73383 _ACEOF
73389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73390 $as_echo_n "checking for floorl declaration... " >&6; }
73391 if ${glibcxx_cv_func_floorl_use+:} false; then :
73392 $as_echo_n "(cached) " >&6
73393 else
73396 ac_ext=c
73397 ac_cpp='$CPP $CPPFLAGS'
73398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73403 /* end confdefs.h. */
73405 #include <math.h>
73406 #ifdef HAVE_IEEEFP_H
73407 # include <ieeefp.h>
73408 #endif
73411 main ()
73414 void (*f)(void) = (void (*)(void))floorl;
73417 return 0;
73419 _ACEOF
73420 if ac_fn_c_try_compile "$LINENO"; then :
73421 glibcxx_cv_func_floorl_use=yes
73423 else
73424 glibcxx_cv_func_floorl_use=no
73426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73429 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73430 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73431 cat >>confdefs.h <<_ACEOF
73432 #define HAVE_FLOORL 1
73433 _ACEOF
73439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73440 $as_echo_n "checking for fmodl declaration... " >&6; }
73441 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73442 $as_echo_n "(cached) " >&6
73443 else
73446 ac_ext=c
73447 ac_cpp='$CPP $CPPFLAGS'
73448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73453 /* end confdefs.h. */
73455 #include <math.h>
73456 #ifdef HAVE_IEEEFP_H
73457 # include <ieeefp.h>
73458 #endif
73461 main ()
73464 void (*f)(void) = (void (*)(void))fmodl;
73467 return 0;
73469 _ACEOF
73470 if ac_fn_c_try_compile "$LINENO"; then :
73471 glibcxx_cv_func_fmodl_use=yes
73473 else
73474 glibcxx_cv_func_fmodl_use=no
73476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73479 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73480 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73481 cat >>confdefs.h <<_ACEOF
73482 #define HAVE_FMODL 1
73483 _ACEOF
73489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73490 $as_echo_n "checking for frexpl declaration... " >&6; }
73491 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73492 $as_echo_n "(cached) " >&6
73493 else
73496 ac_ext=c
73497 ac_cpp='$CPP $CPPFLAGS'
73498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73503 /* end confdefs.h. */
73505 #include <math.h>
73506 #ifdef HAVE_IEEEFP_H
73507 # include <ieeefp.h>
73508 #endif
73511 main ()
73514 void (*f)(void) = (void (*)(void))frexpl;
73517 return 0;
73519 _ACEOF
73520 if ac_fn_c_try_compile "$LINENO"; then :
73521 glibcxx_cv_func_frexpl_use=yes
73523 else
73524 glibcxx_cv_func_frexpl_use=no
73526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73529 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73530 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73531 cat >>confdefs.h <<_ACEOF
73532 #define HAVE_FREXPL 1
73533 _ACEOF
73539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73540 $as_echo_n "checking for ldexpl declaration... " >&6; }
73541 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73542 $as_echo_n "(cached) " >&6
73543 else
73546 ac_ext=c
73547 ac_cpp='$CPP $CPPFLAGS'
73548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73553 /* end confdefs.h. */
73555 #include <math.h>
73556 #ifdef HAVE_IEEEFP_H
73557 # include <ieeefp.h>
73558 #endif
73561 main ()
73564 void (*f)(void) = (void (*)(void))ldexpl;
73567 return 0;
73569 _ACEOF
73570 if ac_fn_c_try_compile "$LINENO"; then :
73571 glibcxx_cv_func_ldexpl_use=yes
73573 else
73574 glibcxx_cv_func_ldexpl_use=no
73576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73579 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73580 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73581 cat >>confdefs.h <<_ACEOF
73582 #define HAVE_LDEXPL 1
73583 _ACEOF
73589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73590 $as_echo_n "checking for log10l declaration... " >&6; }
73591 if ${glibcxx_cv_func_log10l_use+:} false; then :
73592 $as_echo_n "(cached) " >&6
73593 else
73596 ac_ext=c
73597 ac_cpp='$CPP $CPPFLAGS'
73598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73603 /* end confdefs.h. */
73605 #include <math.h>
73606 #ifdef HAVE_IEEEFP_H
73607 # include <ieeefp.h>
73608 #endif
73611 main ()
73614 void (*f)(void) = (void (*)(void))log10l;
73617 return 0;
73619 _ACEOF
73620 if ac_fn_c_try_compile "$LINENO"; then :
73621 glibcxx_cv_func_log10l_use=yes
73623 else
73624 glibcxx_cv_func_log10l_use=no
73626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73629 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73630 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73631 cat >>confdefs.h <<_ACEOF
73632 #define HAVE_LOG10L 1
73633 _ACEOF
73639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73640 $as_echo_n "checking for logl declaration... " >&6; }
73641 if ${glibcxx_cv_func_logl_use+:} false; then :
73642 $as_echo_n "(cached) " >&6
73643 else
73646 ac_ext=c
73647 ac_cpp='$CPP $CPPFLAGS'
73648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73653 /* end confdefs.h. */
73655 #include <math.h>
73656 #ifdef HAVE_IEEEFP_H
73657 # include <ieeefp.h>
73658 #endif
73661 main ()
73664 void (*f)(void) = (void (*)(void))logl;
73667 return 0;
73669 _ACEOF
73670 if ac_fn_c_try_compile "$LINENO"; then :
73671 glibcxx_cv_func_logl_use=yes
73673 else
73674 glibcxx_cv_func_logl_use=no
73676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73679 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73680 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73681 cat >>confdefs.h <<_ACEOF
73682 #define HAVE_LOGL 1
73683 _ACEOF
73689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73690 $as_echo_n "checking for modfl declaration... " >&6; }
73691 if ${glibcxx_cv_func_modfl_use+:} false; then :
73692 $as_echo_n "(cached) " >&6
73693 else
73696 ac_ext=c
73697 ac_cpp='$CPP $CPPFLAGS'
73698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73703 /* end confdefs.h. */
73705 #include <math.h>
73706 #ifdef HAVE_IEEEFP_H
73707 # include <ieeefp.h>
73708 #endif
73711 main ()
73714 void (*f)(void) = (void (*)(void))modfl;
73717 return 0;
73719 _ACEOF
73720 if ac_fn_c_try_compile "$LINENO"; then :
73721 glibcxx_cv_func_modfl_use=yes
73723 else
73724 glibcxx_cv_func_modfl_use=no
73726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73729 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73730 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73731 cat >>confdefs.h <<_ACEOF
73732 #define HAVE_MODFL 1
73733 _ACEOF
73739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73740 $as_echo_n "checking for powl declaration... " >&6; }
73741 if ${glibcxx_cv_func_powl_use+:} false; then :
73742 $as_echo_n "(cached) " >&6
73743 else
73746 ac_ext=c
73747 ac_cpp='$CPP $CPPFLAGS'
73748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73753 /* end confdefs.h. */
73755 #include <math.h>
73756 #ifdef HAVE_IEEEFP_H
73757 # include <ieeefp.h>
73758 #endif
73761 main ()
73764 void (*f)(void) = (void (*)(void))powl;
73767 return 0;
73769 _ACEOF
73770 if ac_fn_c_try_compile "$LINENO"; then :
73771 glibcxx_cv_func_powl_use=yes
73773 else
73774 glibcxx_cv_func_powl_use=no
73776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73779 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73780 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73781 cat >>confdefs.h <<_ACEOF
73782 #define HAVE_POWL 1
73783 _ACEOF
73789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73790 $as_echo_n "checking for sinl declaration... " >&6; }
73791 if ${glibcxx_cv_func_sinl_use+:} false; then :
73792 $as_echo_n "(cached) " >&6
73793 else
73796 ac_ext=c
73797 ac_cpp='$CPP $CPPFLAGS'
73798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73803 /* end confdefs.h. */
73805 #include <math.h>
73806 #ifdef HAVE_IEEEFP_H
73807 # include <ieeefp.h>
73808 #endif
73811 main ()
73814 void (*f)(void) = (void (*)(void))sinl;
73817 return 0;
73819 _ACEOF
73820 if ac_fn_c_try_compile "$LINENO"; then :
73821 glibcxx_cv_func_sinl_use=yes
73823 else
73824 glibcxx_cv_func_sinl_use=no
73826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73829 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73830 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73831 cat >>confdefs.h <<_ACEOF
73832 #define HAVE_SINL 1
73833 _ACEOF
73839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73840 $as_echo_n "checking for sinhl declaration... " >&6; }
73841 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73842 $as_echo_n "(cached) " >&6
73843 else
73846 ac_ext=c
73847 ac_cpp='$CPP $CPPFLAGS'
73848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73853 /* end confdefs.h. */
73855 #include <math.h>
73856 #ifdef HAVE_IEEEFP_H
73857 # include <ieeefp.h>
73858 #endif
73861 main ()
73864 void (*f)(void) = (void (*)(void))sinhl;
73867 return 0;
73869 _ACEOF
73870 if ac_fn_c_try_compile "$LINENO"; then :
73871 glibcxx_cv_func_sinhl_use=yes
73873 else
73874 glibcxx_cv_func_sinhl_use=no
73876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73879 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73880 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73881 cat >>confdefs.h <<_ACEOF
73882 #define HAVE_SINHL 1
73883 _ACEOF
73889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73890 $as_echo_n "checking for sqrtl declaration... " >&6; }
73891 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73892 $as_echo_n "(cached) " >&6
73893 else
73896 ac_ext=c
73897 ac_cpp='$CPP $CPPFLAGS'
73898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73903 /* end confdefs.h. */
73905 #include <math.h>
73906 #ifdef HAVE_IEEEFP_H
73907 # include <ieeefp.h>
73908 #endif
73911 main ()
73914 void (*f)(void) = (void (*)(void))sqrtl;
73917 return 0;
73919 _ACEOF
73920 if ac_fn_c_try_compile "$LINENO"; then :
73921 glibcxx_cv_func_sqrtl_use=yes
73923 else
73924 glibcxx_cv_func_sqrtl_use=no
73926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73929 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73930 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73931 cat >>confdefs.h <<_ACEOF
73932 #define HAVE_SQRTL 1
73933 _ACEOF
73939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73940 $as_echo_n "checking for tanl declaration... " >&6; }
73941 if ${glibcxx_cv_func_tanl_use+:} false; then :
73942 $as_echo_n "(cached) " >&6
73943 else
73946 ac_ext=c
73947 ac_cpp='$CPP $CPPFLAGS'
73948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73953 /* end confdefs.h. */
73955 #include <math.h>
73956 #ifdef HAVE_IEEEFP_H
73957 # include <ieeefp.h>
73958 #endif
73961 main ()
73964 void (*f)(void) = (void (*)(void))tanl;
73967 return 0;
73969 _ACEOF
73970 if ac_fn_c_try_compile "$LINENO"; then :
73971 glibcxx_cv_func_tanl_use=yes
73973 else
73974 glibcxx_cv_func_tanl_use=no
73976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73979 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73980 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73981 cat >>confdefs.h <<_ACEOF
73982 #define HAVE_TANL 1
73983 _ACEOF
73989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73990 $as_echo_n "checking for tanhl declaration... " >&6; }
73991 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73992 $as_echo_n "(cached) " >&6
73993 else
73996 ac_ext=c
73997 ac_cpp='$CPP $CPPFLAGS'
73998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74003 /* end confdefs.h. */
74005 #include <math.h>
74006 #ifdef HAVE_IEEEFP_H
74007 # include <ieeefp.h>
74008 #endif
74011 main ()
74014 void (*f)(void) = (void (*)(void))tanhl;
74017 return 0;
74019 _ACEOF
74020 if ac_fn_c_try_compile "$LINENO"; then :
74021 glibcxx_cv_func_tanhl_use=yes
74023 else
74024 glibcxx_cv_func_tanhl_use=no
74026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
74029 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
74030 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
74031 cat >>confdefs.h <<_ACEOF
74032 #define HAVE_TANHL 1
74033 _ACEOF
74041 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74043 esac
74047 # At some point, we should differentiate between architectures
74048 # like x86, which have long double versions, and alpha/powerpc/etc.,
74049 # which don't. For the time being, punt.
74050 if test x"long_double_math_on_this_cpu" = x"yes"; then
74051 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74053 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74055 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74057 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74059 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74061 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74063 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74065 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74067 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74069 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74071 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74073 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74075 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74077 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74079 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74081 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74083 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74085 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74087 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74089 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74091 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74093 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74095 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74100 # Check for _Unwind_GetIPInfo.
74103 # Check whether --with-system-libunwind was given.
74104 if test "${with_system_libunwind+set}" = set; then :
74105 withval=$with_system_libunwind;
74108 # If system-libunwind was not specifically set, pick a default setting.
74109 if test x$with_system_libunwind = x; then
74110 case ${target} in
74111 ia64-*-hpux*) with_system_libunwind=yes ;;
74112 *) with_system_libunwind=no ;;
74113 esac
74115 # Based on system-libunwind and target, do we have ipinfo?
74116 if test x$with_system_libunwind = xyes; then
74117 case ${target} in
74118 ia64-*-*) have_unwind_getipinfo=no ;;
74119 *) have_unwind_getipinfo=yes ;;
74120 esac
74121 else
74122 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74124 case ${target} in
74125 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74126 *) have_unwind_getipinfo=yes ;;
74127 esac
74131 if test x$have_unwind_getipinfo = xyes; then
74133 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74138 # Check whether --enable-linux-futex was given.
74139 if test "${enable_linux_futex+set}" = set; then :
74140 enableval=$enable_linux_futex;
74141 case "$enableval" in
74142 yes|no|default) ;;
74143 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74144 esac
74146 else
74147 enable_linux_futex=default
74151 case "$target" in
74152 *-linux* | *-uclinux*)
74153 case "$enable_linux_futex" in
74154 default)
74155 # If headers don't have gettid/futex syscalls definition, then
74156 # default to no, otherwise there will be compile time failures.
74157 # Otherwise, default to yes. If we don't detect we are
74158 # compiled/linked against NPTL and not cross-compiling, check
74159 # if programs are run by default against NPTL and if not, issue
74160 # a warning.
74161 enable_linux_futex=no
74162 if test x$gcc_no_link = xyes; then
74163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74166 /* end confdefs.h. */
74167 #include <sys/syscall.h>
74168 #include <unistd.h>
74169 int lk;
74171 main ()
74173 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74175 return 0;
74177 _ACEOF
74178 if ac_fn_c_try_link "$LINENO"; then :
74179 save_LIBS="$LIBS"
74180 LIBS="-lpthread $LIBS"
74181 if test x$gcc_no_link = xyes; then
74182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74185 /* end confdefs.h. */
74186 #ifndef _GNU_SOURCE
74187 #define _GNU_SOURCE 1
74188 #endif
74189 #include <pthread.h>
74190 pthread_t th; void *status;
74192 main ()
74194 pthread_tryjoin_np (th, &status);
74196 return 0;
74198 _ACEOF
74199 if ac_fn_c_try_link "$LINENO"; then :
74200 enable_linux_futex=yes
74201 else
74202 if test x$cross_compiling = xno; then
74203 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74204 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74206 If so, please configure with --disable-linux-futex" >&5
74207 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74208 If so, please configure with --disable-linux-futex" >&2;}
74211 enable_linux_futex=yes
74213 rm -f core conftest.err conftest.$ac_objext \
74214 conftest$ac_exeext conftest.$ac_ext
74215 LIBS="$save_LIBS"
74217 rm -f core conftest.err conftest.$ac_objext \
74218 conftest$ac_exeext conftest.$ac_ext
74220 yes)
74221 if test x$gcc_no_link = xyes; then
74222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74225 /* end confdefs.h. */
74226 #include <sys/syscall.h>
74227 #include <unistd.h>
74228 int lk;
74230 main ()
74232 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74234 return 0;
74236 _ACEOF
74237 if ac_fn_c_try_link "$LINENO"; then :
74239 else
74240 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74242 rm -f core conftest.err conftest.$ac_objext \
74243 conftest$ac_exeext conftest.$ac_ext
74245 esac
74248 enable_linux_futex=no
74250 esac
74251 if test x$enable_linux_futex = xyes; then
74253 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74260 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74262 acx_cv_header_stdint=stddef.h
74263 acx_cv_header_stdint_kind="(already complete)"
74264 for i in stdint.h $inttype_headers; do
74265 unset ac_cv_type_uintptr_t
74266 unset ac_cv_type_uintmax_t
74267 unset ac_cv_type_int_least32_t
74268 unset ac_cv_type_int_fast32_t
74269 unset ac_cv_type_uint64_t
74270 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74271 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74272 #include <$i>
74274 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74275 acx_cv_header_stdint=$i
74276 else
74277 continue
74280 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74281 #include <$i>
74283 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74285 else
74286 acx_cv_header_stdint_kind="(mostly complete)"
74289 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74290 #include <$i>
74292 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74294 else
74295 acx_cv_header_stdint_kind="(mostly complete)"
74298 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74299 #include <$i>
74301 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74303 else
74304 acx_cv_header_stdint_kind="(mostly complete)"
74307 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74308 #include <$i>
74310 if test "x$ac_cv_type_uint64_t" = xyes; then :
74312 else
74313 acx_cv_header_stdint_kind="(lacks uint64_t)"
74316 break
74317 done
74318 if test "$acx_cv_header_stdint" = stddef.h; then
74319 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74320 for i in stdint.h $inttype_headers; do
74321 unset ac_cv_type_uintptr_t
74322 unset ac_cv_type_uint32_t
74323 unset ac_cv_type_uint64_t
74324 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74325 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74326 #include <$i>
74328 if test "x$ac_cv_type_uint32_t" = xyes; then :
74329 acx_cv_header_stdint=$i
74330 else
74331 continue
74334 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74335 #include <$i>
74337 if test "x$ac_cv_type_uint64_t" = xyes; then :
74341 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74342 #include <$i>
74344 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74348 break
74349 done
74351 if test "$acx_cv_header_stdint" = stddef.h; then
74352 acx_cv_header_stdint_kind="(u_intXX_t style)"
74353 for i in sys/types.h $inttype_headers; do
74354 unset ac_cv_type_u_int32_t
74355 unset ac_cv_type_u_int64_t
74356 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74357 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74358 #include <$i>
74360 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74361 acx_cv_header_stdint=$i
74362 else
74363 continue
74366 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74367 #include <$i>
74369 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74373 break
74374 done
74376 if test "$acx_cv_header_stdint" = stddef.h; then
74377 acx_cv_header_stdint_kind="(using manual detection)"
74380 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74381 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74382 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74383 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74384 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74386 # ----------------- Summarize what we found so far
74388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74389 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74391 case `$as_basename -- include/gstdint.h ||
74392 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74393 Xinclude/gstdint.h : 'X\(//\)$' \| \
74394 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74395 $as_echo X/include/gstdint.h |
74396 sed '/^.*\/\([^/][^/]*\)\/*$/{
74397 s//\1/
74400 /^X\/\(\/\/\)$/{
74401 s//\1/
74404 /^X\/\(\/\).*/{
74405 s//\1/
74408 s/.*/./; q'` in
74409 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74410 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74411 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74412 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74413 *) ;;
74414 esac
74416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74417 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74419 # ----------------- done included file, check C basic types --------
74421 # Lacking an uintptr_t? Test size of void *
74422 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74423 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74424 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74425 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74426 # This bug is HP SR number 8606223364.
74427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74428 $as_echo_n "checking size of void *... " >&6; }
74429 if ${ac_cv_sizeof_void_p+:} false; then :
74430 $as_echo_n "(cached) " >&6
74431 else
74432 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74434 else
74435 if test "$ac_cv_type_void_p" = yes; then
74436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74438 as_fn_error 77 "cannot compute sizeof (void *)
74439 See \`config.log' for more details" "$LINENO" 5; }
74440 else
74441 ac_cv_sizeof_void_p=0
74446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74447 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74451 cat >>confdefs.h <<_ACEOF
74452 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74453 _ACEOF
74456 esac
74458 # Lacking an uint64_t? Test size of long
74459 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74460 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74463 # This bug is HP SR number 8606223364.
74464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74465 $as_echo_n "checking size of long... " >&6; }
74466 if ${ac_cv_sizeof_long+:} false; then :
74467 $as_echo_n "(cached) " >&6
74468 else
74469 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74471 else
74472 if test "$ac_cv_type_long" = yes; then
74473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74475 as_fn_error 77 "cannot compute sizeof (long)
74476 See \`config.log' for more details" "$LINENO" 5; }
74477 else
74478 ac_cv_sizeof_long=0
74483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74484 $as_echo "$ac_cv_sizeof_long" >&6; }
74488 cat >>confdefs.h <<_ACEOF
74489 #define SIZEOF_LONG $ac_cv_sizeof_long
74490 _ACEOF
74493 esac
74495 if test $acx_cv_header_stdint = stddef.h; then
74496 # Lacking a good header? Test size of everything and deduce all types.
74497 # The cast to long int works around a bug in the HP C Compiler
74498 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74499 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74500 # This bug is HP SR number 8606223364.
74501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74502 $as_echo_n "checking size of int... " >&6; }
74503 if ${ac_cv_sizeof_int+:} false; then :
74504 $as_echo_n "(cached) " >&6
74505 else
74506 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74508 else
74509 if test "$ac_cv_type_int" = yes; then
74510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74512 as_fn_error 77 "cannot compute sizeof (int)
74513 See \`config.log' for more details" "$LINENO" 5; }
74514 else
74515 ac_cv_sizeof_int=0
74520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74521 $as_echo "$ac_cv_sizeof_int" >&6; }
74525 cat >>confdefs.h <<_ACEOF
74526 #define SIZEOF_INT $ac_cv_sizeof_int
74527 _ACEOF
74530 # The cast to long int works around a bug in the HP C Compiler
74531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74533 # This bug is HP SR number 8606223364.
74534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74535 $as_echo_n "checking size of short... " >&6; }
74536 if ${ac_cv_sizeof_short+:} false; then :
74537 $as_echo_n "(cached) " >&6
74538 else
74539 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74541 else
74542 if test "$ac_cv_type_short" = yes; then
74543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74545 as_fn_error 77 "cannot compute sizeof (short)
74546 See \`config.log' for more details" "$LINENO" 5; }
74547 else
74548 ac_cv_sizeof_short=0
74553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74554 $as_echo "$ac_cv_sizeof_short" >&6; }
74558 cat >>confdefs.h <<_ACEOF
74559 #define SIZEOF_SHORT $ac_cv_sizeof_short
74560 _ACEOF
74563 # The cast to long int works around a bug in the HP C Compiler
74564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74566 # This bug is HP SR number 8606223364.
74567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74568 $as_echo_n "checking size of char... " >&6; }
74569 if ${ac_cv_sizeof_char+:} false; then :
74570 $as_echo_n "(cached) " >&6
74571 else
74572 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74574 else
74575 if test "$ac_cv_type_char" = yes; then
74576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74578 as_fn_error 77 "cannot compute sizeof (char)
74579 See \`config.log' for more details" "$LINENO" 5; }
74580 else
74581 ac_cv_sizeof_char=0
74586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74587 $as_echo "$ac_cv_sizeof_char" >&6; }
74591 cat >>confdefs.h <<_ACEOF
74592 #define SIZEOF_CHAR $ac_cv_sizeof_char
74593 _ACEOF
74597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74598 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74599 case "$ac_cv_sizeof_char" in
74600 1) acx_cv_type_int8_t=char ;;
74601 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74602 esac
74603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74604 $as_echo "$acx_cv_type_int8_t" >&6; }
74606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74607 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74608 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74609 2:*) acx_cv_type_int16_t=int ;;
74610 *:2) acx_cv_type_int16_t=short ;;
74611 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74612 esac
74613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74614 $as_echo "$acx_cv_type_int16_t" >&6; }
74616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74617 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74618 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74619 4:*) acx_cv_type_int32_t=int ;;
74620 *:4) acx_cv_type_int32_t=long ;;
74621 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74622 esac
74623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74624 $as_echo "$acx_cv_type_int32_t" >&6; }
74627 # These tests are here to make the output prettier
74629 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74630 case "$ac_cv_sizeof_long" in
74631 8) acx_cv_type_int64_t=long ;;
74632 esac
74633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74634 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74636 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74639 # Now we can use the above types
74641 if test "$ac_cv_type_uintptr_t" != yes; then
74642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74643 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74644 case $ac_cv_sizeof_void_p in
74645 2) acx_cv_type_intptr_t=int16_t ;;
74646 4) acx_cv_type_intptr_t=int32_t ;;
74647 8) acx_cv_type_intptr_t=int64_t ;;
74648 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74649 esac
74650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74651 $as_echo "$acx_cv_type_intptr_t" >&6; }
74654 # ----------------- done all checks, emit header -------------
74655 ac_config_commands="$ac_config_commands include/gstdint.h"
74661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74662 $as_echo_n "checking for GNU c++filt... " >&6; }
74663 if ${ac_cv_path_CXXFILT+:} false; then :
74664 $as_echo_n "(cached) " >&6
74665 else
74666 if test -z "$CXXFILT"; then
74667 ac_path_CXXFILT_found=false
74668 # Loop through the user's path and test for each of PROGNAME-LIST
74669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74670 for as_dir in $PATH
74672 IFS=$as_save_IFS
74673 test -z "$as_dir" && as_dir=.
74674 for ac_prog in c++filt gc++filt; do
74675 for ac_exec_ext in '' $ac_executable_extensions; do
74676 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74677 as_fn_executable_p "$ac_path_CXXFILT" || continue
74678 # Check for GNU $ac_path_CXXFILT
74679 case `"$ac_path_CXXFILT" --version 2>&1` in
74680 *GNU*)
74681 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74682 esac
74684 $ac_path_CXXFILT_found && break 3
74685 done
74686 done
74687 done
74688 IFS=$as_save_IFS
74689 if test -z "$ac_cv_path_CXXFILT"; then
74692 else
74693 ac_cv_path_CXXFILT=$CXXFILT
74697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74698 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74699 CXXFILT=$ac_cv_path_CXXFILT
74703 # Check whether --enable-symvers was given.
74704 if test "${enable_symvers+set}" = set; then :
74705 enableval=$enable_symvers;
74706 case "$enableval" in
74707 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74708 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74709 esac
74711 else
74712 enable_symvers=yes
74717 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74718 # don't know enough about $LD to do tricks...
74720 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74721 # with extern "C++" in version scripts.
74724 # Turn a 'yes' into a suitable default.
74725 if test x$enable_symvers = xyes ; then
74726 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74727 enable_symvers=no
74728 else
74729 if test $with_gnu_ld = yes ; then
74730 case ${target_os} in
74731 hpux*)
74732 enable_symvers=no ;;
74734 enable_symvers=gnu ;;
74735 esac
74736 else
74737 case ${target_os} in
74738 darwin*)
74739 enable_symvers=darwin ;;
74740 # Sun symbol versioning exists since Solaris 2.5.
74741 solaris2.[5-9]* | solaris2.1[0-9]*)
74742 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74743 # version scripts, so disable symbol versioning if none can be
74744 # found.
74745 if test -z "$ac_cv_path_CXXFILT"; then
74746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74747 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74749 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74751 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74752 enable_symvers=no
74753 else
74754 enable_symvers=sun
74758 enable_symvers=no ;;
74759 esac
74764 # Check to see if 'darwin' or 'darwin-export' can win.
74765 if test x$enable_symvers = xdarwin-export ; then
74766 enable_symvers=darwin
74769 # Check if 'sun' was requested on non-Solaris 2 platforms.
74770 if test x$enable_symvers = xsun ; then
74771 case ${target_os} in
74772 solaris2*)
74773 # All fine.
74776 # Unlikely to work.
74777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74778 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74780 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74782 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74783 enable_symvers=no
74785 esac
74788 # Check to see if 'gnu' can win.
74789 if test $enable_symvers = gnu ||
74790 test $enable_symvers = gnu-versioned-namespace ||
74791 test $enable_symvers = sun; then
74792 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74794 $as_echo_n "checking for shared libgcc... " >&6; }
74795 ac_save_CFLAGS="$CFLAGS"
74796 CFLAGS=' -lgcc_s'
74797 if test x$gcc_no_link = xyes; then
74798 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74801 /* end confdefs.h. */
74804 main ()
74806 return 0;
74808 return 0;
74810 _ACEOF
74811 if ac_fn_c_try_link "$LINENO"; then :
74812 glibcxx_shared_libgcc=yes
74813 else
74814 glibcxx_shared_libgcc=no
74816 rm -f core conftest.err conftest.$ac_objext \
74817 conftest$ac_exeext conftest.$ac_ext
74818 CFLAGS="$ac_save_CFLAGS"
74819 if test $glibcxx_shared_libgcc = no; then
74820 cat > conftest.c <<EOF
74821 int main (void) { return 0; }
74823 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74824 -shared -shared-libgcc -o conftest.so \
74825 conftest.c -v 2>&1 >/dev/null \
74826 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74827 rm -f conftest.c conftest.so
74828 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74829 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74830 if test x$gcc_no_link = xyes; then
74831 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74834 /* end confdefs.h. */
74837 main ()
74839 return 0;
74841 return 0;
74843 _ACEOF
74844 if ac_fn_c_try_link "$LINENO"; then :
74845 glibcxx_shared_libgcc=yes
74847 rm -f core conftest.err conftest.$ac_objext \
74848 conftest$ac_exeext conftest.$ac_ext
74849 CFLAGS="$ac_save_CFLAGS"
74852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74853 $as_echo "$glibcxx_shared_libgcc" >&6; }
74855 # For GNU ld, we need at least this version. The format is described in
74856 # GLIBCXX_CHECK_LINKER_FEATURES above.
74857 glibcxx_min_gnu_ld_version=21400
74859 # If no shared libgcc, can't win.
74860 if test $glibcxx_shared_libgcc != yes; then
74861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74862 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74864 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74866 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74867 enable_symvers=no
74868 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74869 : All interesting versions of Sun ld support sun style symbol versioning.
74870 elif test $with_gnu_ld != yes ; then
74871 # just fail for now
74872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74873 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74875 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74877 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74878 enable_symvers=no
74879 elif test $glibcxx_ld_is_gold = yes ; then
74880 : All versions of gold support symbol versioning.
74881 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74882 # The right tools, the right setup, but too old. Fallbacks?
74883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74884 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74886 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74888 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74890 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74892 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74893 enable_symvers=no
74897 # For libtool versioning info, format is CURRENT:REVISION:AGE
74898 libtool_VERSION=6:28:0
74900 # Everything parsed; figure out what files and settings to use.
74901 case $enable_symvers in
74903 SYMVER_FILE=config/abi/pre/none.ver
74905 gnu)
74906 SYMVER_FILE=config/abi/pre/gnu.ver
74908 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74911 gnu-versioned-namespace)
74912 libtool_VERSION=8:0:0
74913 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74915 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74918 darwin)
74919 SYMVER_FILE=config/abi/pre/gnu.ver
74921 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74924 sun)
74925 SYMVER_FILE=config/abi/pre/gnu.ver
74927 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74930 esac
74932 if test x$enable_symvers != xno ; then
74934 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74939 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
74940 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74941 $as_echo_n "(cached) " >&6
74942 else
74944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74945 /* end confdefs.h. */
74946 void foo (void); __asm (".symver foo, bar@SYMVER");
74948 main ()
74952 return 0;
74954 _ACEOF
74955 if ac_fn_c_try_compile "$LINENO"; then :
74956 glibcxx_cv_have_as_symver_directive=yes
74957 else
74958 glibcxx_cv_have_as_symver_directive=no
74960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74963 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74964 if test $glibcxx_cv_have_as_symver_directive = yes; then
74966 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74977 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74978 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74980 if test $enable_symvers != no ; then
74981 case ${target_os} in
74982 # The Solaris 2 runtime linker doesn't support the GNU extension of
74983 # binding the same symbol to different versions
74984 solaris2*)
74986 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74989 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74992 esac
74995 # Now, set up compatibility support, if any.
74996 # In addition, need this to deal with std::size_t mangling in
74997 # src/compatibility.cc. In a perfect world, could use
74998 # typeid(std::size_t).name()[0] to do direct substitution.
74999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75000 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75001 ac_save_CFLAGS="$CFLAGS"
75002 CFLAGS="-Werror"
75003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75004 /* end confdefs.h. */
75007 main ()
75009 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75011 return 0;
75013 _ACEOF
75014 if ac_fn_c_try_compile "$LINENO"; then :
75015 glibcxx_size_t_is_i=yes
75016 else
75017 glibcxx_size_t_is_i=no
75019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75020 CFLAGS=$ac_save_CFLAGS
75021 if test "$glibcxx_size_t_is_i" = yes; then
75023 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75027 $as_echo "$glibcxx_size_t_is_i" >&6; }
75029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75030 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75031 ac_save_CFLAGS="$CFLAGS"
75032 CFLAGS="-Werror"
75033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75034 /* end confdefs.h. */
75037 main ()
75039 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75041 return 0;
75043 _ACEOF
75044 if ac_fn_c_try_compile "$LINENO"; then :
75045 glibcxx_ptrdiff_t_is_i=yes
75046 else
75047 glibcxx_ptrdiff_t_is_i=no
75049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75050 CFLAGS=$ac_save_CFLAGS
75051 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75053 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75057 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75062 # Check whether --enable-libstdcxx-visibility was given.
75063 if test "${enable_libstdcxx_visibility+set}" = set; then :
75064 enableval=$enable_libstdcxx_visibility;
75065 case "$enableval" in
75066 yes|no) ;;
75067 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75068 esac
75070 else
75071 enable_libstdcxx_visibility=yes
75076 if test x$enable_libstdcxx_visibility = xyes ; then
75077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75078 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75079 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75080 $as_echo_n "(cached) " >&6
75081 else
75083 save_CFLAGS="$CFLAGS"
75084 CFLAGS="$CFLAGS -Werror"
75085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75086 /* end confdefs.h. */
75087 void __attribute__((visibility("hidden"))) foo(void) { }
75089 main ()
75093 return 0;
75095 _ACEOF
75096 if ac_fn_c_try_compile "$LINENO"; then :
75097 glibcxx_cv_have_attribute_visibility=yes
75098 else
75099 glibcxx_cv_have_attribute_visibility=no
75101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75102 CFLAGS="$save_CFLAGS"
75104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75105 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75106 if test $glibcxx_cv_have_attribute_visibility = no; then
75107 enable_libstdcxx_visibility=no
75112 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75113 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75117 # Check whether --enable-libstdcxx-dual-abi was given.
75118 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75119 enableval=$enable_libstdcxx_dual_abi;
75120 case "$enableval" in
75121 yes|no) ;;
75122 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75123 esac
75125 else
75126 enable_libstdcxx_dual_abi=yes
75130 if test x$enable_symvers = xgnu-versioned-namespace; then
75131 # gnu-versioned-namespace is incompatible with the dual ABI.
75132 enable_libstdcxx_dual_abi="no"
75134 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75135 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75136 $as_echo "$as_me: dual ABI is disabled" >&6;}
75137 default_libstdcxx_abi="gcc4-compatible"
75142 if test x$enable_libstdcxx_dual_abi = xyes; then
75143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75144 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75146 # Check whether --with-default-libstdcxx-abi was given.
75147 if test "${with_default_libstdcxx_abi+set}" = set; then :
75148 withval=$with_default_libstdcxx_abi; case "$withval" in
75149 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75150 new|cxx11) default_libstdcxx_abi="new" ;;
75151 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75152 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75153 esac
75155 else
75156 default_libstdcxx_abi="new"
75159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75160 $as_echo "${default_libstdcxx_abi}" >&6; }
75162 if test $default_libstdcxx_abi = "new"; then
75163 glibcxx_cxx11_abi=1
75164 glibcxx_cxx98_abi=0
75165 else
75166 glibcxx_cxx11_abi=0
75167 glibcxx_cxx98_abi=1
75173 ac_ldbl_compat=no
75174 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75175 case "$target" in
75176 powerpc*-*-linux* | \
75177 sparc*-*-linux* | \
75178 s390*-*-linux* | \
75179 alpha*-*-linux*)
75180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75181 /* end confdefs.h. */
75184 main ()
75187 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75188 #error no need for long double compatibility
75189 #endif
75192 return 0;
75194 _ACEOF
75195 if ac_fn_c_try_compile "$LINENO"; then :
75196 ac_ldbl_compat=yes
75197 else
75198 ac_ldbl_compat=no
75200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75201 if test "$ac_ldbl_compat" = yes; then
75203 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75205 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75206 case "$target" in
75207 powerpc*-*-linux*)
75208 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
75209 esac
75211 esac
75215 # Check if assembler supports disabling hardware capability support.
75217 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75219 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75220 # with a different meaning.
75221 case ${target_os} in
75222 solaris2*)
75223 ac_save_CFLAGS="$CFLAGS"
75224 CFLAGS="$CFLAGS -Wa,-nH"
75226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75227 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75229 /* end confdefs.h. */
75232 main ()
75234 return 0;
75236 return 0;
75238 _ACEOF
75239 if ac_fn_c_try_compile "$LINENO"; then :
75240 ac_hwcap_flags=yes
75241 else
75242 ac_hwcap_flags=no
75244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75245 if test "$ac_hwcap_flags" = "yes"; then
75246 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75249 $as_echo "$ac_hwcap_flags" >&6; }
75251 CFLAGS="$ac_save_CFLAGS"
75253 esac
75258 # Check if assembler supports rdrand opcode.
75260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75261 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75262 if ${ac_cv_x86_rdrand+:} false; then :
75263 $as_echo_n "(cached) " >&6
75264 else
75266 ac_cv_x86_rdrand=no
75267 case "$target" in
75268 i?86-*-* | \
75269 x86_64-*-*)
75270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75271 /* end confdefs.h. */
75274 main ()
75276 asm("rdrand %eax");
75278 return 0;
75280 _ACEOF
75281 if ac_fn_c_try_compile "$LINENO"; then :
75282 ac_cv_x86_rdrand=yes
75283 else
75284 ac_cv_x86_rdrand=no
75286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75287 esac
75291 if test $ac_cv_x86_rdrand = yes; then
75293 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75297 $as_echo "$ac_cv_x86_rdrand" >&6; }
75299 # Check if assembler supports rdseed opcode.
75301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75302 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75303 if ${ac_cv_x86_rdseed+:} false; then :
75304 $as_echo_n "(cached) " >&6
75305 else
75307 ac_cv_x86_rdseed=no
75308 case "$target" in
75309 i?86-*-* | \
75310 x86_64-*-*)
75311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75312 /* end confdefs.h. */
75315 main ()
75317 asm("rdseed %eax");
75319 return 0;
75321 _ACEOF
75322 if ac_fn_c_try_compile "$LINENO"; then :
75323 ac_cv_x86_rdseed=yes
75324 else
75325 ac_cv_x86_rdseed=no
75327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75328 esac
75332 if test $ac_cv_x86_rdseed = yes; then
75334 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75338 $as_echo "$ac_cv_x86_rdseed" >&6; }
75341 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75343 # Do checks for resource limit functions.
75346 ac_ext=cpp
75347 ac_cpp='$CXXCPP $CPPFLAGS'
75348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75352 setrlimit_have_headers=yes
75353 for ac_header in unistd.h sys/time.h sys/resource.h
75354 do :
75355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75356 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75357 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75358 cat >>confdefs.h <<_ACEOF
75359 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75360 _ACEOF
75362 else
75363 setrlimit_have_headers=no
75366 done
75368 # If don't have the headers, then we can't run the tests now, and we
75369 # won't be seeing any of these during testsuite compilation.
75370 if test $setrlimit_have_headers = yes; then
75371 # Can't do these in a loop, else the resulting syntax is wrong.
75373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75374 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75376 /* end confdefs.h. */
75377 #include <unistd.h>
75378 #include <sys/time.h>
75379 #include <sys/resource.h>
75382 main ()
75384 int f = RLIMIT_DATA ;
75386 return 0;
75388 _ACEOF
75389 if ac_fn_cxx_try_compile "$LINENO"; then :
75390 glibcxx_mresult=1
75391 else
75392 glibcxx_mresult=0
75394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75396 cat >>confdefs.h <<_ACEOF
75397 #define HAVE_LIMIT_DATA $glibcxx_mresult
75398 _ACEOF
75400 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75402 $as_echo "$res" >&6; }
75405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75406 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75408 /* end confdefs.h. */
75409 #include <unistd.h>
75410 #include <sys/time.h>
75411 #include <sys/resource.h>
75414 main ()
75416 int f = RLIMIT_RSS ;
75418 return 0;
75420 _ACEOF
75421 if ac_fn_cxx_try_compile "$LINENO"; then :
75422 glibcxx_mresult=1
75423 else
75424 glibcxx_mresult=0
75426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75428 cat >>confdefs.h <<_ACEOF
75429 #define HAVE_LIMIT_RSS $glibcxx_mresult
75430 _ACEOF
75432 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75434 $as_echo "$res" >&6; }
75437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75438 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75440 /* end confdefs.h. */
75441 #include <unistd.h>
75442 #include <sys/time.h>
75443 #include <sys/resource.h>
75446 main ()
75448 int f = RLIMIT_VMEM ;
75450 return 0;
75452 _ACEOF
75453 if ac_fn_cxx_try_compile "$LINENO"; then :
75454 glibcxx_mresult=1
75455 else
75456 glibcxx_mresult=0
75458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75460 cat >>confdefs.h <<_ACEOF
75461 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75462 _ACEOF
75464 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75466 $as_echo "$res" >&6; }
75469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75470 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75472 /* end confdefs.h. */
75473 #include <unistd.h>
75474 #include <sys/time.h>
75475 #include <sys/resource.h>
75478 main ()
75480 int f = RLIMIT_AS ;
75482 return 0;
75484 _ACEOF
75485 if ac_fn_cxx_try_compile "$LINENO"; then :
75486 glibcxx_mresult=1
75487 else
75488 glibcxx_mresult=0
75490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75492 cat >>confdefs.h <<_ACEOF
75493 #define HAVE_LIMIT_AS $glibcxx_mresult
75494 _ACEOF
75496 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75498 $as_echo "$res" >&6; }
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75502 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75504 /* end confdefs.h. */
75505 #include <unistd.h>
75506 #include <sys/time.h>
75507 #include <sys/resource.h>
75510 main ()
75512 int f = RLIMIT_FSIZE ;
75514 return 0;
75516 _ACEOF
75517 if ac_fn_cxx_try_compile "$LINENO"; then :
75518 glibcxx_mresult=1
75519 else
75520 glibcxx_mresult=0
75522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75524 cat >>confdefs.h <<_ACEOF
75525 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75526 _ACEOF
75528 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75530 $as_echo "$res" >&6; }
75533 # Check for rlimit, setrlimit.
75534 if ${glibcxx_cv_setrlimit+:} false; then :
75535 $as_echo_n "(cached) " >&6
75536 else
75538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75539 /* end confdefs.h. */
75540 #include <unistd.h>
75541 #include <sys/time.h>
75542 #include <sys/resource.h>
75545 main ()
75547 struct rlimit r;
75548 setrlimit(0, &r);
75550 return 0;
75552 _ACEOF
75553 if ac_fn_cxx_try_compile "$LINENO"; then :
75554 glibcxx_cv_setrlimit=yes
75555 else
75556 glibcxx_cv_setrlimit=no
75558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75565 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75566 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75567 ac_res_limits=yes
75569 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75571 else
75572 ac_res_limits=no
75574 ac_ext=c
75575 ac_cpp='$CPP $CPPFLAGS'
75576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75581 $as_echo "$ac_res_limits" >&6; }
75584 if $GLIBCXX_IS_NATIVE ; then
75585 # Look for setenv, so that extended locale tests can be performed.
75587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75588 $as_echo_n "checking for setenv declaration... " >&6; }
75589 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75590 if ${glibcxx_cv_func_setenv_use+:} false; then :
75591 $as_echo_n "(cached) " >&6
75592 else
75595 ac_ext=cpp
75596 ac_cpp='$CXXCPP $CPPFLAGS'
75597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75602 /* end confdefs.h. */
75603 #include <stdlib.h>
75605 main ()
75607 setenv(0, 0, 0);
75609 return 0;
75611 _ACEOF
75612 if ac_fn_cxx_try_compile "$LINENO"; then :
75613 glibcxx_cv_func_setenv_use=yes
75614 else
75615 glibcxx_cv_func_setenv_use=no
75617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75618 ac_ext=c
75619 ac_cpp='$CPP $CPPFLAGS'
75620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75629 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75630 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75631 for ac_func in setenv
75632 do :
75633 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75634 if test "x$ac_cv_func_setenv" = xyes; then :
75635 cat >>confdefs.h <<_ACEOF
75636 #define HAVE_SETENV 1
75637 _ACEOF
75640 done
75646 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75647 test $enable_symvers != no; then
75648 case "$host" in
75649 *-*-cygwin*)
75650 enable_abi_check=no ;;
75652 enable_abi_check=yes ;;
75653 esac
75654 else
75655 # Only build this as native, since automake does not understand
75656 # CXX_FOR_BUILD.
75657 enable_abi_check=no
75660 # Export file names for ABI checking.
75661 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75663 baseline_subdir_switch="$abi_baseline_subdir_switch"
75667 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75669 # Check whether --enable-libstdcxx-threads was given.
75670 if test "${enable_libstdcxx_threads+set}" = set; then :
75671 enableval=$enable_libstdcxx_threads;
75672 case "$enableval" in
75673 yes|no) ;;
75674 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75675 esac
75677 else
75678 enable_libstdcxx_threads=auto
75683 if test x$enable_libstdcxx_threads = xauto ||
75684 test x$enable_libstdcxx_threads = xyes; then
75687 ac_ext=cpp
75688 ac_cpp='$CXXCPP $CPPFLAGS'
75689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75694 ac_save_CXXFLAGS="$CXXFLAGS"
75695 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75696 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75698 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75699 case $target_thread_file in
75700 posix)
75701 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75702 esac
75704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75705 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75708 /* end confdefs.h. */
75709 #include <unistd.h>
75711 main ()
75714 // In case of POSIX threads check _POSIX_TIMEOUTS.
75715 #if (defined(_PTHREADS) \
75716 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75717 #error
75718 #endif
75721 return 0;
75723 _ACEOF
75724 if ac_fn_cxx_try_compile "$LINENO"; then :
75725 ac_gthread_use_mutex_timedlock=1
75726 else
75727 ac_gthread_use_mutex_timedlock=0
75729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75732 cat >>confdefs.h <<_ACEOF
75733 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75734 _ACEOF
75737 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75738 else res_mutex_timedlock=no ; fi
75739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75740 $as_echo "$res_mutex_timedlock" >&6; }
75742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75743 $as_echo_n "checking for gthreads library... " >&6; }
75745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75746 /* end confdefs.h. */
75747 #include "gthr.h"
75749 main ()
75752 #ifndef __GTHREADS_CXX0X
75753 #error
75754 #endif
75757 return 0;
75759 _ACEOF
75760 if ac_fn_cxx_try_compile "$LINENO"; then :
75761 ac_has_gthreads=yes
75762 else
75763 ac_has_gthreads=no
75765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75766 else
75767 ac_has_gthreads=no
75770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75771 $as_echo "$ac_has_gthreads" >&6; }
75773 if test x"$ac_has_gthreads" = x"yes"; then
75775 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75778 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75779 # but only do so if we're using pthread in the gthread library.
75780 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75781 # but the pthread library is not there by default and the gthread library
75782 # does not use it.
75783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75784 /* end confdefs.h. */
75785 #include "gthr.h"
75787 main ()
75790 #if (!defined(_PTHREADS))
75791 #error
75792 #endif
75795 return 0;
75797 _ACEOF
75798 if ac_fn_cxx_try_compile "$LINENO"; then :
75799 ac_gthread_use_pthreads=yes
75800 else
75801 ac_gthread_use_pthreads=no
75803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75804 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75805 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75807 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75809 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75816 CXXFLAGS="$ac_save_CXXFLAGS"
75817 ac_ext=c
75818 ac_cpp='$CPP $CPPFLAGS'
75819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75825 # For Filesystem TS.
75826 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75827 do :
75828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75829 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75831 cat >>confdefs.h <<_ACEOF
75832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75833 _ACEOF
75837 done
75840 # Check whether --enable-libstdcxx-filesystem-ts was given.
75841 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75842 enableval=$enable_libstdcxx_filesystem_ts;
75843 case "$enableval" in
75844 yes|no|auto) ;;
75845 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75846 esac
75848 else
75849 enable_libstdcxx_filesystem_ts=auto
75854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75855 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75856 if test x"$ac_cv_header_dirent_h" != x"yes"; then
75857 enable_libstdcxx_filesystem_ts=no
75859 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75860 case "${target_os}" in
75861 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75862 enable_libstdcxx_filesystem_ts=yes
75864 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75865 enable_libstdcxx_filesystem_ts=yes
75867 rtems*)
75868 enable_libstdcxx_filesystem_ts=yes
75870 solaris*)
75871 enable_libstdcxx_filesystem_ts=yes
75873 mingw*)
75874 enable_libstdcxx_filesystem_ts=yes
75877 enable_libstdcxx_filesystem_ts=no
75879 esac
75881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75882 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75885 if test $enable_libstdcxx_filesystem_ts = yes; then
75887 ac_ext=cpp
75888 ac_cpp='$CXXCPP $CPPFLAGS'
75889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75893 ac_save_CXXFLAGS="$CXXFLAGS"
75894 CXXFLAGS="$CXXFLAGS -fno-exceptions"
75895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75896 $as_echo_n "checking for struct dirent.d_type... " >&6; }
75897 if ${glibcxx_cv_dirent_d_type+:} false; then :
75898 $as_echo_n "(cached) " >&6
75899 else
75900 if test x$gcc_no_link = xyes; then
75901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75902 /* end confdefs.h. */
75903 #include <dirent.h>
75905 main ()
75908 struct dirent d;
75909 if (sizeof d.d_type) return 0;
75912 return 0;
75914 _ACEOF
75915 if ac_fn_cxx_try_compile "$LINENO"; then :
75916 glibcxx_cv_dirent_d_type=yes
75917 else
75918 glibcxx_cv_dirent_d_type=no
75920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75921 else
75922 if test x$gcc_no_link = xyes; then
75923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75926 /* end confdefs.h. */
75927 #include <dirent.h>
75929 main ()
75932 struct dirent d;
75933 if (sizeof d.d_type) return 0;
75936 return 0;
75938 _ACEOF
75939 if ac_fn_cxx_try_link "$LINENO"; then :
75940 glibcxx_cv_dirent_d_type=yes
75941 else
75942 glibcxx_cv_dirent_d_type=no
75944 rm -f core conftest.err conftest.$ac_objext \
75945 conftest$ac_exeext conftest.$ac_ext
75950 if test $glibcxx_cv_dirent_d_type = yes; then
75952 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
75955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
75956 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
75957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
75958 $as_echo_n "checking for realpath... " >&6; }
75959 if ${glibcxx_cv_realpath+:} false; then :
75960 $as_echo_n "(cached) " >&6
75961 else
75962 if test x$gcc_no_link = xyes; then
75963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75964 /* end confdefs.h. */
75966 #include <limits.h>
75967 #include <stdlib.h>
75968 #include <unistd.h>
75971 main ()
75974 #if _XOPEN_VERSION < 500
75975 #error
75976 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
75977 char *tmp = realpath((const char*)NULL, (char*)NULL);
75978 #else
75979 #error
75980 #endif
75983 return 0;
75985 _ACEOF
75986 if ac_fn_cxx_try_compile "$LINENO"; then :
75987 glibcxx_cv_realpath=yes
75988 else
75989 glibcxx_cv_realpath=no
75991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75992 else
75993 if test x$gcc_no_link = xyes; then
75994 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75997 /* end confdefs.h. */
75999 #include <limits.h>
76000 #include <stdlib.h>
76001 #include <unistd.h>
76004 main ()
76007 #if _XOPEN_VERSION < 500
76008 #error
76009 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76010 char *tmp = realpath((const char*)NULL, (char*)NULL);
76011 #else
76012 #error
76013 #endif
76016 return 0;
76018 _ACEOF
76019 if ac_fn_cxx_try_link "$LINENO"; then :
76020 glibcxx_cv_realpath=yes
76021 else
76022 glibcxx_cv_realpath=no
76024 rm -f core conftest.err conftest.$ac_objext \
76025 conftest$ac_exeext conftest.$ac_ext
76030 if test $glibcxx_cv_realpath = yes; then
76032 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76036 $as_echo "$glibcxx_cv_realpath" >&6; }
76037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76038 $as_echo_n "checking for utimensat... " >&6; }
76039 if ${glibcxx_cv_utimensat+:} false; then :
76040 $as_echo_n "(cached) " >&6
76041 else
76042 if test x$gcc_no_link = xyes; then
76043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76044 /* end confdefs.h. */
76046 #include <fcntl.h>
76047 #include <sys/stat.h>
76050 main ()
76053 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76054 int i = utimensat(AT_FDCWD, "path", ts, 0);
76057 return 0;
76059 _ACEOF
76060 if ac_fn_cxx_try_compile "$LINENO"; then :
76061 glibcxx_cv_utimensat=yes
76062 else
76063 glibcxx_cv_utimensat=no
76065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76066 else
76067 if test x$gcc_no_link = xyes; then
76068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76071 /* end confdefs.h. */
76073 #include <fcntl.h>
76074 #include <sys/stat.h>
76077 main ()
76080 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76081 int i = utimensat(AT_FDCWD, "path", ts, 0);
76084 return 0;
76086 _ACEOF
76087 if ac_fn_cxx_try_link "$LINENO"; then :
76088 glibcxx_cv_utimensat=yes
76089 else
76090 glibcxx_cv_utimensat=no
76092 rm -f core conftest.err conftest.$ac_objext \
76093 conftest$ac_exeext conftest.$ac_ext
76098 if test $glibcxx_cv_utimensat = yes; then
76100 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76104 $as_echo "$glibcxx_cv_utimensat" >&6; }
76105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76106 $as_echo_n "checking for utime... " >&6; }
76107 if ${glibcxx_cv_utime+:} false; then :
76108 $as_echo_n "(cached) " >&6
76109 else
76110 if test x$gcc_no_link = xyes; then
76111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76112 /* end confdefs.h. */
76114 #include <utime.h>
76117 main ()
76120 struct utimbuf t = { 1, 1 };
76121 int i = utime("path", &t);
76124 return 0;
76126 _ACEOF
76127 if ac_fn_cxx_try_compile "$LINENO"; then :
76128 glibcxx_cv_utime=yes
76129 else
76130 glibcxx_cv_utime=no
76132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76133 else
76134 if test x$gcc_no_link = xyes; then
76135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76138 /* end confdefs.h. */
76140 #include <utime.h>
76143 main ()
76146 struct utimbuf t = { 1, 1 };
76147 int i = utime("path", &t);
76150 return 0;
76152 _ACEOF
76153 if ac_fn_cxx_try_link "$LINENO"; then :
76154 glibcxx_cv_utime=yes
76155 else
76156 glibcxx_cv_utime=no
76158 rm -f core conftest.err conftest.$ac_objext \
76159 conftest$ac_exeext conftest.$ac_ext
76164 if test $glibcxx_cv_utime = yes; then
76166 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76170 $as_echo "$glibcxx_cv_utime" >&6; }
76171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76172 $as_echo_n "checking for lstat... " >&6; }
76173 if ${glibcxx_cv_lstat+:} false; then :
76174 $as_echo_n "(cached) " >&6
76175 else
76176 if test x$gcc_no_link = xyes; then
76177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76178 /* end confdefs.h. */
76179 #include <sys/stat.h>
76181 main ()
76184 struct stat st;
76185 int i = lstat("path", &st);
76188 return 0;
76190 _ACEOF
76191 if ac_fn_cxx_try_compile "$LINENO"; then :
76192 glibcxx_cv_lstat=yes
76193 else
76194 glibcxx_cv_lstat=no
76196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76197 else
76198 if test x$gcc_no_link = xyes; then
76199 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76202 /* end confdefs.h. */
76203 #include <sys/stat.h>
76205 main ()
76208 struct stat st;
76209 int i = lstat("path", &st);
76212 return 0;
76214 _ACEOF
76215 if ac_fn_cxx_try_link "$LINENO"; then :
76216 glibcxx_cv_lstat=yes
76217 else
76218 glibcxx_cv_lstat=no
76220 rm -f core conftest.err conftest.$ac_objext \
76221 conftest$ac_exeext conftest.$ac_ext
76226 if test $glibcxx_cv_lstat = yes; then
76228 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76232 $as_echo "$glibcxx_cv_lstat" >&6; }
76233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76234 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76235 if ${glibcxx_cv_st_mtim+:} false; then :
76236 $as_echo_n "(cached) " >&6
76237 else
76238 if test x$gcc_no_link = xyes; then
76239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76240 /* end confdefs.h. */
76241 #include <sys/stat.h>
76243 main ()
76246 struct stat st;
76247 return st.st_mtim.tv_nsec;
76250 return 0;
76252 _ACEOF
76253 if ac_fn_cxx_try_compile "$LINENO"; then :
76254 glibcxx_cv_st_mtim=yes
76255 else
76256 glibcxx_cv_st_mtim=no
76258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76259 else
76260 if test x$gcc_no_link = xyes; then
76261 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76264 /* end confdefs.h. */
76265 #include <sys/stat.h>
76267 main ()
76270 struct stat st;
76271 return st.st_mtim.tv_nsec;
76274 return 0;
76276 _ACEOF
76277 if ac_fn_cxx_try_link "$LINENO"; then :
76278 glibcxx_cv_st_mtim=yes
76279 else
76280 glibcxx_cv_st_mtim=no
76282 rm -f core conftest.err conftest.$ac_objext \
76283 conftest$ac_exeext conftest.$ac_ext
76288 if test $glibcxx_cv_st_mtim = yes; then
76290 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76294 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76296 $as_echo_n "checking for fchmod... " >&6; }
76297 if ${glibcxx_cv_fchmod+:} false; then :
76298 $as_echo_n "(cached) " >&6
76299 else
76300 if test x$gcc_no_link = xyes; then
76301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76302 /* end confdefs.h. */
76303 #include <sys/stat.h>
76305 main ()
76307 fchmod(1, S_IWUSR);
76309 return 0;
76311 _ACEOF
76312 if ac_fn_cxx_try_compile "$LINENO"; then :
76313 glibcxx_cv_fchmod=yes
76314 else
76315 glibcxx_cv_fchmod=no
76317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76318 else
76319 if test x$gcc_no_link = xyes; then
76320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76323 /* end confdefs.h. */
76324 #include <sys/stat.h>
76326 main ()
76328 fchmod(1, S_IWUSR);
76330 return 0;
76332 _ACEOF
76333 if ac_fn_cxx_try_link "$LINENO"; then :
76334 glibcxx_cv_fchmod=yes
76335 else
76336 glibcxx_cv_fchmod=no
76338 rm -f core conftest.err conftest.$ac_objext \
76339 conftest$ac_exeext conftest.$ac_ext
76344 if test $glibcxx_cv_fchmod = yes; then
76346 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76350 $as_echo "$glibcxx_cv_fchmod" >&6; }
76351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76352 $as_echo_n "checking for fchmodat... " >&6; }
76353 if ${glibcxx_cv_fchmodat+:} false; then :
76354 $as_echo_n "(cached) " >&6
76355 else
76356 if test x$gcc_no_link = xyes; then
76357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76358 /* end confdefs.h. */
76360 #include <fcntl.h>
76361 #include <sys/stat.h>
76364 main ()
76366 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76368 return 0;
76370 _ACEOF
76371 if ac_fn_cxx_try_compile "$LINENO"; then :
76372 glibcxx_cv_fchmodat=yes
76373 else
76374 glibcxx_cv_fchmodat=no
76376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76377 else
76378 if test x$gcc_no_link = xyes; then
76379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76382 /* end confdefs.h. */
76384 #include <fcntl.h>
76385 #include <sys/stat.h>
76388 main ()
76390 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76392 return 0;
76394 _ACEOF
76395 if ac_fn_cxx_try_link "$LINENO"; then :
76396 glibcxx_cv_fchmodat=yes
76397 else
76398 glibcxx_cv_fchmodat=no
76400 rm -f core conftest.err conftest.$ac_objext \
76401 conftest$ac_exeext conftest.$ac_ext
76406 if test $glibcxx_cv_fchmodat = yes; then
76408 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76412 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76414 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76415 if ${glibcxx_cv_sendfile+:} false; then :
76416 $as_echo_n "(cached) " >&6
76417 else
76418 case "${target_os}" in
76419 gnu* | linux* | solaris* | uclinux*)
76420 if test x$gcc_no_link = xyes; then
76421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76422 /* end confdefs.h. */
76423 #include <sys/sendfile.h>
76425 main ()
76427 sendfile(1, 2, (off_t*)0, sizeof 1);
76429 return 0;
76431 _ACEOF
76432 if ac_fn_cxx_try_compile "$LINENO"; then :
76433 glibcxx_cv_sendfile=yes
76434 else
76435 glibcxx_cv_sendfile=no
76437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76438 else
76439 if test x$gcc_no_link = xyes; then
76440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76443 /* end confdefs.h. */
76444 #include <sys/sendfile.h>
76446 main ()
76448 sendfile(1, 2, (off_t*)0, sizeof 1);
76450 return 0;
76452 _ACEOF
76453 if ac_fn_cxx_try_link "$LINENO"; then :
76454 glibcxx_cv_sendfile=yes
76455 else
76456 glibcxx_cv_sendfile=no
76458 rm -f core conftest.err conftest.$ac_objext \
76459 conftest$ac_exeext conftest.$ac_ext
76463 glibcxx_cv_sendfile=no
76465 esac
76469 if test $glibcxx_cv_sendfile = yes; then
76471 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76475 $as_echo "$glibcxx_cv_sendfile" >&6; }
76476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76477 $as_echo_n "checking for link... " >&6; }
76478 if ${glibcxx_cv_link+:} false; then :
76479 $as_echo_n "(cached) " >&6
76480 else
76481 if test x$gcc_no_link = xyes; then
76482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76483 /* end confdefs.h. */
76484 #include <unistd.h>
76486 main ()
76488 link("", "");
76490 return 0;
76492 _ACEOF
76493 if ac_fn_cxx_try_compile "$LINENO"; then :
76494 glibcxx_cv_link=yes
76495 else
76496 glibcxx_cv_link=no
76498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76499 else
76500 if test x$gcc_no_link = xyes; then
76501 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76504 /* end confdefs.h. */
76505 #include <unistd.h>
76507 main ()
76509 link("", "");
76511 return 0;
76513 _ACEOF
76514 if ac_fn_cxx_try_link "$LINENO"; then :
76515 glibcxx_cv_link=yes
76516 else
76517 glibcxx_cv_link=no
76519 rm -f core conftest.err conftest.$ac_objext \
76520 conftest$ac_exeext conftest.$ac_ext
76525 if test $glibcxx_cv_link = yes; then
76527 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76531 $as_echo "$glibcxx_cv_link" >&6; }
76532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76533 $as_echo_n "checking for readlink... " >&6; }
76534 if ${glibcxx_cv_readlink+:} false; then :
76535 $as_echo_n "(cached) " >&6
76536 else
76537 if test x$gcc_no_link = xyes; then
76538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76539 /* end confdefs.h. */
76540 #include <unistd.h>
76542 main ()
76544 char buf[32]; readlink("", buf, sizeof(buf));
76546 return 0;
76548 _ACEOF
76549 if ac_fn_cxx_try_compile "$LINENO"; then :
76550 glibcxx_cv_readlink=yes
76551 else
76552 glibcxx_cv_readlink=no
76554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76555 else
76556 if test x$gcc_no_link = xyes; then
76557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76560 /* end confdefs.h. */
76561 #include <unistd.h>
76563 main ()
76565 char buf[32]; readlink("", buf, sizeof(buf));
76567 return 0;
76569 _ACEOF
76570 if ac_fn_cxx_try_link "$LINENO"; then :
76571 glibcxx_cv_readlink=yes
76572 else
76573 glibcxx_cv_readlink=no
76575 rm -f core conftest.err conftest.$ac_objext \
76576 conftest$ac_exeext conftest.$ac_ext
76581 if test $glibcxx_cv_readlink = yes; then
76583 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76587 $as_echo "$glibcxx_cv_readlink" >&6; }
76588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76589 $as_echo_n "checking for symlink... " >&6; }
76590 if ${glibcxx_cv_symlink+:} false; then :
76591 $as_echo_n "(cached) " >&6
76592 else
76593 if test x$gcc_no_link = xyes; then
76594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76595 /* end confdefs.h. */
76596 #include <unistd.h>
76598 main ()
76600 symlink("", "");
76602 return 0;
76604 _ACEOF
76605 if ac_fn_cxx_try_compile "$LINENO"; then :
76606 glibcxx_cv_symlink=yes
76607 else
76608 glibcxx_cv_symlink=no
76610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76611 else
76612 if test x$gcc_no_link = xyes; then
76613 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76616 /* end confdefs.h. */
76617 #include <unistd.h>
76619 main ()
76621 symlink("", "");
76623 return 0;
76625 _ACEOF
76626 if ac_fn_cxx_try_link "$LINENO"; then :
76627 glibcxx_cv_symlink=yes
76628 else
76629 glibcxx_cv_symlink=no
76631 rm -f core conftest.err conftest.$ac_objext \
76632 conftest$ac_exeext conftest.$ac_ext
76637 if test $glibcxx_cv_symlink = yes; then
76639 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76643 $as_echo "$glibcxx_cv_symlink" >&6; }
76644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76645 $as_echo_n "checking for truncate... " >&6; }
76646 if ${glibcxx_cv_truncate+:} false; then :
76647 $as_echo_n "(cached) " >&6
76648 else
76649 if test x$gcc_no_link = xyes; then
76650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76651 /* end confdefs.h. */
76652 #include <unistd.h>
76654 main ()
76656 truncate("", 99);
76658 return 0;
76660 _ACEOF
76661 if ac_fn_cxx_try_compile "$LINENO"; then :
76662 glibcxx_cv_truncate=yes
76663 else
76664 glibcxx_cv_truncate=no
76666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76667 else
76668 if test x$gcc_no_link = xyes; then
76669 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76672 /* end confdefs.h. */
76673 #include <unistd.h>
76675 main ()
76677 truncate("", 99);
76679 return 0;
76681 _ACEOF
76682 if ac_fn_cxx_try_link "$LINENO"; then :
76683 glibcxx_cv_truncate=yes
76684 else
76685 glibcxx_cv_truncate=no
76687 rm -f core conftest.err conftest.$ac_objext \
76688 conftest$ac_exeext conftest.$ac_ext
76693 if test $glibcxx_cv_truncate = yes; then
76695 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76699 $as_echo "$glibcxx_cv_truncate" >&6; }
76700 CXXFLAGS="$ac_save_CXXFLAGS"
76701 ac_ext=c
76702 ac_cpp='$CPP $CPPFLAGS'
76703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76710 # For Networking TS.
76711 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
76712 do :
76713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76714 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76716 cat >>confdefs.h <<_ACEOF
76717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76718 _ACEOF
76722 done
76725 # For Transactional Memory TS
76727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76728 $as_echo_n "checking how size_t is mangled... " >&6; }
76729 if ${glibcxx_cv_size_t_mangling+:} false; then :
76730 $as_echo_n "(cached) " >&6
76731 else
76733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76734 /* end confdefs.h. */
76737 main ()
76739 extern __SIZE_TYPE__ x; extern unsigned long x;
76741 return 0;
76743 _ACEOF
76744 if ac_fn_c_try_compile "$LINENO"; then :
76745 glibcxx_cv_size_t_mangling=m
76746 else
76748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76749 /* end confdefs.h. */
76752 main ()
76754 extern __SIZE_TYPE__ x; extern unsigned int x;
76756 return 0;
76758 _ACEOF
76759 if ac_fn_c_try_compile "$LINENO"; then :
76760 glibcxx_cv_size_t_mangling=j
76761 else
76763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76764 /* end confdefs.h. */
76767 main ()
76769 extern __SIZE_TYPE__ x; extern unsigned long long x;
76771 return 0;
76773 _ACEOF
76774 if ac_fn_c_try_compile "$LINENO"; then :
76775 glibcxx_cv_size_t_mangling=y
76776 else
76778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76779 /* end confdefs.h. */
76782 main ()
76784 extern __SIZE_TYPE__ x; extern unsigned short x;
76786 return 0;
76788 _ACEOF
76789 if ac_fn_c_try_compile "$LINENO"; then :
76790 glibcxx_cv_size_t_mangling=t
76791 else
76793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76794 /* end confdefs.h. */
76797 main ()
76799 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76801 return 0;
76803 _ACEOF
76804 if ac_fn_c_try_compile "$LINENO"; then :
76805 glibcxx_cv_size_t_mangling=u6uint20
76806 else
76807 glibcxx_cv_size_t_mangling=x
76809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76825 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76826 if test $glibcxx_cv_size_t_mangling = x; then
76827 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76830 cat >>confdefs.h <<_ACEOF
76831 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76832 _ACEOF
76836 # Check which release added std::exception_ptr for the target
76838 if test $enable_symvers != no; then
76839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76840 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76841 case ${target} in
76842 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76843 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76844 ac_exception_ptr_since_gcc46=yes
76847 # If the value of this macro changes then we will need to hardcode
76848 # yes/no here for additional targets based on the original value.
76849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76850 /* end confdefs.h. */
76853 main ()
76856 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76857 # error atomic int not always lock free
76858 #endif
76861 return 0;
76863 _ACEOF
76864 if ac_fn_c_try_compile "$LINENO"; then :
76865 ac_exception_ptr_since_gcc46=yes
76866 else
76867 ac_exception_ptr_since_gcc46=no
76869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76871 esac
76872 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76874 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76877 $as_echo "4.6.0" >&6; }
76878 else
76879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76880 $as_echo "7.1.0" >&6; }
76885 # Define documentation rules conditionally.
76887 # See if makeinfo has been installed and is modern enough
76888 # that we can use it.
76890 # Extract the first word of "makeinfo", so it can be a program name with args.
76891 set dummy makeinfo; ac_word=$2
76892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76893 $as_echo_n "checking for $ac_word... " >&6; }
76894 if ${ac_cv_prog_MAKEINFO+:} false; then :
76895 $as_echo_n "(cached) " >&6
76896 else
76897 if test -n "$MAKEINFO"; then
76898 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76899 else
76900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76901 for as_dir in $PATH
76903 IFS=$as_save_IFS
76904 test -z "$as_dir" && as_dir=.
76905 for ac_exec_ext in '' $ac_executable_extensions; do
76906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76907 ac_cv_prog_MAKEINFO="makeinfo"
76908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76909 break 2
76911 done
76912 done
76913 IFS=$as_save_IFS
76917 MAKEINFO=$ac_cv_prog_MAKEINFO
76918 if test -n "$MAKEINFO"; then
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
76920 $as_echo "$MAKEINFO" >&6; }
76921 else
76922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76923 $as_echo "no" >&6; }
76927 if test -n "$MAKEINFO"; then
76928 # Found it, now check the version.
76929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
76930 $as_echo_n "checking for modern makeinfo... " >&6; }
76931 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
76932 $as_echo_n "(cached) " >&6
76933 else
76934 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
76935 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
76937 case $ac_prog_version in
76938 '') gcc_cv_prog_makeinfo_modern=no;;
76939 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
76940 *) gcc_cv_prog_makeinfo_modern=no;;
76941 esac
76944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
76945 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
76946 else
76947 gcc_cv_prog_makeinfo_modern=no
76949 if test $gcc_cv_prog_makeinfo_modern = no; then
76950 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
76953 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
76954 BUILD_INFO_TRUE=
76955 BUILD_INFO_FALSE='#'
76956 else
76957 BUILD_INFO_TRUE='#'
76958 BUILD_INFO_FALSE=
76962 # Check for doxygen
76963 # Extract the first word of "doxygen", so it can be a program name with args.
76964 set dummy doxygen; ac_word=$2
76965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76966 $as_echo_n "checking for $ac_word... " >&6; }
76967 if ${ac_cv_prog_DOXYGEN+:} false; then :
76968 $as_echo_n "(cached) " >&6
76969 else
76970 if test -n "$DOXYGEN"; then
76971 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
76972 else
76973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76974 for as_dir in $PATH
76976 IFS=$as_save_IFS
76977 test -z "$as_dir" && as_dir=.
76978 for ac_exec_ext in '' $ac_executable_extensions; do
76979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76980 ac_cv_prog_DOXYGEN="yes"
76981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76982 break 2
76984 done
76985 done
76986 IFS=$as_save_IFS
76988 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
76991 DOXYGEN=$ac_cv_prog_DOXYGEN
76992 if test -n "$DOXYGEN"; then
76993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
76994 $as_echo "$DOXYGEN" >&6; }
76995 else
76996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76997 $as_echo "no" >&6; }
77001 # Extract the first word of "dot", so it can be a program name with args.
77002 set dummy dot; ac_word=$2
77003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77004 $as_echo_n "checking for $ac_word... " >&6; }
77005 if ${ac_cv_prog_DOT+:} false; then :
77006 $as_echo_n "(cached) " >&6
77007 else
77008 if test -n "$DOT"; then
77009 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77010 else
77011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77012 for as_dir in $PATH
77014 IFS=$as_save_IFS
77015 test -z "$as_dir" && as_dir=.
77016 for ac_exec_ext in '' $ac_executable_extensions; do
77017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77018 ac_cv_prog_DOT="yes"
77019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77020 break 2
77022 done
77023 done
77024 IFS=$as_save_IFS
77026 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77029 DOT=$ac_cv_prog_DOT
77030 if test -n "$DOT"; then
77031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77032 $as_echo "$DOT" >&6; }
77033 else
77034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77035 $as_echo "no" >&6; }
77040 # Check for docbook
77041 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77042 set dummy xmlcatalog; ac_word=$2
77043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77044 $as_echo_n "checking for $ac_word... " >&6; }
77045 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77046 $as_echo_n "(cached) " >&6
77047 else
77048 if test -n "$XMLCATALOG"; then
77049 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77050 else
77051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77052 for as_dir in $PATH
77054 IFS=$as_save_IFS
77055 test -z "$as_dir" && as_dir=.
77056 for ac_exec_ext in '' $ac_executable_extensions; do
77057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77058 ac_cv_prog_XMLCATALOG="yes"
77059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77060 break 2
77062 done
77063 done
77064 IFS=$as_save_IFS
77066 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77069 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77070 if test -n "$XMLCATALOG"; then
77071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77072 $as_echo "$XMLCATALOG" >&6; }
77073 else
77074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77075 $as_echo "no" >&6; }
77079 # Extract the first word of "xsltproc", so it can be a program name with args.
77080 set dummy xsltproc; ac_word=$2
77081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77082 $as_echo_n "checking for $ac_word... " >&6; }
77083 if ${ac_cv_prog_XSLTPROC+:} false; then :
77084 $as_echo_n "(cached) " >&6
77085 else
77086 if test -n "$XSLTPROC"; then
77087 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77088 else
77089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77090 for as_dir in $PATH
77092 IFS=$as_save_IFS
77093 test -z "$as_dir" && as_dir=.
77094 for ac_exec_ext in '' $ac_executable_extensions; do
77095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77096 ac_cv_prog_XSLTPROC="yes"
77097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77098 break 2
77100 done
77101 done
77102 IFS=$as_save_IFS
77104 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77107 XSLTPROC=$ac_cv_prog_XSLTPROC
77108 if test -n "$XSLTPROC"; then
77109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77110 $as_echo "$XSLTPROC" >&6; }
77111 else
77112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77113 $as_echo "no" >&6; }
77117 # Extract the first word of "xmllint", so it can be a program name with args.
77118 set dummy xmllint; ac_word=$2
77119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77120 $as_echo_n "checking for $ac_word... " >&6; }
77121 if ${ac_cv_prog_XMLLINT+:} false; then :
77122 $as_echo_n "(cached) " >&6
77123 else
77124 if test -n "$XMLLINT"; then
77125 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77126 else
77127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77128 for as_dir in $PATH
77130 IFS=$as_save_IFS
77131 test -z "$as_dir" && as_dir=.
77132 for ac_exec_ext in '' $ac_executable_extensions; do
77133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77134 ac_cv_prog_XMLLINT="yes"
77135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77136 break 2
77138 done
77139 done
77140 IFS=$as_save_IFS
77142 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77145 XMLLINT=$ac_cv_prog_XMLLINT
77146 if test -n "$XMLLINT"; then
77147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77148 $as_echo "$XMLLINT" >&6; }
77149 else
77150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77151 $as_echo "no" >&6; }
77157 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77160 $as_echo_n "checking for local stylesheet directory... " >&6; }
77161 glibcxx_local_stylesheets=no
77162 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77163 then
77164 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77165 glibcxx_local_stylesheets=yes
77166 else
77167 for dir in \
77168 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77169 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77170 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77171 /usr/share/xml/docbook/stylesheet/nwalsh/current
77173 if test -d $dir; then
77174 glibcxx_local_stylesheets=yes
77175 XSL_STYLE_DIR=$dir
77176 break
77178 done
77180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77181 $as_echo "$glibcxx_local_stylesheets" >&6; }
77183 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77185 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77186 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77189 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77190 glibcxx_stylesheets=no
77191 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77192 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77193 glibcxx_stylesheets=yes
77196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77197 $as_echo "$glibcxx_stylesheets" >&6; }
77199 else
77200 glibcxx_stylesheets=no
77203 # Check for epub3 dependencies.
77204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77205 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77206 glibcxx_epub_stylesheets=no
77207 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77208 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77209 glibcxx_epub_stylesheets=yes
77212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77213 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77214 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77215 BUILD_EPUB_TRUE=
77216 BUILD_EPUB_FALSE='#'
77217 else
77218 BUILD_EPUB_TRUE='#'
77219 BUILD_EPUB_FALSE=
77225 # Check for xml/html dependencies.
77226 if test $ac_cv_prog_DOXYGEN = "yes" &&
77227 test $ac_cv_prog_DOT = "yes" &&
77228 test $ac_cv_prog_XSLTPROC = "yes" &&
77229 test $ac_cv_prog_XMLLINT = "yes" &&
77230 test $glibcxx_stylesheets = "yes"; then
77231 BUILD_XML_TRUE=
77232 BUILD_XML_FALSE='#'
77233 else
77234 BUILD_XML_TRUE='#'
77235 BUILD_XML_FALSE=
77239 if test $ac_cv_prog_DOXYGEN = "yes" &&
77240 test $ac_cv_prog_DOT = "yes" &&
77241 test $ac_cv_prog_XSLTPROC = "yes" &&
77242 test $ac_cv_prog_XMLLINT = "yes" &&
77243 test $glibcxx_stylesheets = "yes"; then
77244 BUILD_HTML_TRUE=
77245 BUILD_HTML_FALSE='#'
77246 else
77247 BUILD_HTML_TRUE='#'
77248 BUILD_HTML_FALSE=
77252 # Check for man dependencies.
77253 if test $ac_cv_prog_DOXYGEN = "yes" &&
77254 test $ac_cv_prog_DOT = "yes"; then
77255 BUILD_MAN_TRUE=
77256 BUILD_MAN_FALSE='#'
77257 else
77258 BUILD_MAN_TRUE='#'
77259 BUILD_MAN_FALSE=
77263 # Check for pdf dependencies.
77264 # Extract the first word of "dblatex", so it can be a program name with args.
77265 set dummy dblatex; ac_word=$2
77266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77267 $as_echo_n "checking for $ac_word... " >&6; }
77268 if ${ac_cv_prog_DBLATEX+:} false; then :
77269 $as_echo_n "(cached) " >&6
77270 else
77271 if test -n "$DBLATEX"; then
77272 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77273 else
77274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77275 for as_dir in $PATH
77277 IFS=$as_save_IFS
77278 test -z "$as_dir" && as_dir=.
77279 for ac_exec_ext in '' $ac_executable_extensions; do
77280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77281 ac_cv_prog_DBLATEX="yes"
77282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77283 break 2
77285 done
77286 done
77287 IFS=$as_save_IFS
77289 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77292 DBLATEX=$ac_cv_prog_DBLATEX
77293 if test -n "$DBLATEX"; then
77294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77295 $as_echo "$DBLATEX" >&6; }
77296 else
77297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77298 $as_echo "no" >&6; }
77302 # Extract the first word of "pdflatex", so it can be a program name with args.
77303 set dummy pdflatex; ac_word=$2
77304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77305 $as_echo_n "checking for $ac_word... " >&6; }
77306 if ${ac_cv_prog_PDFLATEX+:} false; then :
77307 $as_echo_n "(cached) " >&6
77308 else
77309 if test -n "$PDFLATEX"; then
77310 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77311 else
77312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77313 for as_dir in $PATH
77315 IFS=$as_save_IFS
77316 test -z "$as_dir" && as_dir=.
77317 for ac_exec_ext in '' $ac_executable_extensions; do
77318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77319 ac_cv_prog_PDFLATEX="yes"
77320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77321 break 2
77323 done
77324 done
77325 IFS=$as_save_IFS
77327 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77330 PDFLATEX=$ac_cv_prog_PDFLATEX
77331 if test -n "$PDFLATEX"; then
77332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77333 $as_echo "$PDFLATEX" >&6; }
77334 else
77335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77336 $as_echo "no" >&6; }
77340 if test $ac_cv_prog_DOXYGEN = "yes" &&
77341 test $ac_cv_prog_DOT = "yes" &&
77342 test $ac_cv_prog_XSLTPROC = "yes" &&
77343 test $ac_cv_prog_XMLLINT = "yes" &&
77344 test $ac_cv_prog_DBLATEX = "yes" &&
77345 test $ac_cv_prog_PDFLATEX = "yes"; then
77346 BUILD_PDF_TRUE=
77347 BUILD_PDF_FALSE='#'
77348 else
77349 BUILD_PDF_TRUE='#'
77350 BUILD_PDF_FALSE=
77354 case "$build" in
77355 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77356 * ) glibcxx_include_dir_notparallel=no ;;
77357 esac
77358 if test $glibcxx_include_dir_notparallel = "yes"; then
77359 INCLUDE_DIR_NOTPARALLEL_TRUE=
77360 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77361 else
77362 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77363 INCLUDE_DIR_NOTPARALLEL_FALSE=
77367 # Propagate the target-specific source directories through the build chain.
77368 ATOMICITY_SRCDIR=config/${atomicity_dir}
77369 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77370 ATOMIC_FLAGS=${atomic_flags}
77371 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77372 OS_INC_SRCDIR=config/${os_include_dir}
77373 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77374 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77375 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77376 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77388 # Add CET specific flags if Intel CET is enabled.
77389 # Check whether --enable-cet was given.
77390 if test "${enable_cet+set}" = set; then :
77391 enableval=$enable_cet;
77392 case "$enableval" in
77393 yes|no|auto) ;;
77394 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77395 esac
77397 else
77398 enable_cet=no
77402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77403 $as_echo_n "checking for CET support... " >&6; }
77405 case "$host" in
77406 i[34567]86-*-linux* | x86_64-*-linux*)
77407 case "$enable_cet" in
77408 auto)
77409 # Check if target supports multi-byte NOPs
77410 # and if assembler supports CET insn.
77411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77412 /* end confdefs.h. */
77415 main ()
77418 #if !defined(__SSE2__)
77419 #error target does not support multi-byte NOPs
77420 #else
77421 asm ("setssbsy");
77422 #endif
77425 return 0;
77427 _ACEOF
77428 if ac_fn_c_try_compile "$LINENO"; then :
77429 enable_cet=yes
77430 else
77431 enable_cet=no
77433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77435 yes)
77436 # Check if assembler supports CET.
77437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77438 /* end confdefs.h. */
77441 main ()
77443 asm ("setssbsy");
77445 return 0;
77447 _ACEOF
77448 if ac_fn_c_try_compile "$LINENO"; then :
77450 else
77451 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77455 esac
77458 enable_cet=no
77460 esac
77461 if test x$enable_cet = xyes; then
77462 CET_FLAGS="-fcf-protection -mshstk"
77463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77464 $as_echo "yes" >&6; }
77465 else
77466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77467 $as_echo "no" >&6; }
77470 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77471 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77475 # Determine cross-compile flags and AM_CONDITIONALs.
77476 #AC_SUBST(GLIBCXX_IS_NATIVE)
77477 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77478 if test $is_hosted = yes; then
77479 GLIBCXX_HOSTED_TRUE=
77480 GLIBCXX_HOSTED_FALSE='#'
77481 else
77482 GLIBCXX_HOSTED_TRUE='#'
77483 GLIBCXX_HOSTED_FALSE=
77487 if test $enable_libstdcxx_pch = yes; then
77488 GLIBCXX_BUILD_PCH_TRUE=
77489 GLIBCXX_BUILD_PCH_FALSE='#'
77490 else
77491 GLIBCXX_BUILD_PCH_TRUE='#'
77492 GLIBCXX_BUILD_PCH_FALSE=
77496 if test $enable_float128 = yes; then
77497 ENABLE_FLOAT128_TRUE=
77498 ENABLE_FLOAT128_FALSE='#'
77499 else
77500 ENABLE_FLOAT128_TRUE='#'
77501 ENABLE_FLOAT128_FALSE=
77505 if test $enable_libstdcxx_allocator_flag = new; then
77506 ENABLE_ALLOCATOR_NEW_TRUE=
77507 ENABLE_ALLOCATOR_NEW_FALSE='#'
77508 else
77509 ENABLE_ALLOCATOR_NEW_TRUE='#'
77510 ENABLE_ALLOCATOR_NEW_FALSE=
77514 if test $enable_cheaders = c; then
77515 GLIBCXX_C_HEADERS_C_TRUE=
77516 GLIBCXX_C_HEADERS_C_FALSE='#'
77517 else
77518 GLIBCXX_C_HEADERS_C_TRUE='#'
77519 GLIBCXX_C_HEADERS_C_FALSE=
77523 if test $enable_cheaders = c_std; then
77524 GLIBCXX_C_HEADERS_C_STD_TRUE=
77525 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77526 else
77527 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77528 GLIBCXX_C_HEADERS_C_STD_FALSE=
77532 if test $enable_cheaders = c_global; then
77533 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77534 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77535 else
77536 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77537 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77541 if test $c_compatibility = yes; then
77542 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77543 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77544 else
77545 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77546 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77550 if test $enable_libstdcxx_debug = yes; then
77551 GLIBCXX_BUILD_DEBUG_TRUE=
77552 GLIBCXX_BUILD_DEBUG_FALSE='#'
77553 else
77554 GLIBCXX_BUILD_DEBUG_TRUE='#'
77555 GLIBCXX_BUILD_DEBUG_FALSE=
77559 if test $enable_extern_template = yes; then
77560 ENABLE_EXTERN_TEMPLATE_TRUE=
77561 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77562 else
77563 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77564 ENABLE_EXTERN_TEMPLATE_FALSE=
77568 if test $python_mod_dir != no; then
77569 ENABLE_PYTHONDIR_TRUE=
77570 ENABLE_PYTHONDIR_FALSE='#'
77571 else
77572 ENABLE_PYTHONDIR_TRUE='#'
77573 ENABLE_PYTHONDIR_FALSE=
77577 if test $enable_werror = yes; then
77578 ENABLE_WERROR_TRUE=
77579 ENABLE_WERROR_FALSE='#'
77580 else
77581 ENABLE_WERROR_TRUE='#'
77582 ENABLE_WERROR_FALSE=
77586 if test $enable_vtable_verify = yes; then
77587 ENABLE_VTABLE_VERIFY_TRUE=
77588 ENABLE_VTABLE_VERIFY_FALSE='#'
77589 else
77590 ENABLE_VTABLE_VERIFY_TRUE='#'
77591 ENABLE_VTABLE_VERIFY_FALSE=
77595 if test $enable_symvers != no; then
77596 ENABLE_SYMVERS_TRUE=
77597 ENABLE_SYMVERS_FALSE='#'
77598 else
77599 ENABLE_SYMVERS_TRUE='#'
77600 ENABLE_SYMVERS_FALSE=
77604 if test $enable_symvers = gnu; then
77605 ENABLE_SYMVERS_GNU_TRUE=
77606 ENABLE_SYMVERS_GNU_FALSE='#'
77607 else
77608 ENABLE_SYMVERS_GNU_TRUE='#'
77609 ENABLE_SYMVERS_GNU_FALSE=
77613 if test $enable_symvers = gnu-versioned-namespace; then
77614 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77615 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77616 else
77617 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77618 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77622 if test $enable_symvers = darwin; then
77623 ENABLE_SYMVERS_DARWIN_TRUE=
77624 ENABLE_SYMVERS_DARWIN_FALSE='#'
77625 else
77626 ENABLE_SYMVERS_DARWIN_TRUE='#'
77627 ENABLE_SYMVERS_DARWIN_FALSE=
77631 if test $enable_symvers = sun; then
77632 ENABLE_SYMVERS_SUN_TRUE=
77633 ENABLE_SYMVERS_SUN_FALSE='#'
77634 else
77635 ENABLE_SYMVERS_SUN_TRUE='#'
77636 ENABLE_SYMVERS_SUN_FALSE=
77640 if test $enable_libstdcxx_visibility = yes; then
77641 ENABLE_VISIBILITY_TRUE=
77642 ENABLE_VISIBILITY_FALSE='#'
77643 else
77644 ENABLE_VISIBILITY_TRUE='#'
77645 ENABLE_VISIBILITY_FALSE=
77649 if test $enable_libstdcxx_dual_abi = yes; then
77650 ENABLE_DUAL_ABI_TRUE=
77651 ENABLE_DUAL_ABI_FALSE='#'
77652 else
77653 ENABLE_DUAL_ABI_TRUE='#'
77654 ENABLE_DUAL_ABI_FALSE=
77658 if test $glibcxx_cxx11_abi = 1; then
77659 ENABLE_CXX11_ABI_TRUE=
77660 ENABLE_CXX11_ABI_FALSE='#'
77661 else
77662 ENABLE_CXX11_ABI_TRUE='#'
77663 ENABLE_CXX11_ABI_FALSE=
77667 if test $ac_ldbl_compat = yes; then
77668 GLIBCXX_LDBL_COMPAT_TRUE=
77669 GLIBCXX_LDBL_COMPAT_FALSE='#'
77670 else
77671 GLIBCXX_LDBL_COMPAT_TRUE='#'
77672 GLIBCXX_LDBL_COMPAT_FALSE=
77676 if test $enable_libstdcxx_filesystem_ts = yes; then
77677 ENABLE_FILESYSTEM_TS_TRUE=
77678 ENABLE_FILESYSTEM_TS_FALSE='#'
77679 else
77680 ENABLE_FILESYSTEM_TS_TRUE='#'
77681 ENABLE_FILESYSTEM_TS_FALSE=
77687 cat >confcache <<\_ACEOF
77688 # This file is a shell script that caches the results of configure
77689 # tests run on this system so they can be shared between configure
77690 # scripts and configure runs, see configure's option --config-cache.
77691 # It is not useful on other systems. If it contains results you don't
77692 # want to keep, you may remove or edit it.
77694 # config.status only pays attention to the cache file if you give it
77695 # the --recheck option to rerun configure.
77697 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77698 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77699 # following values.
77701 _ACEOF
77703 # The following way of writing the cache mishandles newlines in values,
77704 # but we know of no workaround that is simple, portable, and efficient.
77705 # So, we kill variables containing newlines.
77706 # Ultrix sh set writes to stderr and can't be redirected directly,
77707 # and sets the high bit in the cache file unless we assign to the vars.
77709 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77710 eval ac_val=\$$ac_var
77711 case $ac_val in #(
77712 *${as_nl}*)
77713 case $ac_var in #(
77714 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77715 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77716 esac
77717 case $ac_var in #(
77718 _ | IFS | as_nl) ;; #(
77719 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77720 *) { eval $ac_var=; unset $ac_var;} ;;
77721 esac ;;
77722 esac
77723 done
77725 (set) 2>&1 |
77726 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77727 *${as_nl}ac_space=\ *)
77728 # `set' does not quote correctly, so add quotes: double-quote
77729 # substitution turns \\\\ into \\, and sed turns \\ into \.
77730 sed -n \
77731 "s/'/'\\\\''/g;
77732 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77733 ;; #(
77735 # `set' quotes correctly as required by POSIX, so do not add quotes.
77736 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77738 esac |
77739 sort
77741 sed '
77742 /^ac_cv_env_/b end
77743 t clear
77744 :clear
77745 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77746 t end
77747 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77748 :end' >>confcache
77749 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77750 if test -w "$cache_file"; then
77751 if test "x$cache_file" != "x/dev/null"; then
77752 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77753 $as_echo "$as_me: updating cache $cache_file" >&6;}
77754 if test ! -f "$cache_file" || test -h "$cache_file"; then
77755 cat confcache >"$cache_file"
77756 else
77757 case $cache_file in #(
77758 */* | ?:*)
77759 mv -f confcache "$cache_file"$$ &&
77760 mv -f "$cache_file"$$ "$cache_file" ;; #(
77762 mv -f confcache "$cache_file" ;;
77763 esac
77766 else
77767 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77768 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77771 rm -f confcache
77773 if test ${multilib} = yes; then
77774 multilib_arg="--enable-multilib"
77775 else
77776 multilib_arg=
77779 # Export all the install information.
77781 glibcxx_toolexecdir=no
77782 glibcxx_toolexeclibdir=no
77783 glibcxx_prefixdir=$prefix
77785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77786 $as_echo_n "checking for gxx-include-dir... " >&6; }
77788 # Check whether --with-gxx-include-dir was given.
77789 if test "${with_gxx_include_dir+set}" = set; then :
77790 withval=$with_gxx_include_dir; case "$withval" in
77791 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77792 no) gxx_include_dir=no ;;
77793 *) gxx_include_dir=$withval ;;
77794 esac
77795 else
77796 gxx_include_dir=no
77799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77800 $as_echo "$gxx_include_dir" >&6; }
77802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77803 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77804 # Check whether --enable-version-specific-runtime-libs was given.
77805 if test "${enable_version_specific_runtime_libs+set}" = set; then :
77806 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77807 yes) version_specific_libs=yes ;;
77808 no) version_specific_libs=no ;;
77809 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77810 esac
77811 else
77812 version_specific_libs=no
77815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77816 $as_echo "$version_specific_libs" >&6; }
77818 # Default case for install directory for include files.
77819 if test $version_specific_libs = no && test $gxx_include_dir = no; then
77820 gxx_include_dir='include/c++/${gcc_version}'
77821 if test -n "$with_cross_host" &&
77822 test x"$with_cross_host" != x"no"; then
77823 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77824 else
77825 gxx_include_dir='${prefix}/'"$gxx_include_dir"
77829 # Version-specific runtime libs processing.
77830 if test $version_specific_libs = yes; then
77831 # Need the gcc compiler version to know where to install libraries
77832 # and header files if --enable-version-specific-runtime-libs option
77833 # is selected. FIXME: these variables are misnamed, there are
77834 # no executables installed in _toolexecdir or _toolexeclibdir.
77835 if test x"$gxx_include_dir" = x"no"; then
77836 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77838 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77839 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77842 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77843 # Install a library built with a cross compiler in tooldir, not libdir.
77844 if test x"$glibcxx_toolexecdir" = x"no"; then
77845 if test -n "$with_cross_host" &&
77846 test x"$with_cross_host" != x"no"; then
77847 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77848 glibcxx_toolexeclibdir='${toolexecdir}/lib'
77849 else
77850 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77851 glibcxx_toolexeclibdir='${libdir}'
77853 multi_os_directory=`$CXX -print-multi-os-directory`
77854 case $multi_os_directory in
77855 .) ;; # Avoid trailing /.
77856 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77857 esac
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77861 $as_echo_n "checking for install location... " >&6; }
77862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77863 $as_echo "$gxx_include_dir" >&6; }
77871 # Export all the include and flag information to Makefiles.
77873 # Used for every C++ compile we perform.
77874 GLIBCXX_INCLUDES="\
77875 -I$glibcxx_builddir/include/$host_alias \
77876 -I$glibcxx_builddir/include \
77877 -I$glibcxx_srcdir/libsupc++"
77879 # For Canadian crosses, pick this up too.
77880 if test $CANADIAN = yes; then
77881 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77884 # Stuff in the actual top level. Currently only used by libsupc++ to
77885 # get unwind* headers from the libgcc dir.
77886 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77887 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77889 # Now, export this to all the little Makefiles....
77894 # Optimization flags that are probably a good idea for thrill-seekers. Just
77895 # uncomment the lines below and make, everything else is ready to go...
77896 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
77897 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
77900 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
77904 # Determine what GCC version number to use in filesystem paths.
77906 get_gcc_base_ver="cat"
77908 # Check whether --with-gcc-major-version-only was given.
77909 if test "${with_gcc_major_version_only+set}" = set; then :
77910 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
77911 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
77919 ac_config_files="$ac_config_files Makefile"
77921 ac_config_files="$ac_config_files scripts/testsuite_flags"
77923 ac_config_files="$ac_config_files scripts/extract_symvers"
77925 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
77928 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
77929 # that multilib installs will end up installed in the correct place.
77930 # The testsuite needs it for multilib-aware ABI baseline files.
77931 # To work around this not being passed down from config-ml.in ->
77932 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
77933 # append it here. Only modify Makefiles that have just been created.
77935 # Also, get rid of this simulated-VPATH thing that automake does.
77936 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"
77939 ac_config_commands="$ac_config_commands generate-headers"
77942 cat >confcache <<\_ACEOF
77943 # This file is a shell script that caches the results of configure
77944 # tests run on this system so they can be shared between configure
77945 # scripts and configure runs, see configure's option --config-cache.
77946 # It is not useful on other systems. If it contains results you don't
77947 # want to keep, you may remove or edit it.
77949 # config.status only pays attention to the cache file if you give it
77950 # the --recheck option to rerun configure.
77952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77954 # following values.
77956 _ACEOF
77958 # The following way of writing the cache mishandles newlines in values,
77959 # but we know of no workaround that is simple, portable, and efficient.
77960 # So, we kill variables containing newlines.
77961 # Ultrix sh set writes to stderr and can't be redirected directly,
77962 # and sets the high bit in the cache file unless we assign to the vars.
77964 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77965 eval ac_val=\$$ac_var
77966 case $ac_val in #(
77967 *${as_nl}*)
77968 case $ac_var in #(
77969 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77971 esac
77972 case $ac_var in #(
77973 _ | IFS | as_nl) ;; #(
77974 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77975 *) { eval $ac_var=; unset $ac_var;} ;;
77976 esac ;;
77977 esac
77978 done
77980 (set) 2>&1 |
77981 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77982 *${as_nl}ac_space=\ *)
77983 # `set' does not quote correctly, so add quotes: double-quote
77984 # substitution turns \\\\ into \\, and sed turns \\ into \.
77985 sed -n \
77986 "s/'/'\\\\''/g;
77987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77988 ;; #(
77990 # `set' quotes correctly as required by POSIX, so do not add quotes.
77991 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77993 esac |
77994 sort
77996 sed '
77997 /^ac_cv_env_/b end
77998 t clear
77999 :clear
78000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78001 t end
78002 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78003 :end' >>confcache
78004 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78005 if test -w "$cache_file"; then
78006 if test "x$cache_file" != "x/dev/null"; then
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78008 $as_echo "$as_me: updating cache $cache_file" >&6;}
78009 if test ! -f "$cache_file" || test -h "$cache_file"; then
78010 cat confcache >"$cache_file"
78011 else
78012 case $cache_file in #(
78013 */* | ?:*)
78014 mv -f confcache "$cache_file"$$ &&
78015 mv -f "$cache_file"$$ "$cache_file" ;; #(
78017 mv -f confcache "$cache_file" ;;
78018 esac
78021 else
78022 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78023 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78026 rm -f confcache
78028 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78029 # Let make expand exec_prefix.
78030 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78032 DEFS=-DHAVE_CONFIG_H
78034 ac_libobjs=
78035 ac_ltlibobjs=
78037 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78038 # 1. Remove the extension, and $U if already installed.
78039 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78040 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78041 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78042 # will be set to the directory where LIBOBJS objects are built.
78043 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78044 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78045 done
78046 LIBOBJS=$ac_libobjs
78048 LTLIBOBJS=$ac_ltlibobjs
78051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78052 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78053 if test -n "$am_sleep_pid"; then
78054 # Hide warnings about reused PIDs.
78055 wait $am_sleep_pid 2>/dev/null
78057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78058 $as_echo "done" >&6; }
78059 if test -n "$EXEEXT"; then
78060 am__EXEEXT_TRUE=
78061 am__EXEEXT_FALSE='#'
78062 else
78063 am__EXEEXT_TRUE='#'
78064 am__EXEEXT_FALSE=
78067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78068 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78071 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78072 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78075 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78076 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78079 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78080 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78083 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78084 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78087 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78088 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78091 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78092 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78095 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78096 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78099 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78100 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78103 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78104 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78107 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78108 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78111 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78112 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78115 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78116 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78119 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78120 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78123 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78124 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78127 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78128 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78131 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78132 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78135 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78136 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78139 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78140 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78143 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78144 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78147 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78148 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78151 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78152 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78155 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78156 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78159 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78160 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78163 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78164 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78167 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78168 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78171 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78172 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78175 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78176 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78179 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78180 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78183 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78184 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78187 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78188 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78191 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78192 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78196 : "${CONFIG_STATUS=./config.status}"
78197 ac_write_fail=0
78198 ac_clean_files_save=$ac_clean_files
78199 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78200 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78201 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78202 as_write_fail=0
78203 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78204 #! $SHELL
78205 # Generated by $as_me.
78206 # Run this file to recreate the current configuration.
78207 # Compiler output produced by configure, useful for debugging
78208 # configure, is in config.log if it exists.
78210 debug=false
78211 ac_cs_recheck=false
78212 ac_cs_silent=false
78214 SHELL=\${CONFIG_SHELL-$SHELL}
78215 export SHELL
78216 _ASEOF
78217 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78218 ## -------------------- ##
78219 ## M4sh Initialization. ##
78220 ## -------------------- ##
78222 # Be more Bourne compatible
78223 DUALCASE=1; export DUALCASE # for MKS sh
78224 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78225 emulate sh
78226 NULLCMD=:
78227 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78228 # is contrary to our usage. Disable this feature.
78229 alias -g '${1+"$@"}'='"$@"'
78230 setopt NO_GLOB_SUBST
78231 else
78232 case `(set -o) 2>/dev/null` in #(
78233 *posix*) :
78234 set -o posix ;; #(
78235 *) :
78237 esac
78241 as_nl='
78243 export as_nl
78244 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78245 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78246 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78247 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78248 # Prefer a ksh shell builtin over an external printf program on Solaris,
78249 # but without wasting forks for bash or zsh.
78250 if test -z "$BASH_VERSION$ZSH_VERSION" \
78251 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78252 as_echo='print -r --'
78253 as_echo_n='print -rn --'
78254 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78255 as_echo='printf %s\n'
78256 as_echo_n='printf %s'
78257 else
78258 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78259 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78260 as_echo_n='/usr/ucb/echo -n'
78261 else
78262 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78263 as_echo_n_body='eval
78264 arg=$1;
78265 case $arg in #(
78266 *"$as_nl"*)
78267 expr "X$arg" : "X\\(.*\\)$as_nl";
78268 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78269 esac;
78270 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78272 export as_echo_n_body
78273 as_echo_n='sh -c $as_echo_n_body as_echo'
78275 export as_echo_body
78276 as_echo='sh -c $as_echo_body as_echo'
78279 # The user is always right.
78280 if test "${PATH_SEPARATOR+set}" != set; then
78281 PATH_SEPARATOR=:
78282 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78283 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78284 PATH_SEPARATOR=';'
78289 # IFS
78290 # We need space, tab and new line, in precisely that order. Quoting is
78291 # there to prevent editors from complaining about space-tab.
78292 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78293 # splitting by setting IFS to empty value.)
78294 IFS=" "" $as_nl"
78296 # Find who we are. Look in the path if we contain no directory separator.
78297 as_myself=
78298 case $0 in #((
78299 *[\\/]* ) as_myself=$0 ;;
78300 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78301 for as_dir in $PATH
78303 IFS=$as_save_IFS
78304 test -z "$as_dir" && as_dir=.
78305 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78306 done
78307 IFS=$as_save_IFS
78310 esac
78311 # We did not find ourselves, most probably we were run as `sh COMMAND'
78312 # in which case we are not to be found in the path.
78313 if test "x$as_myself" = x; then
78314 as_myself=$0
78316 if test ! -f "$as_myself"; then
78317 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78318 exit 1
78321 # Unset variables that we do not need and which cause bugs (e.g. in
78322 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78323 # suppresses any "Segmentation fault" message there. '((' could
78324 # trigger a bug in pdksh 5.2.14.
78325 for as_var in BASH_ENV ENV MAIL MAILPATH
78326 do eval test x\${$as_var+set} = xset \
78327 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78328 done
78329 PS1='$ '
78330 PS2='> '
78331 PS4='+ '
78333 # NLS nuisances.
78334 LC_ALL=C
78335 export LC_ALL
78336 LANGUAGE=C
78337 export LANGUAGE
78339 # CDPATH.
78340 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78343 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78344 # ----------------------------------------
78345 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78346 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78347 # script with STATUS, using 1 if that was 0.
78348 as_fn_error ()
78350 as_status=$1; test $as_status -eq 0 && as_status=1
78351 if test "$4"; then
78352 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78353 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78355 $as_echo "$as_me: error: $2" >&2
78356 as_fn_exit $as_status
78357 } # as_fn_error
78360 # as_fn_set_status STATUS
78361 # -----------------------
78362 # Set $? to STATUS, without forking.
78363 as_fn_set_status ()
78365 return $1
78366 } # as_fn_set_status
78368 # as_fn_exit STATUS
78369 # -----------------
78370 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78371 as_fn_exit ()
78373 set +e
78374 as_fn_set_status $1
78375 exit $1
78376 } # as_fn_exit
78378 # as_fn_unset VAR
78379 # ---------------
78380 # Portably unset VAR.
78381 as_fn_unset ()
78383 { eval $1=; unset $1;}
78385 as_unset=as_fn_unset
78386 # as_fn_append VAR VALUE
78387 # ----------------------
78388 # Append the text in VALUE to the end of the definition contained in VAR. Take
78389 # advantage of any shell optimizations that allow amortized linear growth over
78390 # repeated appends, instead of the typical quadratic growth present in naive
78391 # implementations.
78392 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78393 eval 'as_fn_append ()
78395 eval $1+=\$2
78397 else
78398 as_fn_append ()
78400 eval $1=\$$1\$2
78402 fi # as_fn_append
78404 # as_fn_arith ARG...
78405 # ------------------
78406 # Perform arithmetic evaluation on the ARGs, and store the result in the
78407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78408 # must be portable across $(()) and expr.
78409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78410 eval 'as_fn_arith ()
78412 as_val=$(( $* ))
78414 else
78415 as_fn_arith ()
78417 as_val=`expr "$@" || test $? -eq 1`
78419 fi # as_fn_arith
78422 if expr a : '\(a\)' >/dev/null 2>&1 &&
78423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78424 as_expr=expr
78425 else
78426 as_expr=false
78429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78430 as_basename=basename
78431 else
78432 as_basename=false
78435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78436 as_dirname=dirname
78437 else
78438 as_dirname=false
78441 as_me=`$as_basename -- "$0" ||
78442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78443 X"$0" : 'X\(//\)$' \| \
78444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78445 $as_echo X/"$0" |
78446 sed '/^.*\/\([^/][^/]*\)\/*$/{
78447 s//\1/
78450 /^X\/\(\/\/\)$/{
78451 s//\1/
78454 /^X\/\(\/\).*/{
78455 s//\1/
78458 s/.*/./; q'`
78460 # Avoid depending upon Character Ranges.
78461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78464 as_cr_digits='0123456789'
78465 as_cr_alnum=$as_cr_Letters$as_cr_digits
78467 ECHO_C= ECHO_N= ECHO_T=
78468 case `echo -n x` in #(((((
78469 -n*)
78470 case `echo 'xy\c'` in
78471 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78472 xy) ECHO_C='\c';;
78473 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78474 ECHO_T=' ';;
78475 esac;;
78477 ECHO_N='-n';;
78478 esac
78480 rm -f conf$$ conf$$.exe conf$$.file
78481 if test -d conf$$.dir; then
78482 rm -f conf$$.dir/conf$$.file
78483 else
78484 rm -f conf$$.dir
78485 mkdir conf$$.dir 2>/dev/null
78487 if (echo >conf$$.file) 2>/dev/null; then
78488 if ln -s conf$$.file conf$$ 2>/dev/null; then
78489 as_ln_s='ln -s'
78490 # ... but there are two gotchas:
78491 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78492 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78493 # In both cases, we have to default to `cp -pR'.
78494 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78495 as_ln_s='cp -pR'
78496 elif ln conf$$.file conf$$ 2>/dev/null; then
78497 as_ln_s=ln
78498 else
78499 as_ln_s='cp -pR'
78501 else
78502 as_ln_s='cp -pR'
78504 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78505 rmdir conf$$.dir 2>/dev/null
78508 # as_fn_mkdir_p
78509 # -------------
78510 # Create "$as_dir" as a directory, including parents if necessary.
78511 as_fn_mkdir_p ()
78514 case $as_dir in #(
78515 -*) as_dir=./$as_dir;;
78516 esac
78517 test -d "$as_dir" || eval $as_mkdir_p || {
78518 as_dirs=
78519 while :; do
78520 case $as_dir in #(
78521 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78522 *) as_qdir=$as_dir;;
78523 esac
78524 as_dirs="'$as_qdir' $as_dirs"
78525 as_dir=`$as_dirname -- "$as_dir" ||
78526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78527 X"$as_dir" : 'X\(//\)[^/]' \| \
78528 X"$as_dir" : 'X\(//\)$' \| \
78529 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78530 $as_echo X"$as_dir" |
78531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78532 s//\1/
78535 /^X\(\/\/\)[^/].*/{
78536 s//\1/
78539 /^X\(\/\/\)$/{
78540 s//\1/
78543 /^X\(\/\).*/{
78544 s//\1/
78547 s/.*/./; q'`
78548 test -d "$as_dir" && break
78549 done
78550 test -z "$as_dirs" || eval "mkdir $as_dirs"
78551 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78554 } # as_fn_mkdir_p
78555 if mkdir -p . 2>/dev/null; then
78556 as_mkdir_p='mkdir -p "$as_dir"'
78557 else
78558 test -d ./-p && rmdir ./-p
78559 as_mkdir_p=false
78563 # as_fn_executable_p FILE
78564 # -----------------------
78565 # Test if FILE is an executable regular file.
78566 as_fn_executable_p ()
78568 test -f "$1" && test -x "$1"
78569 } # as_fn_executable_p
78570 as_test_x='test -x'
78571 as_executable_p=as_fn_executable_p
78573 # Sed expression to map a string onto a valid CPP name.
78574 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78576 # Sed expression to map a string onto a valid variable name.
78577 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78580 exec 6>&1
78581 ## ----------------------------------- ##
78582 ## Main body of $CONFIG_STATUS script. ##
78583 ## ----------------------------------- ##
78584 _ASEOF
78585 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78588 # Save the log message, to keep $0 and so on meaningful, and to
78589 # report actual input values of CONFIG_FILES etc. instead of their
78590 # values after options handling.
78591 ac_log="
78592 This file was extended by package-unused $as_me version-unused, which was
78593 generated by GNU Autoconf 2.69. Invocation command line was
78595 CONFIG_FILES = $CONFIG_FILES
78596 CONFIG_HEADERS = $CONFIG_HEADERS
78597 CONFIG_LINKS = $CONFIG_LINKS
78598 CONFIG_COMMANDS = $CONFIG_COMMANDS
78599 $ $0 $@
78601 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78604 _ACEOF
78606 case $ac_config_files in *"
78607 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78608 esac
78610 case $ac_config_headers in *"
78611 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78612 esac
78615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78616 # Files that config.status was made for.
78617 config_files="$ac_config_files"
78618 config_headers="$ac_config_headers"
78619 config_commands="$ac_config_commands"
78621 _ACEOF
78623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78624 ac_cs_usage="\
78625 \`$as_me' instantiates files and other configuration actions
78626 from templates according to the current configuration. Unless the files
78627 and actions are specified as TAGs, all are instantiated by default.
78629 Usage: $0 [OPTION]... [TAG]...
78631 -h, --help print this help, then exit
78632 -V, --version print version number and configuration settings, then exit
78633 --config print configuration, then exit
78634 -q, --quiet, --silent
78635 do not print progress messages
78636 -d, --debug don't remove temporary files
78637 --recheck update $as_me by reconfiguring in the same conditions
78638 --file=FILE[:TEMPLATE]
78639 instantiate the configuration file FILE
78640 --header=FILE[:TEMPLATE]
78641 instantiate the configuration header FILE
78643 Configuration files:
78644 $config_files
78646 Configuration headers:
78647 $config_headers
78649 Configuration commands:
78650 $config_commands
78652 Report bugs to the package provider."
78654 _ACEOF
78655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78656 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78657 ac_cs_version="\\
78658 package-unused config.status version-unused
78659 configured by $0, generated by GNU Autoconf 2.69,
78660 with options \\"\$ac_cs_config\\"
78662 Copyright (C) 2012 Free Software Foundation, Inc.
78663 This config.status script is free software; the Free Software Foundation
78664 gives unlimited permission to copy, distribute and modify it."
78666 ac_pwd='$ac_pwd'
78667 srcdir='$srcdir'
78668 INSTALL='$INSTALL'
78669 MKDIR_P='$MKDIR_P'
78670 AWK='$AWK'
78671 test -n "\$AWK" || AWK=awk
78672 _ACEOF
78674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78675 # The default lists apply if the user does not specify any file.
78676 ac_need_defaults=:
78677 while test $# != 0
78679 case $1 in
78680 --*=?*)
78681 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78682 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78683 ac_shift=:
78685 --*=)
78686 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78687 ac_optarg=
78688 ac_shift=:
78691 ac_option=$1
78692 ac_optarg=$2
78693 ac_shift=shift
78695 esac
78697 case $ac_option in
78698 # Handling of the options.
78699 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78700 ac_cs_recheck=: ;;
78701 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78702 $as_echo "$ac_cs_version"; exit ;;
78703 --config | --confi | --conf | --con | --co | --c )
78704 $as_echo "$ac_cs_config"; exit ;;
78705 --debug | --debu | --deb | --de | --d | -d )
78706 debug=: ;;
78707 --file | --fil | --fi | --f )
78708 $ac_shift
78709 case $ac_optarg in
78710 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78711 '') as_fn_error $? "missing file argument" ;;
78712 esac
78713 as_fn_append CONFIG_FILES " '$ac_optarg'"
78714 ac_need_defaults=false;;
78715 --header | --heade | --head | --hea )
78716 $ac_shift
78717 case $ac_optarg in
78718 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78719 esac
78720 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78721 ac_need_defaults=false;;
78722 --he | --h)
78723 # Conflict between --help and --header
78724 as_fn_error $? "ambiguous option: \`$1'
78725 Try \`$0 --help' for more information.";;
78726 --help | --hel | -h )
78727 $as_echo "$ac_cs_usage"; exit ;;
78728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78729 | -silent | --silent | --silen | --sile | --sil | --si | --s)
78730 ac_cs_silent=: ;;
78732 # This is an error.
78733 -*) as_fn_error $? "unrecognized option: \`$1'
78734 Try \`$0 --help' for more information." ;;
78736 *) as_fn_append ac_config_targets " $1"
78737 ac_need_defaults=false ;;
78739 esac
78740 shift
78741 done
78743 ac_configure_extra_args=
78745 if $ac_cs_silent; then
78746 exec 6>/dev/null
78747 ac_configure_extra_args="$ac_configure_extra_args --silent"
78750 _ACEOF
78751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78752 if \$ac_cs_recheck; then
78753 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78754 shift
78755 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78756 CONFIG_SHELL='$SHELL'
78757 export CONFIG_SHELL
78758 exec "\$@"
78761 _ACEOF
78762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78763 exec 5>>config.log
78765 echo
78766 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78767 ## Running $as_me. ##
78768 _ASBOX
78769 $as_echo "$ac_log"
78770 } >&5
78772 _ACEOF
78773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78775 # INIT-COMMANDS
78778 srcdir="$srcdir"
78779 host="$host"
78780 target="$target"
78781 with_multisubdir="$with_multisubdir"
78782 with_multisrctop="$with_multisrctop"
78783 with_target_subdir="$with_target_subdir"
78784 ac_configure_args="${multilib_arg} ${ac_configure_args}"
78785 multi_basedir="$multi_basedir"
78786 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78787 CC="$CC"
78788 CXX="$CXX"
78789 GFORTRAN="$GFORTRAN"
78790 GDC="$GDC"
78793 # The HP-UX ksh and POSIX shell print the target directory to stdout
78794 # if CDPATH is set.
78795 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78797 sed_quote_subst='$sed_quote_subst'
78798 double_quote_subst='$double_quote_subst'
78799 delay_variable_subst='$delay_variable_subst'
78800 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78801 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78802 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78803 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78804 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78805 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78806 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78807 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78808 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78809 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78810 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78811 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78812 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78813 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78814 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78815 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78816 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78817 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78818 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78819 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78820 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78821 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78822 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78823 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78824 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78825 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78826 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78827 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78828 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78829 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78830 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78831 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78832 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78833 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78834 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78835 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78836 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78837 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78838 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78839 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78840 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78841 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78842 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78843 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78844 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78845 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78846 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78847 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78848 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"`'
78849 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78850 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78851 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78852 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78853 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78854 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78855 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78856 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78857 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78858 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78859 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78860 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78861 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78862 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78863 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78864 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78865 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78866 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78867 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78868 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78869 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78870 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78871 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78872 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78873 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78874 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78875 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78876 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78877 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78878 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78879 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78880 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78881 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78882 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78883 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78884 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78885 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78886 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78887 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78888 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78889 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78890 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78891 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78892 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78893 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78894 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78895 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78896 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
78897 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
78898 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
78899 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
78900 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
78901 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
78902 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
78903 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
78904 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
78905 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
78906 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
78907 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78908 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78909 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
78910 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
78911 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
78912 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
78913 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
78914 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
78915 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
78916 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
78917 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
78918 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
78919 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
78920 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
78921 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
78922 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
78923 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
78924 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
78925 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
78926 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
78927 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
78928 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78929 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78930 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
78931 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
78932 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
78933 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
78934 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
78935 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
78936 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
78937 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
78938 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
78939 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78940 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78941 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
78942 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78943 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78944 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78945 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78946 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78947 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78948 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
78949 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78950 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78951 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78952 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
78953 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
78954 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
78955 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
78956 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
78957 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
78958 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
78959 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
78960 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
78961 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
78962 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
78963 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78964 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78965 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78966 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78967 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
78968 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
78969 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
78970 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78971 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78972 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
78973 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
78974 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
78976 LTCC='$LTCC'
78977 LTCFLAGS='$LTCFLAGS'
78978 compiler='$compiler_DEFAULT'
78980 # A function that is used when there is no print builtin or printf.
78981 func_fallback_echo ()
78983 eval 'cat <<_LTECHO_EOF
78985 _LTECHO_EOF'
78988 # Quote evaled strings.
78989 for var in SHELL \
78990 ECHO \
78991 SED \
78992 GREP \
78993 EGREP \
78994 FGREP \
78995 LD \
78996 NM \
78997 LN_S \
78998 lt_SP2NL \
78999 lt_NL2SP \
79000 reload_flag \
79001 OBJDUMP \
79002 deplibs_check_method \
79003 file_magic_cmd \
79004 AR \
79005 AR_FLAGS \
79006 STRIP \
79007 RANLIB \
79008 CC \
79009 CFLAGS \
79010 compiler \
79011 lt_cv_sys_global_symbol_pipe \
79012 lt_cv_sys_global_symbol_to_cdecl \
79013 lt_cv_sys_global_symbol_to_c_name_address \
79014 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79015 lt_prog_compiler_no_builtin_flag \
79016 lt_prog_compiler_wl \
79017 lt_prog_compiler_pic \
79018 lt_prog_compiler_static \
79019 lt_cv_prog_compiler_c_o \
79020 need_locks \
79021 DSYMUTIL \
79022 NMEDIT \
79023 LIPO \
79024 OTOOL \
79025 OTOOL64 \
79026 shrext_cmds \
79027 export_dynamic_flag_spec \
79028 whole_archive_flag_spec \
79029 compiler_needs_object \
79030 with_gnu_ld \
79031 allow_undefined_flag \
79032 no_undefined_flag \
79033 hardcode_libdir_flag_spec \
79034 hardcode_libdir_flag_spec_ld \
79035 hardcode_libdir_separator \
79036 fix_srcfile_path \
79037 exclude_expsyms \
79038 include_expsyms \
79039 file_list_spec \
79040 variables_saved_for_relink \
79041 libname_spec \
79042 library_names_spec \
79043 soname_spec \
79044 install_override_mode \
79045 finish_eval \
79046 old_striplib \
79047 striplib \
79048 compiler_lib_search_dirs \
79049 predep_objects \
79050 postdep_objects \
79051 predeps \
79052 postdeps \
79053 compiler_lib_search_path \
79054 LD_CXX \
79055 reload_flag_CXX \
79056 compiler_CXX \
79057 lt_prog_compiler_no_builtin_flag_CXX \
79058 lt_prog_compiler_wl_CXX \
79059 lt_prog_compiler_pic_CXX \
79060 lt_prog_compiler_static_CXX \
79061 lt_cv_prog_compiler_c_o_CXX \
79062 export_dynamic_flag_spec_CXX \
79063 whole_archive_flag_spec_CXX \
79064 compiler_needs_object_CXX \
79065 with_gnu_ld_CXX \
79066 allow_undefined_flag_CXX \
79067 no_undefined_flag_CXX \
79068 hardcode_libdir_flag_spec_CXX \
79069 hardcode_libdir_flag_spec_ld_CXX \
79070 hardcode_libdir_separator_CXX \
79071 fix_srcfile_path_CXX \
79072 exclude_expsyms_CXX \
79073 include_expsyms_CXX \
79074 file_list_spec_CXX \
79075 compiler_lib_search_dirs_CXX \
79076 predep_objects_CXX \
79077 postdep_objects_CXX \
79078 predeps_CXX \
79079 postdeps_CXX \
79080 compiler_lib_search_path_CXX; do
79081 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79082 *[\\\\\\\`\\"\\\$]*)
79083 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79086 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79088 esac
79089 done
79091 # Double-quote double-evaled strings.
79092 for var in reload_cmds \
79093 old_postinstall_cmds \
79094 old_postuninstall_cmds \
79095 old_archive_cmds \
79096 extract_expsyms_cmds \
79097 old_archive_from_new_cmds \
79098 old_archive_from_expsyms_cmds \
79099 archive_cmds \
79100 archive_expsym_cmds \
79101 module_cmds \
79102 module_expsym_cmds \
79103 export_symbols_cmds \
79104 prelink_cmds \
79105 postinstall_cmds \
79106 postuninstall_cmds \
79107 finish_cmds \
79108 sys_lib_search_path_spec \
79109 sys_lib_dlsearch_path_spec \
79110 reload_cmds_CXX \
79111 old_archive_cmds_CXX \
79112 old_archive_from_new_cmds_CXX \
79113 old_archive_from_expsyms_cmds_CXX \
79114 archive_cmds_CXX \
79115 archive_expsym_cmds_CXX \
79116 module_cmds_CXX \
79117 module_expsym_cmds_CXX \
79118 export_symbols_cmds_CXX \
79119 prelink_cmds_CXX; do
79120 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79121 *[\\\\\\\`\\"\\\$]*)
79122 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79125 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79127 esac
79128 done
79130 ac_aux_dir='$ac_aux_dir'
79131 xsi_shell='$xsi_shell'
79132 lt_shell_append='$lt_shell_append'
79134 # See if we are running on zsh, and set the options which allow our
79135 # commands through without removal of \ escapes INIT.
79136 if test -n "\${ZSH_VERSION+set}" ; then
79137 setopt NO_GLOB_SUBST
79141 PACKAGE='$PACKAGE'
79142 VERSION='$VERSION'
79143 TIMESTAMP='$TIMESTAMP'
79144 RM='$RM'
79145 ofile='$ofile'
79152 GCC="$GCC"
79153 CC="$CC"
79154 acx_cv_header_stdint="$acx_cv_header_stdint"
79155 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79156 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79157 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79158 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79159 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79160 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79161 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79162 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79163 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79164 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79165 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79166 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79167 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79170 _ACEOF
79172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79174 # Handling of arguments.
79175 for ac_config_target in $ac_config_targets
79177 case $ac_config_target in
79178 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79179 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79180 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79181 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79182 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79183 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79184 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79185 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79186 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79187 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79188 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79189 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79190 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79191 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79192 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79193 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79194 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79195 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79196 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79197 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79199 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79200 esac
79201 done
79204 # If the user did not use the arguments to specify the items to instantiate,
79205 # then the envvar interface is used. Set only those that are not.
79206 # We use the long form for the default assignment because of an extremely
79207 # bizarre bug on SunOS 4.1.3.
79208 if $ac_need_defaults; then
79209 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79210 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79211 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79214 # Have a temporary directory for convenience. Make it in the build tree
79215 # simply because there is no reason against having it here, and in addition,
79216 # creating and moving files from /tmp can sometimes cause problems.
79217 # Hook for its removal unless debugging.
79218 # Note that there is a small window in which the directory will not be cleaned:
79219 # after its creation but before its name has been assigned to `$tmp'.
79220 $debug ||
79222 tmp= ac_tmp=
79223 trap 'exit_status=$?
79224 : "${ac_tmp:=$tmp}"
79225 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79227 trap 'as_fn_exit 1' 1 2 13 15
79229 # Create a (secure) tmp directory for tmp files.
79232 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79233 test -d "$tmp"
79234 } ||
79236 tmp=./conf$$-$RANDOM
79237 (umask 077 && mkdir "$tmp")
79238 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79239 ac_tmp=$tmp
79241 # Set up the scripts for CONFIG_FILES section.
79242 # No need to generate them if there are no CONFIG_FILES.
79243 # This happens for instance with `./config.status config.h'.
79244 if test -n "$CONFIG_FILES"; then
79247 ac_cr=`echo X | tr X '\015'`
79248 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79249 # But we know of no other shell where ac_cr would be empty at this
79250 # point, so we can use a bashism as a fallback.
79251 if test "x$ac_cr" = x; then
79252 eval ac_cr=\$\'\\r\'
79254 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79255 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79256 ac_cs_awk_cr='\\r'
79257 else
79258 ac_cs_awk_cr=$ac_cr
79261 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79262 _ACEOF
79266 echo "cat >conf$$subs.awk <<_ACEOF" &&
79267 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79268 echo "_ACEOF"
79269 } >conf$$subs.sh ||
79270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79271 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79272 ac_delim='%!_!# '
79273 for ac_last_try in false false false false false :; do
79274 . ./conf$$subs.sh ||
79275 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79277 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79278 if test $ac_delim_n = $ac_delim_num; then
79279 break
79280 elif $ac_last_try; then
79281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79282 else
79283 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79285 done
79286 rm -f conf$$subs.sh
79288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79289 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79290 _ACEOF
79291 sed -n '
79293 s/^/S["/; s/!.*/"]=/
79296 s/^[^!]*!//
79297 :repl
79298 t repl
79299 s/'"$ac_delim"'$//
79300 t delim
79303 s/\(.\{148\}\)..*/\1/
79304 t more1
79305 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79308 b repl
79309 :more1
79310 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79313 s/.\{148\}//
79314 t nl
79315 :delim
79317 s/\(.\{148\}\)..*/\1/
79318 t more2
79319 s/["\\]/\\&/g; s/^/"/; s/$/"/
79322 :more2
79323 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79326 s/.\{148\}//
79327 t delim
79328 ' <conf$$subs.awk | sed '
79329 /^[^""]/{
79331 s/\n//
79333 ' >>$CONFIG_STATUS || ac_write_fail=1
79334 rm -f conf$$subs.awk
79335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79336 _ACAWK
79337 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79338 for (key in S) S_is_set[key] = 1
79339 FS = "\a"
79343 line = $ 0
79344 nfields = split(line, field, "@")
79345 substed = 0
79346 len = length(field[1])
79347 for (i = 2; i < nfields; i++) {
79348 key = field[i]
79349 keylen = length(key)
79350 if (S_is_set[key]) {
79351 value = S[key]
79352 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79353 len += length(value) + length(field[++i])
79354 substed = 1
79355 } else
79356 len += 1 + keylen
79359 print line
79362 _ACAWK
79363 _ACEOF
79364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79365 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79366 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79367 else
79369 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79370 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79371 _ACEOF
79373 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79374 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79375 # trailing colons and then remove the whole line if VPATH becomes empty
79376 # (actually we leave an empty line to preserve line numbers).
79377 if test "x$srcdir" = x.; then
79378 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79380 s///
79381 s/^/:/
79382 s/[ ]*$/:/
79383 s/:\$(srcdir):/:/g
79384 s/:\${srcdir}:/:/g
79385 s/:@srcdir@:/:/g
79386 s/^:*//
79387 s/:*$//
79389 s/\(=[ ]*\).*/\1/
79391 s/\n//
79392 s/^[^=]*=[ ]*$//
79396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79397 fi # test -n "$CONFIG_FILES"
79399 # Set up the scripts for CONFIG_HEADERS section.
79400 # No need to generate them if there are no CONFIG_HEADERS.
79401 # This happens for instance with `./config.status Makefile'.
79402 if test -n "$CONFIG_HEADERS"; then
79403 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79404 BEGIN {
79405 _ACEOF
79407 # Transform confdefs.h into an awk script `defines.awk', embedded as
79408 # here-document in config.status, that substitutes the proper values into
79409 # config.h.in to produce config.h.
79411 # Create a delimiter string that does not exist in confdefs.h, to ease
79412 # handling of long lines.
79413 ac_delim='%!_!# '
79414 for ac_last_try in false false :; do
79415 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79416 if test -z "$ac_tt"; then
79417 break
79418 elif $ac_last_try; then
79419 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79420 else
79421 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79423 done
79425 # For the awk script, D is an array of macro values keyed by name,
79426 # likewise P contains macro parameters if any. Preserve backslash
79427 # newline sequences.
79429 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79430 sed -n '
79431 s/.\{148\}/&'"$ac_delim"'/g
79432 t rset
79433 :rset
79434 s/^[ ]*#[ ]*define[ ][ ]*/ /
79435 t def
79437 :def
79438 s/\\$//
79439 t bsnl
79440 s/["\\]/\\&/g
79441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79442 D["\1"]=" \3"/p
79443 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79445 :bsnl
79446 s/["\\]/\\&/g
79447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79448 D["\1"]=" \3\\\\\\n"\\/p
79449 t cont
79450 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79451 t cont
79453 :cont
79455 s/.\{148\}/&'"$ac_delim"'/g
79456 t clear
79457 :clear
79458 s/\\$//
79459 t bsnlc
79460 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79462 :bsnlc
79463 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79464 b cont
79465 ' <confdefs.h | sed '
79466 s/'"$ac_delim"'/"\\\
79467 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79470 for (key in D) D_is_set[key] = 1
79471 FS = "\a"
79473 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79474 line = \$ 0
79475 split(line, arg, " ")
79476 if (arg[1] == "#") {
79477 defundef = arg[2]
79478 mac1 = arg[3]
79479 } else {
79480 defundef = substr(arg[1], 2)
79481 mac1 = arg[2]
79483 split(mac1, mac2, "(") #)
79484 macro = mac2[1]
79485 prefix = substr(line, 1, index(line, defundef) - 1)
79486 if (D_is_set[macro]) {
79487 # Preserve the white space surrounding the "#".
79488 print prefix "define", macro P[macro] D[macro]
79489 next
79490 } else {
79491 # Replace #undef with comments. This is necessary, for example,
79492 # in the case of _POSIX_SOURCE, which is predefined and required
79493 # on some systems where configure will not decide to define it.
79494 if (defundef == "undef") {
79495 print "/*", prefix defundef, macro, "*/"
79496 next
79500 { print }
79501 _ACAWK
79502 _ACEOF
79503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79504 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79505 fi # test -n "$CONFIG_HEADERS"
79508 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79509 shift
79510 for ac_tag
79512 case $ac_tag in
79513 :[FHLC]) ac_mode=$ac_tag; continue;;
79514 esac
79515 case $ac_mode$ac_tag in
79516 :[FHL]*:*);;
79517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79518 :[FH]-) ac_tag=-:-;;
79519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79520 esac
79521 ac_save_IFS=$IFS
79522 IFS=:
79523 set x $ac_tag
79524 IFS=$ac_save_IFS
79525 shift
79526 ac_file=$1
79527 shift
79529 case $ac_mode in
79530 :L) ac_source=$1;;
79531 :[FH])
79532 ac_file_inputs=
79533 for ac_f
79535 case $ac_f in
79536 -) ac_f="$ac_tmp/stdin";;
79537 *) # Look for the file first in the build tree, then in the source tree
79538 # (if the path is not absolute). The absolute path cannot be DOS-style,
79539 # because $ac_f cannot contain `:'.
79540 test -f "$ac_f" ||
79541 case $ac_f in
79542 [\\/$]*) false;;
79543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79544 esac ||
79545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79546 esac
79547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79548 as_fn_append ac_file_inputs " '$ac_f'"
79549 done
79551 # Let's still pretend it is `configure' which instantiates (i.e., don't
79552 # use $as_me), people would be surprised to read:
79553 # /* config.h. Generated by config.status. */
79554 configure_input='Generated from '`
79555 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79556 `' by configure.'
79557 if test x"$ac_file" != x-; then
79558 configure_input="$ac_file. $configure_input"
79559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79560 $as_echo "$as_me: creating $ac_file" >&6;}
79562 # Neutralize special characters interpreted by sed in replacement strings.
79563 case $configure_input in #(
79564 *\&* | *\|* | *\\* )
79565 ac_sed_conf_input=`$as_echo "$configure_input" |
79566 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79567 *) ac_sed_conf_input=$configure_input;;
79568 esac
79570 case $ac_tag in
79571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79573 esac
79575 esac
79577 ac_dir=`$as_dirname -- "$ac_file" ||
79578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79579 X"$ac_file" : 'X\(//\)[^/]' \| \
79580 X"$ac_file" : 'X\(//\)$' \| \
79581 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79582 $as_echo X"$ac_file" |
79583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79584 s//\1/
79587 /^X\(\/\/\)[^/].*/{
79588 s//\1/
79591 /^X\(\/\/\)$/{
79592 s//\1/
79595 /^X\(\/\).*/{
79596 s//\1/
79599 s/.*/./; q'`
79600 as_dir="$ac_dir"; as_fn_mkdir_p
79601 ac_builddir=.
79603 case "$ac_dir" in
79604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79607 # A ".." for each directory in $ac_dir_suffix.
79608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79609 case $ac_top_builddir_sub in
79610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79612 esac ;;
79613 esac
79614 ac_abs_top_builddir=$ac_pwd
79615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79616 # for backward compatibility:
79617 ac_top_builddir=$ac_top_build_prefix
79619 case $srcdir in
79620 .) # We are building in place.
79621 ac_srcdir=.
79622 ac_top_srcdir=$ac_top_builddir_sub
79623 ac_abs_top_srcdir=$ac_pwd ;;
79624 [\\/]* | ?:[\\/]* ) # Absolute name.
79625 ac_srcdir=$srcdir$ac_dir_suffix;
79626 ac_top_srcdir=$srcdir
79627 ac_abs_top_srcdir=$srcdir ;;
79628 *) # Relative name.
79629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79630 ac_top_srcdir=$ac_top_build_prefix$srcdir
79631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79632 esac
79633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79636 case $ac_mode in
79639 # CONFIG_FILE
79642 case $INSTALL in
79643 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79644 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79645 esac
79646 ac_MKDIR_P=$MKDIR_P
79647 case $MKDIR_P in
79648 [\\/$]* | ?:[\\/]* ) ;;
79649 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79650 esac
79651 _ACEOF
79653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79654 # If the template does not know about datarootdir, expand it.
79655 # FIXME: This hack should be removed a few years after 2.60.
79656 ac_datarootdir_hack=; ac_datarootdir_seen=
79657 ac_sed_dataroot='
79658 /datarootdir/ {
79662 /@datadir@/p
79663 /@docdir@/p
79664 /@infodir@/p
79665 /@localedir@/p
79666 /@mandir@/p'
79667 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79668 *datarootdir*) ac_datarootdir_seen=yes;;
79669 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79671 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79672 _ACEOF
79673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79674 ac_datarootdir_hack='
79675 s&@datadir@&$datadir&g
79676 s&@docdir@&$docdir&g
79677 s&@infodir@&$infodir&g
79678 s&@localedir@&$localedir&g
79679 s&@mandir@&$mandir&g
79680 s&\\\${datarootdir}&$datarootdir&g' ;;
79681 esac
79682 _ACEOF
79684 # Neutralize VPATH when `$srcdir' = `.'.
79685 # Shell code in configure.ac might set extrasub.
79686 # FIXME: do we really want to maintain this feature?
79687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79688 ac_sed_extra="$ac_vpsub
79689 $extrasub
79690 _ACEOF
79691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79694 s|@configure_input@|$ac_sed_conf_input|;t t
79695 s&@top_builddir@&$ac_top_builddir_sub&;t t
79696 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79697 s&@srcdir@&$ac_srcdir&;t t
79698 s&@abs_srcdir@&$ac_abs_srcdir&;t t
79699 s&@top_srcdir@&$ac_top_srcdir&;t t
79700 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79701 s&@builddir@&$ac_builddir&;t t
79702 s&@abs_builddir@&$ac_abs_builddir&;t t
79703 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79704 s&@INSTALL@&$ac_INSTALL&;t t
79705 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79706 $ac_datarootdir_hack
79708 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79709 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79711 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79712 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79713 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
79714 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79716 which seems to be undefined. Please make sure it is defined" >&5
79717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79718 which seems to be undefined. Please make sure it is defined" >&2;}
79720 rm -f "$ac_tmp/stdin"
79721 case $ac_file in
79722 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79723 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79724 esac \
79725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79729 # CONFIG_HEADER
79731 if test x"$ac_file" != x-; then
79733 $as_echo "/* $configure_input */" \
79734 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79735 } >"$ac_tmp/config.h" \
79736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79737 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79738 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79739 $as_echo "$as_me: $ac_file is unchanged" >&6;}
79740 else
79741 rm -f "$ac_file"
79742 mv "$ac_tmp/config.h" "$ac_file" \
79743 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79745 else
79746 $as_echo "/* $configure_input */" \
79747 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79748 || as_fn_error $? "could not create -" "$LINENO" 5
79750 # Compute "$ac_file"'s index in $config_headers.
79751 _am_arg="$ac_file"
79752 _am_stamp_count=1
79753 for _am_header in $config_headers :; do
79754 case $_am_header in
79755 $_am_arg | $_am_arg:* )
79756 break ;;
79758 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79759 esac
79760 done
79761 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79762 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79763 X"$_am_arg" : 'X\(//\)[^/]' \| \
79764 X"$_am_arg" : 'X\(//\)$' \| \
79765 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79766 $as_echo X"$_am_arg" |
79767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79768 s//\1/
79771 /^X\(\/\/\)[^/].*/{
79772 s//\1/
79775 /^X\(\/\/\)$/{
79776 s//\1/
79779 /^X\(\/\).*/{
79780 s//\1/
79783 s/.*/./; q'`/stamp-h$_am_stamp_count
79786 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79787 $as_echo "$as_me: executing $ac_file commands" >&6;}
79789 esac
79792 case $ac_file$ac_mode in
79793 "default-1":C)
79794 # Only add multilib support code if we just rebuilt the top-level
79795 # Makefile.
79796 case " $CONFIG_FILES " in
79797 *" Makefile "*)
79798 ac_file=Makefile . ${multi_basedir}/config-ml.in
79800 esac ;;
79801 "libtool":C)
79803 # See if we are running on zsh, and set the options which allow our
79804 # commands through without removal of \ escapes.
79805 if test -n "${ZSH_VERSION+set}" ; then
79806 setopt NO_GLOB_SUBST
79809 cfgfile="${ofile}T"
79810 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79811 $RM "$cfgfile"
79813 cat <<_LT_EOF >> "$cfgfile"
79814 #! $SHELL
79816 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79817 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79818 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79819 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
79821 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79822 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79823 # Written by Gordon Matzigkeit, 1996
79825 # This file is part of GNU Libtool.
79827 # GNU Libtool is free software; you can redistribute it and/or
79828 # modify it under the terms of the GNU General Public License as
79829 # published by the Free Software Foundation; either version 2 of
79830 # the License, or (at your option) any later version.
79832 # As a special exception to the GNU General Public License,
79833 # if you distribute this file as part of a program or library that
79834 # is built using GNU Libtool, you may include this file under the
79835 # same distribution terms that you use for the rest of that program.
79837 # GNU Libtool is distributed in the hope that it will be useful,
79838 # but WITHOUT ANY WARRANTY; without even the implied warranty of
79839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79840 # GNU General Public License for more details.
79842 # You should have received a copy of the GNU General Public License
79843 # along with GNU Libtool; see the file COPYING. If not, a copy
79844 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79845 # obtained by writing to the Free Software Foundation, Inc.,
79846 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79849 # The names of the tagged configurations supported by this script.
79850 available_tags="CXX "
79852 # ### BEGIN LIBTOOL CONFIG
79854 # Which release of libtool.m4 was used?
79855 macro_version=$macro_version
79856 macro_revision=$macro_revision
79858 # Whether or not to build shared libraries.
79859 build_libtool_libs=$enable_shared
79861 # Whether or not to build static libraries.
79862 build_old_libs=$enable_static
79864 # What type of objects to build.
79865 pic_mode=$pic_mode
79867 # Whether or not to optimize for fast installation.
79868 fast_install=$enable_fast_install
79870 # Shell to use when invoking shell scripts.
79871 SHELL=$lt_SHELL
79873 # An echo program that protects backslashes.
79874 ECHO=$lt_ECHO
79876 # The host system.
79877 host_alias=$host_alias
79878 host=$host
79879 host_os=$host_os
79881 # The build system.
79882 build_alias=$build_alias
79883 build=$build
79884 build_os=$build_os
79886 # A sed program that does not truncate output.
79887 SED=$lt_SED
79889 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
79890 Xsed="\$SED -e 1s/^X//"
79892 # A grep program that handles long lines.
79893 GREP=$lt_GREP
79895 # An ERE matcher.
79896 EGREP=$lt_EGREP
79898 # A literal string matcher.
79899 FGREP=$lt_FGREP
79901 # A BSD- or MS-compatible name lister.
79902 NM=$lt_NM
79904 # Whether we need soft or hard links.
79905 LN_S=$lt_LN_S
79907 # What is the maximum length of a command?
79908 max_cmd_len=$max_cmd_len
79910 # Object file suffix (normally "o").
79911 objext=$ac_objext
79913 # Executable file suffix (normally "").
79914 exeext=$exeext
79916 # whether the shell understands "unset".
79917 lt_unset=$lt_unset
79919 # turn spaces into newlines.
79920 SP2NL=$lt_lt_SP2NL
79922 # turn newlines into spaces.
79923 NL2SP=$lt_lt_NL2SP
79925 # An object symbol dumper.
79926 OBJDUMP=$lt_OBJDUMP
79928 # Method to check whether dependent libraries are shared objects.
79929 deplibs_check_method=$lt_deplibs_check_method
79931 # Command to use when deplibs_check_method == "file_magic".
79932 file_magic_cmd=$lt_file_magic_cmd
79934 # The archiver.
79935 AR=$lt_AR
79936 AR_FLAGS=$lt_AR_FLAGS
79938 # A symbol stripping program.
79939 STRIP=$lt_STRIP
79941 # Commands used to install an old-style archive.
79942 RANLIB=$lt_RANLIB
79943 old_postinstall_cmds=$lt_old_postinstall_cmds
79944 old_postuninstall_cmds=$lt_old_postuninstall_cmds
79946 # Whether to use a lock for old archive extraction.
79947 lock_old_archive_extraction=$lock_old_archive_extraction
79949 # A C compiler.
79950 LTCC=$lt_CC
79952 # LTCC compiler flags.
79953 LTCFLAGS=$lt_CFLAGS
79955 # Take the output of nm and produce a listing of raw symbols and C names.
79956 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
79958 # Transform the output of nm in a proper C declaration.
79959 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
79961 # Transform the output of nm in a C name address pair.
79962 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
79964 # Transform the output of nm in a C name address pair when lib prefix is needed.
79965 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
79967 # The name of the directory that contains temporary libtool files.
79968 objdir=$objdir
79970 # Used to examine libraries when file_magic_cmd begins with "file".
79971 MAGIC_CMD=$MAGIC_CMD
79973 # Must we lock files when doing compilation?
79974 need_locks=$lt_need_locks
79976 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
79977 DSYMUTIL=$lt_DSYMUTIL
79979 # Tool to change global to local symbols on Mac OS X.
79980 NMEDIT=$lt_NMEDIT
79982 # Tool to manipulate fat objects and archives on Mac OS X.
79983 LIPO=$lt_LIPO
79985 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
79986 OTOOL=$lt_OTOOL
79988 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
79989 OTOOL64=$lt_OTOOL64
79991 # Old archive suffix (normally "a").
79992 libext=$libext
79994 # Shared library suffix (normally ".so").
79995 shrext_cmds=$lt_shrext_cmds
79997 # The commands to extract the exported symbol list from a shared archive.
79998 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80000 # Variables whose values should be saved in libtool wrapper scripts and
80001 # restored at link time.
80002 variables_saved_for_relink=$lt_variables_saved_for_relink
80004 # Do we need the "lib" prefix for modules?
80005 need_lib_prefix=$need_lib_prefix
80007 # Do we need a version for libraries?
80008 need_version=$need_version
80010 # Library versioning type.
80011 version_type=$version_type
80013 # Shared library runtime path variable.
80014 runpath_var=$runpath_var
80016 # Shared library path variable.
80017 shlibpath_var=$shlibpath_var
80019 # Is shlibpath searched before the hard-coded library search path?
80020 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80022 # Format of library name prefix.
80023 libname_spec=$lt_libname_spec
80025 # List of archive names. First name is the real one, the rest are links.
80026 # The last name is the one that the linker finds with -lNAME
80027 library_names_spec=$lt_library_names_spec
80029 # The coded name of the library, if different from the real name.
80030 soname_spec=$lt_soname_spec
80032 # Permission mode override for installation of shared libraries.
80033 install_override_mode=$lt_install_override_mode
80035 # Command to use after installation of a shared archive.
80036 postinstall_cmds=$lt_postinstall_cmds
80038 # Command to use after uninstallation of a shared archive.
80039 postuninstall_cmds=$lt_postuninstall_cmds
80041 # Commands used to finish a libtool library installation in a directory.
80042 finish_cmds=$lt_finish_cmds
80044 # As "finish_cmds", except a single script fragment to be evaled but
80045 # not shown.
80046 finish_eval=$lt_finish_eval
80048 # Whether we should hardcode library paths into libraries.
80049 hardcode_into_libs=$hardcode_into_libs
80051 # Compile-time system search path for libraries.
80052 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80054 # Run-time system search path for libraries.
80055 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80057 # Whether dlopen is supported.
80058 dlopen_support=$enable_dlopen
80060 # Whether dlopen of programs is supported.
80061 dlopen_self=$enable_dlopen_self
80063 # Whether dlopen of statically linked programs is supported.
80064 dlopen_self_static=$enable_dlopen_self_static
80066 # Commands to strip libraries.
80067 old_striplib=$lt_old_striplib
80068 striplib=$lt_striplib
80071 # The linker used to build libraries.
80072 LD=$lt_LD
80074 # How to create reloadable object files.
80075 reload_flag=$lt_reload_flag
80076 reload_cmds=$lt_reload_cmds
80078 # Commands used to build an old-style archive.
80079 old_archive_cmds=$lt_old_archive_cmds
80081 # A language specific compiler.
80082 CC=$lt_compiler
80084 # Is the compiler the GNU compiler?
80085 with_gcc=$GCC
80087 # Compiler flag to turn off builtin functions.
80088 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80090 # How to pass a linker flag through the compiler.
80091 wl=$lt_lt_prog_compiler_wl
80093 # Additional compiler flags for building library objects.
80094 pic_flag=$lt_lt_prog_compiler_pic
80096 # Compiler flag to prevent dynamic linking.
80097 link_static_flag=$lt_lt_prog_compiler_static
80099 # Does compiler simultaneously support -c and -o options?
80100 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80102 # Whether or not to add -lc for building shared libraries.
80103 build_libtool_need_lc=$archive_cmds_need_lc
80105 # Whether or not to disallow shared libs when runtime libs are static.
80106 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80108 # Compiler flag to allow reflexive dlopens.
80109 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80111 # Compiler flag to generate shared objects directly from archives.
80112 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80114 # Whether the compiler copes with passing no objects directly.
80115 compiler_needs_object=$lt_compiler_needs_object
80117 # Create an old-style archive from a shared archive.
80118 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80120 # Create a temporary old-style archive to link instead of a shared archive.
80121 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80123 # Commands used to build a shared archive.
80124 archive_cmds=$lt_archive_cmds
80125 archive_expsym_cmds=$lt_archive_expsym_cmds
80127 # Commands used to build a loadable module if different from building
80128 # a shared archive.
80129 module_cmds=$lt_module_cmds
80130 module_expsym_cmds=$lt_module_expsym_cmds
80132 # Whether we are building with GNU ld or not.
80133 with_gnu_ld=$lt_with_gnu_ld
80135 # Flag that allows shared libraries with undefined symbols to be built.
80136 allow_undefined_flag=$lt_allow_undefined_flag
80138 # Flag that enforces no undefined symbols.
80139 no_undefined_flag=$lt_no_undefined_flag
80141 # Flag to hardcode \$libdir into a binary during linking.
80142 # This must work even if \$libdir does not exist
80143 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80145 # If ld is used when linking, flag to hardcode \$libdir into a binary
80146 # during linking. This must work even if \$libdir does not exist.
80147 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80149 # Whether we need a single "-rpath" flag with a separated argument.
80150 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80152 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80153 # DIR into the resulting binary.
80154 hardcode_direct=$hardcode_direct
80156 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80157 # DIR into the resulting binary and the resulting library dependency is
80158 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80159 # library is relocated.
80160 hardcode_direct_absolute=$hardcode_direct_absolute
80162 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80163 # into the resulting binary.
80164 hardcode_minus_L=$hardcode_minus_L
80166 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80167 # into the resulting binary.
80168 hardcode_shlibpath_var=$hardcode_shlibpath_var
80170 # Set to "yes" if building a shared library automatically hardcodes DIR
80171 # into the library and all subsequent libraries and executables linked
80172 # against it.
80173 hardcode_automatic=$hardcode_automatic
80175 # Set to yes if linker adds runtime paths of dependent libraries
80176 # to runtime path list.
80177 inherit_rpath=$inherit_rpath
80179 # Whether libtool must link a program against all its dependency libraries.
80180 link_all_deplibs=$link_all_deplibs
80182 # Fix the shell variable \$srcfile for the compiler.
80183 fix_srcfile_path=$lt_fix_srcfile_path
80185 # Set to "yes" if exported symbols are required.
80186 always_export_symbols=$always_export_symbols
80188 # The commands to list exported symbols.
80189 export_symbols_cmds=$lt_export_symbols_cmds
80191 # Symbols that should not be listed in the preloaded symbols.
80192 exclude_expsyms=$lt_exclude_expsyms
80194 # Symbols that must always be exported.
80195 include_expsyms=$lt_include_expsyms
80197 # Commands necessary for linking programs (against libraries) with templates.
80198 prelink_cmds=$lt_prelink_cmds
80200 # Specify filename containing input files.
80201 file_list_spec=$lt_file_list_spec
80203 # How to hardcode a shared library path into an executable.
80204 hardcode_action=$hardcode_action
80206 # The directories searched by this compiler when creating a shared library.
80207 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80209 # Dependencies to place before and after the objects being linked to
80210 # create a shared library.
80211 predep_objects=$lt_predep_objects
80212 postdep_objects=$lt_postdep_objects
80213 predeps=$lt_predeps
80214 postdeps=$lt_postdeps
80216 # The library search path used internally by the compiler when linking
80217 # a shared library.
80218 compiler_lib_search_path=$lt_compiler_lib_search_path
80220 # ### END LIBTOOL CONFIG
80222 _LT_EOF
80224 case $host_os in
80225 aix3*)
80226 cat <<\_LT_EOF >> "$cfgfile"
80227 # AIX sometimes has problems with the GCC collect2 program. For some
80228 # reason, if we set the COLLECT_NAMES environment variable, the problems
80229 # vanish in a puff of smoke.
80230 if test "X${COLLECT_NAMES+set}" != Xset; then
80231 COLLECT_NAMES=
80232 export COLLECT_NAMES
80234 _LT_EOF
80236 esac
80239 ltmain="$ac_aux_dir/ltmain.sh"
80242 # We use sed instead of cat because bash on DJGPP gets confused if
80243 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80244 # text mode, it properly converts lines to CR/LF. This bash problem
80245 # is reportedly fixed, but why not run on old versions too?
80246 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80247 || (rm -f "$cfgfile"; exit 1)
80249 case $xsi_shell in
80250 yes)
80251 cat << \_LT_EOF >> "$cfgfile"
80253 # func_dirname file append nondir_replacement
80254 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80255 # otherwise set result to NONDIR_REPLACEMENT.
80256 func_dirname ()
80258 case ${1} in
80259 */*) func_dirname_result="${1%/*}${2}" ;;
80260 * ) func_dirname_result="${3}" ;;
80261 esac
80264 # func_basename file
80265 func_basename ()
80267 func_basename_result="${1##*/}"
80270 # func_dirname_and_basename file append nondir_replacement
80271 # perform func_basename and func_dirname in a single function
80272 # call:
80273 # dirname: Compute the dirname of FILE. If nonempty,
80274 # add APPEND to the result, otherwise set result
80275 # to NONDIR_REPLACEMENT.
80276 # value returned in "$func_dirname_result"
80277 # basename: Compute filename of FILE.
80278 # value retuned in "$func_basename_result"
80279 # Implementation must be kept synchronized with func_dirname
80280 # and func_basename. For efficiency, we do not delegate to
80281 # those functions but instead duplicate the functionality here.
80282 func_dirname_and_basename ()
80284 case ${1} in
80285 */*) func_dirname_result="${1%/*}${2}" ;;
80286 * ) func_dirname_result="${3}" ;;
80287 esac
80288 func_basename_result="${1##*/}"
80291 # func_stripname prefix suffix name
80292 # strip PREFIX and SUFFIX off of NAME.
80293 # PREFIX and SUFFIX must not contain globbing or regex special
80294 # characters, hashes, percent signs, but SUFFIX may contain a leading
80295 # dot (in which case that matches only a dot).
80296 func_stripname ()
80298 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80299 # positional parameters, so assign one to ordinary parameter first.
80300 func_stripname_result=${3}
80301 func_stripname_result=${func_stripname_result#"${1}"}
80302 func_stripname_result=${func_stripname_result%"${2}"}
80305 # func_opt_split
80306 func_opt_split ()
80308 func_opt_split_opt=${1%%=*}
80309 func_opt_split_arg=${1#*=}
80312 # func_lo2o object
80313 func_lo2o ()
80315 case ${1} in
80316 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80317 *) func_lo2o_result=${1} ;;
80318 esac
80321 # func_xform libobj-or-source
80322 func_xform ()
80324 func_xform_result=${1%.*}.lo
80327 # func_arith arithmetic-term...
80328 func_arith ()
80330 func_arith_result=$(( $* ))
80333 # func_len string
80334 # STRING may not start with a hyphen.
80335 func_len ()
80337 func_len_result=${#1}
80340 _LT_EOF
80342 *) # Bourne compatible functions.
80343 cat << \_LT_EOF >> "$cfgfile"
80345 # func_dirname file append nondir_replacement
80346 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80347 # otherwise set result to NONDIR_REPLACEMENT.
80348 func_dirname ()
80350 # Extract subdirectory from the argument.
80351 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80352 if test "X$func_dirname_result" = "X${1}"; then
80353 func_dirname_result="${3}"
80354 else
80355 func_dirname_result="$func_dirname_result${2}"
80359 # func_basename file
80360 func_basename ()
80362 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80366 # func_stripname prefix suffix name
80367 # strip PREFIX and SUFFIX off of NAME.
80368 # PREFIX and SUFFIX must not contain globbing or regex special
80369 # characters, hashes, percent signs, but SUFFIX may contain a leading
80370 # dot (in which case that matches only a dot).
80371 # func_strip_suffix prefix name
80372 func_stripname ()
80374 case ${2} in
80375 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80376 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80377 esac
80380 # sed scripts:
80381 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80382 my_sed_long_arg='1s/^-[^=]*=//'
80384 # func_opt_split
80385 func_opt_split ()
80387 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80388 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80391 # func_lo2o object
80392 func_lo2o ()
80394 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80397 # func_xform libobj-or-source
80398 func_xform ()
80400 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80403 # func_arith arithmetic-term...
80404 func_arith ()
80406 func_arith_result=`expr "$@"`
80409 # func_len string
80410 # STRING may not start with a hyphen.
80411 func_len ()
80413 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80416 _LT_EOF
80417 esac
80419 case $lt_shell_append in
80420 yes)
80421 cat << \_LT_EOF >> "$cfgfile"
80423 # func_append var value
80424 # Append VALUE to the end of shell variable VAR.
80425 func_append ()
80427 eval "$1+=\$2"
80429 _LT_EOF
80432 cat << \_LT_EOF >> "$cfgfile"
80434 # func_append var value
80435 # Append VALUE to the end of shell variable VAR.
80436 func_append ()
80438 eval "$1=\$$1\$2"
80441 _LT_EOF
80443 esac
80446 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80447 || (rm -f "$cfgfile"; exit 1)
80449 mv -f "$cfgfile" "$ofile" ||
80450 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80451 chmod +x "$ofile"
80454 cat <<_LT_EOF >> "$ofile"
80456 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80458 # The linker used to build libraries.
80459 LD=$lt_LD_CXX
80461 # How to create reloadable object files.
80462 reload_flag=$lt_reload_flag_CXX
80463 reload_cmds=$lt_reload_cmds_CXX
80465 # Commands used to build an old-style archive.
80466 old_archive_cmds=$lt_old_archive_cmds_CXX
80468 # A language specific compiler.
80469 CC=$lt_compiler_CXX
80471 # Is the compiler the GNU compiler?
80472 with_gcc=$GCC_CXX
80474 # Compiler flag to turn off builtin functions.
80475 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80477 # How to pass a linker flag through the compiler.
80478 wl=$lt_lt_prog_compiler_wl_CXX
80480 # Additional compiler flags for building library objects.
80481 pic_flag=$lt_lt_prog_compiler_pic_CXX
80483 # Compiler flag to prevent dynamic linking.
80484 link_static_flag=$lt_lt_prog_compiler_static_CXX
80486 # Does compiler simultaneously support -c and -o options?
80487 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80489 # Whether or not to add -lc for building shared libraries.
80490 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80492 # Whether or not to disallow shared libs when runtime libs are static.
80493 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80495 # Compiler flag to allow reflexive dlopens.
80496 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80498 # Compiler flag to generate shared objects directly from archives.
80499 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80501 # Whether the compiler copes with passing no objects directly.
80502 compiler_needs_object=$lt_compiler_needs_object_CXX
80504 # Create an old-style archive from a shared archive.
80505 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80507 # Create a temporary old-style archive to link instead of a shared archive.
80508 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80510 # Commands used to build a shared archive.
80511 archive_cmds=$lt_archive_cmds_CXX
80512 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80514 # Commands used to build a loadable module if different from building
80515 # a shared archive.
80516 module_cmds=$lt_module_cmds_CXX
80517 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80519 # Whether we are building with GNU ld or not.
80520 with_gnu_ld=$lt_with_gnu_ld_CXX
80522 # Flag that allows shared libraries with undefined symbols to be built.
80523 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80525 # Flag that enforces no undefined symbols.
80526 no_undefined_flag=$lt_no_undefined_flag_CXX
80528 # Flag to hardcode \$libdir into a binary during linking.
80529 # This must work even if \$libdir does not exist
80530 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80532 # If ld is used when linking, flag to hardcode \$libdir into a binary
80533 # during linking. This must work even if \$libdir does not exist.
80534 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80536 # Whether we need a single "-rpath" flag with a separated argument.
80537 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80539 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80540 # DIR into the resulting binary.
80541 hardcode_direct=$hardcode_direct_CXX
80543 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80544 # DIR into the resulting binary and the resulting library dependency is
80545 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80546 # library is relocated.
80547 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80549 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80550 # into the resulting binary.
80551 hardcode_minus_L=$hardcode_minus_L_CXX
80553 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80554 # into the resulting binary.
80555 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80557 # Set to "yes" if building a shared library automatically hardcodes DIR
80558 # into the library and all subsequent libraries and executables linked
80559 # against it.
80560 hardcode_automatic=$hardcode_automatic_CXX
80562 # Set to yes if linker adds runtime paths of dependent libraries
80563 # to runtime path list.
80564 inherit_rpath=$inherit_rpath_CXX
80566 # Whether libtool must link a program against all its dependency libraries.
80567 link_all_deplibs=$link_all_deplibs_CXX
80569 # Fix the shell variable \$srcfile for the compiler.
80570 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80572 # Set to "yes" if exported symbols are required.
80573 always_export_symbols=$always_export_symbols_CXX
80575 # The commands to list exported symbols.
80576 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80578 # Symbols that should not be listed in the preloaded symbols.
80579 exclude_expsyms=$lt_exclude_expsyms_CXX
80581 # Symbols that must always be exported.
80582 include_expsyms=$lt_include_expsyms_CXX
80584 # Commands necessary for linking programs (against libraries) with templates.
80585 prelink_cmds=$lt_prelink_cmds_CXX
80587 # Specify filename containing input files.
80588 file_list_spec=$lt_file_list_spec_CXX
80590 # How to hardcode a shared library path into an executable.
80591 hardcode_action=$hardcode_action_CXX
80593 # The directories searched by this compiler when creating a shared library.
80594 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80596 # Dependencies to place before and after the objects being linked to
80597 # create a shared library.
80598 predep_objects=$lt_predep_objects_CXX
80599 postdep_objects=$lt_postdep_objects_CXX
80600 predeps=$lt_predeps_CXX
80601 postdeps=$lt_postdeps_CXX
80603 # The library search path used internally by the compiler when linking
80604 # a shared library.
80605 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80607 # ### END LIBTOOL TAG CONFIG: CXX
80608 _LT_EOF
80611 "include/gstdint.h":C)
80612 if test "$GCC" = yes; then
80613 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80614 else
80615 echo "/* generated for $CC */" > tmp-stdint.h
80618 sed 's/^ *//' >> tmp-stdint.h <<EOF
80620 #ifndef GCC_GENERATED_STDINT_H
80621 #define GCC_GENERATED_STDINT_H 1
80623 #include <sys/types.h>
80626 if test "$acx_cv_header_stdint" != stdint.h; then
80627 echo "#include <stddef.h>" >> tmp-stdint.h
80629 if test "$acx_cv_header_stdint" != stddef.h; then
80630 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80633 sed 's/^ *//' >> tmp-stdint.h <<EOF
80634 /* glibc uses these symbols as guards to prevent redefinitions. */
80635 #ifdef __int8_t_defined
80636 #define _INT8_T
80637 #define _INT16_T
80638 #define _INT32_T
80639 #endif
80640 #ifdef __uint32_t_defined
80641 #define _UINT32_T
80642 #endif
80646 # ----------------- done header, emit basic int types -------------
80647 if test "$acx_cv_header_stdint" = stddef.h; then
80648 sed 's/^ *//' >> tmp-stdint.h <<EOF
80650 #ifndef _UINT8_T
80651 #define _UINT8_T
80652 #ifndef __uint8_t_defined
80653 #define __uint8_t_defined
80654 #ifndef uint8_t
80655 typedef unsigned $acx_cv_type_int8_t uint8_t;
80656 #endif
80657 #endif
80658 #endif
80660 #ifndef _UINT16_T
80661 #define _UINT16_T
80662 #ifndef __uint16_t_defined
80663 #define __uint16_t_defined
80664 #ifndef uint16_t
80665 typedef unsigned $acx_cv_type_int16_t uint16_t;
80666 #endif
80667 #endif
80668 #endif
80670 #ifndef _UINT32_T
80671 #define _UINT32_T
80672 #ifndef __uint32_t_defined
80673 #define __uint32_t_defined
80674 #ifndef uint32_t
80675 typedef unsigned $acx_cv_type_int32_t uint32_t;
80676 #endif
80677 #endif
80678 #endif
80680 #ifndef _INT8_T
80681 #define _INT8_T
80682 #ifndef __int8_t_defined
80683 #define __int8_t_defined
80684 #ifndef int8_t
80685 typedef $acx_cv_type_int8_t int8_t;
80686 #endif
80687 #endif
80688 #endif
80690 #ifndef _INT16_T
80691 #define _INT16_T
80692 #ifndef __int16_t_defined
80693 #define __int16_t_defined
80694 #ifndef int16_t
80695 typedef $acx_cv_type_int16_t int16_t;
80696 #endif
80697 #endif
80698 #endif
80700 #ifndef _INT32_T
80701 #define _INT32_T
80702 #ifndef __int32_t_defined
80703 #define __int32_t_defined
80704 #ifndef int32_t
80705 typedef $acx_cv_type_int32_t int32_t;
80706 #endif
80707 #endif
80708 #endif
80710 elif test "$ac_cv_type_u_int32_t" = yes; then
80711 sed 's/^ *//' >> tmp-stdint.h <<EOF
80713 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80714 #ifndef _INT8_T
80715 #define _INT8_T
80716 #endif
80717 #ifndef _INT16_T
80718 #define _INT16_T
80719 #endif
80720 #ifndef _INT32_T
80721 #define _INT32_T
80722 #endif
80724 #ifndef _UINT8_T
80725 #define _UINT8_T
80726 #ifndef __uint8_t_defined
80727 #define __uint8_t_defined
80728 #ifndef uint8_t
80729 typedef u_int8_t uint8_t;
80730 #endif
80731 #endif
80732 #endif
80734 #ifndef _UINT16_T
80735 #define _UINT16_T
80736 #ifndef __uint16_t_defined
80737 #define __uint16_t_defined
80738 #ifndef uint16_t
80739 typedef u_int16_t uint16_t;
80740 #endif
80741 #endif
80742 #endif
80744 #ifndef _UINT32_T
80745 #define _UINT32_T
80746 #ifndef __uint32_t_defined
80747 #define __uint32_t_defined
80748 #ifndef uint32_t
80749 typedef u_int32_t uint32_t;
80750 #endif
80751 #endif
80752 #endif
80754 else
80755 sed 's/^ *//' >> tmp-stdint.h <<EOF
80757 /* Some systems have guard macros to prevent redefinitions, define them. */
80758 #ifndef _INT8_T
80759 #define _INT8_T
80760 #endif
80761 #ifndef _INT16_T
80762 #define _INT16_T
80763 #endif
80764 #ifndef _INT32_T
80765 #define _INT32_T
80766 #endif
80767 #ifndef _UINT8_T
80768 #define _UINT8_T
80769 #endif
80770 #ifndef _UINT16_T
80771 #define _UINT16_T
80772 #endif
80773 #ifndef _UINT32_T
80774 #define _UINT32_T
80775 #endif
80779 # ------------- done basic int types, emit int64_t types ------------
80780 if test "$ac_cv_type_uint64_t" = yes; then
80781 sed 's/^ *//' >> tmp-stdint.h <<EOF
80783 /* system headers have good uint64_t and int64_t */
80784 #ifndef _INT64_T
80785 #define _INT64_T
80786 #endif
80787 #ifndef _UINT64_T
80788 #define _UINT64_T
80789 #endif
80791 elif test "$ac_cv_type_u_int64_t" = yes; then
80792 sed 's/^ *//' >> tmp-stdint.h <<EOF
80794 /* system headers have an u_int64_t (and int64_t) */
80795 #ifndef _INT64_T
80796 #define _INT64_T
80797 #endif
80798 #ifndef _UINT64_T
80799 #define _UINT64_T
80800 #ifndef __uint64_t_defined
80801 #define __uint64_t_defined
80802 #ifndef uint64_t
80803 typedef u_int64_t uint64_t;
80804 #endif
80805 #endif
80806 #endif
80808 elif test -n "$acx_cv_type_int64_t"; then
80809 sed 's/^ *//' >> tmp-stdint.h <<EOF
80811 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80812 #ifndef _INT64_T
80813 #define _INT64_T
80814 #ifndef int64_t
80815 typedef $acx_cv_type_int64_t int64_t;
80816 #endif
80817 #endif
80818 #ifndef _UINT64_T
80819 #define _UINT64_T
80820 #ifndef __uint64_t_defined
80821 #define __uint64_t_defined
80822 #ifndef uint64_t
80823 typedef unsigned $acx_cv_type_int64_t uint64_t;
80824 #endif
80825 #endif
80826 #endif
80828 else
80829 sed 's/^ *//' >> tmp-stdint.h <<EOF
80831 /* some common heuristics for int64_t, using compiler-specific tests */
80832 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80833 #ifndef _INT64_T
80834 #define _INT64_T
80835 #ifndef __int64_t_defined
80836 #ifndef int64_t
80837 typedef long long int64_t;
80838 #endif
80839 #endif
80840 #endif
80841 #ifndef _UINT64_T
80842 #define _UINT64_T
80843 #ifndef uint64_t
80844 typedef unsigned long long uint64_t;
80845 #endif
80846 #endif
80848 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80849 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80850 does not implement __extension__. But that compiler doesn't define
80851 __GNUC_MINOR__. */
80852 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80853 # define __extension__
80854 # endif
80856 # ifndef _INT64_T
80857 # define _INT64_T
80858 # ifndef int64_t
80859 __extension__ typedef long long int64_t;
80860 # endif
80861 # endif
80862 # ifndef _UINT64_T
80863 # define _UINT64_T
80864 # ifndef uint64_t
80865 __extension__ typedef unsigned long long uint64_t;
80866 # endif
80867 # endif
80869 #elif !defined __STRICT_ANSI__
80870 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80872 # ifndef _INT64_T
80873 # define _INT64_T
80874 # ifndef int64_t
80875 typedef __int64 int64_t;
80876 # endif
80877 # endif
80878 # ifndef _UINT64_T
80879 # define _UINT64_T
80880 # ifndef uint64_t
80881 typedef unsigned __int64 uint64_t;
80882 # endif
80883 # endif
80884 # endif /* compiler */
80886 #endif /* ANSI version */
80890 # ------------- done int64_t types, emit intptr types ------------
80891 if test "$ac_cv_type_uintptr_t" != yes; then
80892 sed 's/^ *//' >> tmp-stdint.h <<EOF
80894 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80895 #ifndef __uintptr_t_defined
80896 #ifndef uintptr_t
80897 typedef u$acx_cv_type_intptr_t uintptr_t;
80898 #endif
80899 #endif
80900 #ifndef __intptr_t_defined
80901 #ifndef intptr_t
80902 typedef $acx_cv_type_intptr_t intptr_t;
80903 #endif
80904 #endif
80908 # ------------- done intptr types, emit int_least types ------------
80909 if test "$ac_cv_type_int_least32_t" != yes; then
80910 sed 's/^ *//' >> tmp-stdint.h <<EOF
80912 /* Define int_least types */
80913 typedef int8_t int_least8_t;
80914 typedef int16_t int_least16_t;
80915 typedef int32_t int_least32_t;
80916 #ifdef _INT64_T
80917 typedef int64_t int_least64_t;
80918 #endif
80920 typedef uint8_t uint_least8_t;
80921 typedef uint16_t uint_least16_t;
80922 typedef uint32_t uint_least32_t;
80923 #ifdef _UINT64_T
80924 typedef uint64_t uint_least64_t;
80925 #endif
80929 # ------------- done intptr types, emit int_fast types ------------
80930 if test "$ac_cv_type_int_fast32_t" != yes; then
80931 sed 's/^ *//' >> tmp-stdint.h <<EOF
80933 /* Define int_fast types. short is often slow */
80934 typedef int8_t int_fast8_t;
80935 typedef int int_fast16_t;
80936 typedef int32_t int_fast32_t;
80937 #ifdef _INT64_T
80938 typedef int64_t int_fast64_t;
80939 #endif
80941 typedef uint8_t uint_fast8_t;
80942 typedef unsigned int uint_fast16_t;
80943 typedef uint32_t uint_fast32_t;
80944 #ifdef _UINT64_T
80945 typedef uint64_t uint_fast64_t;
80946 #endif
80950 if test "$ac_cv_type_uintmax_t" != yes; then
80951 sed 's/^ *//' >> tmp-stdint.h <<EOF
80953 /* Define intmax based on what we found */
80954 #ifndef intmax_t
80955 #ifdef _INT64_T
80956 typedef int64_t intmax_t;
80957 #else
80958 typedef long intmax_t;
80959 #endif
80960 #endif
80961 #ifndef uintmax_t
80962 #ifdef _UINT64_T
80963 typedef uint64_t uintmax_t;
80964 #else
80965 typedef unsigned long uintmax_t;
80966 #endif
80967 #endif
80971 sed 's/^ *//' >> tmp-stdint.h <<EOF
80973 #endif /* GCC_GENERATED_STDINT_H */
80976 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
80977 rm -f tmp-stdint.h
80978 else
80979 mv -f tmp-stdint.h include/gstdint.h
80983 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
80984 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
80985 "include/Makefile":F) cat > vpsed$$ << \_EOF
80986 s!`test -f '$<' || echo '$(srcdir)/'`!!
80987 _EOF
80988 sed -f vpsed$$ $ac_file > tmp$$
80989 mv tmp$$ $ac_file
80990 rm vpsed$$
80991 echo 'MULTISUBDIR =' >> $ac_file
80992 ml_norecursion=yes
80993 . ${multi_basedir}/config-ml.in
80994 { ml_norecursion=; unset ml_norecursion;}
80996 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
80997 s!`test -f '$<' || echo '$(srcdir)/'`!!
80998 _EOF
80999 sed -f vpsed$$ $ac_file > tmp$$
81000 mv tmp$$ $ac_file
81001 rm vpsed$$
81002 echo 'MULTISUBDIR =' >> $ac_file
81003 ml_norecursion=yes
81004 . ${multi_basedir}/config-ml.in
81005 { ml_norecursion=; unset ml_norecursion;}
81007 "src/Makefile":F) cat > vpsed$$ << \_EOF
81008 s!`test -f '$<' || echo '$(srcdir)/'`!!
81009 _EOF
81010 sed -f vpsed$$ $ac_file > tmp$$
81011 mv tmp$$ $ac_file
81012 rm vpsed$$
81013 echo 'MULTISUBDIR =' >> $ac_file
81014 ml_norecursion=yes
81015 . ${multi_basedir}/config-ml.in
81016 { ml_norecursion=; unset ml_norecursion;}
81018 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81019 s!`test -f '$<' || echo '$(srcdir)/'`!!
81020 _EOF
81021 sed -f vpsed$$ $ac_file > tmp$$
81022 mv tmp$$ $ac_file
81023 rm vpsed$$
81024 echo 'MULTISUBDIR =' >> $ac_file
81025 ml_norecursion=yes
81026 . ${multi_basedir}/config-ml.in
81027 { ml_norecursion=; unset ml_norecursion;}
81029 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81030 s!`test -f '$<' || echo '$(srcdir)/'`!!
81031 _EOF
81032 sed -f vpsed$$ $ac_file > tmp$$
81033 mv tmp$$ $ac_file
81034 rm vpsed$$
81035 echo 'MULTISUBDIR =' >> $ac_file
81036 ml_norecursion=yes
81037 . ${multi_basedir}/config-ml.in
81038 { ml_norecursion=; unset ml_norecursion;}
81040 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81041 s!`test -f '$<' || echo '$(srcdir)/'`!!
81042 _EOF
81043 sed -f vpsed$$ $ac_file > tmp$$
81044 mv tmp$$ $ac_file
81045 rm vpsed$$
81046 echo 'MULTISUBDIR =' >> $ac_file
81047 ml_norecursion=yes
81048 . ${multi_basedir}/config-ml.in
81049 { ml_norecursion=; unset ml_norecursion;}
81051 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81052 s!`test -f '$<' || echo '$(srcdir)/'`!!
81053 _EOF
81054 sed -f vpsed$$ $ac_file > tmp$$
81055 mv tmp$$ $ac_file
81056 rm vpsed$$
81057 echo 'MULTISUBDIR =' >> $ac_file
81058 ml_norecursion=yes
81059 . ${multi_basedir}/config-ml.in
81060 { ml_norecursion=; unset ml_norecursion;}
81062 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81063 s!`test -f '$<' || echo '$(srcdir)/'`!!
81064 _EOF
81065 sed -f vpsed$$ $ac_file > tmp$$
81066 mv tmp$$ $ac_file
81067 rm vpsed$$
81068 echo 'MULTISUBDIR =' >> $ac_file
81069 ml_norecursion=yes
81070 . ${multi_basedir}/config-ml.in
81071 { ml_norecursion=; unset ml_norecursion;}
81073 "po/Makefile":F) cat > vpsed$$ << \_EOF
81074 s!`test -f '$<' || echo '$(srcdir)/'`!!
81075 _EOF
81076 sed -f vpsed$$ $ac_file > tmp$$
81077 mv tmp$$ $ac_file
81078 rm vpsed$$
81079 echo 'MULTISUBDIR =' >> $ac_file
81080 ml_norecursion=yes
81081 . ${multi_basedir}/config-ml.in
81082 { ml_norecursion=; unset ml_norecursion;}
81084 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81085 s!`test -f '$<' || echo '$(srcdir)/'`!!
81086 _EOF
81087 sed -f vpsed$$ $ac_file > tmp$$
81088 mv tmp$$ $ac_file
81089 rm vpsed$$
81090 echo 'MULTISUBDIR =' >> $ac_file
81091 ml_norecursion=yes
81092 . ${multi_basedir}/config-ml.in
81093 { ml_norecursion=; unset ml_norecursion;}
81095 "python/Makefile":F) cat > vpsed$$ << \_EOF
81096 s!`test -f '$<' || echo '$(srcdir)/'`!!
81097 _EOF
81098 sed -f vpsed$$ $ac_file > tmp$$
81099 mv tmp$$ $ac_file
81100 rm vpsed$$
81101 echo 'MULTISUBDIR =' >> $ac_file
81102 ml_norecursion=yes
81103 . ${multi_basedir}/config-ml.in
81104 { ml_norecursion=; unset ml_norecursion;}
81106 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81108 esac
81109 done # for ac_tag
81112 as_fn_exit 0
81113 _ACEOF
81114 ac_clean_files=$ac_clean_files_save
81116 test $ac_write_fail = 0 ||
81117 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81120 # configure is writing to config.log, and then calls config.status.
81121 # config.status does its own redirection, appending to config.log.
81122 # Unfortunately, on DOS this fails, as config.log is still kept open
81123 # by configure, so config.status won't be able to write to it; its
81124 # output is simply discarded. So we exec the FD to /dev/null,
81125 # effectively closing config.log, so it can be properly (re)opened and
81126 # appended to by config.status. When coming back to configure, we
81127 # need to make the FD available again.
81128 if test "$no_create" != yes; then
81129 ac_cs_success=:
81130 ac_config_status_args=
81131 test "$silent" = yes &&
81132 ac_config_status_args="$ac_config_status_args --quiet"
81133 exec 5>/dev/null
81134 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81135 exec 5>>config.log
81136 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81137 # would make configure fail if this is the last instruction.
81138 $ac_cs_success || as_fn_exit 1
81140 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81142 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}