Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git] / libstdc++-v3 / configure
blobc1aea82707011f52937a63685d6642633b81e405
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 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_FILESYSTEM_TS_FALSE
679 ENABLE_FILESYSTEM_TS_TRUE
680 baseline_subdir_switch
681 baseline_dir
682 HWCAP_CFLAGS
683 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
684 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
685 GLIBCXX_LDBL_COMPAT_FALSE
686 GLIBCXX_LDBL_COMPAT_TRUE
687 LONG_DOUBLE_ALT128_COMPAT_FLAGS
688 LONG_DOUBLE_128_FLAGS
689 LONG_DOUBLE_COMPAT_FLAGS
690 ENABLE_CXX11_ABI_FALSE
691 ENABLE_CXX11_ABI_TRUE
692 glibcxx_cxx98_abi
693 ENABLE_DUAL_ABI_FALSE
694 ENABLE_DUAL_ABI_TRUE
695 ENABLE_VISIBILITY_FALSE
696 ENABLE_VISIBILITY_TRUE
697 libtool_VERSION
698 ENABLE_SYMVERS_SUN_FALSE
699 ENABLE_SYMVERS_SUN_TRUE
700 ENABLE_SYMVERS_DARWIN_FALSE
701 ENABLE_SYMVERS_DARWIN_TRUE
702 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
703 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
704 ENABLE_SYMVERS_GNU_FALSE
705 ENABLE_SYMVERS_GNU_TRUE
706 ENABLE_SYMVERS_FALSE
707 ENABLE_SYMVERS_TRUE
708 port_specific_symbol_files
709 SYMVER_FILE
710 CXXFILT
711 LTLIBICONV
712 LIBICONV
713 OPT_LDFLAGS
714 SECTION_LDFLAGS
715 GLIBCXX_LIBS
716 ENABLE_VTABLE_VERIFY_FALSE
717 ENABLE_VTABLE_VERIFY_TRUE
718 VTV_CYGMIN_FALSE
719 VTV_CYGMIN_TRUE
720 VTV_CXXLINKFLAGS
721 VTV_PCH_CXXFLAGS
722 VTV_CXXFLAGS
723 ENABLE_WERROR_FALSE
724 ENABLE_WERROR_TRUE
725 ENABLE_PYTHONDIR_FALSE
726 ENABLE_PYTHONDIR_TRUE
727 python_mod_dir
728 ENABLE_EXTERN_TEMPLATE_FALSE
729 ENABLE_EXTERN_TEMPLATE_TRUE
730 EXTRA_CXX_FLAGS
731 GLIBCXX_BUILD_DEBUG_FALSE
732 GLIBCXX_BUILD_DEBUG_TRUE
733 DEBUG_FLAGS
734 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
735 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
736 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
737 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
738 GLIBCXX_C_HEADERS_C_STD_FALSE
739 GLIBCXX_C_HEADERS_C_STD_TRUE
740 GLIBCXX_C_HEADERS_C_FALSE
741 GLIBCXX_C_HEADERS_C_TRUE
742 C_INCLUDE_DIR
743 ALLOCATOR_NAME
744 ALLOCATOR_H
745 ENABLE_ALLOCATOR_NEW_FALSE
746 ENABLE_ALLOCATOR_NEW_TRUE
747 CLOCALE_INTERNAL_H
748 CLOCALE_CC
749 CTIME_CC
750 CTIME_H
751 CNUMERIC_CC
752 CMONEY_CC
753 CMESSAGES_CC
754 CCTYPE_CC
755 CCOLLATE_CC
756 CCODECVT_CC
757 CMESSAGES_H
758 CLOCALE_H
759 USE_NLS
760 glibcxx_localedir
761 glibcxx_POFILES
762 glibcxx_MOFILES
763 check_msgfmt
764 BASIC_FILE_CC
765 BASIC_FILE_H
766 CSTDIO_H
767 SECTION_FLAGS
768 ENABLE_FLOAT128_FALSE
769 ENABLE_FLOAT128_TRUE
770 thread_header
771 glibcxx_PCHFLAGS
772 GLIBCXX_BUILD_PCH_FALSE
773 GLIBCXX_BUILD_PCH_TRUE
774 GLIBCXX_HOSTED_FALSE
775 GLIBCXX_HOSTED_TRUE
776 glibcxx_compiler_shared_flag
777 glibcxx_compiler_pic_flag
778 glibcxx_lt_pic_flag
779 enable_static
780 enable_shared
781 lt_host_flags
782 CXXCPP
783 OTOOL64
784 OTOOL
785 LIPO
786 NMEDIT
787 DSYMUTIL
788 OBJDUMP
790 ac_ct_DUMPBIN
791 DUMPBIN
793 FGREP
795 LIBTOOL
796 EGREP
797 GREP
799 MAINT
800 MAINTAINER_MODE_FALSE
801 MAINTAINER_MODE_TRUE
802 RANLIB
805 LN_S
806 toplevel_srcdir
807 toplevel_builddir
808 glibcxx_srcdir
809 glibcxx_builddir
810 ac_ct_CXX
811 CXXFLAGS
813 OBJEXT
814 EXEEXT
815 ac_ct_CC
816 CPPFLAGS
817 LDFLAGS
818 CFLAGS
820 AM_BACKSLASH
821 AM_DEFAULT_VERBOSITY
822 AM_DEFAULT_V
823 AM_V
824 am__untar
825 am__tar
826 AMTAR
827 am__leading_dot
828 SET_MAKE
830 mkdir_p
831 MKDIR_P
832 INSTALL_STRIP_PROGRAM
833 STRIP
834 install_sh
835 MAKEINFO
836 AUTOHEADER
837 AUTOMAKE
838 AUTOCONF
839 ACLOCAL
840 VERSION
841 PACKAGE
842 CYGPATH_W
843 am__isrc
844 INSTALL_DATA
845 INSTALL_SCRIPT
846 INSTALL_PROGRAM
847 target_os
848 target_vendor
849 target_cpu
850 target
851 host_os
852 host_vendor
853 host_cpu
854 host
855 build_os
856 build_vendor
857 build_cpu
858 build
859 multi_basedir
860 target_alias
861 host_alias
862 build_alias
863 LIBS
864 ECHO_T
865 ECHO_N
866 ECHO_C
867 DEFS
868 mandir
869 localedir
870 libdir
871 psdir
872 pdfdir
873 dvidir
874 htmldir
875 infodir
876 docdir
877 oldincludedir
878 includedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_multilib
902 enable_silent_rules
903 enable_largefile
904 with_target_subdir
905 with_cross_host
906 with_newlib
907 enable_maintainer_mode
908 enable_shared
909 enable_static
910 with_pic
911 enable_fast_install
912 with_gnu_ld
913 enable_libtool_lock
914 enable_hosted_libstdcxx
915 enable_libstdcxx_verbose
916 enable_libstdcxx_pch
917 with_libstdcxx_lock_policy
918 enable_cstdio
919 enable_clocale
920 enable_nls
921 enable_libstdcxx_allocator
922 enable_cheaders_obsolete
923 enable_cheaders
924 enable_long_long
925 enable_wchar_t
926 enable_c99
927 enable_concept_checks
928 enable_libstdcxx_debug_flags
929 enable_libstdcxx_debug
930 enable_cxx_flags
931 enable_fully_dynamic_string
932 enable_extern_template
933 with_python_dir
934 enable_werror
935 enable_vtable_verify
936 enable_libstdcxx_time
937 enable_tls
938 enable_rpath
939 with_libiconv_prefix
940 with_libiconv_type
941 with_system_libunwind
942 enable_linux_futex
943 enable_symvers
944 enable_libstdcxx_visibility
945 enable_libstdcxx_dual_abi
946 with_default_libstdcxx_abi
947 enable_libstdcxx_threads
948 enable_libstdcxx_filesystem_ts
949 enable_cet
950 with_gxx_include_dir
951 enable_version_specific_runtime_libs
952 with_toolexeclibdir
953 with_gcc_major_version_only
955 ac_precious_vars='build_alias
956 host_alias
957 target_alias
959 CFLAGS
960 LDFLAGS
961 LIBS
962 CPPFLAGS
964 CXXFLAGS
967 CXXCPP
968 CXXFILT'
971 # Initialize some variables set by options.
972 ac_init_help=
973 ac_init_version=false
974 ac_unrecognized_opts=
975 ac_unrecognized_sep=
976 # The variables have the same names as the options, with
977 # dashes changed to underlines.
978 cache_file=/dev/null
979 exec_prefix=NONE
980 no_create=
981 no_recursion=
982 prefix=NONE
983 program_prefix=NONE
984 program_suffix=NONE
985 program_transform_name=s,x,x,
986 silent=
987 site=
988 srcdir=
989 verbose=
990 x_includes=NONE
991 x_libraries=NONE
993 # Installation directory options.
994 # These are left unexpanded so users can "make install exec_prefix=/foo"
995 # and all the variables that are supposed to be based on exec_prefix
996 # by default will actually change.
997 # Use braces instead of parens because sh, perl, etc. also accept them.
998 # (The list follows the same order as the GNU Coding Standards.)
999 bindir='${exec_prefix}/bin'
1000 sbindir='${exec_prefix}/sbin'
1001 libexecdir='${exec_prefix}/libexec'
1002 datarootdir='${prefix}/share'
1003 datadir='${datarootdir}'
1004 sysconfdir='${prefix}/etc'
1005 sharedstatedir='${prefix}/com'
1006 localstatedir='${prefix}/var'
1007 includedir='${prefix}/include'
1008 oldincludedir='/usr/include'
1009 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1010 infodir='${datarootdir}/info'
1011 htmldir='${docdir}'
1012 dvidir='${docdir}'
1013 pdfdir='${docdir}'
1014 psdir='${docdir}'
1015 libdir='${exec_prefix}/lib'
1016 localedir='${datarootdir}/locale'
1017 mandir='${datarootdir}/man'
1019 ac_prev=
1020 ac_dashdash=
1021 for ac_option
1023 # If the previous option needs an argument, assign it.
1024 if test -n "$ac_prev"; then
1025 eval $ac_prev=\$ac_option
1026 ac_prev=
1027 continue
1030 case $ac_option in
1031 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1032 *=) ac_optarg= ;;
1033 *) ac_optarg=yes ;;
1034 esac
1036 # Accept the important Cygnus configure options, so we can diagnose typos.
1038 case $ac_dashdash$ac_option in
1040 ac_dashdash=yes ;;
1042 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1043 ac_prev=bindir ;;
1044 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1045 bindir=$ac_optarg ;;
1047 -build | --build | --buil | --bui | --bu)
1048 ac_prev=build_alias ;;
1049 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1050 build_alias=$ac_optarg ;;
1052 -cache-file | --cache-file | --cache-fil | --cache-fi \
1053 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1054 ac_prev=cache_file ;;
1055 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1056 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1057 cache_file=$ac_optarg ;;
1059 --config-cache | -C)
1060 cache_file=config.cache ;;
1062 -datadir | --datadir | --datadi | --datad)
1063 ac_prev=datadir ;;
1064 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1065 datadir=$ac_optarg ;;
1067 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1068 | --dataroo | --dataro | --datar)
1069 ac_prev=datarootdir ;;
1070 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1071 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1072 datarootdir=$ac_optarg ;;
1074 -disable-* | --disable-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid feature name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1083 "enable_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval enable_$ac_useropt=no ;;
1090 -docdir | --docdir | --docdi | --doc | --do)
1091 ac_prev=docdir ;;
1092 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1093 docdir=$ac_optarg ;;
1095 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1096 ac_prev=dvidir ;;
1097 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1098 dvidir=$ac_optarg ;;
1100 -enable-* | --enable-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid feature name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1109 "enable_$ac_useropt"
1110 "*) ;;
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1113 esac
1114 eval enable_$ac_useropt=\$ac_optarg ;;
1116 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1118 | --exec | --exe | --ex)
1119 ac_prev=exec_prefix ;;
1120 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1121 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1122 | --exec=* | --exe=* | --ex=*)
1123 exec_prefix=$ac_optarg ;;
1125 -gas | --gas | --ga | --g)
1126 # Obsolete; use --with-gas.
1127 with_gas=yes ;;
1129 -help | --help | --hel | --he | -h)
1130 ac_init_help=long ;;
1131 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1132 ac_init_help=recursive ;;
1133 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1134 ac_init_help=short ;;
1136 -host | --host | --hos | --ho)
1137 ac_prev=host_alias ;;
1138 -host=* | --host=* | --hos=* | --ho=*)
1139 host_alias=$ac_optarg ;;
1141 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1142 ac_prev=htmldir ;;
1143 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1144 | --ht=*)
1145 htmldir=$ac_optarg ;;
1147 -includedir | --includedir | --includedi | --included | --include \
1148 | --includ | --inclu | --incl | --inc)
1149 ac_prev=includedir ;;
1150 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1151 | --includ=* | --inclu=* | --incl=* | --inc=*)
1152 includedir=$ac_optarg ;;
1154 -infodir | --infodir | --infodi | --infod | --info | --inf)
1155 ac_prev=infodir ;;
1156 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1157 infodir=$ac_optarg ;;
1159 -libdir | --libdir | --libdi | --libd)
1160 ac_prev=libdir ;;
1161 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1162 libdir=$ac_optarg ;;
1164 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1165 | --libexe | --libex | --libe)
1166 ac_prev=libexecdir ;;
1167 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1168 | --libexe=* | --libex=* | --libe=*)
1169 libexecdir=$ac_optarg ;;
1171 -localedir | --localedir | --localedi | --localed | --locale)
1172 ac_prev=localedir ;;
1173 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1174 localedir=$ac_optarg ;;
1176 -localstatedir | --localstatedir | --localstatedi | --localstated \
1177 | --localstate | --localstat | --localsta | --localst | --locals)
1178 ac_prev=localstatedir ;;
1179 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1180 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1181 localstatedir=$ac_optarg ;;
1183 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1184 ac_prev=mandir ;;
1185 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1186 mandir=$ac_optarg ;;
1188 -nfp | --nfp | --nf)
1189 # Obsolete; use --without-fp.
1190 with_fp=no ;;
1192 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1193 | --no-cr | --no-c | -n)
1194 no_create=yes ;;
1196 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1197 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1198 no_recursion=yes ;;
1200 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1201 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1202 | --oldin | --oldi | --old | --ol | --o)
1203 ac_prev=oldincludedir ;;
1204 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1205 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1206 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1207 oldincludedir=$ac_optarg ;;
1209 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1210 ac_prev=prefix ;;
1211 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1212 prefix=$ac_optarg ;;
1214 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1215 | --program-pre | --program-pr | --program-p)
1216 ac_prev=program_prefix ;;
1217 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1218 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1219 program_prefix=$ac_optarg ;;
1221 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1222 | --program-suf | --program-su | --program-s)
1223 ac_prev=program_suffix ;;
1224 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1225 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1226 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1236 -program-transform-name=* | --program-transform-name=* \
1237 | --program-transform-nam=* | --program-transform-na=* \
1238 | --program-transform-n=* | --program-transform-=* \
1239 | --program-transform=* | --program-transfor=* \
1240 | --program-transfo=* | --program-transf=* \
1241 | --program-trans=* | --program-tran=* \
1242 | --progr-tra=* | --program-tr=* | --program-t=*)
1243 program_transform_name=$ac_optarg ;;
1245 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1246 ac_prev=pdfdir ;;
1247 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1248 pdfdir=$ac_optarg ;;
1250 -psdir | --psdir | --psdi | --psd | --ps)
1251 ac_prev=psdir ;;
1252 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1253 psdir=$ac_optarg ;;
1255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256 | -silent | --silent | --silen | --sile | --sil)
1257 silent=yes ;;
1259 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1260 ac_prev=sbindir ;;
1261 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1262 | --sbi=* | --sb=*)
1263 sbindir=$ac_optarg ;;
1265 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1266 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267 | --sharedst | --shareds | --shared | --share | --shar \
1268 | --sha | --sh)
1269 ac_prev=sharedstatedir ;;
1270 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1273 | --sha=* | --sh=*)
1274 sharedstatedir=$ac_optarg ;;
1276 -site | --site | --sit)
1277 ac_prev=site ;;
1278 -site=* | --site=* | --sit=*)
1279 site=$ac_optarg ;;
1281 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1282 ac_prev=srcdir ;;
1283 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1284 srcdir=$ac_optarg ;;
1286 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287 | --syscon | --sysco | --sysc | --sys | --sy)
1288 ac_prev=sysconfdir ;;
1289 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1291 sysconfdir=$ac_optarg ;;
1293 -target | --target | --targe | --targ | --tar | --ta | --t)
1294 ac_prev=target_alias ;;
1295 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1296 target_alias=$ac_optarg ;;
1298 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1299 verbose=yes ;;
1301 -version | --version | --versio | --versi | --vers | -V)
1302 ac_init_version=: ;;
1304 -with-* | --with-*)
1305 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308 as_fn_error $? "invalid package name: $ac_useropt"
1309 ac_useropt_orig=$ac_useropt
1310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1313 "with_$ac_useropt"
1314 "*) ;;
1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316 ac_unrecognized_sep=', ';;
1317 esac
1318 eval with_$ac_useropt=\$ac_optarg ;;
1320 -without-* | --without-*)
1321 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324 as_fn_error $? "invalid package name: $ac_useropt"
1325 ac_useropt_orig=$ac_useropt
1326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327 case $ac_user_opts in
1329 "with_$ac_useropt"
1330 "*) ;;
1331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332 ac_unrecognized_sep=', ';;
1333 esac
1334 eval with_$ac_useropt=no ;;
1336 --x)
1337 # Obsolete; use --with-x.
1338 with_x=yes ;;
1340 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341 | --x-incl | --x-inc | --x-in | --x-i)
1342 ac_prev=x_includes ;;
1343 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345 x_includes=$ac_optarg ;;
1347 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1348 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349 ac_prev=x_libraries ;;
1350 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352 x_libraries=$ac_optarg ;;
1354 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1355 Try \`$0 --help' for more information"
1358 *=*)
1359 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1360 # Reject names that are not valid shell variable names.
1361 case $ac_envvar in #(
1362 '' | [0-9]* | *[!_$as_cr_alnum]* )
1363 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1364 esac
1365 eval $ac_envvar=\$ac_optarg
1366 export $ac_envvar ;;
1369 # FIXME: should be removed in autoconf 3.0.
1370 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1376 esac
1377 done
1379 if test -n "$ac_prev"; then
1380 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381 as_fn_error $? "missing argument to $ac_option"
1384 if test -n "$ac_unrecognized_opts"; then
1385 case $enable_option_checking in
1386 no) ;;
1387 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1388 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1389 esac
1392 # Check all directory arguments for consistency.
1393 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394 datadir sysconfdir sharedstatedir localstatedir includedir \
1395 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396 libdir localedir mandir
1398 eval ac_val=\$$ac_var
1399 # Remove trailing slashes.
1400 case $ac_val in
1401 */ )
1402 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403 eval $ac_var=\$ac_val;;
1404 esac
1405 # Be sure to have absolute directory names.
1406 case $ac_val in
1407 [\\/$]* | ?:[\\/]* ) continue;;
1408 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1409 esac
1410 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1411 done
1413 # There might be people who depend on the old broken behavior: `$host'
1414 # used to hold the argument of --host etc.
1415 # FIXME: To remove some day.
1416 build=$build_alias
1417 host=$host_alias
1418 target=$target_alias
1420 # FIXME: To remove some day.
1421 if test "x$host_alias" != x; then
1422 if test "x$build_alias" = x; then
1423 cross_compiling=maybe
1424 elif test "x$build_alias" != "x$host_alias"; then
1425 cross_compiling=yes
1429 ac_tool_prefix=
1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1432 test "$silent" = yes && exec 6>/dev/null
1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1436 ac_ls_di=`ls -di .` &&
1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1438 as_fn_error $? "working directory cannot be determined"
1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1440 as_fn_error $? "pwd does not report name of working directory"
1443 # Find the source files, if location was not specified.
1444 if test -z "$srcdir"; then
1445 ac_srcdir_defaulted=yes
1446 # Try the directory containing this script, then the parent directory.
1447 ac_confdir=`$as_dirname -- "$as_myself" ||
1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1449 X"$as_myself" : 'X\(//\)[^/]' \| \
1450 X"$as_myself" : 'X\(//\)$' \| \
1451 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1452 $as_echo X"$as_myself" |
1453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454 s//\1/
1457 /^X\(\/\/\)[^/].*/{
1458 s//\1/
1461 /^X\(\/\/\)$/{
1462 s//\1/
1465 /^X\(\/\).*/{
1466 s//\1/
1469 s/.*/./; q'`
1470 srcdir=$ac_confdir
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1472 srcdir=..
1474 else
1475 ac_srcdir_defaulted=no
1477 if test ! -r "$srcdir/$ac_unique_file"; then
1478 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1481 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482 ac_abs_confdir=`(
1483 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1484 pwd)`
1485 # When building in place, set srcdir=.
1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
1487 srcdir=.
1489 # Remove unnecessary trailing slashes from srcdir.
1490 # Double slashes in file names in object file debugging info
1491 # mess up M-x gdb in Emacs.
1492 case $srcdir in
1493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 esac
1495 for ac_var in $ac_precious_vars; do
1496 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1497 eval ac_env_${ac_var}_value=\$${ac_var}
1498 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1499 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1500 done
1503 # Report the --help message.
1505 if test "$ac_init_help" = "long"; then
1506 # Omit some internal or obsolete options to make the list less imposing.
1507 # This message is too long to be a string in the A/UX 3.1 sh.
1508 cat <<_ACEOF
1509 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1511 Usage: $0 [OPTION]... [VAR=VALUE]...
1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1514 VAR=VALUE. See below for descriptions of some of the useful variables.
1516 Defaults for the options are specified in brackets.
1518 Configuration:
1519 -h, --help display this help and exit
1520 --help=short display options specific to this package
1521 --help=recursive display the short help of all the included packages
1522 -V, --version display version information and exit
1523 -q, --quiet, --silent do not print \`checking ...' messages
1524 --cache-file=FILE cache test results in FILE [disabled]
1525 -C, --config-cache alias for \`--cache-file=config.cache'
1526 -n, --no-create do not create output files
1527 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1529 Installation directories:
1530 --prefix=PREFIX install architecture-independent files in PREFIX
1531 [$ac_default_prefix]
1532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1533 [PREFIX]
1535 By default, \`make install' will install all the files in
1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1538 for instance \`--prefix=\$HOME'.
1540 For better control, use the options below.
1542 Fine tuning of the installation directories:
1543 --bindir=DIR user executables [EPREFIX/bin]
1544 --sbindir=DIR system admin executables [EPREFIX/sbin]
1545 --libexecdir=DIR program executables [EPREFIX/libexec]
1546 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1547 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1548 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1549 --libdir=DIR object code libraries [EPREFIX/lib]
1550 --includedir=DIR C header files [PREFIX/include]
1551 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1552 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1553 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1554 --infodir=DIR info documentation [DATAROOTDIR/info]
1555 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1556 --mandir=DIR man documentation [DATAROOTDIR/man]
1557 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1558 --htmldir=DIR html documentation [DOCDIR]
1559 --dvidir=DIR dvi documentation [DOCDIR]
1560 --pdfdir=DIR pdf documentation [DOCDIR]
1561 --psdir=DIR ps documentation [DOCDIR]
1562 _ACEOF
1564 cat <<\_ACEOF
1566 Program names:
1567 --program-prefix=PREFIX prepend PREFIX to installed program names
1568 --program-suffix=SUFFIX append SUFFIX to installed program names
1569 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1571 System types:
1572 --build=BUILD configure for building on BUILD [guessed]
1573 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1574 --target=TARGET configure for building compilers for TARGET [HOST]
1575 _ACEOF
1578 if test -n "$ac_init_help"; then
1579 case $ac_init_help in
1580 short | recursive ) echo "Configuration of package-unused version-unused:";;
1581 esac
1582 cat <<\_ACEOF
1584 Optional Features:
1585 --disable-option-checking ignore unrecognized --enable/--with options
1586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1588 --enable-multilib build many library versions (default)
1589 --enable-silent-rules less verbose build output (undo: "make V=1")
1590 --disable-silent-rules verbose build output (undo: "make V=0")
1591 --disable-largefile omit support for large files
1592 --enable-maintainer-mode
1593 enable make rules and dependencies not useful (and
1594 sometimes confusing) to the casual installer
1595 --enable-shared[=PKGS] build shared libraries [default=yes]
1596 --enable-static[=PKGS] build static libraries [default=yes]
1597 --enable-fast-install[=PKGS]
1598 optimize for fast installation [default=yes]
1599 --disable-libtool-lock avoid locking (might break parallel builds)
1600 --disable-hosted-libstdcxx
1601 only build freestanding C++ runtime support
1602 --disable-libstdcxx-verbose
1603 disable termination messages to standard error
1604 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1605 [default=$is_hosted]
1606 --enable-cstdio[=PACKAGE]
1607 use target-specific I/O package [default=stdio]
1608 --enable-clocale[=MODEL]
1609 use MODEL for target locale package [default=auto]
1610 --enable-nls use Native Language Support (default)
1611 --enable-libstdcxx-allocator[=KIND]
1612 use KIND for target std::allocator base
1613 [default=auto]
1614 --enable-cheaders-obsolete
1615 allow use of obsolete "C" headers for g++
1616 [default=no]
1617 --enable-cheaders[=KIND]
1618 construct "C" headers for g++ [default=$c_model]
1619 --enable-long-long enable template specializations for 'long long'
1620 [default=yes]
1621 --enable-wchar_t enable template specializations for 'wchar_t'
1622 [default=yes]
1623 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1624 --enable-concept-checks use Boost-derived template checks [default=no]
1625 --enable-libstdcxx-debug-flags=FLAGS
1626 pass compiler FLAGS when building debug library
1627 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1628 --enable-libstdcxx-debug
1629 build extra debug library [default=no]
1630 --enable-cxx-flags=FLAGS
1631 pass compiler FLAGS when building library [default=]
1632 --enable-fully-dynamic-string
1633 do not put empty strings in per-process static
1634 memory [default=no]
1635 --enable-extern-template
1636 enable extern template [default=yes]
1637 --enable-werror turns on -Werror [default=no]
1638 --enable-vtable-verify enable vtable verify [default=no]
1639 --enable-libstdcxx-time[=KIND]
1640 use KIND for check type [default=auto]
1641 --enable-tls Use thread-local storage [default=yes]
1642 --disable-rpath do not hardcode runtime library paths
1643 --enable-linux-futex use the Linux futex system call [default=default]
1644 --enable-symvers[=STYLE]
1645 enables symbol versioning of the shared library
1646 [default=yes]
1647 --enable-libstdcxx-visibility
1648 enables visibility safe usage [default=yes]
1649 --enable-libstdcxx-dual-abi
1650 support two versions of std::string [default=yes]
1651 --enable-libstdcxx-threads
1652 enable C++11 threads support [default=auto]
1653 --enable-libstdcxx-filesystem-ts
1654 turns on ISO/IEC TS 18822 support [default=auto]
1655 --enable-cet enable Intel CET in target libraries [default=auto]
1656 --enable-version-specific-runtime-libs
1657 Specify that runtime libraries should be installed
1658 in a compiler-specific directory
1660 Optional Packages:
1661 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1662 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1663 --with-target-subdir=SUBDIR
1664 configuring in a subdirectory
1665 --with-cross-host=HOST configuring with a cross compiler
1666 --with-newlib assume newlib as a system C library
1667 --with-pic try to use only PIC/non-PIC objects [default=use
1668 both]
1669 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1670 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1671 synchronization policy for shared_ptr reference
1672 counting [default=auto]
1673 --with-python-dir the location to install Python modules. This path is
1674 relative starting from the prefix.
1675 --with-gnu-ld assume the C compiler uses GNU ld default=no
1676 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1677 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1678 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1679 --with-system-libunwind use installed libunwind
1680 --with-default-libstdcxx-abi
1681 set the std::string ABI to use by default
1682 --with-gxx-include-dir=DIR
1683 installation directory for include files
1684 --with-toolexeclibdir=DIR
1685 install libraries built with a cross compiler within
1687 --with-gcc-major-version-only
1688 use only GCC major number in filesystem paths
1690 Some influential environment variables:
1691 CC C compiler command
1692 CFLAGS C compiler flags
1693 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1694 nonstandard directory <lib dir>
1695 LIBS libraries to pass to the linker, e.g. -l<library>
1696 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1697 you have headers in a nonstandard directory <include dir>
1698 CXX C++ compiler command
1699 CXXFLAGS C++ compiler flags
1700 CPP C preprocessor
1701 CXXCPP C++ preprocessor
1702 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1703 `c++filt', `gc++filt' on PATH.
1705 Use these variables to override the choices made by `configure' or to help
1706 it to find libraries and programs with nonstandard names/locations.
1708 Report bugs to the package provider.
1709 _ACEOF
1710 ac_status=$?
1713 if test "$ac_init_help" = "recursive"; then
1714 # If there are subdirs, report their specific --help.
1715 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1716 test -d "$ac_dir" ||
1717 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1718 continue
1719 ac_builddir=.
1721 case "$ac_dir" in
1722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1724 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1725 # A ".." for each directory in $ac_dir_suffix.
1726 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1727 case $ac_top_builddir_sub in
1728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730 esac ;;
1731 esac
1732 ac_abs_top_builddir=$ac_pwd
1733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1734 # for backward compatibility:
1735 ac_top_builddir=$ac_top_build_prefix
1737 case $srcdir in
1738 .) # We are building in place.
1739 ac_srcdir=.
1740 ac_top_srcdir=$ac_top_builddir_sub
1741 ac_abs_top_srcdir=$ac_pwd ;;
1742 [\\/]* | ?:[\\/]* ) # Absolute name.
1743 ac_srcdir=$srcdir$ac_dir_suffix;
1744 ac_top_srcdir=$srcdir
1745 ac_abs_top_srcdir=$srcdir ;;
1746 *) # Relative name.
1747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1748 ac_top_srcdir=$ac_top_build_prefix$srcdir
1749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1750 esac
1751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1753 cd "$ac_dir" || { ac_status=$?; continue; }
1754 # Check for guested configure.
1755 if test -f "$ac_srcdir/configure.gnu"; then
1756 echo &&
1757 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1758 elif test -f "$ac_srcdir/configure"; then
1759 echo &&
1760 $SHELL "$ac_srcdir/configure" --help=recursive
1761 else
1762 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1763 fi || ac_status=$?
1764 cd "$ac_pwd" || { ac_status=$?; break; }
1765 done
1768 test -n "$ac_init_help" && exit $ac_status
1769 if $ac_init_version; then
1770 cat <<\_ACEOF
1771 package-unused configure version-unused
1772 generated by GNU Autoconf 2.69
1774 Copyright (C) 2012 Free Software Foundation, Inc.
1775 This configure script is free software; the Free Software Foundation
1776 gives unlimited permission to copy, distribute and modify it.
1777 _ACEOF
1778 exit
1781 ## ------------------------ ##
1782 ## Autoconf initialization. ##
1783 ## ------------------------ ##
1785 # ac_fn_c_try_compile LINENO
1786 # --------------------------
1787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_compile ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 rm -f conftest.$ac_objext
1792 if { { ac_try="$ac_compile"
1793 case "(($ac_try" in
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_compile") 2>conftest.err
1800 ac_status=$?
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest.$ac_objext; then :
1811 ac_retval=0
1812 else
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1816 ac_retval=1
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status $ac_retval
1821 } # ac_fn_c_try_compile
1823 # ac_fn_cxx_try_compile LINENO
1824 # ----------------------------
1825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1826 ac_fn_cxx_try_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 rm -f conftest.$ac_objext
1830 if { { ac_try="$ac_compile"
1831 case "(($ac_try" in
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1834 esac
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_compile") 2>conftest.err
1838 ac_status=$?
1839 if test -s conftest.err; then
1840 grep -v '^ *+' conftest.err >conftest.er1
1841 cat conftest.er1 >&5
1842 mv -f conftest.er1 conftest.err
1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845 test $ac_status = 0; } && {
1846 test -z "$ac_cxx_werror_flag" ||
1847 test ! -s conftest.err
1848 } && test -s conftest.$ac_objext; then :
1849 ac_retval=0
1850 else
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1854 ac_retval=1
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status $ac_retval
1859 } # ac_fn_cxx_try_compile
1861 # ac_fn_c_try_cpp LINENO
1862 # ----------------------
1863 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 ac_fn_c_try_cpp ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 case "(($ac_try" in
1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1871 esac
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875 ac_status=$?
1876 if test -s conftest.err; then
1877 grep -v '^ *+' conftest.err >conftest.er1
1878 cat conftest.er1 >&5
1879 mv -f conftest.er1 conftest.err
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } > conftest.i && {
1883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1884 test ! -s conftest.err
1885 }; then :
1886 ac_retval=0
1887 else
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=1
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 as_fn_set_status $ac_retval
1896 } # ac_fn_c_try_cpp
1898 # ac_fn_c_try_link LINENO
1899 # -----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 ac_fn_c_try_link ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 rm -f conftest.$ac_objext conftest$ac_exeext
1905 if { { ac_try="$ac_link"
1906 case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_link") 2>conftest.err
1913 ac_status=$?
1914 if test -s conftest.err; then
1915 grep -v '^ *+' conftest.err >conftest.er1
1916 cat conftest.er1 >&5
1917 mv -f conftest.er1 conftest.err
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && {
1921 test -z "$ac_c_werror_flag" ||
1922 test ! -s conftest.err
1923 } && test -s conftest$ac_exeext && {
1924 test "$cross_compiling" = yes ||
1925 test -x conftest$ac_exeext
1926 }; then :
1927 ac_retval=0
1928 else
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1932 ac_retval=1
1934 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1935 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1936 # interfere with the next link command; also delete a directory that is
1937 # left behind by Apple's compiler. We do this before executing the actions.
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status $ac_retval
1942 } # ac_fn_c_try_link
1944 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 # -------------------------------------------------------
1946 # Tests whether HEADER exists and can be compiled using the include files in
1947 # INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1955 else
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1959 #include <$2>
1960 _ACEOF
1961 if ac_fn_c_try_compile "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 } # ac_fn_c_check_header_compile
1975 # ac_fn_c_try_run LINENO
1976 # ----------------------
1977 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1978 # that executables *can* be run.
1979 ac_fn_c_try_run ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_link"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_link") 2>&5
1990 ac_status=$?
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1993 { { case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_try") 2>&5
2000 ac_status=$?
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; }; }; then :
2003 ac_retval=0
2004 else
2005 $as_echo "$as_me: program exited with status $ac_status" >&5
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2009 ac_retval=$ac_status
2011 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 as_fn_set_status $ac_retval
2015 } # ac_fn_c_try_run
2017 # ac_fn_c_check_func LINENO FUNC VAR
2018 # ----------------------------------
2019 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2020 ac_fn_c_check_func ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2025 if eval \${$3+:} false; then :
2026 $as_echo_n "(cached) " >&6
2027 else
2028 if test x$gcc_no_link = xyes; then
2029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2035 #define $2 innocuous_$2
2037 /* System header to define __stub macros and hopefully few prototypes,
2038 which can conflict with char $2 (); below.
2039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2040 <limits.h> exists even on freestanding compilers. */
2042 #ifdef __STDC__
2043 # include <limits.h>
2044 #else
2045 # include <assert.h>
2046 #endif
2048 #undef $2
2050 /* Override any GCC internal prototype to avoid an error.
2051 Use char because int might match the return type of a GCC
2052 builtin and then its argument prototype would still apply. */
2053 #ifdef __cplusplus
2054 extern "C"
2055 #endif
2056 char $2 ();
2057 /* The GNU C library defines this for functions which it implements
2058 to always fail with ENOSYS. Some functions are actually named
2059 something starting with __ and the normal name is an alias. */
2060 #if defined __stub_$2 || defined __stub___$2
2061 choke me
2062 #endif
2065 main ()
2067 return $2 ();
2069 return 0;
2071 _ACEOF
2072 if ac_fn_c_try_link "$LINENO"; then :
2073 eval "$3=yes"
2074 else
2075 eval "$3=no"
2077 rm -f core conftest.err conftest.$ac_objext \
2078 conftest$ac_exeext conftest.$ac_ext
2080 eval ac_res=\$$3
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_c_check_func
2087 # ac_fn_cxx_try_cpp LINENO
2088 # ------------------------
2089 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2090 ac_fn_cxx_try_cpp ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 if { { ac_try="$ac_cpp conftest.$ac_ext"
2094 case "(($ac_try" in
2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096 *) ac_try_echo=$ac_try;;
2097 esac
2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2099 $as_echo "$ac_try_echo"; } >&5
2100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2101 ac_status=$?
2102 if test -s conftest.err; then
2103 grep -v '^ *+' conftest.err >conftest.er1
2104 cat conftest.er1 >&5
2105 mv -f conftest.er1 conftest.err
2107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108 test $ac_status = 0; } > conftest.i && {
2109 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2110 test ! -s conftest.err
2111 }; then :
2112 ac_retval=0
2113 else
2114 $as_echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2117 ac_retval=1
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 as_fn_set_status $ac_retval
2122 } # ac_fn_cxx_try_cpp
2124 # ac_fn_cxx_try_link LINENO
2125 # -------------------------
2126 # Try to link conftest.$ac_ext, and return whether this succeeded.
2127 ac_fn_cxx_try_link ()
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 rm -f conftest.$ac_objext conftest$ac_exeext
2131 if { { ac_try="$ac_link"
2132 case "(($ac_try" in
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2135 esac
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_link") 2>conftest.err
2139 ac_status=$?
2140 if test -s conftest.err; then
2141 grep -v '^ *+' conftest.err >conftest.er1
2142 cat conftest.er1 >&5
2143 mv -f conftest.er1 conftest.err
2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146 test $ac_status = 0; } && {
2147 test -z "$ac_cxx_werror_flag" ||
2148 test ! -s conftest.err
2149 } && test -s conftest$ac_exeext && {
2150 test "$cross_compiling" = yes ||
2151 test -x conftest$ac_exeext
2152 }; then :
2153 ac_retval=0
2154 else
2155 $as_echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2158 ac_retval=1
2160 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2161 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2162 # interfere with the next link command; also delete a directory that is
2163 # left behind by Apple's compiler. We do this before executing the actions.
2164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 as_fn_set_status $ac_retval
2168 } # ac_fn_cxx_try_link
2170 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # -------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_c_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if eval \${$3+:} false; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_c_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.i conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if eval \${$3+:} false; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 } # ac_fn_c_check_header_mongrel
2257 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2258 # ---------------------------------------------------------
2259 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2260 # the include files in INCLUDES and setting the cache variable VAR
2261 # accordingly.
2262 ac_fn_cxx_check_header_mongrel ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if eval \${$3+:} false; then :
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267 $as_echo_n "checking for $2... " >&6; }
2268 if eval \${$3+:} false; then :
2269 $as_echo_n "(cached) " >&6
2271 eval ac_res=\$$3
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 else
2275 # Is the header compilable?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2277 $as_echo_n "checking $2 usability... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2281 #include <$2>
2282 _ACEOF
2283 if ac_fn_cxx_try_compile "$LINENO"; then :
2284 ac_header_compiler=yes
2285 else
2286 ac_header_compiler=no
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2290 $as_echo "$ac_header_compiler" >&6; }
2292 # Is the header present?
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2294 $as_echo_n "checking $2 presence... " >&6; }
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 #include <$2>
2298 _ACEOF
2299 if ac_fn_cxx_try_cpp "$LINENO"; then :
2300 ac_header_preproc=yes
2301 else
2302 ac_header_preproc=no
2304 rm -f conftest.err conftest.i conftest.$ac_ext
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2306 $as_echo "$ac_header_preproc" >&6; }
2308 # So? What about this header?
2309 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2310 yes:no: )
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2312 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2314 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2316 no:yes:* )
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2318 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2320 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2322 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2324 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2326 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2328 esac
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330 $as_echo_n "checking for $2... " >&6; }
2331 if eval \${$3+:} false; then :
2332 $as_echo_n "(cached) " >&6
2333 else
2334 eval "$3=\$ac_header_compiler"
2336 eval ac_res=\$$3
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2338 $as_echo "$ac_res" >&6; }
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2342 } # ac_fn_cxx_check_header_mongrel
2344 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2345 # --------------------------------------------
2346 # Tries to find the compile-time value of EXPR in a program that includes
2347 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2348 # computed
2349 ac_fn_c_compute_int ()
2351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 if test "$cross_compiling" = yes; then
2353 # Depending upon the size, compute the lo and hi bounds.
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 main ()
2360 static int test_array [1 - 2 * !(($2) >= 0)];
2361 test_array [0] = 0;
2362 return test_array [0];
2365 return 0;
2367 _ACEOF
2368 if ac_fn_c_try_compile "$LINENO"; then :
2369 ac_lo=0 ac_mid=0
2370 while :; do
2371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2375 main ()
2377 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2378 test_array [0] = 0;
2379 return test_array [0];
2382 return 0;
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid; break
2387 else
2388 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2389 if test $ac_lo -le $ac_mid; then
2390 ac_lo= ac_hi=
2391 break
2393 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 done
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2402 main ()
2404 static int test_array [1 - 2 * !(($2) < 0)];
2405 test_array [0] = 0;
2406 return test_array [0];
2409 return 0;
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413 ac_hi=-1 ac_mid=-1
2414 while :; do
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2419 main ()
2421 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2422 test_array [0] = 0;
2423 return test_array [0];
2426 return 0;
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 ac_lo=$ac_mid; break
2431 else
2432 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2433 if test $ac_mid -le $ac_hi; then
2434 ac_lo= ac_hi=
2435 break
2437 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440 done
2441 else
2442 ac_lo= ac_hi=
2444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 # Binary search between lo and hi bounds.
2448 while test "x$ac_lo" != "x$ac_hi"; do
2449 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2454 main ()
2456 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2457 test_array [0] = 0;
2458 return test_array [0];
2461 return 0;
2463 _ACEOF
2464 if ac_fn_c_try_compile "$LINENO"; then :
2465 ac_hi=$ac_mid
2466 else
2467 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 case $ac_lo in #((
2472 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2473 '') ac_retval=1 ;;
2474 esac
2475 else
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2479 static long int longval () { return $2; }
2480 static unsigned long int ulongval () { return $2; }
2481 #include <stdio.h>
2482 #include <stdlib.h>
2484 main ()
2487 FILE *f = fopen ("conftest.val", "w");
2488 if (! f)
2489 return 1;
2490 if (($2) < 0)
2492 long int i = longval ();
2493 if (i != ($2))
2494 return 1;
2495 fprintf (f, "%ld", i);
2497 else
2499 unsigned long int i = ulongval ();
2500 if (i != ($2))
2501 return 1;
2502 fprintf (f, "%lu", i);
2504 /* Do not output a trailing newline, as this causes \r\n confusion
2505 on some platforms. */
2506 return ferror (f) || fclose (f) != 0;
2509 return 0;
2511 _ACEOF
2512 if ac_fn_c_try_run "$LINENO"; then :
2513 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2514 else
2515 ac_retval=1
2517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2518 conftest.$ac_objext conftest.beam conftest.$ac_ext
2519 rm -f conftest.val
2522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2523 as_fn_set_status $ac_retval
2525 } # ac_fn_c_compute_int
2527 # ac_fn_cxx_check_func LINENO FUNC VAR
2528 # ------------------------------------
2529 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2530 ac_fn_cxx_check_func ()
2532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2534 $as_echo_n "checking for $2... " >&6; }
2535 if eval \${$3+:} false; then :
2536 $as_echo_n "(cached) " >&6
2537 else
2538 if test x$gcc_no_link = xyes; then
2539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2543 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2545 #define $2 innocuous_$2
2547 /* System header to define __stub macros and hopefully few prototypes,
2548 which can conflict with char $2 (); below.
2549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2550 <limits.h> exists even on freestanding compilers. */
2552 #ifdef __STDC__
2553 # include <limits.h>
2554 #else
2555 # include <assert.h>
2556 #endif
2558 #undef $2
2560 /* Override any GCC internal prototype to avoid an error.
2561 Use char because int might match the return type of a GCC
2562 builtin and then its argument prototype would still apply. */
2563 #ifdef __cplusplus
2564 extern "C"
2565 #endif
2566 char $2 ();
2567 /* The GNU C library defines this for functions which it implements
2568 to always fail with ENOSYS. Some functions are actually named
2569 something starting with __ and the normal name is an alias. */
2570 #if defined __stub_$2 || defined __stub___$2
2571 choke me
2572 #endif
2575 main ()
2577 return $2 ();
2579 return 0;
2581 _ACEOF
2582 if ac_fn_cxx_try_link "$LINENO"; then :
2583 eval "$3=yes"
2584 else
2585 eval "$3=no"
2587 rm -f core conftest.err conftest.$ac_objext \
2588 conftest$ac_exeext conftest.$ac_ext
2590 eval ac_res=\$$3
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 } # ac_fn_cxx_check_func
2597 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2598 # -------------------------------------------
2599 # Tests whether TYPE exists after having included INCLUDES, setting cache
2600 # variable VAR accordingly.
2601 ac_fn_c_check_type ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \${$3+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 eval "$3=no"
2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2614 main ()
2616 if (sizeof ($2))
2617 return 0;
2619 return 0;
2621 _ACEOF
2622 if ac_fn_c_try_compile "$LINENO"; then :
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2627 main ()
2629 if (sizeof (($2)))
2630 return 0;
2632 return 0;
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2637 else
2638 eval "$3=yes"
2640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644 eval ac_res=\$$3
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 } # ac_fn_c_check_type
2651 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2652 # ---------------------------------------------
2653 # Tests whether TYPE exists after having included INCLUDES, setting cache
2654 # variable VAR accordingly.
2655 ac_fn_cxx_check_type ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \${$3+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 eval "$3=no"
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2668 main ()
2670 if (sizeof ($2))
2671 return 0;
2673 return 0;
2675 _ACEOF
2676 if ac_fn_cxx_try_compile "$LINENO"; then :
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2683 if (sizeof (($2)))
2684 return 0;
2686 return 0;
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2691 else
2692 eval "$3=yes"
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 eval ac_res=\$$3
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2700 $as_echo "$ac_res" >&6; }
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 } # ac_fn_cxx_check_type
2705 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2706 # ---------------------------------------------
2707 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2708 # accordingly.
2709 ac_fn_c_check_decl ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 as_decl_name=`echo $2|sed 's/ *(.*//'`
2713 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2715 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2716 if eval \${$3+:} false; then :
2717 $as_echo_n "(cached) " >&6
2718 else
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2723 main ()
2725 #ifndef $as_decl_name
2726 #ifdef __cplusplus
2727 (void) $as_decl_use;
2728 #else
2729 (void) $as_decl_name;
2730 #endif
2731 #endif
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 eval "$3=yes"
2739 else
2740 eval "$3=no"
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 eval ac_res=\$$3
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_decl
2750 cat >config.log <<_ACEOF
2751 This file contains any messages produced by compilers while
2752 running configure, to aid debugging if configure makes a mistake.
2754 It was created by package-unused $as_me version-unused, which was
2755 generated by GNU Autoconf 2.69. Invocation command line was
2757 $ $0 $@
2759 _ACEOF
2760 exec 5>>config.log
2762 cat <<_ASUNAME
2763 ## --------- ##
2764 ## Platform. ##
2765 ## --------- ##
2767 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2768 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2769 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2770 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2771 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2773 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2774 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2776 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2777 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2778 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2779 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2780 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2781 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2782 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2784 _ASUNAME
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2789 IFS=$as_save_IFS
2790 test -z "$as_dir" && as_dir=.
2791 $as_echo "PATH: $as_dir"
2792 done
2793 IFS=$as_save_IFS
2795 } >&5
2797 cat >&5 <<_ACEOF
2800 ## ----------- ##
2801 ## Core tests. ##
2802 ## ----------- ##
2804 _ACEOF
2807 # Keep a trace of the command line.
2808 # Strip out --no-create and --no-recursion so they do not pile up.
2809 # Strip out --silent because we don't want to record it for future runs.
2810 # Also quote any args containing shell meta-characters.
2811 # Make two passes to allow for proper duplicate-argument suppression.
2812 ac_configure_args=
2813 ac_configure_args0=
2814 ac_configure_args1=
2815 ac_must_keep_next=false
2816 for ac_pass in 1 2
2818 for ac_arg
2820 case $ac_arg in
2821 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2822 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2823 | -silent | --silent | --silen | --sile | --sil)
2824 continue ;;
2825 *\'*)
2826 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2827 esac
2828 case $ac_pass in
2829 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2831 as_fn_append ac_configure_args1 " '$ac_arg'"
2832 if test $ac_must_keep_next = true; then
2833 ac_must_keep_next=false # Got value, back to normal.
2834 else
2835 case $ac_arg in
2836 *=* | --config-cache | -C | -disable-* | --disable-* \
2837 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2838 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2839 | -with-* | --with-* | -without-* | --without-* | --x)
2840 case "$ac_configure_args0 " in
2841 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2842 esac
2844 -* ) ac_must_keep_next=true ;;
2845 esac
2847 as_fn_append ac_configure_args " '$ac_arg'"
2849 esac
2850 done
2851 done
2852 { ac_configure_args0=; unset ac_configure_args0;}
2853 { ac_configure_args1=; unset ac_configure_args1;}
2855 # When interrupted or exit'd, cleanup temporary files, and complete
2856 # config.log. We remove comments because anyway the quotes in there
2857 # would cause problems or look ugly.
2858 # WARNING: Use '\'' to represent an apostrophe within the trap.
2859 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2860 trap 'exit_status=$?
2861 # Save into config.log some information that might help in debugging.
2863 echo
2865 $as_echo "## ---------------- ##
2866 ## Cache variables. ##
2867 ## ---------------- ##"
2868 echo
2869 # The following way of writing the cache mishandles newlines in values,
2871 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2872 eval ac_val=\$$ac_var
2873 case $ac_val in #(
2874 *${as_nl}*)
2875 case $ac_var in #(
2876 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2877 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2878 esac
2879 case $ac_var in #(
2880 _ | IFS | as_nl) ;; #(
2881 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2882 *) { eval $ac_var=; unset $ac_var;} ;;
2883 esac ;;
2884 esac
2885 done
2886 (set) 2>&1 |
2887 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2888 *${as_nl}ac_space=\ *)
2889 sed -n \
2890 "s/'\''/'\''\\\\'\'''\''/g;
2891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2892 ;; #(
2894 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2896 esac |
2897 sort
2899 echo
2901 $as_echo "## ----------------- ##
2902 ## Output variables. ##
2903 ## ----------------- ##"
2904 echo
2905 for ac_var in $ac_subst_vars
2907 eval ac_val=\$$ac_var
2908 case $ac_val in
2909 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2910 esac
2911 $as_echo "$ac_var='\''$ac_val'\''"
2912 done | sort
2913 echo
2915 if test -n "$ac_subst_files"; then
2916 $as_echo "## ------------------- ##
2917 ## File substitutions. ##
2918 ## ------------------- ##"
2919 echo
2920 for ac_var in $ac_subst_files
2922 eval ac_val=\$$ac_var
2923 case $ac_val in
2924 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2925 esac
2926 $as_echo "$ac_var='\''$ac_val'\''"
2927 done | sort
2928 echo
2931 if test -s confdefs.h; then
2932 $as_echo "## ----------- ##
2933 ## confdefs.h. ##
2934 ## ----------- ##"
2935 echo
2936 cat confdefs.h
2937 echo
2939 test "$ac_signal" != 0 &&
2940 $as_echo "$as_me: caught signal $ac_signal"
2941 $as_echo "$as_me: exit $exit_status"
2942 } >&5
2943 rm -f core *.core core.conftest.* &&
2944 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2945 exit $exit_status
2947 for ac_signal in 1 2 13 15; do
2948 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2949 done
2950 ac_signal=0
2952 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2953 rm -f -r conftest* confdefs.h
2955 $as_echo "/* confdefs.h */" > confdefs.h
2957 # Predefined preprocessor variables.
2959 cat >>confdefs.h <<_ACEOF
2960 #define PACKAGE_NAME "$PACKAGE_NAME"
2961 _ACEOF
2963 cat >>confdefs.h <<_ACEOF
2964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2965 _ACEOF
2967 cat >>confdefs.h <<_ACEOF
2968 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2969 _ACEOF
2971 cat >>confdefs.h <<_ACEOF
2972 #define PACKAGE_STRING "$PACKAGE_STRING"
2973 _ACEOF
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_URL "$PACKAGE_URL"
2981 _ACEOF
2984 # Let the site file select an alternate cache file if it wants to.
2985 # Prefer an explicitly selected file to automatically selected ones.
2986 ac_site_file1=NONE
2987 ac_site_file2=NONE
2988 if test -n "$CONFIG_SITE"; then
2989 # We do not want a PATH search for config.site.
2990 case $CONFIG_SITE in #((
2991 -*) ac_site_file1=./$CONFIG_SITE;;
2992 */*) ac_site_file1=$CONFIG_SITE;;
2993 *) ac_site_file1=./$CONFIG_SITE;;
2994 esac
2995 elif test "x$prefix" != xNONE; then
2996 ac_site_file1=$prefix/share/config.site
2997 ac_site_file2=$prefix/etc/config.site
2998 else
2999 ac_site_file1=$ac_default_prefix/share/config.site
3000 ac_site_file2=$ac_default_prefix/etc/config.site
3002 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3004 test "x$ac_site_file" = xNONE && continue
3005 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3007 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3008 sed 's/^/| /' "$ac_site_file" >&5
3009 . "$ac_site_file" \
3010 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012 as_fn_error $? "failed to load site script $ac_site_file
3013 See \`config.log' for more details" "$LINENO" 5; }
3015 done
3017 if test -r "$cache_file"; then
3018 # Some versions of bash will fail to source /dev/null (special files
3019 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3020 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3022 $as_echo "$as_me: loading cache $cache_file" >&6;}
3023 case $cache_file in
3024 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3025 *) . "./$cache_file";;
3026 esac
3028 else
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3030 $as_echo "$as_me: creating cache $cache_file" >&6;}
3031 >$cache_file
3034 # Check that the precious variables saved in the cache have kept the same
3035 # value.
3036 ac_cache_corrupted=false
3037 for ac_var in $ac_precious_vars; do
3038 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3039 eval ac_new_set=\$ac_env_${ac_var}_set
3040 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3041 eval ac_new_val=\$ac_env_${ac_var}_value
3042 case $ac_old_set,$ac_new_set in
3043 set,)
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3045 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3046 ac_cache_corrupted=: ;;
3047 ,set)
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3049 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3050 ac_cache_corrupted=: ;;
3051 ,);;
3053 if test "x$ac_old_val" != "x$ac_new_val"; then
3054 # differences in whitespace do not lead to failure.
3055 ac_old_val_w=`echo x $ac_old_val`
3056 ac_new_val_w=`echo x $ac_new_val`
3057 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3059 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3060 ac_cache_corrupted=:
3061 else
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3063 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3064 eval $ac_var=\$ac_old_val
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3067 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3069 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3070 fi;;
3071 esac
3072 # Pass precious variables to config.status.
3073 if test "$ac_new_set" = set; then
3074 case $ac_new_val in
3075 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3076 *) ac_arg=$ac_var=$ac_new_val ;;
3077 esac
3078 case " $ac_configure_args " in
3079 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3080 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3081 esac
3083 done
3084 if $ac_cache_corrupted; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3088 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3089 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3091 ## -------------------- ##
3092 ## Main body of script. ##
3093 ## -------------------- ##
3095 ac_ext=c
3096 ac_cpp='$CPP $CPPFLAGS'
3097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3106 ac_config_headers="$ac_config_headers config.h"
3109 # This works around the fact that libtool configuration may change LD
3110 # for this particular configuration, but some shells, instead of
3111 # keeping the changes in LD private, export them just because LD is
3112 # exported. Only used at the end of this file.
3113 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3115 # Find the rest of the source tree framework.
3116 # Default to --enable-multilib
3117 # Check whether --enable-multilib was given.
3118 if test "${enable_multilib+set}" = set; then :
3119 enableval=$enable_multilib; case "$enableval" in
3120 yes) multilib=yes ;;
3121 no) multilib=no ;;
3122 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3123 esac
3124 else
3125 multilib=yes
3129 # We may get other options which we leave undocumented:
3130 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3131 # See config-ml.in if you want the gory details.
3133 if test "$srcdir" = "."; then
3134 if test "$with_target_subdir" != "."; then
3135 multi_basedir="$srcdir/$with_multisrctop../.."
3136 else
3137 multi_basedir="$srcdir/$with_multisrctop.."
3139 else
3140 multi_basedir="$srcdir/.."
3144 # Even if the default multilib is not a cross compilation,
3145 # it may be that some of the other multilibs are.
3146 if test $cross_compiling = no && test $multilib = yes \
3147 && test "x${with_multisubdir}" != x ; then
3148 cross_compiling=maybe
3151 ac_config_commands="$ac_config_commands default-1"
3154 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3156 # You will slowly go insane if you do not grok the following fact: when
3157 # building v3 as part of the compiler, the top-level /target/ becomes the
3158 # library's /host/. configure then causes --target to default to --host,
3159 # exactly like any other package using autoconf. Therefore, 'target' and
3160 # 'host' will always be the same. This makes sense both for native and
3161 # cross compilers, just think about it for a little while. :-)
3163 # Also, if v3 is being configured as part of a cross compiler, the top-level
3164 # configure script will pass the "real" host as $with_cross_host.
3166 # Do not delete or change the following two lines. For why, see
3167 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3168 ac_aux_dir=
3169 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3170 if test -f "$ac_dir/install-sh"; then
3171 ac_aux_dir=$ac_dir
3172 ac_install_sh="$ac_aux_dir/install-sh -c"
3173 break
3174 elif test -f "$ac_dir/install.sh"; then
3175 ac_aux_dir=$ac_dir
3176 ac_install_sh="$ac_aux_dir/install.sh -c"
3177 break
3178 elif test -f "$ac_dir/shtool"; then
3179 ac_aux_dir=$ac_dir
3180 ac_install_sh="$ac_aux_dir/shtool install -c"
3181 break
3183 done
3184 if test -z "$ac_aux_dir"; then
3185 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3188 # These three variables are undocumented and unsupported,
3189 # and are intended to be withdrawn in a future Autoconf release.
3190 # They can cause serious problems if a builder's source tree is in a directory
3191 # whose full name contains unusual characters.
3192 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3193 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3194 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3197 # Make sure we can run config.sub.
3198 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3199 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3202 $as_echo_n "checking build system type... " >&6; }
3203 if ${ac_cv_build+:} false; then :
3204 $as_echo_n "(cached) " >&6
3205 else
3206 ac_build_alias=$build_alias
3207 test "x$ac_build_alias" = x &&
3208 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3209 test "x$ac_build_alias" = x &&
3210 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3211 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3212 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3216 $as_echo "$ac_cv_build" >&6; }
3217 case $ac_cv_build in
3218 *-*-*) ;;
3219 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3220 esac
3221 build=$ac_cv_build
3222 ac_save_IFS=$IFS; IFS='-'
3223 set x $ac_cv_build
3224 shift
3225 build_cpu=$1
3226 build_vendor=$2
3227 shift; shift
3228 # Remember, the first character of IFS is used to create $*,
3229 # except with old shells:
3230 build_os=$*
3231 IFS=$ac_save_IFS
3232 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3236 $as_echo_n "checking host system type... " >&6; }
3237 if ${ac_cv_host+:} false; then :
3238 $as_echo_n "(cached) " >&6
3239 else
3240 if test "x$host_alias" = x; then
3241 ac_cv_host=$ac_cv_build
3242 else
3243 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3244 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3249 $as_echo "$ac_cv_host" >&6; }
3250 case $ac_cv_host in
3251 *-*-*) ;;
3252 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3253 esac
3254 host=$ac_cv_host
3255 ac_save_IFS=$IFS; IFS='-'
3256 set x $ac_cv_host
3257 shift
3258 host_cpu=$1
3259 host_vendor=$2
3260 shift; shift
3261 # Remember, the first character of IFS is used to create $*,
3262 # except with old shells:
3263 host_os=$*
3264 IFS=$ac_save_IFS
3265 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3269 $as_echo_n "checking target system type... " >&6; }
3270 if ${ac_cv_target+:} false; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test "x$target_alias" = x; then
3274 ac_cv_target=$ac_cv_host
3275 else
3276 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3277 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3282 $as_echo "$ac_cv_target" >&6; }
3283 case $ac_cv_target in
3284 *-*-*) ;;
3285 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3286 esac
3287 target=$ac_cv_target
3288 ac_save_IFS=$IFS; IFS='-'
3289 set x $ac_cv_target
3290 shift
3291 target_cpu=$1
3292 target_vendor=$2
3293 shift; shift
3294 # Remember, the first character of IFS is used to create $*,
3295 # except with old shells:
3296 target_os=$*
3297 IFS=$ac_save_IFS
3298 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3301 # The aliases save the names the user supplied, while $host etc.
3302 # will get canonicalized.
3303 test -n "$target_alias" &&
3304 test "$program_prefix$program_suffix$program_transform_name" = \
3305 NONENONEs,x,x, &&
3306 program_prefix=${target_alias}-
3308 target_alias=${target_alias-$host_alias}
3310 # Handy for debugging:
3311 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3313 if test "$build" != "$host"; then
3314 # We are being configured with some form of cross compiler.
3315 GLIBCXX_IS_NATIVE=false
3316 case "$host","$target" in
3317 # Darwin crosses can use the host system's libraries and headers,
3318 # because of the fat library support. Of course, it must be the
3319 # same version of Darwin on both sides. Allow the user to
3320 # just say --target=foo-darwin without a version number to mean
3321 # "the version on this system".
3322 *-*-darwin*,*-*-darwin*)
3323 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3324 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3325 if test $hostos = $targetos -o $targetos = darwin ; then
3326 GLIBCXX_IS_NATIVE=true
3333 esac
3334 else
3335 GLIBCXX_IS_NATIVE=true
3338 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3339 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3340 # 1.x: minimum required version
3341 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3342 # of other PACKAGE_* variables will, however, and there's nothing
3343 # we can do about that; they come from AC_INIT).
3344 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3345 # file in the top srcdir, etc, etc), so stop complaining.
3346 # no-dependencies: turns off auto dependency generation (just for now)
3347 # no-dist: we don't want 'dist' and related rules.
3348 # -Wall: turns on all automake warnings...
3349 # -Wno-portability: ...except this one, since GNU make is now required.
3350 am__api_version='1.15'
3352 # Find a good install program. We prefer a C program (faster),
3353 # so one script is as good as another. But avoid the broken or
3354 # incompatible versions:
3355 # SysV /etc/install, /usr/sbin/install
3356 # SunOS /usr/etc/install
3357 # IRIX /sbin/install
3358 # AIX /bin/install
3359 # AmigaOS /C/install, which installs bootblocks on floppy discs
3360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3363 # OS/2's system install, which has a completely different semantic
3364 # ./install, which can be erroneously created by make from ./install.sh.
3365 # Reject install programs that cannot install multiple files.
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3367 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3368 if test -z "$INSTALL"; then
3369 if ${ac_cv_path_install+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 # Account for people who put trailing slashes in PATH elements.
3378 case $as_dir/ in #((
3379 ./ | .// | /[cC]/* | \
3380 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3381 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3382 /usr/ucb/* ) ;;
3384 # OSF1 and SCO ODT 3.0 have their own names for install.
3385 # Don't use installbsd from OSF since it installs stuff as root
3386 # by default.
3387 for ac_prog in ginstall scoinst install; do
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3390 if test $ac_prog = install &&
3391 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3392 # AIX install. It has an incompatible calling convention.
3394 elif test $ac_prog = install &&
3395 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396 # program-specific install script used by HP pwplus--don't use.
3398 else
3399 rm -rf conftest.one conftest.two conftest.dir
3400 echo one > conftest.one
3401 echo two > conftest.two
3402 mkdir conftest.dir
3403 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3404 test -s conftest.one && test -s conftest.two &&
3405 test -s conftest.dir/conftest.one &&
3406 test -s conftest.dir/conftest.two
3407 then
3408 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3409 break 3
3413 done
3414 done
3416 esac
3418 done
3419 IFS=$as_save_IFS
3421 rm -rf conftest.one conftest.two conftest.dir
3424 if test "${ac_cv_path_install+set}" = set; then
3425 INSTALL=$ac_cv_path_install
3426 else
3427 # As a last resort, use the slow shell script. Don't cache a
3428 # value for INSTALL within a source directory, because that will
3429 # break other packages using the cache if that directory is
3430 # removed, or if the value is a relative name.
3431 INSTALL=$ac_install_sh
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3435 $as_echo "$INSTALL" >&6; }
3437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3438 # It thinks the first close brace ends the variable substitution.
3439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3446 $as_echo_n "checking whether build environment is sane... " >&6; }
3447 # Reject unsafe characters in $srcdir or the absolute working directory
3448 # name. Accept space and tab only in the latter.
3449 am_lf='
3451 case `pwd` in
3452 *[\\\"\#\$\&\'\`$am_lf]*)
3453 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3454 esac
3455 case $srcdir in
3456 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3457 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3458 esac
3460 # Do 'set' in a subshell so we don't clobber the current shell's
3461 # arguments. Must try -L first in case configure is actually a
3462 # symlink; some systems play weird games with the mod time of symlinks
3463 # (eg FreeBSD returns the mod time of the symlink's containing
3464 # directory).
3465 if (
3466 am_has_slept=no
3467 for am_try in 1 2; do
3468 echo "timestamp, slept: $am_has_slept" > conftest.file
3469 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3470 if test "$*" = "X"; then
3471 # -L didn't work.
3472 set X `ls -t "$srcdir/configure" conftest.file`
3474 if test "$*" != "X $srcdir/configure conftest.file" \
3475 && test "$*" != "X conftest.file $srcdir/configure"; then
3477 # If neither matched, then we have a broken ls. This can happen
3478 # if, for instance, CONFIG_SHELL is bash and it inherits a
3479 # broken ls alias from the environment. This has actually
3480 # happened. Such a system could not be considered "sane".
3481 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3482 alias in your environment" "$LINENO" 5
3484 if test "$2" = conftest.file || test $am_try -eq 2; then
3485 break
3487 # Just in case.
3488 sleep 1
3489 am_has_slept=yes
3490 done
3491 test "$2" = conftest.file
3493 then
3494 # Ok.
3496 else
3497 as_fn_error $? "newly created file is older than distributed files!
3498 Check your system clock" "$LINENO" 5
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501 $as_echo "yes" >&6; }
3502 # If we didn't sleep, we still need to ensure time stamps of config.status and
3503 # generated files are strictly newer.
3504 am_sleep_pid=
3505 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3506 ( sleep 1 ) &
3507 am_sleep_pid=$!
3510 rm -f conftest.file
3512 test "$program_prefix" != NONE &&
3513 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3514 # Use a double $ so make ignores it.
3515 test "$program_suffix" != NONE &&
3516 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3517 # Double any \ or $.
3518 # By default was `s,x,x', remove it if useless.
3519 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3520 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3522 # Expand $ac_aux_dir to an absolute path.
3523 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3525 if test x"${MISSING+set}" != xset; then
3526 case $am_aux_dir in
3527 *\ * | *\ *)
3528 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3530 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3531 esac
3533 # Use eval to expand $SHELL
3534 if eval "$MISSING --is-lightweight"; then
3535 am_missing_run="$MISSING "
3536 else
3537 am_missing_run=
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3539 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3542 if test x"${install_sh+set}" != xset; then
3543 case $am_aux_dir in
3544 *\ * | *\ *)
3545 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3547 install_sh="\${SHELL} $am_aux_dir/install-sh"
3548 esac
3551 # Installed binaries are usually stripped using 'strip' when the user
3552 # run "make install-strip". However 'strip' might not be the right
3553 # tool to use in cross-compilation environments, therefore Automake
3554 # will honor the 'STRIP' environment variable to overrule this program.
3555 if test "$cross_compiling" != no; then
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}strip; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_STRIP+:} false; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$STRIP"; then
3565 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 STRIP=$ac_cv_prog_STRIP
3585 if test -n "$STRIP"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3587 $as_echo "$STRIP" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_STRIP"; then
3596 ac_ct_STRIP=$STRIP
3597 # Extract the first word of "strip", so it can be a program name with args.
3598 set dummy strip; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_STRIP"; then
3605 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_ac_ct_STRIP="strip"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3625 if test -n "$ac_ct_STRIP"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3627 $as_echo "$ac_ct_STRIP" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_STRIP" = x; then
3634 STRIP=":"
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 STRIP=$ac_ct_STRIP
3644 else
3645 STRIP="$ac_cv_prog_STRIP"
3649 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3652 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3653 if test -z "$MKDIR_P"; then
3654 if ${ac_cv_path_mkdir+:} false; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_prog in mkdir gmkdir; do
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3665 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3666 'mkdir (GNU coreutils) '* | \
3667 'mkdir (coreutils) '* | \
3668 'mkdir (fileutils) '4.1*)
3669 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3670 break 3;;
3671 esac
3672 done
3673 done
3674 done
3675 IFS=$as_save_IFS
3679 test -d ./--version && rmdir ./--version
3680 if test "${ac_cv_path_mkdir+set}" = set; then
3681 MKDIR_P="$ac_cv_path_mkdir -p"
3682 else
3683 # As a last resort, use the slow shell script. Don't cache a
3684 # value for MKDIR_P within a source directory, because that will
3685 # break other packages using the cache if that directory is
3686 # removed, or if the value is a relative name.
3687 MKDIR_P="$ac_install_sh -d"
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3691 $as_echo "$MKDIR_P" >&6; }
3693 for ac_prog in gawk mawk nawk awk
3695 # Extract the first word of "$ac_prog", so it can be a program name with args.
3696 set dummy $ac_prog; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_AWK+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 if test -n "$AWK"; then
3703 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3704 else
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3708 IFS=$as_save_IFS
3709 test -z "$as_dir" && as_dir=.
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_AWK="$ac_prog"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3722 AWK=$ac_cv_prog_AWK
3723 if test -n "$AWK"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3725 $as_echo "$AWK" >&6; }
3726 else
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3732 test -n "$AWK" && break
3733 done
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3736 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3737 set x ${MAKE-make}
3738 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3739 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 cat >conftest.make <<\_ACEOF
3743 SHELL = /bin/sh
3744 all:
3745 @echo '@@@%%%=$(MAKE)=@@@%%%'
3746 _ACEOF
3747 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3748 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3749 *@@@%%%=?*=@@@%%%*)
3750 eval ac_cv_prog_make_${ac_make}_set=yes;;
3752 eval ac_cv_prog_make_${ac_make}_set=no;;
3753 esac
3754 rm -f conftest.make
3756 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3758 $as_echo "yes" >&6; }
3759 SET_MAKE=
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3763 SET_MAKE="MAKE=${MAKE-make}"
3766 rm -rf .tst 2>/dev/null
3767 mkdir .tst 2>/dev/null
3768 if test -d .tst; then
3769 am__leading_dot=.
3770 else
3771 am__leading_dot=_
3773 rmdir .tst 2>/dev/null
3775 # Check whether --enable-silent-rules was given.
3776 if test "${enable_silent_rules+set}" = set; then :
3777 enableval=$enable_silent_rules;
3780 case $enable_silent_rules in # (((
3781 yes) AM_DEFAULT_VERBOSITY=0;;
3782 no) AM_DEFAULT_VERBOSITY=1;;
3783 *) AM_DEFAULT_VERBOSITY=1;;
3784 esac
3785 am_make=${MAKE-make}
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3787 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3788 if ${am_cv_make_support_nested_variables+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if $as_echo 'TRUE=$(BAR$(V))
3792 BAR0=false
3793 BAR1=true
3795 am__doit:
3796 @$(TRUE)
3797 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3798 am_cv_make_support_nested_variables=yes
3799 else
3800 am_cv_make_support_nested_variables=no
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3804 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3805 if test $am_cv_make_support_nested_variables = yes; then
3806 AM_V='$(V)'
3807 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3808 else
3809 AM_V=$AM_DEFAULT_VERBOSITY
3810 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3812 AM_BACKSLASH='\'
3814 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3815 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3816 # is not polluted with repeated "-I."
3817 am__isrc=' -I$(srcdir)'
3818 # test to see if srcdir already configured
3819 if test -f $srcdir/config.status; then
3820 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3824 # test whether we have cygpath
3825 if test -z "$CYGPATH_W"; then
3826 if (cygpath --version) >/dev/null 2>/dev/null; then
3827 CYGPATH_W='cygpath -w'
3828 else
3829 CYGPATH_W=echo
3834 # Define the identity of the package.
3835 PACKAGE='libstdc++'
3836 VERSION='version-unused'
3839 # Some tools Automake needs.
3841 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3844 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3847 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3850 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3853 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3855 # For better backward compatibility. To be removed once Automake 1.9.x
3856 # dies out for good. For more background, see:
3857 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3858 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3859 mkdir_p='$(MKDIR_P)'
3861 # We need awk for the "check" target (and possibly the TAP driver). The
3862 # system "awk" is bad on some platforms.
3863 # Always define AMTAR for backward compatibility. Yes, it's still used
3864 # in the wild :-( We should find a proper way to deprecate it ...
3865 AMTAR='$${TAR-tar}'
3868 # We'll loop over all known methods to create a tar archive until one works.
3869 _am_tools='gnutar pax cpio none'
3871 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3878 # POSIX will say in a future version that running "rm -f" with no argument
3879 # is OK; and we want to be able to make that assumption in our Makefile
3880 # recipes. So use an aggressive probe to check that the usage we want is
3881 # actually supported "in the wild" to an acceptable degree.
3882 # See automake bug#10828.
3883 # To make any issue more visible, cause the running configure to be aborted
3884 # by default if the 'rm' program in use doesn't match our expectations; the
3885 # user can still override this though.
3886 if rm -f && rm -fr && rm -rf; then : OK; else
3887 cat >&2 <<'END'
3888 Oops!
3890 Your 'rm' program seems unable to run without file operands specified
3891 on the command line, even when the '-f' option is present. This is contrary
3892 to the behaviour of most rm programs out there, and not conforming with
3893 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3895 Please tell bug-automake@gnu.org about your system, including the value
3896 of your $PATH and any error possibly output before this message. This
3897 can help us improve future automake versions.
3900 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3901 echo 'Configuration will proceed anyway, since you have set the' >&2
3902 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3903 echo >&2
3904 else
3905 cat >&2 <<'END'
3906 Aborting the configuration process, to ensure you take notice of the issue.
3908 You can download and install GNU coreutils to get an 'rm' implementation
3909 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3911 If you want to complete the configuration process using your problematic
3912 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3913 to "yes", and re-run configure.
3916 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3923 # -fno-builtin must be present here so that a non-conflicting form of
3924 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3926 save_CXXFLAGS="$CXXFLAGS"
3927 CXXFLAGS="$CXXFLAGS -fno-builtin"
3928 ac_ext=c
3929 ac_cpp='$CPP $CPPFLAGS'
3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933 if test -n "$ac_tool_prefix"; then
3934 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3935 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$CC"; then
3942 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3955 done
3956 done
3957 IFS=$as_save_IFS
3961 CC=$ac_cv_prog_CC
3962 if test -n "$CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964 $as_echo "$CC" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3972 if test -z "$ac_cv_prog_CC"; then
3973 ac_ct_CC=$CC
3974 # Extract the first word of "gcc", so it can be a program name with args.
3975 set dummy gcc; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 if test -n "$ac_ct_CC"; then
3982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3983 else
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3987 IFS=$as_save_IFS
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3991 ac_cv_prog_ac_ct_CC="gcc"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 break 2
3995 done
3996 done
3997 IFS=$as_save_IFS
4001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4002 if test -n "$ac_ct_CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4004 $as_echo "$ac_ct_CC" >&6; }
4005 else
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4010 if test "x$ac_ct_CC" = x; then
4011 CC=""
4012 else
4013 case $cross_compiling:$ac_tool_warned in
4014 yes:)
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned=yes ;;
4018 esac
4019 CC=$ac_ct_CC
4021 else
4022 CC="$ac_cv_prog_CC"
4025 if test -z "$CC"; then
4026 if test -n "$ac_tool_prefix"; then
4027 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4028 set dummy ${ac_tool_prefix}cc; ac_word=$2
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if ${ac_cv_prog_CC+:} false; then :
4032 $as_echo_n "(cached) " >&6
4033 else
4034 if test -n "$CC"; then
4035 ac_cv_prog_CC="$CC" # Let the user override the test.
4036 else
4037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038 for as_dir in $PATH
4040 IFS=$as_save_IFS
4041 test -z "$as_dir" && as_dir=.
4042 for ac_exec_ext in '' $ac_executable_extensions; do
4043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_CC="${ac_tool_prefix}cc"
4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 break 2
4048 done
4049 done
4050 IFS=$as_save_IFS
4054 CC=$ac_cv_prog_CC
4055 if test -n "$CC"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4057 $as_echo "$CC" >&6; }
4058 else
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4066 if test -z "$CC"; then
4067 # Extract the first word of "cc", so it can be a program name with args.
4068 set dummy cc; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_CC+:} false; then :
4072 $as_echo_n "(cached) " >&6
4073 else
4074 if test -n "$CC"; then
4075 ac_cv_prog_CC="$CC" # Let the user override the test.
4076 else
4077 ac_prog_rejected=no
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4086 ac_prog_rejected=yes
4087 continue
4089 ac_cv_prog_CC="cc"
4090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 break 2
4093 done
4094 done
4095 IFS=$as_save_IFS
4097 if test $ac_prog_rejected = yes; then
4098 # We found a bogon in the path, so make sure we never use it.
4099 set dummy $ac_cv_prog_CC
4100 shift
4101 if test $# != 0; then
4102 # We chose a different compiler from the bogus one.
4103 # However, it has the same basename, so the bogon will be chosen
4104 # first if we set CC to just the basename; use the full file name.
4105 shift
4106 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4111 CC=$ac_cv_prog_CC
4112 if test -n "$CC"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4114 $as_echo "$CC" >&6; }
4115 else
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4122 if test -z "$CC"; then
4123 if test -n "$ac_tool_prefix"; then
4124 for ac_prog in cl.exe
4126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; }
4130 if ${ac_cv_prog_CC+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 if test -n "$CC"; then
4134 ac_cv_prog_CC="$CC" # Let the user override the test.
4135 else
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH
4139 IFS=$as_save_IFS
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 break 2
4147 done
4148 done
4149 IFS=$as_save_IFS
4153 CC=$ac_cv_prog_CC
4154 if test -n "$CC"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4156 $as_echo "$CC" >&6; }
4157 else
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4163 test -n "$CC" && break
4164 done
4166 if test -z "$CC"; then
4167 ac_ct_CC=$CC
4168 for ac_prog in cl.exe
4170 # Extract the first word of "$ac_prog", so it can be a program name with args.
4171 set dummy $ac_prog; ac_word=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176 else
4177 if test -n "$ac_ct_CC"; then
4178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4179 else
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181 for as_dir in $PATH
4183 IFS=$as_save_IFS
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_ac_ct_CC="$ac_prog"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 break 2
4191 done
4192 done
4193 IFS=$as_save_IFS
4197 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4198 if test -n "$ac_ct_CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4200 $as_echo "$ac_ct_CC" >&6; }
4201 else
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4207 test -n "$ac_ct_CC" && break
4208 done
4210 if test "x$ac_ct_CC" = x; then
4211 CC=""
4212 else
4213 case $cross_compiling:$ac_tool_warned in
4214 yes:)
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4217 ac_tool_warned=yes ;;
4218 esac
4219 CC=$ac_ct_CC
4226 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228 as_fn_error $? "no acceptable C compiler found in \$PATH
4229 See \`config.log' for more details" "$LINENO" 5; }
4231 # Provide some information about the compiler.
4232 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4233 set X $ac_compile
4234 ac_compiler=$2
4235 for ac_option in --version -v -V -qversion; do
4236 { { ac_try="$ac_compiler $ac_option >&5"
4237 case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4244 ac_status=$?
4245 if test -s conftest.err; then
4246 sed '10a\
4247 ... rest of stderr output deleted ...
4248 10q' conftest.err >conftest.er1
4249 cat conftest.er1 >&5
4251 rm -f conftest.er1 conftest.err
4252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253 test $ac_status = 0; }
4254 done
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258 #include <stdio.h>
4260 main ()
4262 printf ("hello world\n");
4264 return 0;
4266 _ACEOF
4267 # FIXME: Cleanup?
4268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4269 (eval $ac_link) 2>&5
4270 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }; then :
4273 gcc_no_link=no
4274 else
4275 gcc_no_link=yes
4277 if test x$gcc_no_link = xyes; then
4278 # Setting cross_compile will disable run tests; it will
4279 # also disable AC_CHECK_FILE but that's generally
4280 # correct if we can't link.
4281 cross_compiling=yes
4282 EXEEXT=
4283 else
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4288 main ()
4292 return 0;
4294 _ACEOF
4295 ac_clean_files_save=$ac_clean_files
4296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4297 # Try to create an executable without -o first, disregard a.out.
4298 # It will help us diagnose broken compilers, and finding out an intuition
4299 # of exeext.
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4301 $as_echo_n "checking whether the C compiler works... " >&6; }
4302 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4304 # The possible output files:
4305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4307 ac_rmfiles=
4308 for ac_file in $ac_files
4310 case $ac_file in
4311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4313 esac
4314 done
4315 rm -f $ac_rmfiles
4317 if { { ac_try="$ac_link_default"
4318 case "(($ac_try" in
4319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4321 esac
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link_default") 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4331 # so that the user can short-circuit this test for compilers unknown to
4332 # Autoconf.
4333 for ac_file in $ac_files ''
4335 test -f "$ac_file" || continue
4336 case $ac_file in
4337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4339 [ab].out )
4340 # We found the default executable, but exeext='' is most
4341 # certainly right.
4342 break;;
4343 *.* )
4344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4345 then :; else
4346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4348 # We set ac_cv_exeext here because the later test for it is not
4349 # safe: cross compilers may not add the suffix if given an `-o'
4350 # argument, so we may need to know it at that point already.
4351 # Even if this section looks crufty: it has the advantage of
4352 # actually working.
4353 break;;
4355 break;;
4356 esac
4357 done
4358 test "$ac_cv_exeext" = no && ac_cv_exeext=
4360 else
4361 ac_file=''
4363 if test -z "$ac_file"; then :
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4366 $as_echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.$ac_ext >&5
4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error 77 "C compiler cannot create executables
4372 See \`config.log' for more details" "$LINENO" 5; }
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4375 $as_echo "yes" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4378 $as_echo_n "checking for C compiler default output file name... " >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4380 $as_echo "$ac_file" >&6; }
4381 ac_exeext=$ac_cv_exeext
4383 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4384 ac_clean_files=$ac_clean_files_save
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4386 $as_echo_n "checking for suffix of executables... " >&6; }
4387 if { { ac_try="$ac_link"
4388 case "(($ac_try" in
4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4391 esac
4392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393 $as_echo "$ac_try_echo"; } >&5
4394 (eval "$ac_link") 2>&5
4395 ac_status=$?
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }; then :
4398 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4399 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4400 # work properly (i.e., refer to `conftest.exe'), while it won't with
4401 # `rm'.
4402 for ac_file in conftest.exe conftest conftest.*; do
4403 test -f "$ac_file" || continue
4404 case $ac_file in
4405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4406 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4407 break;;
4408 * ) break;;
4409 esac
4410 done
4411 else
4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4415 See \`config.log' for more details" "$LINENO" 5; }
4417 rm -f conftest conftest$ac_cv_exeext
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4419 $as_echo "$ac_cv_exeext" >&6; }
4421 rm -f conftest.$ac_ext
4422 EXEEXT=$ac_cv_exeext
4423 ac_exeext=$EXEEXT
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4426 #include <stdio.h>
4428 main ()
4430 FILE *f = fopen ("conftest.out", "w");
4431 return ferror (f) || fclose (f) != 0;
4434 return 0;
4436 _ACEOF
4437 ac_clean_files="$ac_clean_files conftest.out"
4438 # Check that the compiler produces executables we can run. If not, either
4439 # the compiler is broken, or we cross compile.
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4441 $as_echo_n "checking whether we are cross compiling... " >&6; }
4442 if test "$cross_compiling" != yes; then
4443 { { ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_link") 2>&5
4451 ac_status=$?
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }
4454 if { ac_try='./conftest$ac_cv_exeext'
4455 { { case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_try") 2>&5
4462 ac_status=$?
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }; }; then
4465 cross_compiling=no
4466 else
4467 if test "$cross_compiling" = maybe; then
4468 cross_compiling=yes
4469 else
4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $? "cannot run C compiled programs.
4473 If you meant to cross compile, use \`--host'.
4474 See \`config.log' for more details" "$LINENO" 5; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4479 $as_echo "$cross_compiling" >&6; }
4481 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4482 ac_clean_files=$ac_clean_files_save
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4485 $as_echo_n "checking for suffix of object files... " >&6; }
4486 if ${ac_cv_objext+:} false; then :
4487 $as_echo_n "(cached) " >&6
4488 else
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4493 main ()
4497 return 0;
4499 _ACEOF
4500 rm -f conftest.o conftest.obj
4501 if { { ac_try="$ac_compile"
4502 case "(($ac_try" in
4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4505 esac
4506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507 $as_echo "$ac_try_echo"; } >&5
4508 (eval "$ac_compile") 2>&5
4509 ac_status=$?
4510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4511 test $ac_status = 0; }; then :
4512 for ac_file in conftest.o conftest.obj conftest.*; do
4513 test -f "$ac_file" || continue;
4514 case $ac_file in
4515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4516 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4517 break;;
4518 esac
4519 done
4520 else
4521 $as_echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.$ac_ext >&5
4524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4526 as_fn_error $? "cannot compute suffix of object files: cannot compile
4527 See \`config.log' for more details" "$LINENO" 5; }
4529 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4532 $as_echo "$ac_cv_objext" >&6; }
4533 OBJEXT=$ac_cv_objext
4534 ac_objext=$OBJEXT
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4536 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4537 if ${ac_cv_c_compiler_gnu+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4544 main ()
4546 #ifndef __GNUC__
4547 choke me
4548 #endif
4551 return 0;
4553 _ACEOF
4554 if ac_fn_c_try_compile "$LINENO"; then :
4555 ac_compiler_gnu=yes
4556 else
4557 ac_compiler_gnu=no
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4564 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4565 if test $ac_compiler_gnu = yes; then
4566 GCC=yes
4567 else
4568 GCC=
4570 ac_test_CFLAGS=${CFLAGS+set}
4571 ac_save_CFLAGS=$CFLAGS
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4573 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4574 if ${ac_cv_prog_cc_g+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 ac_save_c_werror_flag=$ac_c_werror_flag
4578 ac_c_werror_flag=yes
4579 ac_cv_prog_cc_g=no
4580 CFLAGS="-g"
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4593 ac_cv_prog_cc_g=yes
4594 else
4595 CFLAGS=""
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4600 main ()
4604 return 0;
4606 _ACEOF
4607 if ac_fn_c_try_compile "$LINENO"; then :
4609 else
4610 ac_c_werror_flag=$ac_save_c_werror_flag
4611 CFLAGS="-g"
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4616 main ()
4620 return 0;
4622 _ACEOF
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 ac_cv_prog_cc_g=yes
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_c_werror_flag=$ac_save_c_werror_flag
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4634 $as_echo "$ac_cv_prog_cc_g" >&6; }
4635 if test "$ac_test_CFLAGS" = set; then
4636 CFLAGS=$ac_save_CFLAGS
4637 elif test $ac_cv_prog_cc_g = yes; then
4638 if test "$GCC" = yes; then
4639 CFLAGS="-g -O2"
4640 else
4641 CFLAGS="-g"
4643 else
4644 if test "$GCC" = yes; then
4645 CFLAGS="-O2"
4646 else
4647 CFLAGS=
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4651 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4652 if ${ac_cv_prog_cc_c89+:} false; then :
4653 $as_echo_n "(cached) " >&6
4654 else
4655 ac_cv_prog_cc_c89=no
4656 ac_save_CC=$CC
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4659 #include <stdarg.h>
4660 #include <stdio.h>
4661 struct stat;
4662 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4663 struct buf { int x; };
4664 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4665 static char *e (p, i)
4666 char **p;
4667 int i;
4669 return p[i];
4671 static char *f (char * (*g) (char **, int), char **p, ...)
4673 char *s;
4674 va_list v;
4675 va_start (v,p);
4676 s = g (p, va_arg (v,int));
4677 va_end (v);
4678 return s;
4681 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4682 function prototypes and stuff, but not '\xHH' hex character constants.
4683 These don't provoke an error unfortunately, instead are silently treated
4684 as 'x'. The following induces an error, until -std is added to get
4685 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4686 array size at least. It's necessary to write '\x00'==0 to get something
4687 that's true only with -std. */
4688 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4690 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4691 inside strings and character constants. */
4692 #define FOO(x) 'x'
4693 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4695 int test (int i, double x);
4696 struct s1 {int (*f) (int a);};
4697 struct s2 {int (*f) (double a);};
4698 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4699 int argc;
4700 char **argv;
4702 main ()
4704 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4706 return 0;
4708 _ACEOF
4709 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4710 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4712 CC="$ac_save_CC $ac_arg"
4713 if ac_fn_c_try_compile "$LINENO"; then :
4714 ac_cv_prog_cc_c89=$ac_arg
4716 rm -f core conftest.err conftest.$ac_objext
4717 test "x$ac_cv_prog_cc_c89" != "xno" && break
4718 done
4719 rm -f conftest.$ac_ext
4720 CC=$ac_save_CC
4723 # AC_CACHE_VAL
4724 case "x$ac_cv_prog_cc_c89" in
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4727 $as_echo "none needed" >&6; } ;;
4728 xno)
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4730 $as_echo "unsupported" >&6; } ;;
4732 CC="$CC $ac_cv_prog_cc_c89"
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4734 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4735 esac
4736 if test "x$ac_cv_prog_cc_c89" != xno; then :
4740 ac_ext=c
4741 ac_cpp='$CPP $CPPFLAGS'
4742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4746 ac_ext=c
4747 ac_cpp='$CPP $CPPFLAGS'
4748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4752 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4753 if ${am_cv_prog_cc_c_o+:} false; then :
4754 $as_echo_n "(cached) " >&6
4755 else
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4760 main ()
4764 return 0;
4766 _ACEOF
4767 # Make sure it works both with $CC and with simple cc.
4768 # Following AC_PROG_CC_C_O, we do the test twice because some
4769 # compilers refuse to overwrite an existing .o file with -o,
4770 # though they will create one.
4771 am_cv_prog_cc_c_o=yes
4772 for am_i in 1 2; do
4773 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4774 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4775 ac_status=$?
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } \
4778 && test -f conftest2.$ac_objext; then
4779 : OK
4780 else
4781 am_cv_prog_cc_c_o=no
4782 break
4784 done
4785 rm -f core conftest*
4786 unset am_i
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4789 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4790 if test "$am_cv_prog_cc_c_o" != yes; then
4791 # Losing compiler, so override with the script.
4792 # FIXME: It is wrong to rewrite CC.
4793 # But if we don't then we get into trouble of one sort or another.
4794 # A longer-term fix would be to have automake use am__CC in this case,
4795 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4796 CC="$am_aux_dir/compile $CC"
4798 ac_ext=c
4799 ac_cpp='$CPP $CPPFLAGS'
4800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4805 ac_ext=cpp
4806 ac_cpp='$CXXCPP $CPPFLAGS'
4807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4810 if test -z "$CXX"; then
4811 if test -n "$CCC"; then
4812 CXX=$CCC
4813 else
4814 if test -n "$ac_tool_prefix"; then
4815 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_CXX+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 if test -n "$CXX"; then
4825 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4844 CXX=$ac_cv_prog_CXX
4845 if test -n "$CXX"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4847 $as_echo "$CXX" >&6; }
4848 else
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4854 test -n "$CXX" && break
4855 done
4857 if test -z "$CXX"; then
4858 ac_ct_CXX=$CXX
4859 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4861 # Extract the first word of "$ac_prog", so it can be a program name with args.
4862 set dummy $ac_prog; ac_word=$2
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4864 $as_echo_n "checking for $ac_word... " >&6; }
4865 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4866 $as_echo_n "(cached) " >&6
4867 else
4868 if test -n "$ac_ct_CXX"; then
4869 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4870 else
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 for as_dir in $PATH
4874 IFS=$as_save_IFS
4875 test -z "$as_dir" && as_dir=.
4876 for ac_exec_ext in '' $ac_executable_extensions; do
4877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4878 ac_cv_prog_ac_ct_CXX="$ac_prog"
4879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 break 2
4882 done
4883 done
4884 IFS=$as_save_IFS
4888 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4889 if test -n "$ac_ct_CXX"; then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4891 $as_echo "$ac_ct_CXX" >&6; }
4892 else
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 $as_echo "no" >&6; }
4898 test -n "$ac_ct_CXX" && break
4899 done
4901 if test "x$ac_ct_CXX" = x; then
4902 CXX="g++"
4903 else
4904 case $cross_compiling:$ac_tool_warned in
4905 yes:)
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4908 ac_tool_warned=yes ;;
4909 esac
4910 CXX=$ac_ct_CXX
4916 # Provide some information about the compiler.
4917 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4918 set X $ac_compile
4919 ac_compiler=$2
4920 for ac_option in --version -v -V -qversion; do
4921 { { ac_try="$ac_compiler $ac_option >&5"
4922 case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4925 esac
4926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4927 $as_echo "$ac_try_echo"; } >&5
4928 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4929 ac_status=$?
4930 if test -s conftest.err; then
4931 sed '10a\
4932 ... rest of stderr output deleted ...
4933 10q' conftest.err >conftest.er1
4934 cat conftest.er1 >&5
4936 rm -f conftest.er1 conftest.err
4937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4938 test $ac_status = 0; }
4939 done
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4942 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4943 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4950 main ()
4952 #ifndef __GNUC__
4953 choke me
4954 #endif
4957 return 0;
4959 _ACEOF
4960 if ac_fn_cxx_try_compile "$LINENO"; then :
4961 ac_compiler_gnu=yes
4962 else
4963 ac_compiler_gnu=no
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4970 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4971 if test $ac_compiler_gnu = yes; then
4972 GXX=yes
4973 else
4974 GXX=
4976 ac_test_CXXFLAGS=${CXXFLAGS+set}
4977 ac_save_CXXFLAGS=$CXXFLAGS
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4979 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4980 if ${ac_cv_prog_cxx_g+:} false; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4984 ac_cxx_werror_flag=yes
4985 ac_cv_prog_cxx_g=no
4986 CXXFLAGS="-g"
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4995 return 0;
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
4999 ac_cv_prog_cxx_g=yes
5000 else
5001 CXXFLAGS=""
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5006 main ()
5010 return 0;
5012 _ACEOF
5013 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 else
5016 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5017 CXXFLAGS="-g"
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_cxx_try_compile "$LINENO"; then :
5030 ac_cv_prog_cxx_g=yes
5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5040 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5041 if test "$ac_test_CXXFLAGS" = set; then
5042 CXXFLAGS=$ac_save_CXXFLAGS
5043 elif test $ac_cv_prog_cxx_g = yes; then
5044 if test "$GXX" = yes; then
5045 CXXFLAGS="-g -O2"
5046 else
5047 CXXFLAGS="-g"
5049 else
5050 if test "$GXX" = yes; then
5051 CXXFLAGS="-O2"
5052 else
5053 CXXFLAGS=
5056 ac_ext=c
5057 ac_cpp='$CPP $CPPFLAGS'
5058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5062 CXXFLAGS="$save_CXXFLAGS"
5065 # Check whether --enable-largefile was given.
5066 if test "${enable_largefile+set}" = set; then :
5067 enableval=$enable_largefile;
5070 if test "$enable_largefile" != no; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5073 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5074 if ${ac_cv_sys_largefile_CC+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 ac_cv_sys_largefile_CC=no
5078 if test "$GCC" != yes; then
5079 ac_save_CC=$CC
5080 while :; do
5081 # IRIX 6.2 and later do not support large files by default,
5082 # so use the C compiler's -n32 option if that helps.
5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5085 #include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088 since some C++ compilers masquerading as C compilers
5089 incorrectly reject 9223372036854775807. */
5090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092 && LARGE_OFF_T % 2147483647 == 1)
5093 ? 1 : -1];
5095 main ()
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 break
5105 rm -f core conftest.err conftest.$ac_objext
5106 CC="$CC -n32"
5107 if ac_fn_c_try_compile "$LINENO"; then :
5108 ac_cv_sys_largefile_CC=' -n32'; break
5110 rm -f core conftest.err conftest.$ac_objext
5111 break
5112 done
5113 CC=$ac_save_CC
5114 rm -f conftest.$ac_ext
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5118 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5119 if test "$ac_cv_sys_largefile_CC" != no; then
5120 CC=$CC$ac_cv_sys_largefile_CC
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5124 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5125 if ${ac_cv_sys_file_offset_bits+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 while :; do
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130 /* end confdefs.h. */
5131 #include <sys/types.h>
5132 /* Check that off_t can represent 2**63 - 1 correctly.
5133 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5134 since some C++ compilers masquerading as C compilers
5135 incorrectly reject 9223372036854775807. */
5136 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5137 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5138 && LARGE_OFF_T % 2147483647 == 1)
5139 ? 1 : -1];
5141 main ()
5145 return 0;
5147 _ACEOF
5148 if ac_fn_c_try_compile "$LINENO"; then :
5149 ac_cv_sys_file_offset_bits=no; break
5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #define _FILE_OFFSET_BITS 64
5155 #include <sys/types.h>
5156 /* Check that off_t can represent 2**63 - 1 correctly.
5157 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5158 since some C++ compilers masquerading as C compilers
5159 incorrectly reject 9223372036854775807. */
5160 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5161 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5162 && LARGE_OFF_T % 2147483647 == 1)
5163 ? 1 : -1];
5165 main ()
5169 return 0;
5171 _ACEOF
5172 if ac_fn_c_try_compile "$LINENO"; then :
5173 ac_cv_sys_file_offset_bits=64; break
5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176 ac_cv_sys_file_offset_bits=unknown
5177 break
5178 done
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5181 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5182 case $ac_cv_sys_file_offset_bits in #(
5183 no | unknown) ;;
5185 cat >>confdefs.h <<_ACEOF
5186 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5187 _ACEOF
5189 esac
5190 rm -rf conftest*
5191 if test $ac_cv_sys_file_offset_bits = unknown; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5193 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5194 if ${ac_cv_sys_large_files+:} false; then :
5195 $as_echo_n "(cached) " >&6
5196 else
5197 while :; do
5198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5200 #include <sys/types.h>
5201 /* Check that off_t can represent 2**63 - 1 correctly.
5202 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5203 since some C++ compilers masquerading as C compilers
5204 incorrectly reject 9223372036854775807. */
5205 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5206 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5207 && LARGE_OFF_T % 2147483647 == 1)
5208 ? 1 : -1];
5210 main ()
5214 return 0;
5216 _ACEOF
5217 if ac_fn_c_try_compile "$LINENO"; then :
5218 ac_cv_sys_large_files=no; break
5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5223 #define _LARGE_FILES 1
5224 #include <sys/types.h>
5225 /* Check that off_t can represent 2**63 - 1 correctly.
5226 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5227 since some C++ compilers masquerading as C compilers
5228 incorrectly reject 9223372036854775807. */
5229 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5230 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5231 && LARGE_OFF_T % 2147483647 == 1)
5232 ? 1 : -1];
5234 main ()
5238 return 0;
5240 _ACEOF
5241 if ac_fn_c_try_compile "$LINENO"; then :
5242 ac_cv_sys_large_files=1; break
5244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5245 ac_cv_sys_large_files=unknown
5246 break
5247 done
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5250 $as_echo "$ac_cv_sys_large_files" >&6; }
5251 case $ac_cv_sys_large_files in #(
5252 no | unknown) ;;
5254 cat >>confdefs.h <<_ACEOF
5255 #define _LARGE_FILES $ac_cv_sys_large_files
5256 _ACEOF
5258 esac
5259 rm -rf conftest*
5266 # Runs configure.host, and assorted other critical bits. Sets
5267 # up critical shell variables.
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
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5274 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5275 # On Suns, sometimes $CPP names a directory.
5276 if test -n "$CPP" && test -d "$CPP"; then
5277 CPP=
5279 if test -z "$CPP"; then
5280 if ${ac_cv_prog_CPP+:} false; then :
5281 $as_echo_n "(cached) " >&6
5282 else
5283 # Double quotes because CPP needs to be expanded
5284 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5286 ac_preproc_ok=false
5287 for ac_c_preproc_warn_flag in '' yes
5289 # Use a header file that comes with gcc, so configuring glibc
5290 # with a fresh cross-compiler works.
5291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5292 # <limits.h> exists even on freestanding compilers.
5293 # On the NeXT, cc -E runs the code through the compiler's parser,
5294 # not just through cpp. "Syntax error" is here to catch this case.
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5297 #ifdef __STDC__
5298 # include <limits.h>
5299 #else
5300 # include <assert.h>
5301 #endif
5302 Syntax error
5303 _ACEOF
5304 if ac_fn_c_try_cpp "$LINENO"; then :
5306 else
5307 # Broken: fails on valid input.
5308 continue
5310 rm -f conftest.err conftest.i conftest.$ac_ext
5312 # OK, works on sane cases. Now check whether nonexistent headers
5313 # can be detected and how.
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5316 #include <ac_nonexistent.h>
5317 _ACEOF
5318 if ac_fn_c_try_cpp "$LINENO"; then :
5319 # Broken: success on invalid input.
5320 continue
5321 else
5322 # Passes both tests.
5323 ac_preproc_ok=:
5324 break
5326 rm -f conftest.err conftest.i conftest.$ac_ext
5328 done
5329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5330 rm -f conftest.i conftest.err conftest.$ac_ext
5331 if $ac_preproc_ok; then :
5332 break
5335 done
5336 ac_cv_prog_CPP=$CPP
5339 CPP=$ac_cv_prog_CPP
5340 else
5341 ac_cv_prog_CPP=$CPP
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5344 $as_echo "$CPP" >&6; }
5345 ac_preproc_ok=false
5346 for ac_c_preproc_warn_flag in '' yes
5348 # Use a header file that comes with gcc, so configuring glibc
5349 # with a fresh cross-compiler works.
5350 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5351 # <limits.h> exists even on freestanding compilers.
5352 # On the NeXT, cc -E runs the code through the compiler's parser,
5353 # not just through cpp. "Syntax error" is here to catch this case.
5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5356 #ifdef __STDC__
5357 # include <limits.h>
5358 #else
5359 # include <assert.h>
5360 #endif
5361 Syntax error
5362 _ACEOF
5363 if ac_fn_c_try_cpp "$LINENO"; then :
5365 else
5366 # Broken: fails on valid input.
5367 continue
5369 rm -f conftest.err conftest.i conftest.$ac_ext
5371 # OK, works on sane cases. Now check whether nonexistent headers
5372 # can be detected and how.
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5375 #include <ac_nonexistent.h>
5376 _ACEOF
5377 if ac_fn_c_try_cpp "$LINENO"; then :
5378 # Broken: success on invalid input.
5379 continue
5380 else
5381 # Passes both tests.
5382 ac_preproc_ok=:
5383 break
5385 rm -f conftest.err conftest.i conftest.$ac_ext
5387 done
5388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5389 rm -f conftest.i conftest.err conftest.$ac_ext
5390 if $ac_preproc_ok; then :
5392 else
5393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5395 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5396 See \`config.log' for more details" "$LINENO" 5; }
5399 ac_ext=c
5400 ac_cpp='$CPP $CPPFLAGS'
5401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5407 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5408 if ${ac_cv_path_GREP+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 if test -z "$GREP"; then
5412 ac_path_GREP_found=false
5413 # Loop through the user's path and test for each of PROGNAME-LIST
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_prog in grep ggrep; do
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5422 as_fn_executable_p "$ac_path_GREP" || continue
5423 # Check for GNU ac_path_GREP and select it if it is found.
5424 # Check for GNU $ac_path_GREP
5425 case `"$ac_path_GREP" --version 2>&1` in
5426 *GNU*)
5427 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5429 ac_count=0
5430 $as_echo_n 0123456789 >"conftest.in"
5431 while :
5433 cat "conftest.in" "conftest.in" >"conftest.tmp"
5434 mv "conftest.tmp" "conftest.in"
5435 cp "conftest.in" "conftest.nl"
5436 $as_echo 'GREP' >> "conftest.nl"
5437 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5439 as_fn_arith $ac_count + 1 && ac_count=$as_val
5440 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5441 # Best one so far, save it but keep looking for a better one
5442 ac_cv_path_GREP="$ac_path_GREP"
5443 ac_path_GREP_max=$ac_count
5445 # 10*(2^10) chars as input seems more than enough
5446 test $ac_count -gt 10 && break
5447 done
5448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5449 esac
5451 $ac_path_GREP_found && break 3
5452 done
5453 done
5454 done
5455 IFS=$as_save_IFS
5456 if test -z "$ac_cv_path_GREP"; then
5457 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5459 else
5460 ac_cv_path_GREP=$GREP
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5465 $as_echo "$ac_cv_path_GREP" >&6; }
5466 GREP="$ac_cv_path_GREP"
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5470 $as_echo_n "checking for egrep... " >&6; }
5471 if ${ac_cv_path_EGREP+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5475 then ac_cv_path_EGREP="$GREP -E"
5476 else
5477 if test -z "$EGREP"; then
5478 ac_path_EGREP_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in egrep; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5488 as_fn_executable_p "$ac_path_EGREP" || continue
5489 # Check for GNU ac_path_EGREP and select it if it is found.
5490 # Check for GNU $ac_path_EGREP
5491 case `"$ac_path_EGREP" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo 'EGREP' >> "conftest.nl"
5503 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_EGREP="$ac_path_EGREP"
5509 ac_path_EGREP_max=$ac_count
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5517 $ac_path_EGREP_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_EGREP"; then
5523 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5525 else
5526 ac_cv_path_EGREP=$EGREP
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5532 $as_echo "$ac_cv_path_EGREP" >&6; }
5533 EGREP="$ac_cv_path_EGREP"
5537 # Keep these sync'd with the list in Makefile.am. The first provides an
5538 # expandable list at autoconf time; the second provides an expandable list
5539 # (i.e., shell variable) at configure time.
5541 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem doc po testsuite python'
5543 # These need to be absolute paths, yet at the same time need to
5544 # canonicalize only relative paths, because then amd will not unmount
5545 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5546 glibcxx_builddir=`${PWDCMD-pwd}`
5547 case $srcdir in
5548 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5549 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5550 esac
5551 toplevel_builddir=${glibcxx_builddir}/..
5552 toplevel_srcdir=${glibcxx_srcdir}/..
5558 # We use these options to decide which functions to include. They are
5559 # set from the top level.
5561 # Check whether --with-target-subdir was given.
5562 if test "${with_target_subdir+set}" = set; then :
5563 withval=$with_target_subdir;
5568 # Check whether --with-cross-host was given.
5569 if test "${with_cross_host+set}" = set; then :
5570 withval=$with_cross_host;
5575 # Check whether --with-newlib was given.
5576 if test "${with_newlib+set}" = set; then :
5577 withval=$with_newlib;
5581 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5582 # available). Uncomment the next line to force a particular method.
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5584 $as_echo_n "checking whether ln -s works... " >&6; }
5585 LN_S=$as_ln_s
5586 if test "$LN_S" = "ln -s"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5588 $as_echo "yes" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5591 $as_echo "no, using $LN_S" >&6; }
5594 #LN_S='cp -p'
5596 if test -n "$ac_tool_prefix"; then
5597 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5598 set dummy ${ac_tool_prefix}as; ac_word=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_AS+:} false; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 if test -n "$AS"; then
5605 ac_cv_prog_AS="$AS" # Let the user override the test.
5606 else
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH
5610 IFS=$as_save_IFS
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_AS="${ac_tool_prefix}as"
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 break 2
5618 done
5619 done
5620 IFS=$as_save_IFS
5624 AS=$ac_cv_prog_AS
5625 if test -n "$AS"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5627 $as_echo "$AS" >&6; }
5628 else
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5635 if test -z "$ac_cv_prog_AS"; then
5636 ac_ct_AS=$AS
5637 # Extract the first word of "as", so it can be a program name with args.
5638 set dummy as; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -n "$ac_ct_AS"; then
5645 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_ac_ct_AS="as"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 break 2
5658 done
5659 done
5660 IFS=$as_save_IFS
5664 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5665 if test -n "$ac_ct_AS"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5667 $as_echo "$ac_ct_AS" >&6; }
5668 else
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5673 if test "x$ac_ct_AS" = x; then
5674 AS=""
5675 else
5676 case $cross_compiling:$ac_tool_warned in
5677 yes:)
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5680 ac_tool_warned=yes ;;
5681 esac
5682 AS=$ac_ct_AS
5684 else
5685 AS="$ac_cv_prog_AS"
5688 if test -n "$ac_tool_prefix"; then
5689 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5690 set dummy ${ac_tool_prefix}ar; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_AR+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$AR"; then
5697 ac_cv_prog_AR="$AR" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_AR="${ac_tool_prefix}ar"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5716 AR=$ac_cv_prog_AR
5717 if test -n "$AR"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5719 $as_echo "$AR" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5727 if test -z "$ac_cv_prog_AR"; then
5728 ac_ct_AR=$AR
5729 # Extract the first word of "ar", so it can be a program name with args.
5730 set dummy ar; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$ac_ct_AR"; then
5737 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ac_ct_AR="ar"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5757 if test -n "$ac_ct_AR"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5759 $as_echo "$ac_ct_AR" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5765 if test "x$ac_ct_AR" = x; then
5766 AR=""
5767 else
5768 case $cross_compiling:$ac_tool_warned in
5769 yes:)
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772 ac_tool_warned=yes ;;
5773 esac
5774 AR=$ac_ct_AR
5776 else
5777 AR="$ac_cv_prog_AR"
5780 if test -n "$ac_tool_prefix"; then
5781 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5782 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_RANLIB+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 if test -n "$RANLIB"; then
5789 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 RANLIB=$ac_cv_prog_RANLIB
5809 if test -n "$RANLIB"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5811 $as_echo "$RANLIB" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5819 if test -z "$ac_cv_prog_RANLIB"; then
5820 ac_ct_RANLIB=$RANLIB
5821 # Extract the first word of "ranlib", so it can be a program name with args.
5822 set dummy ranlib; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$ac_ct_RANLIB"; then
5829 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_ac_ct_RANLIB="ranlib"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5849 if test -n "$ac_ct_RANLIB"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5851 $as_echo "$ac_ct_RANLIB" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5857 if test "x$ac_ct_RANLIB" = x; then
5858 RANLIB="ranlib-not-found-in-path-error"
5859 else
5860 case $cross_compiling:$ac_tool_warned in
5861 yes:)
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5864 ac_tool_warned=yes ;;
5865 esac
5866 RANLIB=$ac_ct_RANLIB
5868 else
5869 RANLIB="$ac_cv_prog_RANLIB"
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5875 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5876 # Check whether --enable-maintainer-mode was given.
5877 if test "${enable_maintainer_mode+set}" = set; then :
5878 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5879 else
5880 USE_MAINTAINER_MODE=no
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5884 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5885 if test $USE_MAINTAINER_MODE = yes; then
5886 MAINTAINER_MODE_TRUE=
5887 MAINTAINER_MODE_FALSE='#'
5888 else
5889 MAINTAINER_MODE_TRUE='#'
5890 MAINTAINER_MODE_FALSE=
5893 MAINT=$MAINTAINER_MODE_TRUE
5897 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5898 # which are themselves conditionally expanded.
5899 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5900 ## other macros from doing the same. This should be automated.) -pme
5902 # Check for C library flavor since GNU/Linux platforms use different
5903 # configuration directories depending on the C library in use.
5904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5907 #include <stdio.h>
5908 #if __UCLIBC__
5909 _using_uclibc
5910 #endif
5912 _ACEOF
5913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5914 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5915 uclibc=yes
5916 else
5917 uclibc=no
5919 rm -f conftest*
5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5925 #include <stdio.h>
5926 #if __BIONIC__
5927 _using_bionic
5928 #endif
5930 _ACEOF
5931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5933 bionic=yes
5934 else
5935 bionic=no
5937 rm -f conftest*
5940 # Find platform-specific directories containing configuration info.
5941 # Also possibly modify flags used elsewhere, as needed by the platform.
5943 . $glibcxx_srcdir/configure.host
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5945 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5947 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5951 # Libtool setup.
5952 if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
5953 enable_dlopen=yes
5958 case `pwd` in
5959 *\ * | *\ *)
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5961 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5962 esac
5966 macro_version='2.2.7a'
5967 macro_revision='1.3134'
5981 ltmain="$ac_aux_dir/ltmain.sh"
5983 # Backslashify metacharacters that are still active within
5984 # double-quoted strings.
5985 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5987 # Same as above, but do not quote variable references.
5988 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5990 # Sed substitution to delay expansion of an escaped shell variable in a
5991 # double_quote_subst'ed string.
5992 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5994 # Sed substitution to delay expansion of an escaped single quote.
5995 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5997 # Sed substitution to avoid accidental globbing in evaled expressions
5998 no_glob_subst='s/\*/\\\*/g'
6000 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6001 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6002 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6005 $as_echo_n "checking how to print strings... " >&6; }
6006 # Test print first, because it will be a builtin if present.
6007 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6008 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6009 ECHO='print -r --'
6010 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6011 ECHO='printf %s\n'
6012 else
6013 # Use this function as a fallback that always works.
6014 func_fallback_echo ()
6016 eval 'cat <<_LTECHO_EOF
6018 _LTECHO_EOF'
6020 ECHO='func_fallback_echo'
6023 # func_echo_all arg...
6024 # Invoke $ECHO with all args, space-separated.
6025 func_echo_all ()
6027 $ECHO ""
6030 case "$ECHO" in
6031 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6032 $as_echo "printf" >&6; } ;;
6033 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6034 $as_echo "print -r" >&6; } ;;
6035 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6036 $as_echo "cat" >&6; } ;;
6037 esac
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6053 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6054 if ${ac_cv_path_SED+:} false; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6058 for ac_i in 1 2 3 4 5 6 7; do
6059 ac_script="$ac_script$as_nl$ac_script"
6060 done
6061 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6062 { ac_script=; unset ac_script;}
6063 if test -z "$SED"; then
6064 ac_path_SED_found=false
6065 # Loop through the user's path and test for each of PROGNAME-LIST
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 test -z "$as_dir" && as_dir=.
6071 for ac_prog in sed gsed; do
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6074 as_fn_executable_p "$ac_path_SED" || continue
6075 # Check for GNU ac_path_SED and select it if it is found.
6076 # Check for GNU $ac_path_SED
6077 case `"$ac_path_SED" --version 2>&1` in
6078 *GNU*)
6079 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6081 ac_count=0
6082 $as_echo_n 0123456789 >"conftest.in"
6083 while :
6085 cat "conftest.in" "conftest.in" >"conftest.tmp"
6086 mv "conftest.tmp" "conftest.in"
6087 cp "conftest.in" "conftest.nl"
6088 $as_echo '' >> "conftest.nl"
6089 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6090 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6091 as_fn_arith $ac_count + 1 && ac_count=$as_val
6092 if test $ac_count -gt ${ac_path_SED_max-0}; then
6093 # Best one so far, save it but keep looking for a better one
6094 ac_cv_path_SED="$ac_path_SED"
6095 ac_path_SED_max=$ac_count
6097 # 10*(2^10) chars as input seems more than enough
6098 test $ac_count -gt 10 && break
6099 done
6100 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6101 esac
6103 $ac_path_SED_found && break 3
6104 done
6105 done
6106 done
6107 IFS=$as_save_IFS
6108 if test -z "$ac_cv_path_SED"; then
6109 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6111 else
6112 ac_cv_path_SED=$SED
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6117 $as_echo "$ac_cv_path_SED" >&6; }
6118 SED="$ac_cv_path_SED"
6119 rm -f conftest.sed
6121 test -z "$SED" && SED=sed
6122 Xsed="$SED -e 1s/^X//"
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6135 $as_echo_n "checking for fgrep... " >&6; }
6136 if ${ac_cv_path_FGREP+:} false; then :
6137 $as_echo_n "(cached) " >&6
6138 else
6139 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6140 then ac_cv_path_FGREP="$GREP -F"
6141 else
6142 if test -z "$FGREP"; then
6143 ac_path_FGREP_found=false
6144 # Loop through the user's path and test for each of PROGNAME-LIST
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_prog in fgrep; do
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6153 as_fn_executable_p "$ac_path_FGREP" || continue
6154 # Check for GNU ac_path_FGREP and select it if it is found.
6155 # Check for GNU $ac_path_FGREP
6156 case `"$ac_path_FGREP" --version 2>&1` in
6157 *GNU*)
6158 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6160 ac_count=0
6161 $as_echo_n 0123456789 >"conftest.in"
6162 while :
6164 cat "conftest.in" "conftest.in" >"conftest.tmp"
6165 mv "conftest.tmp" "conftest.in"
6166 cp "conftest.in" "conftest.nl"
6167 $as_echo 'FGREP' >> "conftest.nl"
6168 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6170 as_fn_arith $ac_count + 1 && ac_count=$as_val
6171 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6172 # Best one so far, save it but keep looking for a better one
6173 ac_cv_path_FGREP="$ac_path_FGREP"
6174 ac_path_FGREP_max=$ac_count
6176 # 10*(2^10) chars as input seems more than enough
6177 test $ac_count -gt 10 && break
6178 done
6179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6180 esac
6182 $ac_path_FGREP_found && break 3
6183 done
6184 done
6185 done
6186 IFS=$as_save_IFS
6187 if test -z "$ac_cv_path_FGREP"; then
6188 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6190 else
6191 ac_cv_path_FGREP=$FGREP
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6197 $as_echo "$ac_cv_path_FGREP" >&6; }
6198 FGREP="$ac_cv_path_FGREP"
6201 test -z "$GREP" && GREP=grep
6221 # Check whether --with-gnu-ld was given.
6222 if test "${with_gnu_ld+set}" = set; then :
6223 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6224 else
6225 with_gnu_ld=no
6228 ac_prog=ld
6229 if test "$GCC" = yes; then
6230 # Check if gcc -print-prog-name=ld gives a path.
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6232 $as_echo_n "checking for ld used by $CC... " >&6; }
6233 case $host in
6234 *-*-mingw*)
6235 # gcc leaves a trailing carriage return which upsets mingw
6236 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6238 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6239 esac
6240 case $ac_prog in
6241 # Accept absolute paths.
6242 [\\/]* | ?:[\\/]*)
6243 re_direlt='/[^/][^/]*/\.\./'
6244 # Canonicalize the pathname of ld
6245 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6246 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6247 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6248 done
6249 test -z "$LD" && LD="$ac_prog"
6252 # If it fails, then pretend we aren't using GCC.
6253 ac_prog=ld
6256 # If it is relative, then search for the first ld in PATH.
6257 with_gnu_ld=unknown
6259 esac
6260 elif test "$with_gnu_ld" = yes; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6262 $as_echo_n "checking for GNU ld... " >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6265 $as_echo_n "checking for non-GNU ld... " >&6; }
6267 if ${lt_cv_path_LD+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 if test -z "$LD"; then
6271 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6272 for ac_dir in $PATH; do
6273 IFS="$lt_save_ifs"
6274 test -z "$ac_dir" && ac_dir=.
6275 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6276 lt_cv_path_LD="$ac_dir/$ac_prog"
6277 # Check to see if the program is GNU ld. I'd rather use --version,
6278 # but apparently some variants of GNU ld only accept -v.
6279 # Break only if it was the GNU/non-GNU ld that we prefer.
6280 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6281 *GNU* | *'with BFD'*)
6282 test "$with_gnu_ld" != no && break
6285 test "$with_gnu_ld" != yes && break
6287 esac
6289 done
6290 IFS="$lt_save_ifs"
6291 else
6292 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6296 LD="$lt_cv_path_LD"
6297 if test -n "$LD"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6299 $as_echo "$LD" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6304 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6306 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6307 if ${lt_cv_prog_gnu_ld+:} false; then :
6308 $as_echo_n "(cached) " >&6
6309 else
6310 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6311 case `$LD -v 2>&1 </dev/null` in
6312 *GNU* | *'with BFD'*)
6313 lt_cv_prog_gnu_ld=yes
6316 lt_cv_prog_gnu_ld=no
6318 esac
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6321 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6322 with_gnu_ld=$lt_cv_prog_gnu_ld
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6333 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6334 if ${lt_cv_path_NM+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 if test -n "$NM"; then
6338 # Let the user override the test.
6339 lt_cv_path_NM="$NM"
6340 else
6341 lt_nm_to_check="${ac_tool_prefix}nm"
6342 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6343 lt_nm_to_check="$lt_nm_to_check nm"
6345 for lt_tmp_nm in $lt_nm_to_check; do
6346 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6347 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6348 IFS="$lt_save_ifs"
6349 test -z "$ac_dir" && ac_dir=.
6350 tmp_nm="$ac_dir/$lt_tmp_nm"
6351 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6352 # Check to see if the nm accepts a BSD-compat flag.
6353 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6354 # nm: unknown option "B" ignored
6355 # Tru64's nm complains that /dev/null is an invalid object file
6356 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6357 */dev/null* | *'Invalid file or object type'*)
6358 lt_cv_path_NM="$tmp_nm -B"
6359 break
6362 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6363 */dev/null*)
6364 lt_cv_path_NM="$tmp_nm -p"
6365 break
6368 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6369 continue # so that we can try to find one that supports BSD flags
6371 esac
6373 esac
6375 done
6376 IFS="$lt_save_ifs"
6377 done
6378 : ${lt_cv_path_NM=no}
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6382 $as_echo "$lt_cv_path_NM" >&6; }
6383 if test "$lt_cv_path_NM" != "no"; then
6384 NM="$lt_cv_path_NM"
6385 else
6386 # Didn't find any BSD compatible name lister, look for dumpbin.
6387 if test -n "$DUMPBIN"; then :
6388 # Let the user override the test.
6389 else
6390 if test -n "$ac_tool_prefix"; then
6391 for ac_prog in dumpbin "link -dump"
6393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_DUMPBIN+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 if test -n "$DUMPBIN"; then
6401 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6420 DUMPBIN=$ac_cv_prog_DUMPBIN
6421 if test -n "$DUMPBIN"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6423 $as_echo "$DUMPBIN" >&6; }
6424 else
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6430 test -n "$DUMPBIN" && break
6431 done
6433 if test -z "$DUMPBIN"; then
6434 ac_ct_DUMPBIN=$DUMPBIN
6435 for ac_prog in dumpbin "link -dump"
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$ac_ct_DUMPBIN"; then
6445 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6465 if test -n "$ac_ct_DUMPBIN"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6467 $as_echo "$ac_ct_DUMPBIN" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$ac_ct_DUMPBIN" && break
6475 done
6477 if test "x$ac_ct_DUMPBIN" = x; then
6478 DUMPBIN=":"
6479 else
6480 case $cross_compiling:$ac_tool_warned in
6481 yes:)
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned=yes ;;
6485 esac
6486 DUMPBIN=$ac_ct_DUMPBIN
6490 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6491 *COFF*)
6492 DUMPBIN="$DUMPBIN -symbols"
6495 DUMPBIN=:
6497 esac
6500 if test "$DUMPBIN" != ":"; then
6501 NM="$DUMPBIN"
6504 test -z "$NM" && NM=nm
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6512 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6513 if ${lt_cv_nm_interface+:} false; then :
6514 $as_echo_n "(cached) " >&6
6515 else
6516 lt_cv_nm_interface="BSD nm"
6517 echo "int some_variable = 0;" > conftest.$ac_ext
6518 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6519 (eval "$ac_compile" 2>conftest.err)
6520 cat conftest.err >&5
6521 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6522 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6523 cat conftest.err >&5
6524 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6525 cat conftest.out >&5
6526 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6527 lt_cv_nm_interface="MS dumpbin"
6529 rm -f conftest*
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6532 $as_echo "$lt_cv_nm_interface" >&6; }
6534 # find the maximum length of command line arguments
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6536 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6537 if ${lt_cv_sys_max_cmd_len+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6541 teststring="ABCD"
6543 case $build_os in
6544 msdosdjgpp*)
6545 # On DJGPP, this test can blow up pretty badly due to problems in libc
6546 # (any single argument exceeding 2000 bytes causes a buffer overrun
6547 # during glob expansion). Even if it were fixed, the result of this
6548 # check would be larger than it should be.
6549 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6552 gnu*)
6553 # Under GNU Hurd, this test is not required because there is
6554 # no limit to the length of command line arguments.
6555 # Libtool will interpret -1 as no limit whatsoever
6556 lt_cv_sys_max_cmd_len=-1;
6559 cygwin* | mingw* | cegcc*)
6560 # On Win9x/ME, this test blows up -- it succeeds, but takes
6561 # about 5 minutes as the teststring grows exponentially.
6562 # Worse, since 9x/ME are not pre-emptively multitasking,
6563 # you end up with a "frozen" computer, even though with patience
6564 # the test eventually succeeds (with a max line length of 256k).
6565 # Instead, let's just punt: use the minimum linelength reported by
6566 # all of the supported platforms: 8192 (on NT/2K/XP).
6567 lt_cv_sys_max_cmd_len=8192;
6570 mint*)
6571 # On MiNT this can take a long time and run out of memory.
6572 lt_cv_sys_max_cmd_len=8192;
6575 amigaos*)
6576 # On AmigaOS with pdksh, this test takes hours, literally.
6577 # So we just punt and use a minimum line length of 8192.
6578 lt_cv_sys_max_cmd_len=8192;
6581 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6582 # This has been around since 386BSD, at least. Likely further.
6583 if test -x /sbin/sysctl; then
6584 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6585 elif test -x /usr/sbin/sysctl; then
6586 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6587 else
6588 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6590 # And add a safety zone
6591 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6592 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6595 interix*)
6596 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6597 lt_cv_sys_max_cmd_len=196608
6600 osf*)
6601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6603 # nice to cause kernel panics so lets avoid the loop below.
6604 # First set a reasonable default.
6605 lt_cv_sys_max_cmd_len=16384
6607 if test -x /sbin/sysconfig; then
6608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6609 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6610 esac
6613 sco3.2v5*)
6614 lt_cv_sys_max_cmd_len=102400
6616 sysv5* | sco5v6* | sysv4.2uw2*)
6617 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6618 if test -n "$kargmax"; then
6619 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6620 else
6621 lt_cv_sys_max_cmd_len=32768
6625 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6626 if test -n "$lt_cv_sys_max_cmd_len"; then
6627 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6628 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6629 else
6630 # Make teststring a little bigger before we do anything with it.
6631 # a 1K string should be a reasonable start.
6632 for i in 1 2 3 4 5 6 7 8 ; do
6633 teststring=$teststring$teststring
6634 done
6635 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6636 # If test is not a shell built-in, we'll probably end up computing a
6637 # maximum length that is only half of the actual maximum length, but
6638 # we can't tell.
6639 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6640 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6641 test $i != 17 # 1/2 MB should be enough
6643 i=`expr $i + 1`
6644 teststring=$teststring$teststring
6645 done
6646 # Only check the string length outside the loop.
6647 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6648 teststring=
6649 # Add a significant safety factor because C++ compilers can tack on
6650 # massive amounts of additional arguments before passing them to the
6651 # linker. It appears as though 1/2 is a usable value.
6652 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6655 esac
6659 if test -n $lt_cv_sys_max_cmd_len ; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6661 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6662 else
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6664 $as_echo "none" >&6; }
6666 max_cmd_len=$lt_cv_sys_max_cmd_len
6673 : ${CP="cp -f"}
6674 : ${MV="mv -f"}
6675 : ${RM="rm -f"}
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6678 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6679 # Try some XSI features
6680 xsi_shell=no
6681 ( _lt_dummy="a/b/c"
6682 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6683 = c,a/b,, \
6684 && eval 'test $(( 1 + 1 )) -eq 2 \
6685 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6686 && xsi_shell=yes
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6688 $as_echo "$xsi_shell" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6692 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6693 lt_shell_append=no
6694 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6695 >/dev/null 2>&1 \
6696 && lt_shell_append=yes
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6698 $as_echo "$lt_shell_append" >&6; }
6701 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6702 lt_unset=unset
6703 else
6704 lt_unset=false
6711 # test EBCDIC or ASCII
6712 case `echo X|tr X '\101'` in
6713 A) # ASCII based system
6714 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6715 lt_SP2NL='tr \040 \012'
6716 lt_NL2SP='tr \015\012 \040\040'
6718 *) # EBCDIC based system
6719 lt_SP2NL='tr \100 \n'
6720 lt_NL2SP='tr \r\n \100\100'
6722 esac
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6733 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6734 if ${lt_cv_ld_reload_flag+:} false; then :
6735 $as_echo_n "(cached) " >&6
6736 else
6737 lt_cv_ld_reload_flag='-r'
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6740 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6741 reload_flag=$lt_cv_ld_reload_flag
6742 case $reload_flag in
6743 "" | " "*) ;;
6744 *) reload_flag=" $reload_flag" ;;
6745 esac
6746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6747 case $host_os in
6748 darwin*)
6749 if test "$GCC" = yes; then
6750 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6751 else
6752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6755 esac
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if ${ac_cv_prog_OBJDUMP+:} false; then :
6771 $as_echo_n "(cached) " >&6
6772 else
6773 if test -n "$OBJDUMP"; then
6774 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6779 IFS=$as_save_IFS
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785 break 2
6787 done
6788 done
6789 IFS=$as_save_IFS
6793 OBJDUMP=$ac_cv_prog_OBJDUMP
6794 if test -n "$OBJDUMP"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6796 $as_echo "$OBJDUMP" >&6; }
6797 else
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6804 if test -z "$ac_cv_prog_OBJDUMP"; then
6805 ac_ct_OBJDUMP=$OBJDUMP
6806 # Extract the first word of "objdump", so it can be a program name with args.
6807 set dummy objdump; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6811 $as_echo_n "(cached) " >&6
6812 else
6813 if test -n "$ac_ct_OBJDUMP"; then
6814 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6815 else
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817 for as_dir in $PATH
6819 IFS=$as_save_IFS
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6823 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825 break 2
6827 done
6828 done
6829 IFS=$as_save_IFS
6833 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6834 if test -n "$ac_ct_OBJDUMP"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6836 $as_echo "$ac_ct_OBJDUMP" >&6; }
6837 else
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6842 if test "x$ac_ct_OBJDUMP" = x; then
6843 OBJDUMP="false"
6844 else
6845 case $cross_compiling:$ac_tool_warned in
6846 yes:)
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6850 esac
6851 OBJDUMP=$ac_ct_OBJDUMP
6853 else
6854 OBJDUMP="$ac_cv_prog_OBJDUMP"
6857 test -z "$OBJDUMP" && OBJDUMP=objdump
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6868 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6869 if ${lt_cv_deplibs_check_method+:} false; then :
6870 $as_echo_n "(cached) " >&6
6871 else
6872 lt_cv_file_magic_cmd='$MAGIC_CMD'
6873 lt_cv_file_magic_test_file=
6874 lt_cv_deplibs_check_method='unknown'
6875 # Need to set the preceding variable on all platforms that support
6876 # interlibrary dependencies.
6877 # 'none' -- dependencies not supported.
6878 # `unknown' -- same as none, but documents that we really don't know.
6879 # 'pass_all' -- all dependencies passed with no checks.
6880 # 'test_compile' -- check by making test program.
6881 # 'file_magic [[regex]]' -- check by looking for files in library path
6882 # which responds to the $file_magic_cmd with a given extended regex.
6883 # If you have `file' or equivalent on your system and you're not sure
6884 # whether `pass_all' will *always* work, you probably want this one.
6886 case $host_os in
6887 aix[4-9]*)
6888 lt_cv_deplibs_check_method=pass_all
6891 beos*)
6892 lt_cv_deplibs_check_method=pass_all
6895 bsdi[45]*)
6896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6897 lt_cv_file_magic_cmd='/usr/bin/file -L'
6898 lt_cv_file_magic_test_file=/shlib/libc.so
6901 cygwin*)
6902 # func_win32_libid is a shell function defined in ltmain.sh
6903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6904 lt_cv_file_magic_cmd='func_win32_libid'
6907 mingw* | pw32*)
6908 # Base MSYS/MinGW do not provide the 'file' command needed by
6909 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6910 # unless we find 'file', for example because we are cross-compiling.
6911 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6912 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6913 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6914 lt_cv_file_magic_cmd='func_win32_libid'
6915 else
6916 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6917 lt_cv_file_magic_cmd='$OBJDUMP -f'
6921 cegcc*)
6922 # use the weaker test based on 'objdump'. See mingw*.
6923 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6924 lt_cv_file_magic_cmd='$OBJDUMP -f'
6927 darwin* | rhapsody*)
6928 lt_cv_deplibs_check_method=pass_all
6931 freebsd* | dragonfly*)
6932 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6933 case $host_cpu in
6934 i*86 )
6935 # Not sure whether the presence of OpenBSD here was a mistake.
6936 # Let's accept both of them until this is cleared up.
6937 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6938 lt_cv_file_magic_cmd=/usr/bin/file
6939 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6941 esac
6942 else
6943 lt_cv_deplibs_check_method=pass_all
6947 gnu*)
6948 lt_cv_deplibs_check_method=pass_all
6951 haiku*)
6952 lt_cv_deplibs_check_method=pass_all
6955 hpux10.20* | hpux11*)
6956 lt_cv_file_magic_cmd=/usr/bin/file
6957 case $host_cpu in
6958 ia64*)
6959 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6960 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6962 hppa*64*)
6963 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]'
6964 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6968 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6970 esac
6973 interix[3-9]*)
6974 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6975 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6978 irix5* | irix6* | nonstopux*)
6979 case $LD in
6980 *-32|*"-32 ") libmagic=32-bit;;
6981 *-n32|*"-n32 ") libmagic=N32;;
6982 *-64|*"-64 ") libmagic=64-bit;;
6983 *) libmagic=never-match;;
6984 esac
6985 lt_cv_deplibs_check_method=pass_all
6988 # This must be Linux ELF.
6989 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6990 lt_cv_deplibs_check_method=pass_all
6993 netbsd*)
6994 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6995 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6996 else
6997 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7001 newos6*)
7002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7003 lt_cv_file_magic_cmd=/usr/bin/file
7004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7007 *nto* | *qnx*)
7008 lt_cv_deplibs_check_method=pass_all
7011 openbsd*)
7012 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7013 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7014 else
7015 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7019 osf3* | osf4* | osf5*)
7020 lt_cv_deplibs_check_method=pass_all
7023 rdos*)
7024 lt_cv_deplibs_check_method=pass_all
7027 solaris*)
7028 lt_cv_deplibs_check_method=pass_all
7031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7032 lt_cv_deplibs_check_method=pass_all
7035 sysv4 | sysv4.3*)
7036 case $host_vendor in
7037 motorola)
7038 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]'
7039 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7041 ncr)
7042 lt_cv_deplibs_check_method=pass_all
7044 sequent)
7045 lt_cv_file_magic_cmd='/bin/file'
7046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7048 sni)
7049 lt_cv_file_magic_cmd='/bin/file'
7050 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7051 lt_cv_file_magic_test_file=/lib/libc.so
7053 siemens)
7054 lt_cv_deplibs_check_method=pass_all
7057 lt_cv_deplibs_check_method=pass_all
7059 esac
7062 tpf*)
7063 lt_cv_deplibs_check_method=pass_all
7065 esac
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7069 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7070 file_magic_cmd=$lt_cv_file_magic_cmd
7071 deplibs_check_method=$lt_cv_deplibs_check_method
7072 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}ar; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_prog_AR+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 if test -n "$AR"; then
7094 ac_cv_prog_AR="$AR" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7099 IFS=$as_save_IFS
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_AR="${ac_tool_prefix}ar"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 break 2
7107 done
7108 done
7109 IFS=$as_save_IFS
7113 AR=$ac_cv_prog_AR
7114 if test -n "$AR"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7116 $as_echo "$AR" >&6; }
7117 else
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7124 if test -z "$ac_cv_prog_AR"; then
7125 ac_ct_AR=$AR
7126 # Extract the first word of "ar", so it can be a program name with args.
7127 set dummy ar; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 if test -n "$ac_ct_AR"; then
7134 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7139 IFS=$as_save_IFS
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_ac_ct_AR="ar"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 break 2
7147 done
7148 done
7149 IFS=$as_save_IFS
7153 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7154 if test -n "$ac_ct_AR"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7156 $as_echo "$ac_ct_AR" >&6; }
7157 else
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7162 if test "x$ac_ct_AR" = x; then
7163 AR="false"
7164 else
7165 case $cross_compiling:$ac_tool_warned in
7166 yes:)
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7169 ac_tool_warned=yes ;;
7170 esac
7171 AR=$ac_ct_AR
7173 else
7174 AR="$ac_cv_prog_AR"
7177 test -z "$AR" && AR=ar
7178 test -z "$AR_FLAGS" && AR_FLAGS=cru
7190 if test -n "$ac_tool_prefix"; then
7191 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}strip; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_STRIP+:} false; then :
7196 $as_echo_n "(cached) " >&6
7197 else
7198 if test -n "$STRIP"; then
7199 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7200 else
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 for as_dir in $PATH
7204 IFS=$as_save_IFS
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 break 2
7212 done
7213 done
7214 IFS=$as_save_IFS
7218 STRIP=$ac_cv_prog_STRIP
7219 if test -n "$STRIP"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7221 $as_echo "$STRIP" >&6; }
7222 else
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7229 if test -z "$ac_cv_prog_STRIP"; then
7230 ac_ct_STRIP=$STRIP
7231 # Extract the first word of "strip", so it can be a program name with args.
7232 set dummy strip; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$ac_ct_STRIP"; then
7239 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248 ac_cv_prog_ac_ct_STRIP="strip"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7259 if test -n "$ac_ct_STRIP"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7261 $as_echo "$ac_ct_STRIP" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7267 if test "x$ac_ct_STRIP" = x; then
7268 STRIP=":"
7269 else
7270 case $cross_compiling:$ac_tool_warned in
7271 yes:)
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7274 ac_tool_warned=yes ;;
7275 esac
7276 STRIP=$ac_ct_STRIP
7278 else
7279 STRIP="$ac_cv_prog_STRIP"
7282 test -z "$STRIP" && STRIP=:
7289 if test -n "$ac_tool_prefix"; then
7290 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if ${ac_cv_prog_RANLIB+:} false; then :
7295 $as_echo_n "(cached) " >&6
7296 else
7297 if test -n "$RANLIB"; then
7298 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 break 2
7311 done
7312 done
7313 IFS=$as_save_IFS
7317 RANLIB=$ac_cv_prog_RANLIB
7318 if test -n "$RANLIB"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7320 $as_echo "$RANLIB" >&6; }
7321 else
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323 $as_echo "no" >&6; }
7328 if test -z "$ac_cv_prog_RANLIB"; then
7329 ac_ct_RANLIB=$RANLIB
7330 # Extract the first word of "ranlib", so it can be a program name with args.
7331 set dummy ranlib; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333 $as_echo_n "checking for $ac_word... " >&6; }
7334 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7335 $as_echo_n "(cached) " >&6
7336 else
7337 if test -n "$ac_ct_RANLIB"; then
7338 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7339 else
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 for as_dir in $PATH
7343 IFS=$as_save_IFS
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_ac_ct_RANLIB="ranlib"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349 break 2
7351 done
7352 done
7353 IFS=$as_save_IFS
7357 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7358 if test -n "$ac_ct_RANLIB"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7360 $as_echo "$ac_ct_RANLIB" >&6; }
7361 else
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 $as_echo "no" >&6; }
7366 if test "x$ac_ct_RANLIB" = x; then
7367 RANLIB=":"
7368 else
7369 case $cross_compiling:$ac_tool_warned in
7370 yes:)
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7373 ac_tool_warned=yes ;;
7374 esac
7375 RANLIB=$ac_ct_RANLIB
7377 else
7378 RANLIB="$ac_cv_prog_RANLIB"
7381 test -z "$RANLIB" && RANLIB=:
7388 # Determine commands to create old-style static archives.
7389 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7390 old_postinstall_cmds='chmod 644 $oldlib'
7391 old_postuninstall_cmds=
7393 if test -n "$RANLIB"; then
7394 case $host_os in
7395 openbsd*)
7396 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7399 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7401 esac
7402 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7405 case $host_os in
7406 darwin*)
7407 lock_old_archive_extraction=yes ;;
7409 lock_old_archive_extraction=no ;;
7410 esac
7450 # If no C compiler was specified, use CC.
7451 LTCC=${LTCC-"$CC"}
7453 # If no C compiler flags were specified, use CFLAGS.
7454 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7456 # Allow CC to be a program name with arguments.
7457 compiler=$CC
7460 # Check for command to grab the raw symbol name followed by C symbol from nm.
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7462 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7463 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7464 $as_echo_n "(cached) " >&6
7465 else
7467 # These are sane defaults that work on at least a few old systems.
7468 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7470 # Character class describing NM global symbol codes.
7471 symcode='[BCDEGRST]'
7473 # Regexp to match symbols that can be accessed directly from C.
7474 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7476 # Define system-specific variables.
7477 case $host_os in
7478 aix*)
7479 symcode='[BCDT]'
7481 cygwin* | mingw* | pw32* | cegcc*)
7482 symcode='[ABCDGISTW]'
7484 hpux*)
7485 if test "$host_cpu" = ia64; then
7486 symcode='[ABCDEGRST]'
7489 irix* | nonstopux*)
7490 symcode='[BCDEGRST]'
7492 osf*)
7493 symcode='[BCDEGQRST]'
7495 solaris*)
7496 symcode='[BDRT]'
7498 sco3.2v5*)
7499 symcode='[DT]'
7501 sysv4.2uw2*)
7502 symcode='[DT]'
7504 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7505 symcode='[ABDT]'
7507 sysv4)
7508 symcode='[DFNSTU]'
7510 esac
7512 # If we're using GNU nm, then use its standard symbol codes.
7513 case `$NM -V 2>&1` in
7514 *GNU* | *'with BFD'*)
7515 symcode='[ABCDGIRSTW]' ;;
7516 esac
7518 # Transform an extracted symbol line into a proper C declaration.
7519 # Some systems (esp. on ia64) link data and code symbols differently,
7520 # so use this general approach.
7521 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7523 # Transform an extracted symbol line into symbol name and symbol address
7524 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7525 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'"
7527 # Handle CRLF in mingw tool chain
7528 opt_cr=
7529 case $build_os in
7530 mingw*)
7531 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7533 esac
7535 # Try without a prefix underscore, then with it.
7536 for ac_symprfx in "" "_"; do
7538 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7539 symxfrm="\\1 $ac_symprfx\\2 \\2"
7541 # Write the raw and C identifiers.
7542 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7543 # Fake it for dumpbin and say T for any non-static function
7544 # and D for any global variable.
7545 # Also find C++ and __fastcall symbols from MSVC++,
7546 # which start with @ or ?.
7547 lt_cv_sys_global_symbol_pipe="$AWK '"\
7548 " {last_section=section; section=\$ 3};"\
7549 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7550 " \$ 0!~/External *\|/{next};"\
7551 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7552 " {if(hide[section]) next};"\
7553 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7554 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7555 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7556 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7557 " ' prfx=^$ac_symprfx"
7558 else
7559 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7562 # Check to see that the pipe works correctly.
7563 pipe_works=no
7565 rm -f conftest*
7566 cat > conftest.$ac_ext <<_LT_EOF
7567 #ifdef __cplusplus
7568 extern "C" {
7569 #endif
7570 char nm_test_var;
7571 void nm_test_func(void);
7572 void nm_test_func(void){}
7573 #ifdef __cplusplus
7575 #endif
7576 int main(){nm_test_var='a';nm_test_func();return(0);}
7577 _LT_EOF
7579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7580 (eval $ac_compile) 2>&5
7581 ac_status=$?
7582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7583 test $ac_status = 0; }; then
7584 # Now try to grab the symbols.
7585 nlist=conftest.nm
7586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7587 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7588 ac_status=$?
7589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7590 test $ac_status = 0; } && test -s "$nlist"; then
7591 # Try sorting and uniquifying the output.
7592 if sort "$nlist" | uniq > "$nlist"T; then
7593 mv -f "$nlist"T "$nlist"
7594 else
7595 rm -f "$nlist"T
7598 # Make sure that we snagged all the symbols we need.
7599 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7600 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7601 cat <<_LT_EOF > conftest.$ac_ext
7602 #ifdef __cplusplus
7603 extern "C" {
7604 #endif
7606 _LT_EOF
7607 # Now generate the symbol file.
7608 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7610 cat <<_LT_EOF >> conftest.$ac_ext
7612 /* The mapping between symbol names and symbols. */
7613 const struct {
7614 const char *name;
7615 void *address;
7617 lt__PROGRAM__LTX_preloaded_symbols[] =
7619 { "@PROGRAM@", (void *) 0 },
7620 _LT_EOF
7621 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7622 cat <<\_LT_EOF >> conftest.$ac_ext
7623 {0, (void *) 0}
7626 /* This works around a problem in FreeBSD linker */
7627 #ifdef FREEBSD_WORKAROUND
7628 static const void *lt_preloaded_setup() {
7629 return lt__PROGRAM__LTX_preloaded_symbols;
7631 #endif
7633 #ifdef __cplusplus
7635 #endif
7636 _LT_EOF
7637 # Now try linking the two files.
7638 mv conftest.$ac_objext conftstm.$ac_objext
7639 lt_save_LIBS="$LIBS"
7640 lt_save_CFLAGS="$CFLAGS"
7641 LIBS="conftstm.$ac_objext"
7642 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7644 (eval $ac_link) 2>&5
7645 ac_status=$?
7646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7647 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7648 pipe_works=yes
7650 LIBS="$lt_save_LIBS"
7651 CFLAGS="$lt_save_CFLAGS"
7652 else
7653 echo "cannot find nm_test_func in $nlist" >&5
7655 else
7656 echo "cannot find nm_test_var in $nlist" >&5
7658 else
7659 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7661 else
7662 echo "$progname: failed program was:" >&5
7663 cat conftest.$ac_ext >&5
7665 rm -rf conftest* conftst*
7667 # Do not use the global_symbol_pipe unless it works.
7668 if test "$pipe_works" = yes; then
7669 break
7670 else
7671 lt_cv_sys_global_symbol_pipe=
7673 done
7677 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7678 lt_cv_sys_global_symbol_to_cdecl=
7680 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7682 $as_echo "failed" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7685 $as_echo "ok" >&6; }
7709 # Check whether --enable-libtool-lock was given.
7710 if test "${enable_libtool_lock+set}" = set; then :
7711 enableval=$enable_libtool_lock;
7714 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7716 # Some flags need to be propagated to the compiler or linker for good
7717 # libtool support.
7718 case $host in
7719 ia64-*-hpux*)
7720 # Find out which ABI we are using.
7721 echo 'int i;' > conftest.$ac_ext
7722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7723 (eval $ac_compile) 2>&5
7724 ac_status=$?
7725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7726 test $ac_status = 0; }; then
7727 case `/usr/bin/file conftest.$ac_objext` in
7728 *ELF-32*)
7729 HPUX_IA64_MODE="32"
7731 *ELF-64*)
7732 HPUX_IA64_MODE="64"
7734 esac
7736 rm -rf conftest*
7738 *-*-irix6*)
7739 # Find out which ABI we are using.
7740 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7742 (eval $ac_compile) 2>&5
7743 ac_status=$?
7744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7745 test $ac_status = 0; }; then
7746 if test "$lt_cv_prog_gnu_ld" = yes; then
7747 case `/usr/bin/file conftest.$ac_objext` in
7748 *32-bit*)
7749 LD="${LD-ld} -melf32bsmip"
7751 *N32*)
7752 LD="${LD-ld} -melf32bmipn32"
7754 *64-bit*)
7755 LD="${LD-ld} -melf64bmip"
7757 esac
7758 else
7759 case `/usr/bin/file conftest.$ac_objext` in
7760 *32-bit*)
7761 LD="${LD-ld} -32"
7763 *N32*)
7764 LD="${LD-ld} -n32"
7766 *64-bit*)
7767 LD="${LD-ld} -64"
7769 esac
7772 rm -rf conftest*
7775 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7776 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7777 # Find out which ABI we are using.
7778 echo 'int i;' > conftest.$ac_ext
7779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7780 (eval $ac_compile) 2>&5
7781 ac_status=$?
7782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7783 test $ac_status = 0; }; then
7784 case `/usr/bin/file conftest.o` in
7785 *32-bit*)
7786 case $host in
7787 x86_64-*kfreebsd*-gnu)
7788 LD="${LD-ld} -m elf_i386_fbsd"
7790 x86_64-*linux*)
7791 case `/usr/bin/file conftest.o` in
7792 *x86-64*)
7793 LD="${LD-ld} -m elf32_x86_64"
7796 LD="${LD-ld} -m elf_i386"
7798 esac
7800 powerpc64le-*linux*)
7801 LD="${LD-ld} -m elf32lppclinux"
7803 powerpc64-*linux*)
7804 LD="${LD-ld} -m elf32ppclinux"
7806 s390x-*linux*)
7807 LD="${LD-ld} -m elf_s390"
7809 sparc64-*linux*)
7810 LD="${LD-ld} -m elf32_sparc"
7812 esac
7814 *64-bit*)
7815 case $host in
7816 x86_64-*kfreebsd*-gnu)
7817 LD="${LD-ld} -m elf_x86_64_fbsd"
7819 x86_64-*linux*)
7820 LD="${LD-ld} -m elf_x86_64"
7822 powerpcle-*linux*)
7823 LD="${LD-ld} -m elf64lppc"
7825 powerpc-*linux*)
7826 LD="${LD-ld} -m elf64ppc"
7828 s390*-*linux*|s390*-*tpf*)
7829 LD="${LD-ld} -m elf64_s390"
7831 sparc*-*linux*)
7832 LD="${LD-ld} -m elf64_sparc"
7834 esac
7836 esac
7838 rm -rf conftest*
7841 *-*-sco3.2v5*)
7842 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7843 SAVE_CFLAGS="$CFLAGS"
7844 CFLAGS="$CFLAGS -belf"
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7846 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7847 if ${lt_cv_cc_needs_belf+:} false; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 ac_ext=c
7851 ac_cpp='$CPP $CPPFLAGS'
7852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7856 if test x$gcc_no_link = xyes; then
7857 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7863 main ()
7867 return 0;
7869 _ACEOF
7870 if ac_fn_c_try_link "$LINENO"; then :
7871 lt_cv_cc_needs_belf=yes
7872 else
7873 lt_cv_cc_needs_belf=no
7875 rm -f core conftest.err conftest.$ac_objext \
7876 conftest$ac_exeext conftest.$ac_ext
7877 ac_ext=c
7878 ac_cpp='$CPP $CPPFLAGS'
7879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7885 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7886 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7887 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7888 CFLAGS="$SAVE_CFLAGS"
7891 sparc*-*solaris*)
7892 # Find out which ABI we are using.
7893 echo 'int i;' > conftest.$ac_ext
7894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7895 (eval $ac_compile) 2>&5
7896 ac_status=$?
7897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7898 test $ac_status = 0; }; then
7899 case `/usr/bin/file conftest.o` in
7900 *64-bit*)
7901 case $lt_cv_prog_gnu_ld in
7902 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7904 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7905 LD="${LD-ld} -64"
7908 esac
7910 esac
7912 rm -rf conftest*
7914 esac
7916 need_locks="$enable_libtool_lock"
7919 case $host_os in
7920 rhapsody* | darwin*)
7921 if test -n "$ac_tool_prefix"; then
7922 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7923 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925 $as_echo_n "checking for $ac_word... " >&6; }
7926 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7927 $as_echo_n "(cached) " >&6
7928 else
7929 if test -n "$DSYMUTIL"; then
7930 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7931 else
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933 for as_dir in $PATH
7935 IFS=$as_save_IFS
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7939 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7941 break 2
7943 done
7944 done
7945 IFS=$as_save_IFS
7949 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7950 if test -n "$DSYMUTIL"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7952 $as_echo "$DSYMUTIL" >&6; }
7953 else
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955 $as_echo "no" >&6; }
7960 if test -z "$ac_cv_prog_DSYMUTIL"; then
7961 ac_ct_DSYMUTIL=$DSYMUTIL
7962 # Extract the first word of "dsymutil", so it can be a program name with args.
7963 set dummy dsymutil; ac_word=$2
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965 $as_echo_n "checking for $ac_word... " >&6; }
7966 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 if test -n "$ac_ct_DSYMUTIL"; then
7970 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7971 else
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 for as_dir in $PATH
7975 IFS=$as_save_IFS
7976 test -z "$as_dir" && as_dir=.
7977 for ac_exec_ext in '' $ac_executable_extensions; do
7978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7979 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981 break 2
7983 done
7984 done
7985 IFS=$as_save_IFS
7989 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7990 if test -n "$ac_ct_DSYMUTIL"; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7992 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7993 else
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995 $as_echo "no" >&6; }
7998 if test "x$ac_ct_DSYMUTIL" = x; then
7999 DSYMUTIL=":"
8000 else
8001 case $cross_compiling:$ac_tool_warned in
8002 yes:)
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8005 ac_tool_warned=yes ;;
8006 esac
8007 DSYMUTIL=$ac_ct_DSYMUTIL
8009 else
8010 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8013 if test -n "$ac_tool_prefix"; then
8014 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8015 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if ${ac_cv_prog_NMEDIT+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 if test -n "$NMEDIT"; then
8022 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8023 else
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 for as_dir in $PATH
8027 IFS=$as_save_IFS
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 break 2
8035 done
8036 done
8037 IFS=$as_save_IFS
8041 NMEDIT=$ac_cv_prog_NMEDIT
8042 if test -n "$NMEDIT"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8044 $as_echo "$NMEDIT" >&6; }
8045 else
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8052 if test -z "$ac_cv_prog_NMEDIT"; then
8053 ac_ct_NMEDIT=$NMEDIT
8054 # Extract the first word of "nmedit", so it can be a program name with args.
8055 set dummy nmedit; ac_word=$2
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057 $as_echo_n "checking for $ac_word... " >&6; }
8058 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 if test -n "$ac_ct_NMEDIT"; then
8062 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8063 else
8064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 for as_dir in $PATH
8067 IFS=$as_save_IFS
8068 test -z "$as_dir" && as_dir=.
8069 for ac_exec_ext in '' $ac_executable_extensions; do
8070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073 break 2
8075 done
8076 done
8077 IFS=$as_save_IFS
8081 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8082 if test -n "$ac_ct_NMEDIT"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8084 $as_echo "$ac_ct_NMEDIT" >&6; }
8085 else
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8090 if test "x$ac_ct_NMEDIT" = x; then
8091 NMEDIT=":"
8092 else
8093 case $cross_compiling:$ac_tool_warned in
8094 yes:)
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097 ac_tool_warned=yes ;;
8098 esac
8099 NMEDIT=$ac_ct_NMEDIT
8101 else
8102 NMEDIT="$ac_cv_prog_NMEDIT"
8105 if test -n "$ac_tool_prefix"; then
8106 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8107 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if ${ac_cv_prog_LIPO+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 if test -n "$LIPO"; then
8114 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8115 else
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 for as_dir in $PATH
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 break 2
8127 done
8128 done
8129 IFS=$as_save_IFS
8133 LIPO=$ac_cv_prog_LIPO
8134 if test -n "$LIPO"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8136 $as_echo "$LIPO" >&6; }
8137 else
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8144 if test -z "$ac_cv_prog_LIPO"; then
8145 ac_ct_LIPO=$LIPO
8146 # Extract the first word of "lipo", so it can be a program name with args.
8147 set dummy lipo; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 if test -n "$ac_ct_LIPO"; then
8154 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 ac_cv_prog_ac_ct_LIPO="lipo"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165 break 2
8167 done
8168 done
8169 IFS=$as_save_IFS
8173 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8174 if test -n "$ac_ct_LIPO"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8176 $as_echo "$ac_ct_LIPO" >&6; }
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8182 if test "x$ac_ct_LIPO" = x; then
8183 LIPO=":"
8184 else
8185 case $cross_compiling:$ac_tool_warned in
8186 yes:)
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8189 ac_tool_warned=yes ;;
8190 esac
8191 LIPO=$ac_ct_LIPO
8193 else
8194 LIPO="$ac_cv_prog_LIPO"
8197 if test -n "$ac_tool_prefix"; then
8198 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8199 set dummy ${ac_tool_prefix}otool; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if ${ac_cv_prog_OTOOL+:} false; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 if test -n "$OTOOL"; then
8206 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8211 IFS=$as_save_IFS
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 break 2
8219 done
8220 done
8221 IFS=$as_save_IFS
8225 OTOOL=$ac_cv_prog_OTOOL
8226 if test -n "$OTOOL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8228 $as_echo "$OTOOL" >&6; }
8229 else
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8236 if test -z "$ac_cv_prog_OTOOL"; then
8237 ac_ct_OTOOL=$OTOOL
8238 # Extract the first word of "otool", so it can be a program name with args.
8239 set dummy otool; ac_word=$2
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241 $as_echo_n "checking for $ac_word... " >&6; }
8242 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 if test -n "$ac_ct_OTOOL"; then
8246 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8247 else
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 for as_dir in $PATH
8251 IFS=$as_save_IFS
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8255 ac_cv_prog_ac_ct_OTOOL="otool"
8256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 break 2
8259 done
8260 done
8261 IFS=$as_save_IFS
8265 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8266 if test -n "$ac_ct_OTOOL"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8268 $as_echo "$ac_ct_OTOOL" >&6; }
8269 else
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8274 if test "x$ac_ct_OTOOL" = x; then
8275 OTOOL=":"
8276 else
8277 case $cross_compiling:$ac_tool_warned in
8278 yes:)
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8281 ac_tool_warned=yes ;;
8282 esac
8283 OTOOL=$ac_ct_OTOOL
8285 else
8286 OTOOL="$ac_cv_prog_OTOOL"
8289 if test -n "$ac_tool_prefix"; then
8290 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8291 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8293 $as_echo_n "checking for $ac_word... " >&6; }
8294 if ${ac_cv_prog_OTOOL64+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 if test -n "$OTOOL64"; then
8298 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8299 else
8300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301 for as_dir in $PATH
8303 IFS=$as_save_IFS
8304 test -z "$as_dir" && as_dir=.
8305 for ac_exec_ext in '' $ac_executable_extensions; do
8306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8307 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8309 break 2
8311 done
8312 done
8313 IFS=$as_save_IFS
8317 OTOOL64=$ac_cv_prog_OTOOL64
8318 if test -n "$OTOOL64"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8320 $as_echo "$OTOOL64" >&6; }
8321 else
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323 $as_echo "no" >&6; }
8328 if test -z "$ac_cv_prog_OTOOL64"; then
8329 ac_ct_OTOOL64=$OTOOL64
8330 # Extract the first word of "otool64", so it can be a program name with args.
8331 set dummy otool64; ac_word=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 $as_echo_n "checking for $ac_word... " >&6; }
8334 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 if test -n "$ac_ct_OTOOL64"; then
8338 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8339 else
8340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341 for as_dir in $PATH
8343 IFS=$as_save_IFS
8344 test -z "$as_dir" && as_dir=.
8345 for ac_exec_ext in '' $ac_executable_extensions; do
8346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8347 ac_cv_prog_ac_ct_OTOOL64="otool64"
8348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8349 break 2
8351 done
8352 done
8353 IFS=$as_save_IFS
8357 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8358 if test -n "$ac_ct_OTOOL64"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8360 $as_echo "$ac_ct_OTOOL64" >&6; }
8361 else
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8366 if test "x$ac_ct_OTOOL64" = x; then
8367 OTOOL64=":"
8368 else
8369 case $cross_compiling:$ac_tool_warned in
8370 yes:)
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8373 ac_tool_warned=yes ;;
8374 esac
8375 OTOOL64=$ac_ct_OTOOL64
8377 else
8378 OTOOL64="$ac_cv_prog_OTOOL64"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8408 $as_echo_n "checking for -single_module linker flag... " >&6; }
8409 if ${lt_cv_apple_cc_single_mod+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 lt_cv_apple_cc_single_mod=no
8413 if test -z "${LT_MULTI_MODULE}"; then
8414 # By default we will add the -single_module flag. You can override
8415 # by either setting the environment variable LT_MULTI_MODULE
8416 # non-empty at configure time, or by adding -multi_module to the
8417 # link flags.
8418 rm -rf libconftest.dylib*
8419 echo "int foo(void){return 1;}" > conftest.c
8420 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8421 -dynamiclib -Wl,-single_module conftest.c" >&5
8422 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8423 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8424 _lt_result=$?
8425 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8426 lt_cv_apple_cc_single_mod=yes
8427 else
8428 cat conftest.err >&5
8430 rm -rf libconftest.dylib*
8431 rm -f conftest.*
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8435 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8437 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8438 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 lt_cv_ld_exported_symbols_list=no
8442 save_LDFLAGS=$LDFLAGS
8443 echo "_main" > conftest.sym
8444 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8445 if test x$gcc_no_link = xyes; then
8446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 lt_cv_ld_exported_symbols_list=yes
8461 else
8462 lt_cv_ld_exported_symbols_list=no
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 LDFLAGS="$save_LDFLAGS"
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8470 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8472 $as_echo_n "checking for -force_load linker flag... " >&6; }
8473 if ${lt_cv_ld_force_load+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 lt_cv_ld_force_load=no
8477 cat > conftest.c << _LT_EOF
8478 int forced_loaded() { return 2;}
8479 _LT_EOF
8480 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8481 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8482 echo "$AR cru libconftest.a conftest.o" >&5
8483 $AR cru libconftest.a conftest.o 2>&5
8484 cat > conftest.c << _LT_EOF
8485 int main() { return 0;}
8486 _LT_EOF
8487 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8488 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8489 _lt_result=$?
8490 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8491 lt_cv_ld_force_load=yes
8492 else
8493 cat conftest.err >&5
8495 rm -f conftest.err libconftest.a conftest conftest.c
8496 rm -rf conftest.dSYM
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8500 $as_echo "$lt_cv_ld_force_load" >&6; }
8501 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8502 # build without first building modern cctools / linker.
8503 case $host_cpu-$host_os in
8504 *-rhapsody* | *-darwin1.[012])
8505 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8506 *-darwin1.*)
8507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8508 *-darwin*)
8509 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8510 # deployment target is forced to an earlier version.
8511 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8512 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8514 10.[012][,.]*)
8515 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8519 esac
8521 esac
8522 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8523 _lt_dar_single_mod='$single_module'
8525 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8526 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8527 else
8528 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8530 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8531 _lt_dsymutil='~$DSYMUTIL $lib || :'
8532 else
8533 _lt_dsymutil=
8536 esac
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8539 $as_echo_n "checking for ANSI C header files... " >&6; }
8540 if ${ac_cv_header_stdc+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 #include <stdlib.h>
8546 #include <stdarg.h>
8547 #include <string.h>
8548 #include <float.h>
8551 main ()
8555 return 0;
8557 _ACEOF
8558 if ac_fn_c_try_compile "$LINENO"; then :
8559 ac_cv_header_stdc=yes
8560 else
8561 ac_cv_header_stdc=no
8563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8565 if test $ac_cv_header_stdc = yes; then
8566 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 #include <string.h>
8571 _ACEOF
8572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8573 $EGREP "memchr" >/dev/null 2>&1; then :
8575 else
8576 ac_cv_header_stdc=no
8578 rm -f conftest*
8582 if test $ac_cv_header_stdc = yes; then
8583 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 #include <stdlib.h>
8588 _ACEOF
8589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8590 $EGREP "free" >/dev/null 2>&1; then :
8592 else
8593 ac_cv_header_stdc=no
8595 rm -f conftest*
8599 if test $ac_cv_header_stdc = yes; then
8600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8601 if test "$cross_compiling" = yes; then :
8603 else
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 #include <ctype.h>
8607 #include <stdlib.h>
8608 #if ((' ' & 0x0FF) == 0x020)
8609 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8610 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8611 #else
8612 # define ISLOWER(c) \
8613 (('a' <= (c) && (c) <= 'i') \
8614 || ('j' <= (c) && (c) <= 'r') \
8615 || ('s' <= (c) && (c) <= 'z'))
8616 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8617 #endif
8619 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8621 main ()
8623 int i;
8624 for (i = 0; i < 256; i++)
8625 if (XOR (islower (i), ISLOWER (i))
8626 || toupper (i) != TOUPPER (i))
8627 return 2;
8628 return 0;
8630 _ACEOF
8631 if ac_fn_c_try_run "$LINENO"; then :
8633 else
8634 ac_cv_header_stdc=no
8636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8637 conftest.$ac_objext conftest.beam conftest.$ac_ext
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8643 $as_echo "$ac_cv_header_stdc" >&6; }
8644 if test $ac_cv_header_stdc = yes; then
8646 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8651 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8652 inttypes.h stdint.h unistd.h
8653 do :
8654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8658 cat >>confdefs.h <<_ACEOF
8659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8660 _ACEOF
8664 done
8667 for ac_header in dlfcn.h
8668 do :
8669 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8671 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8672 cat >>confdefs.h <<_ACEOF
8673 #define HAVE_DLFCN_H 1
8674 _ACEOF
8678 done
8685 # Set options
8690 enable_win32_dll=no
8693 # Check whether --enable-shared was given.
8694 if test "${enable_shared+set}" = set; then :
8695 enableval=$enable_shared; p=${PACKAGE-default}
8696 case $enableval in
8697 yes) enable_shared=yes ;;
8698 no) enable_shared=no ;;
8700 enable_shared=no
8701 # Look at the argument we got. We use all the common list separators.
8702 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8703 for pkg in $enableval; do
8704 IFS="$lt_save_ifs"
8705 if test "X$pkg" = "X$p"; then
8706 enable_shared=yes
8708 done
8709 IFS="$lt_save_ifs"
8711 esac
8712 else
8713 enable_shared=yes
8724 # Check whether --enable-static was given.
8725 if test "${enable_static+set}" = set; then :
8726 enableval=$enable_static; p=${PACKAGE-default}
8727 case $enableval in
8728 yes) enable_static=yes ;;
8729 no) enable_static=no ;;
8731 enable_static=no
8732 # Look at the argument we got. We use all the common list separators.
8733 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8734 for pkg in $enableval; do
8735 IFS="$lt_save_ifs"
8736 if test "X$pkg" = "X$p"; then
8737 enable_static=yes
8739 done
8740 IFS="$lt_save_ifs"
8742 esac
8743 else
8744 enable_static=yes
8756 # Check whether --with-pic was given.
8757 if test "${with_pic+set}" = set; then :
8758 withval=$with_pic; pic_mode="$withval"
8759 else
8760 pic_mode=default
8764 test -z "$pic_mode" && pic_mode=default
8772 # Check whether --enable-fast-install was given.
8773 if test "${enable_fast_install+set}" = set; then :
8774 enableval=$enable_fast_install; p=${PACKAGE-default}
8775 case $enableval in
8776 yes) enable_fast_install=yes ;;
8777 no) enable_fast_install=no ;;
8779 enable_fast_install=no
8780 # Look at the argument we got. We use all the common list separators.
8781 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8782 for pkg in $enableval; do
8783 IFS="$lt_save_ifs"
8784 if test "X$pkg" = "X$p"; then
8785 enable_fast_install=yes
8787 done
8788 IFS="$lt_save_ifs"
8790 esac
8791 else
8792 enable_fast_install=yes
8805 # This can be used to rebuild libtool when needed
8806 LIBTOOL_DEPS="$ltmain"
8808 # Always use our own libtool.
8809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8836 test -z "$LN_S" && LN_S="ln -s"
8851 if test -n "${ZSH_VERSION+set}" ; then
8852 setopt NO_GLOB_SUBST
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8856 $as_echo_n "checking for objdir... " >&6; }
8857 if ${lt_cv_objdir+:} false; then :
8858 $as_echo_n "(cached) " >&6
8859 else
8860 rm -f .libs 2>/dev/null
8861 mkdir .libs 2>/dev/null
8862 if test -d .libs; then
8863 lt_cv_objdir=.libs
8864 else
8865 # MS-DOS does not allow filenames that begin with a dot.
8866 lt_cv_objdir=_libs
8868 rmdir .libs 2>/dev/null
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8871 $as_echo "$lt_cv_objdir" >&6; }
8872 objdir=$lt_cv_objdir
8878 cat >>confdefs.h <<_ACEOF
8879 #define LT_OBJDIR "$lt_cv_objdir/"
8880 _ACEOF
8885 case $host_os in
8886 aix3*)
8887 # AIX sometimes has problems with the GCC collect2 program. For some
8888 # reason, if we set the COLLECT_NAMES environment variable, the problems
8889 # vanish in a puff of smoke.
8890 if test "X${COLLECT_NAMES+set}" != Xset; then
8891 COLLECT_NAMES=
8892 export COLLECT_NAMES
8895 esac
8897 # Global variables:
8898 ofile=libtool
8899 can_build_shared=yes
8901 # All known linkers require a `.a' archive for static linking (except MSVC,
8902 # which needs '.lib').
8903 libext=a
8905 with_gnu_ld="$lt_cv_prog_gnu_ld"
8907 old_CC="$CC"
8908 old_CFLAGS="$CFLAGS"
8910 # Set sane defaults for various variables
8911 test -z "$CC" && CC=cc
8912 test -z "$LTCC" && LTCC=$CC
8913 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8914 test -z "$LD" && LD=ld
8915 test -z "$ac_objext" && ac_objext=o
8917 for cc_temp in $compiler""; do
8918 case $cc_temp in
8919 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8920 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8921 \-*) ;;
8922 *) break;;
8923 esac
8924 done
8925 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8928 # Only perform the check for file, if the check method requires it
8929 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8930 case $deplibs_check_method in
8931 file_magic*)
8932 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8934 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8935 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8936 $as_echo_n "(cached) " >&6
8937 else
8938 case $MAGIC_CMD in
8939 [\\/*] | ?:[\\/]*)
8940 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8943 lt_save_MAGIC_CMD="$MAGIC_CMD"
8944 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8945 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8946 for ac_dir in $ac_dummy; do
8947 IFS="$lt_save_ifs"
8948 test -z "$ac_dir" && ac_dir=.
8949 if test -f $ac_dir/${ac_tool_prefix}file; then
8950 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8951 if test -n "$file_magic_test_file"; then
8952 case $deplibs_check_method in
8953 "file_magic "*)
8954 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8955 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8956 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8957 $EGREP "$file_magic_regex" > /dev/null; then
8959 else
8960 cat <<_LT_EOF 1>&2
8962 *** Warning: the command libtool uses to detect shared libraries,
8963 *** $file_magic_cmd, produces output that libtool cannot recognize.
8964 *** The result is that libtool may fail to recognize shared libraries
8965 *** as such. This will affect the creation of libtool libraries that
8966 *** depend on shared libraries, but programs linked with such libtool
8967 *** libraries will work regardless of this problem. Nevertheless, you
8968 *** may want to report the problem to your system manager and/or to
8969 *** bug-libtool@gnu.org
8971 _LT_EOF
8972 fi ;;
8973 esac
8975 break
8977 done
8978 IFS="$lt_save_ifs"
8979 MAGIC_CMD="$lt_save_MAGIC_CMD"
8981 esac
8984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8985 if test -n "$MAGIC_CMD"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8987 $as_echo "$MAGIC_CMD" >&6; }
8988 else
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8997 if test -z "$lt_cv_path_MAGIC_CMD"; then
8998 if test -n "$ac_tool_prefix"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9000 $as_echo_n "checking for file... " >&6; }
9001 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9002 $as_echo_n "(cached) " >&6
9003 else
9004 case $MAGIC_CMD in
9005 [\\/*] | ?:[\\/]*)
9006 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9009 lt_save_MAGIC_CMD="$MAGIC_CMD"
9010 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9011 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9012 for ac_dir in $ac_dummy; do
9013 IFS="$lt_save_ifs"
9014 test -z "$ac_dir" && ac_dir=.
9015 if test -f $ac_dir/file; then
9016 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9017 if test -n "$file_magic_test_file"; then
9018 case $deplibs_check_method in
9019 "file_magic "*)
9020 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9021 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9022 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9023 $EGREP "$file_magic_regex" > /dev/null; then
9025 else
9026 cat <<_LT_EOF 1>&2
9028 *** Warning: the command libtool uses to detect shared libraries,
9029 *** $file_magic_cmd, produces output that libtool cannot recognize.
9030 *** The result is that libtool may fail to recognize shared libraries
9031 *** as such. This will affect the creation of libtool libraries that
9032 *** depend on shared libraries, but programs linked with such libtool
9033 *** libraries will work regardless of this problem. Nevertheless, you
9034 *** may want to report the problem to your system manager and/or to
9035 *** bug-libtool@gnu.org
9037 _LT_EOF
9038 fi ;;
9039 esac
9041 break
9043 done
9044 IFS="$lt_save_ifs"
9045 MAGIC_CMD="$lt_save_MAGIC_CMD"
9047 esac
9050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9051 if test -n "$MAGIC_CMD"; then
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9053 $as_echo "$MAGIC_CMD" >&6; }
9054 else
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9056 $as_echo "no" >&6; }
9060 else
9061 MAGIC_CMD=:
9067 esac
9069 # Use C for the default configuration in the libtool script
9071 lt_save_CC="$CC"
9072 ac_ext=c
9073 ac_cpp='$CPP $CPPFLAGS'
9074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9079 # Source file extension for C test sources.
9080 ac_ext=c
9082 # Object file extension for compiled C test sources.
9083 objext=o
9084 objext=$objext
9086 # Code to be used in simple compile tests
9087 lt_simple_compile_test_code="int some_variable = 0;"
9089 # Code to be used in simple link tests
9090 lt_simple_link_test_code='int main(){return(0);}'
9098 # If no C compiler was specified, use CC.
9099 LTCC=${LTCC-"$CC"}
9101 # If no C compiler flags were specified, use CFLAGS.
9102 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9104 # Allow CC to be a program name with arguments.
9105 compiler=$CC
9107 # Save the default compiler, since it gets overwritten when the other
9108 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9109 compiler_DEFAULT=$CC
9111 # save warnings/boilerplate of simple test code
9112 ac_outfile=conftest.$ac_objext
9113 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9114 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9115 _lt_compiler_boilerplate=`cat conftest.err`
9116 $RM conftest*
9118 ac_outfile=conftest.$ac_objext
9119 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9120 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9121 _lt_linker_boilerplate=`cat conftest.err`
9122 $RM -r conftest*
9125 ## CAVEAT EMPTOR:
9126 ## There is no encapsulation within the following macros, do not change
9127 ## the running order or otherwise move them around unless you know exactly
9128 ## what you are doing...
9129 if test -n "$compiler"; then
9131 lt_prog_compiler_no_builtin_flag=
9133 if test "$GCC" = yes; then
9134 case $cc_basename in
9135 nvcc*)
9136 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9138 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9139 esac
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9142 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9143 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 lt_cv_prog_compiler_rtti_exceptions=no
9147 ac_outfile=conftest.$ac_objext
9148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9149 lt_compiler_flag="-fno-rtti -fno-exceptions"
9150 # Insert the option either (1) after the last *FLAGS variable, or
9151 # (2) before a word containing "conftest.", or (3) at the end.
9152 # Note that $ac_compile itself does not contain backslashes and begins
9153 # with a dollar sign (not a hyphen), so the echo should work correctly.
9154 # The option is referenced via a variable to avoid confusing sed.
9155 lt_compile=`echo "$ac_compile" | $SED \
9156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158 -e 's:$: $lt_compiler_flag:'`
9159 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9160 (eval "$lt_compile" 2>conftest.err)
9161 ac_status=$?
9162 cat conftest.err >&5
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 if (exit $ac_status) && test -s "$ac_outfile"; then
9165 # The compiler can only warn and ignore the option if not recognized
9166 # So say no if there are warnings other than the usual output.
9167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9168 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9169 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9170 lt_cv_prog_compiler_rtti_exceptions=yes
9173 $RM conftest*
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9177 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9179 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9180 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9181 else
9192 lt_prog_compiler_wl=
9193 lt_prog_compiler_pic=
9194 lt_prog_compiler_static=
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9197 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9199 if test "$GCC" = yes; then
9200 lt_prog_compiler_wl='-Wl,'
9201 lt_prog_compiler_static='-static'
9203 case $host_os in
9204 aix*)
9205 # All AIX code is PIC.
9206 if test "$host_cpu" = ia64; then
9207 # AIX 5 now supports IA64 processor
9208 lt_prog_compiler_static='-Bstatic'
9210 lt_prog_compiler_pic='-fPIC'
9213 amigaos*)
9214 case $host_cpu in
9215 powerpc)
9216 # see comment about AmigaOS4 .so support
9217 lt_prog_compiler_pic='-fPIC'
9219 m68k)
9220 # FIXME: we need at least 68020 code to build shared libraries, but
9221 # adding the `-m68020' flag to GCC prevents building anything better,
9222 # like `-m68040'.
9223 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9225 esac
9228 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9229 # PIC is the default for these OSes.
9232 mingw* | cygwin* | pw32* | os2* | cegcc*)
9233 # This hack is so that the source file can tell whether it is being
9234 # built for inclusion in a dll (and should export symbols for example).
9235 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9236 # (--disable-auto-import) libraries
9237 lt_prog_compiler_pic='-DDLL_EXPORT'
9240 darwin* | rhapsody*)
9241 # PIC is the default on this platform
9242 # Common symbols not allowed in MH_DYLIB files
9243 lt_prog_compiler_pic='-fno-common'
9246 haiku*)
9247 # PIC is the default for Haiku.
9248 # The "-static" flag exists, but is broken.
9249 lt_prog_compiler_static=
9252 hpux*)
9253 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9254 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9255 # sets the default TLS model and affects inlining.
9256 case $host_cpu in
9257 hppa*64*)
9258 # +Z the default
9261 lt_prog_compiler_pic='-fPIC'
9263 esac
9266 interix[3-9]*)
9267 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9268 # Instead, we relocate shared libraries at runtime.
9271 msdosdjgpp*)
9272 # Just because we use GCC doesn't mean we suddenly get shared libraries
9273 # on systems that don't support them.
9274 lt_prog_compiler_can_build_shared=no
9275 enable_shared=no
9278 *nto* | *qnx*)
9279 # QNX uses GNU C++, but need to define -shared option too, otherwise
9280 # it will coredump.
9281 lt_prog_compiler_pic='-fPIC -shared'
9284 sysv4*MP*)
9285 if test -d /usr/nec; then
9286 lt_prog_compiler_pic=-Kconform_pic
9291 lt_prog_compiler_pic='-fPIC'
9293 esac
9295 case $cc_basename in
9296 nvcc*) # Cuda Compiler Driver 2.2
9297 lt_prog_compiler_wl='-Xlinker '
9298 lt_prog_compiler_pic='-Xcompiler -fPIC'
9300 esac
9301 else
9302 # PORTME Check for flag to pass linker flags through the system compiler.
9303 case $host_os in
9304 aix*)
9305 lt_prog_compiler_wl='-Wl,'
9306 if test "$host_cpu" = ia64; then
9307 # AIX 5 now supports IA64 processor
9308 lt_prog_compiler_static='-Bstatic'
9309 else
9310 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9314 mingw* | cygwin* | pw32* | os2* | cegcc*)
9315 # This hack is so that the source file can tell whether it is being
9316 # built for inclusion in a dll (and should export symbols for example).
9317 lt_prog_compiler_pic='-DDLL_EXPORT'
9320 hpux9* | hpux10* | hpux11*)
9321 lt_prog_compiler_wl='-Wl,'
9322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9323 # not for PA HP-UX.
9324 case $host_cpu in
9325 hppa*64*|ia64*)
9326 # +Z the default
9329 lt_prog_compiler_pic='+Z'
9331 esac
9332 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9333 lt_prog_compiler_static='${wl}-a ${wl}archive'
9336 irix5* | irix6* | nonstopux*)
9337 lt_prog_compiler_wl='-Wl,'
9338 # PIC (with -KPIC) is the default.
9339 lt_prog_compiler_static='-non_shared'
9342 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9343 case $cc_basename in
9344 # old Intel for x86_64 which still supported -KPIC.
9345 ecc*)
9346 lt_prog_compiler_wl='-Wl,'
9347 lt_prog_compiler_pic='-KPIC'
9348 lt_prog_compiler_static='-static'
9350 # icc used to be incompatible with GCC.
9351 # ICC 10 doesn't accept -KPIC any more.
9352 icc* | ifort*)
9353 lt_prog_compiler_wl='-Wl,'
9354 lt_prog_compiler_pic='-fPIC'
9355 lt_prog_compiler_static='-static'
9357 # Lahey Fortran 8.1.
9358 lf95*)
9359 lt_prog_compiler_wl='-Wl,'
9360 lt_prog_compiler_pic='--shared'
9361 lt_prog_compiler_static='--static'
9363 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9364 # Portland Group compilers (*not* the Pentium gcc compiler,
9365 # which looks to be a dead project)
9366 lt_prog_compiler_wl='-Wl,'
9367 lt_prog_compiler_pic='-fpic'
9368 lt_prog_compiler_static='-Bstatic'
9370 ccc*)
9371 lt_prog_compiler_wl='-Wl,'
9372 # All Alpha code is PIC.
9373 lt_prog_compiler_static='-non_shared'
9375 xl* | bgxl* | bgf* | mpixl*)
9376 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9377 lt_prog_compiler_wl='-Wl,'
9378 lt_prog_compiler_pic='-qpic'
9379 lt_prog_compiler_static='-qstaticlink'
9382 case `$CC -V 2>&1 | sed 5q` in
9383 *Sun\ F* | *Sun*Fortran*)
9384 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9385 lt_prog_compiler_pic='-KPIC'
9386 lt_prog_compiler_static='-Bstatic'
9387 lt_prog_compiler_wl=''
9389 *Sun\ C*)
9390 # Sun C 5.9
9391 lt_prog_compiler_pic='-KPIC'
9392 lt_prog_compiler_static='-Bstatic'
9393 lt_prog_compiler_wl='-Wl,'
9395 esac
9397 esac
9400 newsos6)
9401 lt_prog_compiler_pic='-KPIC'
9402 lt_prog_compiler_static='-Bstatic'
9405 *nto* | *qnx*)
9406 # QNX uses GNU C++, but need to define -shared option too, otherwise
9407 # it will coredump.
9408 lt_prog_compiler_pic='-fPIC -shared'
9411 osf3* | osf4* | osf5*)
9412 lt_prog_compiler_wl='-Wl,'
9413 # All OSF/1 code is PIC.
9414 lt_prog_compiler_static='-non_shared'
9417 rdos*)
9418 lt_prog_compiler_static='-non_shared'
9421 solaris*)
9422 lt_prog_compiler_pic='-KPIC'
9423 lt_prog_compiler_static='-Bstatic'
9424 case $cc_basename in
9425 f77* | f90* | f95*)
9426 lt_prog_compiler_wl='-Qoption ld ';;
9428 lt_prog_compiler_wl='-Wl,';;
9429 esac
9432 sunos4*)
9433 lt_prog_compiler_wl='-Qoption ld '
9434 lt_prog_compiler_pic='-PIC'
9435 lt_prog_compiler_static='-Bstatic'
9438 sysv4 | sysv4.2uw2* | sysv4.3*)
9439 lt_prog_compiler_wl='-Wl,'
9440 lt_prog_compiler_pic='-KPIC'
9441 lt_prog_compiler_static='-Bstatic'
9444 sysv4*MP*)
9445 if test -d /usr/nec ;then
9446 lt_prog_compiler_pic='-Kconform_pic'
9447 lt_prog_compiler_static='-Bstatic'
9451 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9452 lt_prog_compiler_wl='-Wl,'
9453 lt_prog_compiler_pic='-KPIC'
9454 lt_prog_compiler_static='-Bstatic'
9457 unicos*)
9458 lt_prog_compiler_wl='-Wl,'
9459 lt_prog_compiler_can_build_shared=no
9462 uts4*)
9463 lt_prog_compiler_pic='-pic'
9464 lt_prog_compiler_static='-Bstatic'
9468 lt_prog_compiler_can_build_shared=no
9470 esac
9473 case $host_os in
9474 # For platforms which do not support PIC, -DPIC is meaningless:
9475 *djgpp*)
9476 lt_prog_compiler_pic=
9479 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9481 esac
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9483 $as_echo "$lt_prog_compiler_pic" >&6; }
9491 # Check to make sure the PIC flag actually works.
9493 if test -n "$lt_prog_compiler_pic"; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9495 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9496 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9497 $as_echo_n "(cached) " >&6
9498 else
9499 lt_cv_prog_compiler_pic_works=no
9500 ac_outfile=conftest.$ac_objext
9501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9502 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9503 # Insert the option either (1) after the last *FLAGS variable, or
9504 # (2) before a word containing "conftest.", or (3) at the end.
9505 # Note that $ac_compile itself does not contain backslashes and begins
9506 # with a dollar sign (not a hyphen), so the echo should work correctly.
9507 # The option is referenced via a variable to avoid confusing sed.
9508 lt_compile=`echo "$ac_compile" | $SED \
9509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9511 -e 's:$: $lt_compiler_flag:'`
9512 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9513 (eval "$lt_compile" 2>conftest.err)
9514 ac_status=$?
9515 cat conftest.err >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 if (exit $ac_status) && test -s "$ac_outfile"; then
9518 # The compiler can only warn and ignore the option if not recognized
9519 # So say no if there are warnings other than the usual output.
9520 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9521 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9522 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9523 lt_cv_prog_compiler_pic_works=yes
9526 $RM conftest*
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9530 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9532 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9533 case $lt_prog_compiler_pic in
9534 "" | " "*) ;;
9535 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9536 esac
9537 else
9538 lt_prog_compiler_pic=
9539 lt_prog_compiler_can_build_shared=no
9550 # Check to make sure the static flag actually works.
9552 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9554 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9555 if ${lt_cv_prog_compiler_static_works+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 lt_cv_prog_compiler_static_works=no
9559 save_LDFLAGS="$LDFLAGS"
9560 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9561 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9562 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9563 # The linker can only warn and ignore the option if not recognized
9564 # So say no if there are warnings
9565 if test -s conftest.err; then
9566 # Append any errors to the config.log.
9567 cat conftest.err 1>&5
9568 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9569 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9570 if diff conftest.exp conftest.er2 >/dev/null; then
9571 lt_cv_prog_compiler_static_works=yes
9573 else
9574 lt_cv_prog_compiler_static_works=yes
9577 $RM -r conftest*
9578 LDFLAGS="$save_LDFLAGS"
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9582 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9584 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9586 else
9587 lt_prog_compiler_static=
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9597 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9598 if ${lt_cv_prog_compiler_c_o+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 lt_cv_prog_compiler_c_o=no
9602 $RM -r conftest 2>/dev/null
9603 mkdir conftest
9604 cd conftest
9605 mkdir out
9606 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9608 lt_compiler_flag="-o out/conftest2.$ac_objext"
9609 # Insert the option either (1) after the last *FLAGS variable, or
9610 # (2) before a word containing "conftest.", or (3) at the end.
9611 # Note that $ac_compile itself does not contain backslashes and begins
9612 # with a dollar sign (not a hyphen), so the echo should work correctly.
9613 lt_compile=`echo "$ac_compile" | $SED \
9614 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9616 -e 's:$: $lt_compiler_flag:'`
9617 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9618 (eval "$lt_compile" 2>out/conftest.err)
9619 ac_status=$?
9620 cat out/conftest.err >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9623 then
9624 # The compiler can only warn and ignore the option if not recognized
9625 # So say no if there are warnings
9626 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9627 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9628 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9629 lt_cv_prog_compiler_c_o=yes
9632 chmod u+w . 2>&5
9633 $RM conftest*
9634 # SGI C++ compiler will create directory out/ii_files/ for
9635 # template instantiation
9636 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9637 $RM out/* && rmdir out
9638 cd ..
9639 $RM -r conftest
9640 $RM conftest*
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9644 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9652 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9653 if ${lt_cv_prog_compiler_c_o+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 lt_cv_prog_compiler_c_o=no
9657 $RM -r conftest 2>/dev/null
9658 mkdir conftest
9659 cd conftest
9660 mkdir out
9661 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9663 lt_compiler_flag="-o out/conftest2.$ac_objext"
9664 # Insert the option either (1) after the last *FLAGS variable, or
9665 # (2) before a word containing "conftest.", or (3) at the end.
9666 # Note that $ac_compile itself does not contain backslashes and begins
9667 # with a dollar sign (not a hyphen), so the echo should work correctly.
9668 lt_compile=`echo "$ac_compile" | $SED \
9669 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9670 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9671 -e 's:$: $lt_compiler_flag:'`
9672 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9673 (eval "$lt_compile" 2>out/conftest.err)
9674 ac_status=$?
9675 cat out/conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9678 then
9679 # The compiler can only warn and ignore the option if not recognized
9680 # So say no if there are warnings
9681 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9682 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9683 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9684 lt_cv_prog_compiler_c_o=yes
9687 chmod u+w . 2>&5
9688 $RM conftest*
9689 # SGI C++ compiler will create directory out/ii_files/ for
9690 # template instantiation
9691 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9692 $RM out/* && rmdir out
9693 cd ..
9694 $RM -r conftest
9695 $RM conftest*
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9699 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9704 hard_links="nottested"
9705 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9706 # do not overwrite the value of need_locks provided by the user
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9708 $as_echo_n "checking if we can lock with hard links... " >&6; }
9709 hard_links=yes
9710 $RM conftest*
9711 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9712 touch conftest.a
9713 ln conftest.a conftest.b 2>&5 || hard_links=no
9714 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9716 $as_echo "$hard_links" >&6; }
9717 if test "$hard_links" = no; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9719 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9720 need_locks=warn
9722 else
9723 need_locks=no
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9732 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9734 runpath_var=
9735 allow_undefined_flag=
9736 always_export_symbols=no
9737 archive_cmds=
9738 archive_expsym_cmds=
9739 compiler_needs_object=no
9740 enable_shared_with_static_runtimes=no
9741 export_dynamic_flag_spec=
9742 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9743 hardcode_automatic=no
9744 hardcode_direct=no
9745 hardcode_direct_absolute=no
9746 hardcode_libdir_flag_spec=
9747 hardcode_libdir_flag_spec_ld=
9748 hardcode_libdir_separator=
9749 hardcode_minus_L=no
9750 hardcode_shlibpath_var=unsupported
9751 inherit_rpath=no
9752 link_all_deplibs=unknown
9753 module_cmds=
9754 module_expsym_cmds=
9755 old_archive_from_new_cmds=
9756 old_archive_from_expsyms_cmds=
9757 thread_safe_flag_spec=
9758 whole_archive_flag_spec=
9759 # include_expsyms should be a list of space-separated symbols to be *always*
9760 # included in the symbol list
9761 include_expsyms=
9762 # exclude_expsyms can be an extended regexp of symbols to exclude
9763 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9764 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9765 # as well as any symbol that contains `d'.
9766 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9767 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9768 # platforms (ab)use it in PIC code, but their linkers get confused if
9769 # the symbol is explicitly referenced. Since portable code cannot
9770 # rely on this symbol name, it's probably fine to never include it in
9771 # preloaded symbol tables.
9772 # Exclude shared library initialization/finalization symbols.
9773 extract_expsyms_cmds=
9775 case $host_os in
9776 cygwin* | mingw* | pw32* | cegcc*)
9777 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9778 # When not using gcc, we currently assume that we are using
9779 # Microsoft Visual C++.
9780 if test "$GCC" != yes; then
9781 with_gnu_ld=no
9784 interix*)
9785 # we just hope/assume this is gcc and not c89 (= MSVC++)
9786 with_gnu_ld=yes
9788 openbsd*)
9789 with_gnu_ld=no
9791 esac
9793 ld_shlibs=yes
9795 # On some targets, GNU ld is compatible enough with the native linker
9796 # that we're better off using the native interface for both.
9797 lt_use_gnu_ld_interface=no
9798 if test "$with_gnu_ld" = yes; then
9799 case $host_os in
9800 aix*)
9801 # The AIX port of GNU ld has always aspired to compatibility
9802 # with the native linker. However, as the warning in the GNU ld
9803 # block says, versions before 2.19.5* couldn't really create working
9804 # shared libraries, regardless of the interface used.
9805 case `$LD -v 2>&1` in
9806 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9807 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9808 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9810 lt_use_gnu_ld_interface=yes
9812 esac
9815 lt_use_gnu_ld_interface=yes
9817 esac
9820 if test "$lt_use_gnu_ld_interface" = yes; then
9821 # If archive_cmds runs LD, not CC, wlarc should be empty
9822 wlarc='${wl}'
9824 # Set some defaults for GNU ld with shared library support. These
9825 # are reset later if shared libraries are not supported. Putting them
9826 # here allows them to be overridden if necessary.
9827 runpath_var=LD_RUN_PATH
9828 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9829 export_dynamic_flag_spec='${wl}--export-dynamic'
9830 # ancient GNU ld didn't support --whole-archive et. al.
9831 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9832 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9833 else
9834 whole_archive_flag_spec=
9836 supports_anon_versioning=no
9837 case `$LD -v 2>&1` in
9838 *GNU\ gold*) supports_anon_versioning=yes ;;
9839 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9840 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9841 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9842 *\ 2.11.*) ;; # other 2.11 versions
9843 *) supports_anon_versioning=yes ;;
9844 esac
9846 # See if GNU ld supports shared libraries.
9847 case $host_os in
9848 aix[3-9]*)
9849 # On AIX/PPC, the GNU linker is very broken
9850 if test "$host_cpu" != ia64; then
9851 ld_shlibs=no
9852 cat <<_LT_EOF 1>&2
9854 *** Warning: the GNU linker, at least up to release 2.19, is reported
9855 *** to be unable to reliably create shared libraries on AIX.
9856 *** Therefore, libtool is disabling shared libraries support. If you
9857 *** really care for shared libraries, you may want to install binutils
9858 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9859 *** You will then need to restart the configuration process.
9861 _LT_EOF
9865 amigaos*)
9866 case $host_cpu in
9867 powerpc)
9868 # see comment about AmigaOS4 .so support
9869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9870 archive_expsym_cmds=''
9872 m68k)
9873 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)'
9874 hardcode_libdir_flag_spec='-L$libdir'
9875 hardcode_minus_L=yes
9877 esac
9880 beos*)
9881 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9882 allow_undefined_flag=unsupported
9883 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9884 # support --undefined. This deserves some investigation. FIXME
9885 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9886 else
9887 ld_shlibs=no
9891 cygwin* | mingw* | pw32* | cegcc*)
9892 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9893 # as there is no search path for DLLs.
9894 hardcode_libdir_flag_spec='-L$libdir'
9895 export_dynamic_flag_spec='${wl}--export-all-symbols'
9896 allow_undefined_flag=unsupported
9897 always_export_symbols=no
9898 enable_shared_with_static_runtimes=yes
9899 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9901 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9903 # If the export-symbols file already is a .def file (1st line
9904 # is EXPORTS), use it as is; otherwise, prepend...
9905 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9906 cp $export_symbols $output_objdir/$soname.def;
9907 else
9908 echo EXPORTS > $output_objdir/$soname.def;
9909 cat $export_symbols >> $output_objdir/$soname.def;
9911 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9912 else
9913 ld_shlibs=no
9917 haiku*)
9918 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9919 link_all_deplibs=yes
9922 interix[3-9]*)
9923 hardcode_direct=no
9924 hardcode_shlibpath_var=no
9925 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9926 export_dynamic_flag_spec='${wl}-E'
9927 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9928 # Instead, shared libraries are loaded at an image base (0x10000000 by
9929 # default) and relocated if they conflict, which is a slow very memory
9930 # consuming and fragmenting process. To avoid this, we pick a random,
9931 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9932 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9933 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9934 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'
9937 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9938 tmp_diet=no
9939 if test "$host_os" = linux-dietlibc; then
9940 case $cc_basename in
9941 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9942 esac
9944 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9945 && test "$tmp_diet" = no
9946 then
9947 tmp_addflag=' $pic_flag'
9948 tmp_sharedflag='-shared'
9949 case $cc_basename,$host_cpu in
9950 pgcc*) # Portland Group C compiler
9951 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'
9952 tmp_addflag=' $pic_flag'
9954 pgf77* | pgf90* | pgf95* | pgfortran*)
9955 # Portland Group f77 and f90 compilers
9956 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'
9957 tmp_addflag=' $pic_flag -Mnomain' ;;
9958 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9959 tmp_addflag=' -i_dynamic' ;;
9960 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9961 tmp_addflag=' -i_dynamic -nofor_main' ;;
9962 ifc* | ifort*) # Intel Fortran compiler
9963 tmp_addflag=' -nofor_main' ;;
9964 lf95*) # Lahey Fortran 8.1
9965 whole_archive_flag_spec=
9966 tmp_sharedflag='--shared' ;;
9967 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9968 tmp_sharedflag='-qmkshrobj'
9969 tmp_addflag= ;;
9970 nvcc*) # Cuda Compiler Driver 2.2
9971 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'
9972 compiler_needs_object=yes
9974 esac
9975 case `$CC -V 2>&1 | sed 5q` in
9976 *Sun\ C*) # Sun C 5.9
9977 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'
9978 compiler_needs_object=yes
9979 tmp_sharedflag='-G' ;;
9980 *Sun\ F*) # Sun Fortran 8.3
9981 tmp_sharedflag='-G' ;;
9982 esac
9983 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9985 if test "x$supports_anon_versioning" = xyes; then
9986 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9987 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9988 echo "local: *; };" >> $output_objdir/$libname.ver~
9989 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9992 case $cc_basename in
9993 xlf* | bgf* | bgxlf* | mpixlf*)
9994 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9995 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9996 hardcode_libdir_flag_spec=
9997 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9998 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9999 if test "x$supports_anon_versioning" = xyes; then
10000 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10001 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10002 echo "local: *; };" >> $output_objdir/$libname.ver~
10003 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10006 esac
10007 else
10008 ld_shlibs=no
10012 netbsd*)
10013 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10014 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10015 wlarc=
10016 else
10017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10018 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10022 solaris*)
10023 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10024 ld_shlibs=no
10025 cat <<_LT_EOF 1>&2
10027 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10028 *** create shared libraries on Solaris systems. Therefore, libtool
10029 *** is disabling shared libraries support. We urge you to upgrade GNU
10030 *** binutils to release 2.9.1 or newer. Another option is to modify
10031 *** your PATH or compiler configuration so that the native linker is
10032 *** used, and then restart.
10034 _LT_EOF
10035 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10037 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10038 else
10039 ld_shlibs=no
10043 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10044 case `$LD -v 2>&1` in
10045 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10046 ld_shlibs=no
10047 cat <<_LT_EOF 1>&2
10049 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10050 *** reliably create shared libraries on SCO systems. Therefore, libtool
10051 *** is disabling shared libraries support. We urge you to upgrade GNU
10052 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10053 *** your PATH or compiler configuration so that the native linker is
10054 *** used, and then restart.
10056 _LT_EOF
10059 # For security reasons, it is highly recommended that you always
10060 # use absolute paths for naming shared libraries, and exclude the
10061 # DT_RUNPATH tag from executables and libraries. But doing so
10062 # requires that you compile everything twice, which is a pain.
10063 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10064 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10065 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10066 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10067 else
10068 ld_shlibs=no
10071 esac
10074 sunos4*)
10075 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10076 wlarc=
10077 hardcode_direct=yes
10078 hardcode_shlibpath_var=no
10082 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10083 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10085 else
10086 ld_shlibs=no
10089 esac
10091 if test "$ld_shlibs" = no; then
10092 runpath_var=
10093 hardcode_libdir_flag_spec=
10094 export_dynamic_flag_spec=
10095 whole_archive_flag_spec=
10097 else
10098 # PORTME fill in a description of your system's linker (not GNU ld)
10099 case $host_os in
10100 aix3*)
10101 allow_undefined_flag=unsupported
10102 always_export_symbols=yes
10103 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'
10104 # Note: this linker hardcodes the directories in LIBPATH if there
10105 # are no directories specified by -L.
10106 hardcode_minus_L=yes
10107 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10108 # Neither direct hardcoding nor static linking is supported with a
10109 # broken collect2.
10110 hardcode_direct=unsupported
10114 aix[4-9]*)
10115 if test "$host_cpu" = ia64; then
10116 # On IA64, the linker does run time linking by default, so we don't
10117 # have to do anything special.
10118 aix_use_runtimelinking=no
10119 exp_sym_flag='-Bexport'
10120 no_entry_flag=""
10121 else
10122 # If we're using GNU nm, then we don't want the "-C" option.
10123 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10124 # Also, AIX nm treats weak defined symbols like other global
10125 # defined symbols, whereas GNU nm marks them as "W".
10126 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10127 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'
10128 else
10129 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'
10131 aix_use_runtimelinking=no
10133 # Test if we are trying to use run time linking or normal
10134 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10135 # need to do runtime linking.
10136 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10137 for ld_flag in $LDFLAGS; do
10138 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10139 aix_use_runtimelinking=yes
10140 break
10142 done
10144 esac
10146 exp_sym_flag='-bexport'
10147 no_entry_flag='-bnoentry'
10150 # When large executables or shared objects are built, AIX ld can
10151 # have problems creating the table of contents. If linking a library
10152 # or program results in "error TOC overflow" add -mminimal-toc to
10153 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10154 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10156 archive_cmds=''
10157 hardcode_direct=yes
10158 hardcode_direct_absolute=yes
10159 hardcode_libdir_separator=':'
10160 link_all_deplibs=yes
10161 file_list_spec='${wl}-f,'
10163 if test "$GCC" = yes; then
10164 case $host_os in aix4.[012]|aix4.[012].*)
10165 # We only want to do this on AIX 4.2 and lower, the check
10166 # below for broken collect2 doesn't work under 4.3+
10167 collect2name=`${CC} -print-prog-name=collect2`
10168 if test -f "$collect2name" &&
10169 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10170 then
10171 # We have reworked collect2
10173 else
10174 # We have old collect2
10175 hardcode_direct=unsupported
10176 # It fails to find uninstalled libraries when the uninstalled
10177 # path is not listed in the libpath. Setting hardcode_minus_L
10178 # to unsupported forces relinking
10179 hardcode_minus_L=yes
10180 hardcode_libdir_flag_spec='-L$libdir'
10181 hardcode_libdir_separator=
10184 esac
10185 shared_flag='-shared'
10186 if test "$aix_use_runtimelinking" = yes; then
10187 shared_flag="$shared_flag "'${wl}-G'
10189 else
10190 # not using gcc
10191 if test "$host_cpu" = ia64; then
10192 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10193 # chokes on -Wl,-G. The following line is correct:
10194 shared_flag='-G'
10195 else
10196 if test "$aix_use_runtimelinking" = yes; then
10197 shared_flag='${wl}-G'
10198 else
10199 shared_flag='${wl}-bM:SRE'
10204 export_dynamic_flag_spec='${wl}-bexpall'
10205 # It seems that -bexpall does not export symbols beginning with
10206 # underscore (_), so it is better to generate a list of symbols to export.
10207 always_export_symbols=yes
10208 if test "$aix_use_runtimelinking" = yes; then
10209 # Warning - without using the other runtime loading flags (-brtl),
10210 # -berok will link without error, but may produce a broken library.
10211 allow_undefined_flag='-berok'
10212 # Determine the default libpath from the value encoded in an
10213 # empty executable.
10214 if test x$gcc_no_link = xyes; then
10215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10221 main ()
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10230 lt_aix_libpath_sed='
10231 /Import File Strings/,/^$/ {
10232 /^0/ {
10233 s/^0 *\(.*\)$/\1/
10237 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238 # Check for a 64-bit object if we didn't find anything.
10239 if test -z "$aix_libpath"; then
10240 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10247 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10248 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"
10249 else
10250 if test "$host_cpu" = ia64; then
10251 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10252 allow_undefined_flag="-z nodefs"
10253 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"
10254 else
10255 # Determine the default libpath from the value encoded in an
10256 # empty executable.
10257 if test x$gcc_no_link = xyes; then
10258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10264 main ()
10268 return 0;
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"; then :
10273 lt_aix_libpath_sed='
10274 /Import File Strings/,/^$/ {
10275 /^0/ {
10276 s/^0 *\(.*\)$/\1/
10280 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10281 # Check for a 64-bit object if we didn't find anything.
10282 if test -z "$aix_libpath"; then
10283 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10290 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10291 # Warning - without using the other run time loading flags,
10292 # -berok will link without error, but may produce a broken library.
10293 no_undefined_flag=' ${wl}-bernotok'
10294 allow_undefined_flag=' ${wl}-berok'
10295 if test "$with_gnu_ld" = yes; then
10296 # We only use this code for GNU lds that support --whole-archive.
10297 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10298 else
10299 # Exported symbols can be pulled into shared objects from archives
10300 whole_archive_flag_spec='$convenience'
10302 archive_cmds_need_lc=yes
10303 # This is similar to how AIX traditionally builds its shared libraries.
10304 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'
10309 amigaos*)
10310 case $host_cpu in
10311 powerpc)
10312 # see comment about AmigaOS4 .so support
10313 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10314 archive_expsym_cmds=''
10316 m68k)
10317 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)'
10318 hardcode_libdir_flag_spec='-L$libdir'
10319 hardcode_minus_L=yes
10321 esac
10324 bsdi[45]*)
10325 export_dynamic_flag_spec=-rdynamic
10328 cygwin* | mingw* | pw32* | cegcc*)
10329 # When not using gcc, we currently assume that we are using
10330 # Microsoft Visual C++.
10331 # hardcode_libdir_flag_spec is actually meaningless, as there is
10332 # no search path for DLLs.
10333 hardcode_libdir_flag_spec=' '
10334 allow_undefined_flag=unsupported
10335 # Tell ltmain to make .lib files, not .a files.
10336 libext=lib
10337 # Tell ltmain to make .dll files, not .so files.
10338 shrext_cmds=".dll"
10339 # FIXME: Setting linknames here is a bad hack.
10340 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10341 # The linker will automatically build a .lib file if we build a DLL.
10342 old_archive_from_new_cmds='true'
10343 # FIXME: Should let the user specify the lib program.
10344 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10345 fix_srcfile_path='`cygpath -w "$srcfile"`'
10346 enable_shared_with_static_runtimes=yes
10349 darwin* | rhapsody*)
10352 archive_cmds_need_lc=no
10353 hardcode_direct=no
10354 hardcode_automatic=yes
10355 hardcode_shlibpath_var=unsupported
10356 if test "$lt_cv_ld_force_load" = "yes"; then
10357 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\"`'
10358 else
10359 whole_archive_flag_spec=''
10361 link_all_deplibs=yes
10362 allow_undefined_flag="$_lt_dar_allow_undefined"
10363 case $cc_basename in
10364 ifort*) _lt_dar_can_shared=yes ;;
10365 *) _lt_dar_can_shared=$GCC ;;
10366 esac
10367 if test "$_lt_dar_can_shared" = "yes"; then
10368 output_verbose_link_cmd=func_echo_all
10369 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10370 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10371 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}"
10372 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}"
10374 else
10375 ld_shlibs=no
10380 dgux*)
10381 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10382 hardcode_libdir_flag_spec='-L$libdir'
10383 hardcode_shlibpath_var=no
10386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10387 # support. Future versions do this automatically, but an explicit c++rt0.o
10388 # does not break anything, and helps significantly (at the cost of a little
10389 # extra space).
10390 freebsd2.2*)
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10392 hardcode_libdir_flag_spec='-R$libdir'
10393 hardcode_direct=yes
10394 hardcode_shlibpath_var=no
10397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10398 freebsd2.*)
10399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_direct=yes
10401 hardcode_minus_L=yes
10402 hardcode_shlibpath_var=no
10405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10406 freebsd* | dragonfly*)
10407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10408 hardcode_libdir_flag_spec='-R$libdir'
10409 hardcode_direct=yes
10410 hardcode_shlibpath_var=no
10413 hpux9*)
10414 if test "$GCC" = yes; then
10415 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'
10416 else
10417 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'
10419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10420 hardcode_libdir_separator=:
10421 hardcode_direct=yes
10423 # hardcode_minus_L: Not really in the search PATH,
10424 # but as the default location of the library.
10425 hardcode_minus_L=yes
10426 export_dynamic_flag_spec='${wl}-E'
10429 hpux10*)
10430 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10432 else
10433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10435 if test "$with_gnu_ld" = no; then
10436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10437 hardcode_libdir_flag_spec_ld='+b $libdir'
10438 hardcode_libdir_separator=:
10439 hardcode_direct=yes
10440 hardcode_direct_absolute=yes
10441 export_dynamic_flag_spec='${wl}-E'
10442 # hardcode_minus_L: Not really in the search PATH,
10443 # but as the default location of the library.
10444 hardcode_minus_L=yes
10448 hpux11*)
10449 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10450 case $host_cpu in
10451 hppa*64*)
10452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10454 ia64*)
10455 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10460 esac
10461 else
10462 case $host_cpu in
10463 hppa*64*)
10464 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10466 ia64*)
10467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10471 # Older versions of the 11.00 compiler do not understand -b yet
10472 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10474 $as_echo_n "checking if $CC understands -b... " >&6; }
10475 if ${lt_cv_prog_compiler__b+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 lt_cv_prog_compiler__b=no
10479 save_LDFLAGS="$LDFLAGS"
10480 LDFLAGS="$LDFLAGS -b"
10481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10483 # The linker can only warn and ignore the option if not recognized
10484 # So say no if there are warnings
10485 if test -s conftest.err; then
10486 # Append any errors to the config.log.
10487 cat conftest.err 1>&5
10488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10490 if diff conftest.exp conftest.er2 >/dev/null; then
10491 lt_cv_prog_compiler__b=yes
10493 else
10494 lt_cv_prog_compiler__b=yes
10497 $RM -r conftest*
10498 LDFLAGS="$save_LDFLAGS"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10502 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10504 if test x"$lt_cv_prog_compiler__b" = xyes; then
10505 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10506 else
10507 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10511 esac
10513 if test "$with_gnu_ld" = no; then
10514 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10515 hardcode_libdir_separator=:
10517 case $host_cpu in
10518 hppa*64*|ia64*)
10519 hardcode_direct=no
10520 hardcode_shlibpath_var=no
10523 hardcode_direct=yes
10524 hardcode_direct_absolute=yes
10525 export_dynamic_flag_spec='${wl}-E'
10527 # hardcode_minus_L: Not really in the search PATH,
10528 # but as the default location of the library.
10529 hardcode_minus_L=yes
10531 esac
10535 irix5* | irix6* | nonstopux*)
10536 if test "$GCC" = yes; then
10537 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'
10538 # Try to use the -exported_symbol ld option, if it does not
10539 # work, assume that -exports_file does not work either and
10540 # implicitly export all symbols.
10541 save_LDFLAGS="$LDFLAGS"
10542 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10543 if test x$gcc_no_link = xyes; then
10544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10548 int foo(void) {}
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 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'
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LDFLAGS="$save_LDFLAGS"
10557 else
10558 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'
10559 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'
10561 archive_cmds_need_lc='no'
10562 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10563 hardcode_libdir_separator=:
10564 inherit_rpath=yes
10565 link_all_deplibs=yes
10568 netbsd*)
10569 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10571 else
10572 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10574 hardcode_libdir_flag_spec='-R$libdir'
10575 hardcode_direct=yes
10576 hardcode_shlibpath_var=no
10579 newsos6)
10580 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581 hardcode_direct=yes
10582 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10583 hardcode_libdir_separator=:
10584 hardcode_shlibpath_var=no
10587 *nto* | *qnx*)
10590 openbsd*)
10591 if test -f /usr/libexec/ld.so; then
10592 hardcode_direct=yes
10593 hardcode_shlibpath_var=no
10594 hardcode_direct_absolute=yes
10595 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10596 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10597 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10598 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10599 export_dynamic_flag_spec='${wl}-E'
10600 else
10601 case $host_os in
10602 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10603 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10604 hardcode_libdir_flag_spec='-R$libdir'
10607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10608 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10610 esac
10612 else
10613 ld_shlibs=no
10617 os2*)
10618 hardcode_libdir_flag_spec='-L$libdir'
10619 hardcode_minus_L=yes
10620 allow_undefined_flag=unsupported
10621 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'
10622 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10625 osf3*)
10626 if test "$GCC" = yes; then
10627 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10628 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'
10629 else
10630 allow_undefined_flag=' -expect_unresolved \*'
10631 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'
10633 archive_cmds_need_lc='no'
10634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635 hardcode_libdir_separator=:
10638 osf4* | osf5*) # as osf3* with the addition of -msym flag
10639 if test "$GCC" = yes; then
10640 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10641 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'
10642 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10643 else
10644 allow_undefined_flag=' -expect_unresolved \*'
10645 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'
10646 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~
10647 $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'
10649 # Both c and cxx compiler support -rpath directly
10650 hardcode_libdir_flag_spec='-rpath $libdir'
10652 archive_cmds_need_lc='no'
10653 hardcode_libdir_separator=:
10656 solaris*)
10657 no_undefined_flag=' -z defs'
10658 if test "$GCC" = yes; then
10659 wlarc='${wl}'
10660 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10661 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10662 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10663 else
10664 case `$CC -V 2>&1` in
10665 *"Compilers 5.0"*)
10666 wlarc=''
10667 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10668 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10669 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10672 wlarc='${wl}'
10673 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10674 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10675 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10677 esac
10679 hardcode_libdir_flag_spec='-R$libdir'
10680 hardcode_shlibpath_var=no
10681 case $host_os in
10682 solaris2.[0-5] | solaris2.[0-5].*) ;;
10684 # The compiler driver will combine and reorder linker options,
10685 # but understands `-z linker_flag'. GCC discards it without `$wl',
10686 # but is careful enough not to reorder.
10687 # Supported since Solaris 2.6 (maybe 2.5.1?)
10688 if test "$GCC" = yes; then
10689 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10690 else
10691 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10694 esac
10695 link_all_deplibs=yes
10698 sunos4*)
10699 if test "x$host_vendor" = xsequent; then
10700 # Use $CC to link under sequent, because it throws in some extra .o
10701 # files that make .init and .fini sections work.
10702 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10703 else
10704 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10706 hardcode_libdir_flag_spec='-L$libdir'
10707 hardcode_direct=yes
10708 hardcode_minus_L=yes
10709 hardcode_shlibpath_var=no
10712 sysv4)
10713 case $host_vendor in
10714 sni)
10715 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10716 hardcode_direct=yes # is this really true???
10718 siemens)
10719 ## LD is ld it makes a PLAMLIB
10720 ## CC just makes a GrossModule.
10721 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10722 reload_cmds='$CC -r -o $output$reload_objs'
10723 hardcode_direct=no
10725 motorola)
10726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10727 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10729 esac
10730 runpath_var='LD_RUN_PATH'
10731 hardcode_shlibpath_var=no
10734 sysv4.3*)
10735 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10736 hardcode_shlibpath_var=no
10737 export_dynamic_flag_spec='-Bexport'
10740 sysv4*MP*)
10741 if test -d /usr/nec; then
10742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743 hardcode_shlibpath_var=no
10744 runpath_var=LD_RUN_PATH
10745 hardcode_runpath_var=yes
10746 ld_shlibs=yes
10750 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10751 no_undefined_flag='${wl}-z,text'
10752 archive_cmds_need_lc=no
10753 hardcode_shlibpath_var=no
10754 runpath_var='LD_RUN_PATH'
10756 if test "$GCC" = yes; then
10757 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10758 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759 else
10760 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10761 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10765 sysv5* | sco3.2v5* | sco5v6*)
10766 # Note: We can NOT use -z defs as we might desire, because we do not
10767 # link with -lc, and that would cause any symbols used from libc to
10768 # always be unresolved, which means just about no library would
10769 # ever link correctly. If we're not using GNU ld we use -z text
10770 # though, which does catch some bad symbols but isn't as heavy-handed
10771 # as -z defs.
10772 no_undefined_flag='${wl}-z,text'
10773 allow_undefined_flag='${wl}-z,nodefs'
10774 archive_cmds_need_lc=no
10775 hardcode_shlibpath_var=no
10776 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10777 hardcode_libdir_separator=':'
10778 link_all_deplibs=yes
10779 export_dynamic_flag_spec='${wl}-Bexport'
10780 runpath_var='LD_RUN_PATH'
10782 if test "$GCC" = yes; then
10783 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 else
10786 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10791 uts4*)
10792 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10793 hardcode_libdir_flag_spec='-L$libdir'
10794 hardcode_shlibpath_var=no
10798 ld_shlibs=no
10800 esac
10802 if test x$host_vendor = xsni; then
10803 case $host in
10804 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10805 export_dynamic_flag_spec='${wl}-Blargedynsym'
10807 esac
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10812 $as_echo "$ld_shlibs" >&6; }
10813 test "$ld_shlibs" = no && can_build_shared=no
10815 with_gnu_ld=$with_gnu_ld
10832 # Do we need to explicitly link libc?
10834 case "x$archive_cmds_need_lc" in
10835 x|xyes)
10836 # Assume -lc should be added
10837 archive_cmds_need_lc=yes
10839 if test "$enable_shared" = yes && test "$GCC" = yes; then
10840 case $archive_cmds in
10841 *'~'*)
10842 # FIXME: we may have to deal with multi-command sequences.
10844 '$CC '*)
10845 # Test whether the compiler implicitly links with -lc since on some
10846 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10847 # to ld, don't add -lc before -lgcc.
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10849 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10850 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10851 $as_echo_n "(cached) " >&6
10852 else
10853 $RM conftest*
10854 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10857 (eval $ac_compile) 2>&5
10858 ac_status=$?
10859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10860 test $ac_status = 0; } 2>conftest.err; then
10861 soname=conftest
10862 lib=conftest
10863 libobjs=conftest.$ac_objext
10864 deplibs=
10865 wl=$lt_prog_compiler_wl
10866 pic_flag=$lt_prog_compiler_pic
10867 compiler_flags=-v
10868 linker_flags=-v
10869 verstring=
10870 output_objdir=.
10871 libname=conftest
10872 lt_save_allow_undefined_flag=$allow_undefined_flag
10873 allow_undefined_flag=
10874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10875 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10876 ac_status=$?
10877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10878 test $ac_status = 0; }
10879 then
10880 lt_cv_archive_cmds_need_lc=no
10881 else
10882 lt_cv_archive_cmds_need_lc=yes
10884 allow_undefined_flag=$lt_save_allow_undefined_flag
10885 else
10886 cat conftest.err 1>&5
10888 $RM conftest*
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10892 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10893 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10895 esac
10898 esac
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11057 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11059 if test "$GCC" = yes; then
11060 case $host_os in
11061 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11062 *) lt_awk_arg="/^libraries:/" ;;
11063 esac
11064 case $host_os in
11065 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11066 *) lt_sed_strip_eq="s,=/,/,g" ;;
11067 esac
11068 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11069 case $lt_search_path_spec in
11070 *\;*)
11071 # if the path contains ";" then we assume it to be the separator
11072 # otherwise default to the standard path separator (i.e. ":") - it is
11073 # assumed that no part of a normal pathname contains ";" but that should
11074 # okay in the real world where ";" in dirpaths is itself problematic.
11075 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11078 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11080 esac
11081 # Ok, now we have the path, separated by spaces, we can step through it
11082 # and add multilib dir if necessary.
11083 lt_tmp_lt_search_path_spec=
11084 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11085 for lt_sys_path in $lt_search_path_spec; do
11086 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11087 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11088 else
11089 test -d "$lt_sys_path" && \
11090 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11092 done
11093 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11094 BEGIN {RS=" "; FS="/|\n";} {
11095 lt_foo="";
11096 lt_count=0;
11097 for (lt_i = NF; lt_i > 0; lt_i--) {
11098 if ($lt_i != "" && $lt_i != ".") {
11099 if ($lt_i == "..") {
11100 lt_count++;
11101 } else {
11102 if (lt_count == 0) {
11103 lt_foo="/" $lt_i lt_foo;
11104 } else {
11105 lt_count--;
11110 if (lt_foo != "") { lt_freq[lt_foo]++; }
11111 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11113 # AWK program above erroneously prepends '/' to C:/dos/paths
11114 # for these hosts.
11115 case $host_os in
11116 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11117 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11118 esac
11119 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11120 else
11121 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11123 library_names_spec=
11124 libname_spec='lib$name'
11125 soname_spec=
11126 shrext_cmds=".so"
11127 postinstall_cmds=
11128 postuninstall_cmds=
11129 finish_cmds=
11130 finish_eval=
11131 shlibpath_var=
11132 shlibpath_overrides_runpath=unknown
11133 version_type=none
11134 dynamic_linker="$host_os ld.so"
11135 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11136 need_lib_prefix=unknown
11137 hardcode_into_libs=no
11139 # when you set need_version to no, make sure it does not cause -set_version
11140 # flags to be left without arguments
11141 need_version=unknown
11143 case $host_os in
11144 aix3*)
11145 version_type=linux
11146 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11147 shlibpath_var=LIBPATH
11149 # AIX 3 has no versioning support, so we append a major version to the name.
11150 soname_spec='${libname}${release}${shared_ext}$major'
11153 aix[4-9]*)
11154 version_type=linux
11155 need_lib_prefix=no
11156 need_version=no
11157 hardcode_into_libs=yes
11158 if test "$host_cpu" = ia64; then
11159 # AIX 5 supports IA64
11160 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11161 shlibpath_var=LD_LIBRARY_PATH
11162 else
11163 # With GCC up to 2.95.x, collect2 would create an import file
11164 # for dependence libraries. The import file would start with
11165 # the line `#! .'. This would cause the generated library to
11166 # depend on `.', always an invalid library. This was fixed in
11167 # development snapshots of GCC prior to 3.0.
11168 case $host_os in
11169 aix4 | aix4.[01] | aix4.[01].*)
11170 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11171 echo ' yes '
11172 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11174 else
11175 can_build_shared=no
11178 esac
11179 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11180 # soname into executable. Probably we can add versioning support to
11181 # collect2, so additional links can be useful in future.
11182 if test "$aix_use_runtimelinking" = yes; then
11183 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11184 # instead of lib<name>.a to let people know that these are not
11185 # typical AIX shared libraries.
11186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11187 else
11188 # We preserve .a as extension for shared libraries through AIX4.2
11189 # and later when we are not doing run time linking.
11190 library_names_spec='${libname}${release}.a $libname.a'
11191 soname_spec='${libname}${release}${shared_ext}$major'
11193 shlibpath_var=LIBPATH
11197 amigaos*)
11198 case $host_cpu in
11199 powerpc)
11200 # Since July 2007 AmigaOS4 officially supports .so libraries.
11201 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11204 m68k)
11205 library_names_spec='$libname.ixlibrary $libname.a'
11206 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11207 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'
11209 esac
11212 beos*)
11213 library_names_spec='${libname}${shared_ext}'
11214 dynamic_linker="$host_os ld.so"
11215 shlibpath_var=LIBRARY_PATH
11218 bsdi[45]*)
11219 version_type=linux
11220 need_version=no
11221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222 soname_spec='${libname}${release}${shared_ext}$major'
11223 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11224 shlibpath_var=LD_LIBRARY_PATH
11225 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11226 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11227 # the default ld.so.conf also contains /usr/contrib/lib and
11228 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11229 # libtool to hard-code these into programs
11232 cygwin* | mingw* | pw32* | cegcc*)
11233 version_type=windows
11234 shrext_cmds=".dll"
11235 need_version=no
11236 need_lib_prefix=no
11238 case $GCC,$host_os in
11239 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11240 library_names_spec='$libname.dll.a'
11241 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11242 postinstall_cmds='base_file=`basename \${file}`~
11243 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11244 dldir=$destdir/`dirname \$dlpath`~
11245 test -d \$dldir || mkdir -p \$dldir~
11246 $install_prog $dir/$dlname \$dldir/$dlname~
11247 chmod a+x \$dldir/$dlname~
11248 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11249 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11251 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11252 dlpath=$dir/\$dldll~
11253 $RM \$dlpath'
11254 shlibpath_overrides_runpath=yes
11256 case $host_os in
11257 cygwin*)
11258 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11259 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11261 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11263 mingw* | cegcc*)
11264 # MinGW DLLs use traditional 'lib' prefix
11265 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11267 pw32*)
11268 # pw32 DLLs use 'pw' prefix rather than 'lib'
11269 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11271 esac
11275 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11277 esac
11278 dynamic_linker='Win32 ld.exe'
11279 # FIXME: first we should search . and the directory the executable is in
11280 shlibpath_var=PATH
11283 darwin* | rhapsody*)
11284 dynamic_linker="$host_os dyld"
11285 version_type=darwin
11286 need_lib_prefix=no
11287 need_version=no
11288 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11289 soname_spec='${libname}${release}${major}$shared_ext'
11290 shlibpath_overrides_runpath=yes
11291 shlibpath_var=DYLD_LIBRARY_PATH
11292 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11294 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11295 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11298 dgux*)
11299 version_type=linux
11300 need_lib_prefix=no
11301 need_version=no
11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11303 soname_spec='${libname}${release}${shared_ext}$major'
11304 shlibpath_var=LD_LIBRARY_PATH
11307 freebsd* | dragonfly*)
11308 # DragonFly does not have aout. When/if they implement a new
11309 # versioning mechanism, adjust this.
11310 if test -x /usr/bin/objformat; then
11311 objformat=`/usr/bin/objformat`
11312 else
11313 case $host_os in
11314 freebsd[23].*) objformat=aout ;;
11315 *) objformat=elf ;;
11316 esac
11318 version_type=freebsd-$objformat
11319 case $version_type in
11320 freebsd-elf*)
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11322 need_version=no
11323 need_lib_prefix=no
11325 freebsd-*)
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11327 need_version=yes
11329 esac
11330 shlibpath_var=LD_LIBRARY_PATH
11331 case $host_os in
11332 freebsd2.*)
11333 shlibpath_overrides_runpath=yes
11335 freebsd3.[01]* | freebsdelf3.[01]*)
11336 shlibpath_overrides_runpath=yes
11337 hardcode_into_libs=yes
11339 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11340 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11341 shlibpath_overrides_runpath=no
11342 hardcode_into_libs=yes
11344 *) # from 4.6 on, and DragonFly
11345 shlibpath_overrides_runpath=yes
11346 hardcode_into_libs=yes
11348 esac
11351 haiku*)
11352 version_type=linux
11353 need_lib_prefix=no
11354 need_version=no
11355 dynamic_linker="$host_os runtime_loader"
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 shlibpath_var=LIBRARY_PATH
11359 shlibpath_overrides_runpath=yes
11360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11361 hardcode_into_libs=yes
11364 hpux9* | hpux10* | hpux11*)
11365 # Give a soname corresponding to the major version so that dld.sl refuses to
11366 # link against other versions.
11367 version_type=sunos
11368 need_lib_prefix=no
11369 need_version=no
11370 case $host_cpu in
11371 ia64*)
11372 shrext_cmds='.so'
11373 hardcode_into_libs=yes
11374 dynamic_linker="$host_os dld.so"
11375 shlibpath_var=LD_LIBRARY_PATH
11376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11378 soname_spec='${libname}${release}${shared_ext}$major'
11379 if test "X$HPUX_IA64_MODE" = X32; then
11380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11381 else
11382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11386 hppa*64*)
11387 shrext_cmds='.sl'
11388 hardcode_into_libs=yes
11389 dynamic_linker="$host_os dld.sl"
11390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11398 shrext_cmds='.sl'
11399 dynamic_linker="$host_os dld.sl"
11400 shlibpath_var=SHLIB_PATH
11401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403 soname_spec='${libname}${release}${shared_ext}$major'
11405 esac
11406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11407 postinstall_cmds='chmod 555 $lib'
11408 # or fails outright, so override atomically:
11409 install_override_mode=555
11412 interix[3-9]*)
11413 version_type=linux
11414 need_lib_prefix=no
11415 need_version=no
11416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11417 soname_spec='${libname}${release}${shared_ext}$major'
11418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11419 shlibpath_var=LD_LIBRARY_PATH
11420 shlibpath_overrides_runpath=no
11421 hardcode_into_libs=yes
11424 irix5* | irix6* | nonstopux*)
11425 case $host_os in
11426 nonstopux*) version_type=nonstopux ;;
11428 if test "$lt_cv_prog_gnu_ld" = yes; then
11429 version_type=linux
11430 else
11431 version_type=irix
11432 fi ;;
11433 esac
11434 need_lib_prefix=no
11435 need_version=no
11436 soname_spec='${libname}${release}${shared_ext}$major'
11437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11438 case $host_os in
11439 irix5* | nonstopux*)
11440 libsuff= shlibsuff=
11443 case $LD in # libtool.m4 will add one of these switches to LD
11444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11445 libsuff= shlibsuff= libmagic=32-bit;;
11446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11447 libsuff=32 shlibsuff=N32 libmagic=N32;;
11448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11450 *) libsuff= shlibsuff= libmagic=never-match;;
11451 esac
11453 esac
11454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11455 shlibpath_overrides_runpath=no
11456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11458 hardcode_into_libs=yes
11461 # No shared lib support for Linux oldld, aout, or coff.
11462 linux*oldld* | linux*aout* | linux*coff*)
11463 dynamic_linker=no
11466 # This must be Linux ELF.
11468 # uclinux* changes (here and below) have been submitted to the libtool
11469 # project, but have not yet been accepted: they are GCC-local changes
11470 # for the time being. (See
11471 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11472 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11473 version_type=linux
11474 need_lib_prefix=no
11475 need_version=no
11476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec='${libname}${release}${shared_ext}$major'
11478 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11479 shlibpath_var=LD_LIBRARY_PATH
11480 shlibpath_overrides_runpath=no
11482 # Some binutils ld are patched to set DT_RUNPATH
11483 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11484 $as_echo_n "(cached) " >&6
11485 else
11486 lt_cv_shlibpath_overrides_runpath=no
11487 save_LDFLAGS=$LDFLAGS
11488 save_libdir=$libdir
11489 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11490 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11491 if test x$gcc_no_link = xyes; then
11492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11498 main ()
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11507 lt_cv_shlibpath_overrides_runpath=yes
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LDFLAGS=$save_LDFLAGS
11513 libdir=$save_libdir
11517 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11519 # This implies no fast_install, which is unacceptable.
11520 # Some rework will be needed to allow for fast_install
11521 # before this can be enabled.
11522 hardcode_into_libs=yes
11524 # Append ld.so.conf contents to the search path
11525 if test -f /etc/ld.so.conf; then
11526 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' ' '`
11527 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11530 # We used to test for /lib/ld.so.1 and disable shared libraries on
11531 # powerpc, because MkLinux only supported shared libraries with the
11532 # GNU dynamic linker. Since this was broken with cross compilers,
11533 # most powerpc-linux boxes support dynamic linking these days and
11534 # people can always --disable-shared, the test was removed, and we
11535 # assume the GNU/Linux dynamic linker is in use.
11536 dynamic_linker='GNU/Linux ld.so'
11539 netbsd*)
11540 version_type=sunos
11541 need_lib_prefix=no
11542 need_version=no
11543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11545 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11546 dynamic_linker='NetBSD (a.out) ld.so'
11547 else
11548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11549 soname_spec='${libname}${release}${shared_ext}$major'
11550 dynamic_linker='NetBSD ld.elf_so'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11554 hardcode_into_libs=yes
11557 newsos6)
11558 version_type=linux
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 shlibpath_var=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath=yes
11564 *nto* | *qnx*)
11565 version_type=qnx
11566 need_lib_prefix=no
11567 need_version=no
11568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569 soname_spec='${libname}${release}${shared_ext}$major'
11570 shlibpath_var=LD_LIBRARY_PATH
11571 shlibpath_overrides_runpath=no
11572 hardcode_into_libs=yes
11573 dynamic_linker='ldqnx.so'
11576 openbsd*)
11577 version_type=sunos
11578 sys_lib_dlsearch_path_spec="/usr/lib"
11579 need_lib_prefix=no
11580 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11581 case $host_os in
11582 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11583 *) need_version=no ;;
11584 esac
11585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11586 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11587 shlibpath_var=LD_LIBRARY_PATH
11588 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11589 case $host_os in
11590 openbsd2.[89] | openbsd2.[89].*)
11591 shlibpath_overrides_runpath=no
11594 shlibpath_overrides_runpath=yes
11596 esac
11597 else
11598 shlibpath_overrides_runpath=yes
11602 os2*)
11603 libname_spec='$name'
11604 shrext_cmds=".dll"
11605 need_lib_prefix=no
11606 library_names_spec='$libname${shared_ext} $libname.a'
11607 dynamic_linker='OS/2 ld.exe'
11608 shlibpath_var=LIBPATH
11611 osf3* | osf4* | osf5*)
11612 version_type=osf
11613 need_lib_prefix=no
11614 need_version=no
11615 soname_spec='${libname}${release}${shared_ext}$major'
11616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11617 shlibpath_var=LD_LIBRARY_PATH
11618 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11619 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11622 rdos*)
11623 dynamic_linker=no
11626 solaris*)
11627 version_type=linux
11628 need_lib_prefix=no
11629 need_version=no
11630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 soname_spec='${libname}${release}${shared_ext}$major'
11632 shlibpath_var=LD_LIBRARY_PATH
11633 shlibpath_overrides_runpath=yes
11634 hardcode_into_libs=yes
11635 # ldd complains unless libraries are executable
11636 postinstall_cmds='chmod +x $lib'
11639 sunos4*)
11640 version_type=sunos
11641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11642 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11643 shlibpath_var=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath=yes
11645 if test "$with_gnu_ld" = yes; then
11646 need_lib_prefix=no
11648 need_version=yes
11651 sysv4 | sysv4.3*)
11652 version_type=linux
11653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11654 soname_spec='${libname}${release}${shared_ext}$major'
11655 shlibpath_var=LD_LIBRARY_PATH
11656 case $host_vendor in
11657 sni)
11658 shlibpath_overrides_runpath=no
11659 need_lib_prefix=no
11660 runpath_var=LD_RUN_PATH
11662 siemens)
11663 need_lib_prefix=no
11665 motorola)
11666 need_lib_prefix=no
11667 need_version=no
11668 shlibpath_overrides_runpath=no
11669 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11671 esac
11674 sysv4*MP*)
11675 if test -d /usr/nec ;then
11676 version_type=linux
11677 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11678 soname_spec='$libname${shared_ext}.$major'
11679 shlibpath_var=LD_LIBRARY_PATH
11683 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11684 version_type=freebsd-elf
11685 need_lib_prefix=no
11686 need_version=no
11687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11688 soname_spec='${libname}${release}${shared_ext}$major'
11689 shlibpath_var=LD_LIBRARY_PATH
11690 shlibpath_overrides_runpath=yes
11691 hardcode_into_libs=yes
11692 if test "$with_gnu_ld" = yes; then
11693 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11694 else
11695 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11696 case $host_os in
11697 sco3.2v5*)
11698 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11700 esac
11702 sys_lib_dlsearch_path_spec='/usr/lib'
11705 tpf*)
11706 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11707 version_type=linux
11708 need_lib_prefix=no
11709 need_version=no
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 shlibpath_var=LD_LIBRARY_PATH
11712 shlibpath_overrides_runpath=no
11713 hardcode_into_libs=yes
11716 uts4*)
11717 version_type=linux
11718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11719 soname_spec='${libname}${release}${shared_ext}$major'
11720 shlibpath_var=LD_LIBRARY_PATH
11724 dynamic_linker=no
11726 esac
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11728 $as_echo "$dynamic_linker" >&6; }
11729 test "$dynamic_linker" = no && can_build_shared=no
11731 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11732 if test "$GCC" = yes; then
11733 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11736 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11737 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11739 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11740 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11835 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11836 hardcode_action=
11837 if test -n "$hardcode_libdir_flag_spec" ||
11838 test -n "$runpath_var" ||
11839 test "X$hardcode_automatic" = "Xyes" ; then
11841 # We can hardcode non-existent directories.
11842 if test "$hardcode_direct" != no &&
11843 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11844 # have to relink, otherwise we might link with an installed library
11845 # when we should be linking with a yet-to-be-installed one
11846 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11847 test "$hardcode_minus_L" != no; then
11848 # Linking always hardcodes the temporary library directory.
11849 hardcode_action=relink
11850 else
11851 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11852 hardcode_action=immediate
11854 else
11855 # We cannot hardcode anything, or else we can only hardcode existing
11856 # directories.
11857 hardcode_action=unsupported
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11860 $as_echo "$hardcode_action" >&6; }
11862 if test "$hardcode_action" = relink ||
11863 test "$inherit_rpath" = yes; then
11864 # Fast installation is not supported
11865 enable_fast_install=no
11866 elif test "$shlibpath_overrides_runpath" = yes ||
11867 test "$enable_shared" = no; then
11868 # Fast installation is not necessary
11869 enable_fast_install=needless
11877 if test "x$enable_dlopen" != xyes; then
11878 enable_dlopen=unknown
11879 enable_dlopen_self=unknown
11880 enable_dlopen_self_static=unknown
11881 else
11882 lt_cv_dlopen=no
11883 lt_cv_dlopen_libs=
11885 case $host_os in
11886 beos*)
11887 lt_cv_dlopen="load_add_on"
11888 lt_cv_dlopen_libs=
11889 lt_cv_dlopen_self=yes
11892 mingw* | pw32* | cegcc*)
11893 lt_cv_dlopen="LoadLibrary"
11894 lt_cv_dlopen_libs=
11897 cygwin*)
11898 lt_cv_dlopen="dlopen"
11899 lt_cv_dlopen_libs=
11902 darwin*)
11903 # if libdl is installed we need to link against it
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11905 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11906 if ${ac_cv_lib_dl_dlopen+:} false; then :
11907 $as_echo_n "(cached) " >&6
11908 else
11909 ac_check_lib_save_LIBS=$LIBS
11910 LIBS="-ldl $LIBS"
11911 if test x$gcc_no_link = xyes; then
11912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 char dlopen ();
11925 main ()
11927 return dlopen ();
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 ac_cv_lib_dl_dlopen=yes
11934 else
11935 ac_cv_lib_dl_dlopen=no
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_lib_save_LIBS
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11943 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11944 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11945 else
11947 lt_cv_dlopen="dyld"
11948 lt_cv_dlopen_libs=
11949 lt_cv_dlopen_self=yes
11956 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11957 if test "x$ac_cv_func_shl_load" = xyes; then :
11958 lt_cv_dlopen="shl_load"
11959 else
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11961 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11962 if ${ac_cv_lib_dld_shl_load+:} false; then :
11963 $as_echo_n "(cached) " >&6
11964 else
11965 ac_check_lib_save_LIBS=$LIBS
11966 LIBS="-ldld $LIBS"
11967 if test x$gcc_no_link = xyes; then
11968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char shl_load ();
11981 main ()
11983 return shl_load ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 ac_cv_lib_dld_shl_load=yes
11990 else
11991 ac_cv_lib_dld_shl_load=no
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11998 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11999 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12000 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12001 else
12002 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12003 if test "x$ac_cv_func_dlopen" = xyes; then :
12004 lt_cv_dlopen="dlopen"
12005 else
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12007 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12008 if ${ac_cv_lib_dl_dlopen+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-ldl $LIBS"
12013 if test x$gcc_no_link = xyes; then
12014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char dlopen ();
12027 main ()
12029 return dlopen ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 ac_cv_lib_dl_dlopen=yes
12036 else
12037 ac_cv_lib_dl_dlopen=no
12039 rm -f core conftest.err conftest.$ac_objext \
12040 conftest$ac_exeext conftest.$ac_ext
12041 LIBS=$ac_check_lib_save_LIBS
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12044 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12045 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12046 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12047 else
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12049 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12050 if ${ac_cv_lib_svld_dlopen+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_lib_save_LIBS=$LIBS
12054 LIBS="-lsvld $LIBS"
12055 if test x$gcc_no_link = xyes; then
12056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12064 #ifdef __cplusplus
12065 extern "C"
12066 #endif
12067 char dlopen ();
12069 main ()
12071 return dlopen ();
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"; then :
12077 ac_cv_lib_svld_dlopen=yes
12078 else
12079 ac_cv_lib_svld_dlopen=no
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_lib_save_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12086 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12087 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12088 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12089 else
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12091 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12092 if ${ac_cv_lib_dld_dld_link+:} false; then :
12093 $as_echo_n "(cached) " >&6
12094 else
12095 ac_check_lib_save_LIBS=$LIBS
12096 LIBS="-ldld $LIBS"
12097 if test x$gcc_no_link = xyes; then
12098 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12106 #ifdef __cplusplus
12107 extern "C"
12108 #endif
12109 char dld_link ();
12111 main ()
12113 return dld_link ();
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_link "$LINENO"; then :
12119 ac_cv_lib_dld_dld_link=yes
12120 else
12121 ac_cv_lib_dld_dld_link=no
12123 rm -f core conftest.err conftest.$ac_objext \
12124 conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_lib_save_LIBS
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12128 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12129 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12130 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12149 esac
12151 if test "x$lt_cv_dlopen" != xno; then
12152 enable_dlopen=yes
12153 else
12154 enable_dlopen=no
12157 case $lt_cv_dlopen in
12158 dlopen)
12159 save_CPPFLAGS="$CPPFLAGS"
12160 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12162 save_LDFLAGS="$LDFLAGS"
12163 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12165 save_LIBS="$LIBS"
12166 LIBS="$lt_cv_dlopen_libs $LIBS"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12169 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12170 if ${lt_cv_dlopen_self+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 if test "$cross_compiling" = yes; then :
12174 lt_cv_dlopen_self=cross
12175 else
12176 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12177 lt_status=$lt_dlunknown
12178 cat > conftest.$ac_ext <<_LT_EOF
12179 #line 12179 "configure"
12180 #include "confdefs.h"
12182 #if HAVE_DLFCN_H
12183 #include <dlfcn.h>
12184 #endif
12186 #include <stdio.h>
12188 #ifdef RTLD_GLOBAL
12189 # define LT_DLGLOBAL RTLD_GLOBAL
12190 #else
12191 # ifdef DL_GLOBAL
12192 # define LT_DLGLOBAL DL_GLOBAL
12193 # else
12194 # define LT_DLGLOBAL 0
12195 # endif
12196 #endif
12198 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12199 find out it does not work in some platform. */
12200 #ifndef LT_DLLAZY_OR_NOW
12201 # ifdef RTLD_LAZY
12202 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12203 # else
12204 # ifdef DL_LAZY
12205 # define LT_DLLAZY_OR_NOW DL_LAZY
12206 # else
12207 # ifdef RTLD_NOW
12208 # define LT_DLLAZY_OR_NOW RTLD_NOW
12209 # else
12210 # ifdef DL_NOW
12211 # define LT_DLLAZY_OR_NOW DL_NOW
12212 # else
12213 # define LT_DLLAZY_OR_NOW 0
12214 # endif
12215 # endif
12216 # endif
12217 # endif
12218 #endif
12220 /* When -fvisbility=hidden is used, assume the code has been annotated
12221 correspondingly for the symbols needed. */
12222 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12223 void fnord () __attribute__((visibility("default")));
12224 #endif
12226 void fnord () { int i=42; }
12227 int main ()
12229 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12230 int status = $lt_dlunknown;
12232 if (self)
12234 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12235 else
12237 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12238 else puts (dlerror ());
12240 /* dlclose (self); */
12242 else
12243 puts (dlerror ());
12245 return status;
12247 _LT_EOF
12248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12249 (eval $ac_link) 2>&5
12250 ac_status=$?
12251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12252 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12253 (./conftest; exit; ) >&5 2>/dev/null
12254 lt_status=$?
12255 case x$lt_status in
12256 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12257 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12258 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12259 esac
12260 else :
12261 # compilation failed
12262 lt_cv_dlopen_self=no
12265 rm -fr conftest*
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12270 $as_echo "$lt_cv_dlopen_self" >&6; }
12272 if test "x$lt_cv_dlopen_self" = xyes; then
12273 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12275 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12276 if ${lt_cv_dlopen_self_static+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 if test "$cross_compiling" = yes; then :
12280 lt_cv_dlopen_self_static=cross
12281 else
12282 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12283 lt_status=$lt_dlunknown
12284 cat > conftest.$ac_ext <<_LT_EOF
12285 #line 12285 "configure"
12286 #include "confdefs.h"
12288 #if HAVE_DLFCN_H
12289 #include <dlfcn.h>
12290 #endif
12292 #include <stdio.h>
12294 #ifdef RTLD_GLOBAL
12295 # define LT_DLGLOBAL RTLD_GLOBAL
12296 #else
12297 # ifdef DL_GLOBAL
12298 # define LT_DLGLOBAL DL_GLOBAL
12299 # else
12300 # define LT_DLGLOBAL 0
12301 # endif
12302 #endif
12304 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12305 find out it does not work in some platform. */
12306 #ifndef LT_DLLAZY_OR_NOW
12307 # ifdef RTLD_LAZY
12308 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12309 # else
12310 # ifdef DL_LAZY
12311 # define LT_DLLAZY_OR_NOW DL_LAZY
12312 # else
12313 # ifdef RTLD_NOW
12314 # define LT_DLLAZY_OR_NOW RTLD_NOW
12315 # else
12316 # ifdef DL_NOW
12317 # define LT_DLLAZY_OR_NOW DL_NOW
12318 # else
12319 # define LT_DLLAZY_OR_NOW 0
12320 # endif
12321 # endif
12322 # endif
12323 # endif
12324 #endif
12326 /* When -fvisbility=hidden is used, assume the code has been annotated
12327 correspondingly for the symbols needed. */
12328 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12329 void fnord () __attribute__((visibility("default")));
12330 #endif
12332 void fnord () { int i=42; }
12333 int main ()
12335 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12336 int status = $lt_dlunknown;
12338 if (self)
12340 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12341 else
12343 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12344 else puts (dlerror ());
12346 /* dlclose (self); */
12348 else
12349 puts (dlerror ());
12351 return status;
12353 _LT_EOF
12354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12355 (eval $ac_link) 2>&5
12356 ac_status=$?
12357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12358 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12359 (./conftest; exit; ) >&5 2>/dev/null
12360 lt_status=$?
12361 case x$lt_status in
12362 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12363 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12364 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12365 esac
12366 else :
12367 # compilation failed
12368 lt_cv_dlopen_self_static=no
12371 rm -fr conftest*
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12376 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12379 CPPFLAGS="$save_CPPFLAGS"
12380 LDFLAGS="$save_LDFLAGS"
12381 LIBS="$save_LIBS"
12383 esac
12385 case $lt_cv_dlopen_self in
12386 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12387 *) enable_dlopen_self=unknown ;;
12388 esac
12390 case $lt_cv_dlopen_self_static in
12391 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12392 *) enable_dlopen_self_static=unknown ;;
12393 esac
12412 striplib=
12413 old_striplib=
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12415 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12416 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12417 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12418 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12420 $as_echo "yes" >&6; }
12421 else
12422 # FIXME - insert some real tests, host_os isn't really good enough
12423 case $host_os in
12424 darwin*)
12425 if test -n "$STRIP" ; then
12426 striplib="$STRIP -x"
12427 old_striplib="$STRIP -S"
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12429 $as_echo "yes" >&6; }
12430 else
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12439 esac
12453 # Report which library types will actually be built
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12455 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12457 $as_echo "$can_build_shared" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12460 $as_echo_n "checking whether to build shared libraries... " >&6; }
12461 test "$can_build_shared" = "no" && enable_shared=no
12463 # On AIX, shared libraries and static libraries use the same namespace, and
12464 # are all built from PIC.
12465 case $host_os in
12466 aix3*)
12467 test "$enable_shared" = yes && enable_static=no
12468 if test -n "$RANLIB"; then
12469 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12470 postinstall_cmds='$RANLIB $lib'
12474 aix[4-9]*)
12475 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12476 test "$enable_shared" = yes && enable_static=no
12479 esac
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12481 $as_echo "$enable_shared" >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12484 $as_echo_n "checking whether to build static libraries... " >&6; }
12485 # Make sure either enable_shared or enable_static is yes.
12486 test "$enable_shared" = yes || enable_static=yes
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12488 $as_echo "$enable_static" >&6; }
12494 ac_ext=c
12495 ac_cpp='$CPP $CPPFLAGS'
12496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12500 CC="$lt_save_CC"
12502 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12503 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12504 (test "X$CXX" != "Xg++"))) ; then
12505 ac_ext=cpp
12506 ac_cpp='$CXXCPP $CPPFLAGS'
12507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12511 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12512 if test -z "$CXXCPP"; then
12513 if ${ac_cv_prog_CXXCPP+:} false; then :
12514 $as_echo_n "(cached) " >&6
12515 else
12516 # Double quotes because CXXCPP needs to be expanded
12517 for CXXCPP in "$CXX -E" "/lib/cpp"
12519 ac_preproc_ok=false
12520 for ac_cxx_preproc_warn_flag in '' yes
12522 # Use a header file that comes with gcc, so configuring glibc
12523 # with a fresh cross-compiler works.
12524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12525 # <limits.h> exists even on freestanding compilers.
12526 # On the NeXT, cc -E runs the code through the compiler's parser,
12527 # not just through cpp. "Syntax error" is here to catch this case.
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12530 #ifdef __STDC__
12531 # include <limits.h>
12532 #else
12533 # include <assert.h>
12534 #endif
12535 Syntax error
12536 _ACEOF
12537 if ac_fn_cxx_try_cpp "$LINENO"; then :
12539 else
12540 # Broken: fails on valid input.
12541 continue
12543 rm -f conftest.err conftest.i conftest.$ac_ext
12545 # OK, works on sane cases. Now check whether nonexistent headers
12546 # can be detected and how.
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12549 #include <ac_nonexistent.h>
12550 _ACEOF
12551 if ac_fn_cxx_try_cpp "$LINENO"; then :
12552 # Broken: success on invalid input.
12553 continue
12554 else
12555 # Passes both tests.
12556 ac_preproc_ok=:
12557 break
12559 rm -f conftest.err conftest.i conftest.$ac_ext
12561 done
12562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12563 rm -f conftest.i conftest.err conftest.$ac_ext
12564 if $ac_preproc_ok; then :
12565 break
12568 done
12569 ac_cv_prog_CXXCPP=$CXXCPP
12572 CXXCPP=$ac_cv_prog_CXXCPP
12573 else
12574 ac_cv_prog_CXXCPP=$CXXCPP
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12577 $as_echo "$CXXCPP" >&6; }
12578 ac_preproc_ok=false
12579 for ac_cxx_preproc_warn_flag in '' yes
12581 # Use a header file that comes with gcc, so configuring glibc
12582 # with a fresh cross-compiler works.
12583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12584 # <limits.h> exists even on freestanding compilers.
12585 # On the NeXT, cc -E runs the code through the compiler's parser,
12586 # not just through cpp. "Syntax error" is here to catch this case.
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12589 #ifdef __STDC__
12590 # include <limits.h>
12591 #else
12592 # include <assert.h>
12593 #endif
12594 Syntax error
12595 _ACEOF
12596 if ac_fn_cxx_try_cpp "$LINENO"; then :
12598 else
12599 # Broken: fails on valid input.
12600 continue
12602 rm -f conftest.err conftest.i conftest.$ac_ext
12604 # OK, works on sane cases. Now check whether nonexistent headers
12605 # can be detected and how.
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12608 #include <ac_nonexistent.h>
12609 _ACEOF
12610 if ac_fn_cxx_try_cpp "$LINENO"; then :
12611 # Broken: success on invalid input.
12612 continue
12613 else
12614 # Passes both tests.
12615 ac_preproc_ok=:
12616 break
12618 rm -f conftest.err conftest.i conftest.$ac_ext
12620 done
12621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12622 rm -f conftest.i conftest.err conftest.$ac_ext
12623 if $ac_preproc_ok; then :
12625 else
12626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12628 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12629 See \`config.log' for more details" "$LINENO" 5; }
12632 ac_ext=c
12633 ac_cpp='$CPP $CPPFLAGS'
12634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12638 else
12639 _lt_caught_CXX_error=yes
12642 ac_ext=cpp
12643 ac_cpp='$CXXCPP $CPPFLAGS'
12644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12648 archive_cmds_need_lc_CXX=no
12649 allow_undefined_flag_CXX=
12650 always_export_symbols_CXX=no
12651 archive_expsym_cmds_CXX=
12652 compiler_needs_object_CXX=no
12653 export_dynamic_flag_spec_CXX=
12654 hardcode_direct_CXX=no
12655 hardcode_direct_absolute_CXX=no
12656 hardcode_libdir_flag_spec_CXX=
12657 hardcode_libdir_flag_spec_ld_CXX=
12658 hardcode_libdir_separator_CXX=
12659 hardcode_minus_L_CXX=no
12660 hardcode_shlibpath_var_CXX=unsupported
12661 hardcode_automatic_CXX=no
12662 inherit_rpath_CXX=no
12663 module_cmds_CXX=
12664 module_expsym_cmds_CXX=
12665 link_all_deplibs_CXX=unknown
12666 old_archive_cmds_CXX=$old_archive_cmds
12667 reload_flag_CXX=$reload_flag
12668 reload_cmds_CXX=$reload_cmds
12669 no_undefined_flag_CXX=
12670 whole_archive_flag_spec_CXX=
12671 enable_shared_with_static_runtimes_CXX=no
12673 # Source file extension for C++ test sources.
12674 ac_ext=cpp
12676 # Object file extension for compiled C++ test sources.
12677 objext=o
12678 objext_CXX=$objext
12680 # No sense in running all these tests if we already determined that
12681 # the CXX compiler isn't working. Some variables (like enable_shared)
12682 # are currently assumed to apply to all compilers on this platform,
12683 # and will be corrupted by setting them based on a non-working compiler.
12684 if test "$_lt_caught_CXX_error" != yes; then
12685 # Code to be used in simple compile tests
12686 lt_simple_compile_test_code="int some_variable = 0;"
12688 # Code to be used in simple link tests
12689 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12691 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12698 # If no C compiler was specified, use CC.
12699 LTCC=${LTCC-"$CC"}
12701 # If no C compiler flags were specified, use CFLAGS.
12702 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12704 # Allow CC to be a program name with arguments.
12705 compiler=$CC
12708 # save warnings/boilerplate of simple test code
12709 ac_outfile=conftest.$ac_objext
12710 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12711 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12712 _lt_compiler_boilerplate=`cat conftest.err`
12713 $RM conftest*
12715 ac_outfile=conftest.$ac_objext
12716 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12717 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12718 _lt_linker_boilerplate=`cat conftest.err`
12719 $RM -r conftest*
12722 # Allow CC to be a program name with arguments.
12723 lt_save_CC=$CC
12724 lt_save_LD=$LD
12725 lt_save_GCC=$GCC
12726 GCC=$GXX
12727 lt_save_with_gnu_ld=$with_gnu_ld
12728 lt_save_path_LD=$lt_cv_path_LD
12729 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12730 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12731 else
12732 $as_unset lt_cv_prog_gnu_ld
12734 if test -n "${lt_cv_path_LDCXX+set}"; then
12735 lt_cv_path_LD=$lt_cv_path_LDCXX
12736 else
12737 $as_unset lt_cv_path_LD
12739 test -z "${LDCXX+set}" || LD=$LDCXX
12740 CC=${CXX-"c++"}
12741 compiler=$CC
12742 compiler_CXX=$CC
12743 for cc_temp in $compiler""; do
12744 case $cc_temp in
12745 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12746 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12747 \-*) ;;
12748 *) break;;
12749 esac
12750 done
12751 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12754 if test -n "$compiler"; then
12755 # We don't want -fno-exception when compiling C++ code, so set the
12756 # no_builtin_flag separately
12757 if test "$GXX" = yes; then
12758 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12759 else
12760 lt_prog_compiler_no_builtin_flag_CXX=
12763 if test "$GXX" = yes; then
12764 # Set up default GNU C++ configuration
12768 # Check whether --with-gnu-ld was given.
12769 if test "${with_gnu_ld+set}" = set; then :
12770 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12771 else
12772 with_gnu_ld=no
12775 ac_prog=ld
12776 if test "$GCC" = yes; then
12777 # Check if gcc -print-prog-name=ld gives a path.
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12779 $as_echo_n "checking for ld used by $CC... " >&6; }
12780 case $host in
12781 *-*-mingw*)
12782 # gcc leaves a trailing carriage return which upsets mingw
12783 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12785 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12786 esac
12787 case $ac_prog in
12788 # Accept absolute paths.
12789 [\\/]* | ?:[\\/]*)
12790 re_direlt='/[^/][^/]*/\.\./'
12791 # Canonicalize the pathname of ld
12792 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12793 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12794 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12795 done
12796 test -z "$LD" && LD="$ac_prog"
12799 # If it fails, then pretend we aren't using GCC.
12800 ac_prog=ld
12803 # If it is relative, then search for the first ld in PATH.
12804 with_gnu_ld=unknown
12806 esac
12807 elif test "$with_gnu_ld" = yes; then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12809 $as_echo_n "checking for GNU ld... " >&6; }
12810 else
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12812 $as_echo_n "checking for non-GNU ld... " >&6; }
12814 if ${lt_cv_path_LD+:} false; then :
12815 $as_echo_n "(cached) " >&6
12816 else
12817 if test -z "$LD"; then
12818 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12819 for ac_dir in $PATH; do
12820 IFS="$lt_save_ifs"
12821 test -z "$ac_dir" && ac_dir=.
12822 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12823 lt_cv_path_LD="$ac_dir/$ac_prog"
12824 # Check to see if the program is GNU ld. I'd rather use --version,
12825 # but apparently some variants of GNU ld only accept -v.
12826 # Break only if it was the GNU/non-GNU ld that we prefer.
12827 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12828 *GNU* | *'with BFD'*)
12829 test "$with_gnu_ld" != no && break
12832 test "$with_gnu_ld" != yes && break
12834 esac
12836 done
12837 IFS="$lt_save_ifs"
12838 else
12839 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12843 LD="$lt_cv_path_LD"
12844 if test -n "$LD"; then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12846 $as_echo "$LD" >&6; }
12847 else
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12851 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12853 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12854 if ${lt_cv_prog_gnu_ld+:} false; then :
12855 $as_echo_n "(cached) " >&6
12856 else
12857 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12858 case `$LD -v 2>&1 </dev/null` in
12859 *GNU* | *'with BFD'*)
12860 lt_cv_prog_gnu_ld=yes
12863 lt_cv_prog_gnu_ld=no
12865 esac
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12868 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12869 with_gnu_ld=$lt_cv_prog_gnu_ld
12877 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12878 # archiving commands below assume that GNU ld is being used.
12879 if test "$with_gnu_ld" = yes; then
12880 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12881 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'
12883 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12884 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12886 # If archive_cmds runs LD, not CC, wlarc should be empty
12887 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12888 # investigate it a little bit more. (MM)
12889 wlarc='${wl}'
12891 # ancient GNU ld didn't support --whole-archive et. al.
12892 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12893 $GREP 'no-whole-archive' > /dev/null; then
12894 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12895 else
12896 whole_archive_flag_spec_CXX=
12898 else
12899 with_gnu_ld=no
12900 wlarc=
12902 # A generic and very simple default shared library creation
12903 # command for GNU C++ for the case where it uses the native
12904 # linker, instead of GNU ld. If possible, this setting should
12905 # overridden to take advantage of the native linker features on
12906 # the platform it is being used on.
12907 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12913 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12915 else
12916 GXX=no
12917 with_gnu_ld=no
12918 wlarc=
12921 # PORTME: fill in a description of your system's C++ link characteristics
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12923 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12924 ld_shlibs_CXX=yes
12925 case $host_os in
12926 aix3*)
12927 # FIXME: insert proper C++ library support
12928 ld_shlibs_CXX=no
12930 aix[4-9]*)
12931 if test "$host_cpu" = ia64; then
12932 # On IA64, the linker does run time linking by default, so we don't
12933 # have to do anything special.
12934 aix_use_runtimelinking=no
12935 exp_sym_flag='-Bexport'
12936 no_entry_flag=""
12937 else
12938 aix_use_runtimelinking=no
12940 # Test if we are trying to use run time linking or normal
12941 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12942 # need to do runtime linking.
12943 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12944 for ld_flag in $LDFLAGS; do
12945 case $ld_flag in
12946 *-brtl*)
12947 aix_use_runtimelinking=yes
12948 break
12950 esac
12951 done
12953 esac
12955 exp_sym_flag='-bexport'
12956 no_entry_flag='-bnoentry'
12959 # When large executables or shared objects are built, AIX ld can
12960 # have problems creating the table of contents. If linking a library
12961 # or program results in "error TOC overflow" add -mminimal-toc to
12962 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12963 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12965 archive_cmds_CXX=''
12966 hardcode_direct_CXX=yes
12967 hardcode_direct_absolute_CXX=yes
12968 hardcode_libdir_separator_CXX=':'
12969 link_all_deplibs_CXX=yes
12970 file_list_spec_CXX='${wl}-f,'
12972 if test "$GXX" = yes; then
12973 case $host_os in aix4.[012]|aix4.[012].*)
12974 # We only want to do this on AIX 4.2 and lower, the check
12975 # below for broken collect2 doesn't work under 4.3+
12976 collect2name=`${CC} -print-prog-name=collect2`
12977 if test -f "$collect2name" &&
12978 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12979 then
12980 # We have reworked collect2
12982 else
12983 # We have old collect2
12984 hardcode_direct_CXX=unsupported
12985 # It fails to find uninstalled libraries when the uninstalled
12986 # path is not listed in the libpath. Setting hardcode_minus_L
12987 # to unsupported forces relinking
12988 hardcode_minus_L_CXX=yes
12989 hardcode_libdir_flag_spec_CXX='-L$libdir'
12990 hardcode_libdir_separator_CXX=
12992 esac
12993 shared_flag='-shared'
12994 if test "$aix_use_runtimelinking" = yes; then
12995 shared_flag="$shared_flag "'${wl}-G'
12997 else
12998 # not using gcc
12999 if test "$host_cpu" = ia64; then
13000 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13001 # chokes on -Wl,-G. The following line is correct:
13002 shared_flag='-G'
13003 else
13004 if test "$aix_use_runtimelinking" = yes; then
13005 shared_flag='${wl}-G'
13006 else
13007 shared_flag='${wl}-bM:SRE'
13012 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13013 # It seems that -bexpall does not export symbols beginning with
13014 # underscore (_), so it is better to generate a list of symbols to
13015 # export.
13016 always_export_symbols_CXX=yes
13017 if test "$aix_use_runtimelinking" = yes; then
13018 # Warning - without using the other runtime loading flags (-brtl),
13019 # -berok will link without error, but may produce a broken library.
13020 allow_undefined_flag_CXX='-berok'
13021 # Determine the default libpath from the value encoded in an empty
13022 # executable.
13023 if test x$gcc_no_link = xyes; then
13024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13030 main ()
13034 return 0;
13036 _ACEOF
13037 if ac_fn_cxx_try_link "$LINENO"; then :
13039 lt_aix_libpath_sed='
13040 /Import File Strings/,/^$/ {
13041 /^0/ {
13042 s/^0 *\(.*\)$/\1/
13046 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13047 # Check for a 64-bit object if we didn't find anything.
13048 if test -z "$aix_libpath"; then
13049 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13052 rm -f core conftest.err conftest.$ac_objext \
13053 conftest$ac_exeext conftest.$ac_ext
13054 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13056 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13058 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"
13059 else
13060 if test "$host_cpu" = ia64; then
13061 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13062 allow_undefined_flag_CXX="-z nodefs"
13063 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"
13064 else
13065 # Determine the default libpath from the value encoded in an
13066 # empty executable.
13067 if test x$gcc_no_link = xyes; then
13068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13074 main ()
13078 return 0;
13080 _ACEOF
13081 if ac_fn_cxx_try_link "$LINENO"; then :
13083 lt_aix_libpath_sed='
13084 /Import File Strings/,/^$/ {
13085 /^0/ {
13086 s/^0 *\(.*\)$/\1/
13090 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13091 # Check for a 64-bit object if we didn't find anything.
13092 if test -z "$aix_libpath"; then
13093 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13096 rm -f core conftest.err conftest.$ac_objext \
13097 conftest$ac_exeext conftest.$ac_ext
13098 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13100 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13101 # Warning - without using the other run time loading flags,
13102 # -berok will link without error, but may produce a broken library.
13103 no_undefined_flag_CXX=' ${wl}-bernotok'
13104 allow_undefined_flag_CXX=' ${wl}-berok'
13105 if test "$with_gnu_ld" = yes; then
13106 # We only use this code for GNU lds that support --whole-archive.
13107 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13108 else
13109 # Exported symbols can be pulled into shared objects from archives
13110 whole_archive_flag_spec_CXX='$convenience'
13112 archive_cmds_need_lc_CXX=yes
13113 # This is similar to how AIX traditionally builds its shared
13114 # libraries.
13115 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'
13120 beos*)
13121 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13122 allow_undefined_flag_CXX=unsupported
13123 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13124 # support --undefined. This deserves some investigation. FIXME
13125 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13126 else
13127 ld_shlibs_CXX=no
13131 chorus*)
13132 case $cc_basename in
13134 # FIXME: insert proper C++ library support
13135 ld_shlibs_CXX=no
13137 esac
13140 cygwin* | mingw* | pw32* | cegcc*)
13141 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13142 # as there is no search path for DLLs.
13143 hardcode_libdir_flag_spec_CXX='-L$libdir'
13144 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13145 allow_undefined_flag_CXX=unsupported
13146 always_export_symbols_CXX=no
13147 enable_shared_with_static_runtimes_CXX=yes
13149 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13150 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'
13151 # If the export-symbols file already is a .def file (1st line
13152 # is EXPORTS), use it as is; otherwise, prepend...
13153 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13154 cp $export_symbols $output_objdir/$soname.def;
13155 else
13156 echo EXPORTS > $output_objdir/$soname.def;
13157 cat $export_symbols >> $output_objdir/$soname.def;
13159 $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'
13160 else
13161 ld_shlibs_CXX=no
13164 darwin* | rhapsody*)
13167 archive_cmds_need_lc_CXX=no
13168 hardcode_direct_CXX=no
13169 hardcode_automatic_CXX=yes
13170 hardcode_shlibpath_var_CXX=unsupported
13171 if test "$lt_cv_ld_force_load" = "yes"; then
13172 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\"`'
13173 else
13174 whole_archive_flag_spec_CXX=''
13176 link_all_deplibs_CXX=yes
13177 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13178 case $cc_basename in
13179 ifort*) _lt_dar_can_shared=yes ;;
13180 *) _lt_dar_can_shared=$GCC ;;
13181 esac
13182 if test "$_lt_dar_can_shared" = "yes"; then
13183 output_verbose_link_cmd=func_echo_all
13184 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}"
13185 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13186 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}"
13187 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}"
13188 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13189 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}"
13190 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}"
13193 else
13194 ld_shlibs_CXX=no
13199 dgux*)
13200 case $cc_basename in
13201 ec++*)
13202 # FIXME: insert proper C++ library support
13203 ld_shlibs_CXX=no
13205 ghcx*)
13206 # Green Hills C++ Compiler
13207 # FIXME: insert proper C++ library support
13208 ld_shlibs_CXX=no
13211 # FIXME: insert proper C++ library support
13212 ld_shlibs_CXX=no
13214 esac
13217 freebsd2.*)
13218 # C++ shared libraries reported to be fairly broken before
13219 # switch to ELF
13220 ld_shlibs_CXX=no
13223 freebsd-elf*)
13224 archive_cmds_need_lc_CXX=no
13227 freebsd* | dragonfly*)
13228 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13229 # conventions
13230 ld_shlibs_CXX=yes
13233 gnu*)
13236 haiku*)
13237 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13238 link_all_deplibs_CXX=yes
13241 hpux9*)
13242 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13243 hardcode_libdir_separator_CXX=:
13244 export_dynamic_flag_spec_CXX='${wl}-E'
13245 hardcode_direct_CXX=yes
13246 hardcode_minus_L_CXX=yes # Not in the search PATH,
13247 # but as the default
13248 # location of the library.
13250 case $cc_basename in
13251 CC*)
13252 # FIXME: insert proper C++ library support
13253 ld_shlibs_CXX=no
13255 aCC*)
13256 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'
13257 # Commands to make compiler produce verbose output that lists
13258 # what "hidden" libraries, object files and flags are used when
13259 # linking a shared library.
13261 # There doesn't appear to be a way to prevent this compiler from
13262 # explicitly linking system object files so we need to strip them
13263 # from the output so that they don't get included in the library
13264 # dependencies.
13265 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"'
13268 if test "$GXX" = yes; then
13269 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'
13270 else
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13275 esac
13278 hpux10*|hpux11*)
13279 if test $with_gnu_ld = no; then
13280 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13281 hardcode_libdir_separator_CXX=:
13283 case $host_cpu in
13284 hppa*64*|ia64*)
13287 export_dynamic_flag_spec_CXX='${wl}-E'
13289 esac
13291 case $host_cpu in
13292 hppa*64*|ia64*)
13293 hardcode_direct_CXX=no
13294 hardcode_shlibpath_var_CXX=no
13297 hardcode_direct_CXX=yes
13298 hardcode_direct_absolute_CXX=yes
13299 hardcode_minus_L_CXX=yes # Not in the search PATH,
13300 # but as the default
13301 # location of the library.
13303 esac
13305 case $cc_basename in
13306 CC*)
13307 # FIXME: insert proper C++ library support
13308 ld_shlibs_CXX=no
13310 aCC*)
13311 case $host_cpu in
13312 hppa*64*)
13313 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13315 ia64*)
13316 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13319 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13321 esac
13322 # Commands to make compiler produce verbose output that lists
13323 # what "hidden" libraries, object files and flags are used when
13324 # linking a shared library.
13326 # There doesn't appear to be a way to prevent this compiler from
13327 # explicitly linking system object files so we need to strip them
13328 # from the output so that they don't get included in the library
13329 # dependencies.
13330 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"'
13333 if test "$GXX" = yes; then
13334 if test $with_gnu_ld = no; then
13335 case $host_cpu in
13336 hppa*64*)
13337 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13339 ia64*)
13340 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13343 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'
13345 esac
13347 else
13348 # FIXME: insert proper C++ library support
13349 ld_shlibs_CXX=no
13352 esac
13355 interix[3-9]*)
13356 hardcode_direct_CXX=no
13357 hardcode_shlibpath_var_CXX=no
13358 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13359 export_dynamic_flag_spec_CXX='${wl}-E'
13360 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13361 # Instead, shared libraries are loaded at an image base (0x10000000 by
13362 # default) and relocated if they conflict, which is a slow very memory
13363 # consuming and fragmenting process. To avoid this, we pick a random,
13364 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13365 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13366 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'
13367 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'
13369 irix5* | irix6*)
13370 case $cc_basename in
13371 CC*)
13372 # SGI C++
13373 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'
13375 # Archives containing C++ object files must be created using
13376 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13377 # necessary to make sure instantiated templates are included
13378 # in the archive.
13379 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13382 if test "$GXX" = yes; then
13383 if test "$with_gnu_ld" = no; then
13384 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'
13385 else
13386 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'
13389 link_all_deplibs_CXX=yes
13391 esac
13392 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13393 hardcode_libdir_separator_CXX=:
13394 inherit_rpath_CXX=yes
13397 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13398 case $cc_basename in
13399 KCC*)
13400 # Kuck and Associates, Inc. (KAI) C++ Compiler
13402 # KCC will only create a shared library if the output file
13403 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13404 # to its proper name (with version) after linking.
13405 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'
13406 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'
13407 # Commands to make compiler produce verbose output that lists
13408 # what "hidden" libraries, object files and flags are used when
13409 # linking a shared library.
13411 # There doesn't appear to be a way to prevent this compiler from
13412 # explicitly linking system object files so we need to strip them
13413 # from the output so that they don't get included in the library
13414 # dependencies.
13415 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"'
13417 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13418 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13420 # Archives containing C++ object files must be created using
13421 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13422 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13424 icpc* | ecpc* )
13425 # Intel C++
13426 with_gnu_ld=yes
13427 # version 8.0 and above of icpc choke on multiply defined symbols
13428 # if we add $predep_objects and $postdep_objects, however 7.1 and
13429 # earlier do not add the objects themselves.
13430 case `$CC -V 2>&1` in
13431 *"Version 7."*)
13432 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13433 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'
13435 *) # Version 8.0 or newer
13436 tmp_idyn=
13437 case $host_cpu in
13438 ia64*) tmp_idyn=' -i_dynamic';;
13439 esac
13440 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13441 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'
13443 esac
13444 archive_cmds_need_lc_CXX=no
13445 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13446 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13447 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13449 pgCC* | pgcpp*)
13450 # Portland Group C++ compiler
13451 case `$CC -V` in
13452 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13453 prelink_cmds_CXX='tpldir=Template.dir~
13454 rm -rf $tpldir~
13455 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13456 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13457 old_archive_cmds_CXX='tpldir=Template.dir~
13458 rm -rf $tpldir~
13459 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13460 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13461 $RANLIB $oldlib'
13462 archive_cmds_CXX='tpldir=Template.dir~
13463 rm -rf $tpldir~
13464 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13465 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13466 archive_expsym_cmds_CXX='tpldir=Template.dir~
13467 rm -rf $tpldir~
13468 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13469 $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'
13471 *) # Version 6 and above use weak symbols
13472 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13473 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'
13475 esac
13477 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13478 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13479 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'
13481 cxx*)
13482 # Compaq C++
13483 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13484 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'
13486 runpath_var=LD_RUN_PATH
13487 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13488 hardcode_libdir_separator_CXX=:
13490 # Commands to make compiler produce verbose output that lists
13491 # what "hidden" libraries, object files and flags are used when
13492 # linking a shared library.
13494 # There doesn't appear to be a way to prevent this compiler from
13495 # explicitly linking system object files so we need to strip them
13496 # from the output so that they don't get included in the library
13497 # dependencies.
13498 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'
13500 xl* | mpixl* | bgxl*)
13501 # IBM XL 8.0 on PPC, with GNU ld
13502 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13503 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13504 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13505 if test "x$supports_anon_versioning" = xyes; then
13506 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13507 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13508 echo "local: *; };" >> $output_objdir/$libname.ver~
13509 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13513 case `$CC -V 2>&1 | sed 5q` in
13514 *Sun\ C*)
13515 # Sun C++ 5.9
13516 no_undefined_flag_CXX=' -zdefs'
13517 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13518 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'
13519 hardcode_libdir_flag_spec_CXX='-R$libdir'
13520 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'
13521 compiler_needs_object_CXX=yes
13523 # Not sure whether something based on
13524 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13525 # would be better.
13526 output_verbose_link_cmd='func_echo_all'
13528 # Archives containing C++ object files must be created using
13529 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13530 # necessary to make sure instantiated templates are included
13531 # in the archive.
13532 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13534 esac
13536 esac
13539 lynxos*)
13540 # FIXME: insert proper C++ library support
13541 ld_shlibs_CXX=no
13544 m88k*)
13545 # FIXME: insert proper C++ library support
13546 ld_shlibs_CXX=no
13549 mvs*)
13550 case $cc_basename in
13551 cxx*)
13552 # FIXME: insert proper C++ library support
13553 ld_shlibs_CXX=no
13556 # FIXME: insert proper C++ library support
13557 ld_shlibs_CXX=no
13559 esac
13562 netbsd*)
13563 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13564 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13565 wlarc=
13566 hardcode_libdir_flag_spec_CXX='-R$libdir'
13567 hardcode_direct_CXX=yes
13568 hardcode_shlibpath_var_CXX=no
13570 # Workaround some broken pre-1.5 toolchains
13571 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13574 *nto* | *qnx*)
13575 ld_shlibs_CXX=yes
13578 openbsd2*)
13579 # C++ shared libraries are fairly broken
13580 ld_shlibs_CXX=no
13583 openbsd*)
13584 if test -f /usr/libexec/ld.so; then
13585 hardcode_direct_CXX=yes
13586 hardcode_shlibpath_var_CXX=no
13587 hardcode_direct_absolute_CXX=yes
13588 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13589 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13590 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13591 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13592 export_dynamic_flag_spec_CXX='${wl}-E'
13593 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13595 output_verbose_link_cmd=func_echo_all
13596 else
13597 ld_shlibs_CXX=no
13601 osf3* | osf4* | osf5*)
13602 case $cc_basename in
13603 KCC*)
13604 # Kuck and Associates, Inc. (KAI) C++ Compiler
13606 # KCC will only create a shared library if the output file
13607 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13608 # to its proper name (with version) after linking.
13609 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'
13611 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13612 hardcode_libdir_separator_CXX=:
13614 # Archives containing C++ object files must be created using
13615 # the KAI C++ compiler.
13616 case $host in
13617 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13618 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13619 esac
13621 RCC*)
13622 # Rational C++ 2.4.1
13623 # FIXME: insert proper C++ library support
13624 ld_shlibs_CXX=no
13626 cxx*)
13627 case $host in
13628 osf3*)
13629 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13630 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'
13631 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13634 allow_undefined_flag_CXX=' -expect_unresolved \*'
13635 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'
13636 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13637 echo "-hidden">> $lib.exp~
13638 $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~
13639 $RM $lib.exp'
13640 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13642 esac
13644 hardcode_libdir_separator_CXX=:
13646 # Commands to make compiler produce verbose output that lists
13647 # what "hidden" libraries, object files and flags are used when
13648 # linking a shared library.
13650 # There doesn't appear to be a way to prevent this compiler from
13651 # explicitly linking system object files so we need to strip them
13652 # from the output so that they don't get included in the library
13653 # dependencies.
13654 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"'
13657 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13658 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13659 case $host in
13660 osf3*)
13661 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'
13664 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'
13666 esac
13668 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13669 hardcode_libdir_separator_CXX=:
13671 # Commands to make compiler produce verbose output that lists
13672 # what "hidden" libraries, object files and flags are used when
13673 # linking a shared library.
13674 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13676 else
13677 # FIXME: insert proper C++ library support
13678 ld_shlibs_CXX=no
13681 esac
13684 psos*)
13685 # FIXME: insert proper C++ library support
13686 ld_shlibs_CXX=no
13689 sunos4*)
13690 case $cc_basename in
13691 CC*)
13692 # Sun C++ 4.x
13693 # FIXME: insert proper C++ library support
13694 ld_shlibs_CXX=no
13696 lcc*)
13697 # Lucid
13698 # FIXME: insert proper C++ library support
13699 ld_shlibs_CXX=no
13702 # FIXME: insert proper C++ library support
13703 ld_shlibs_CXX=no
13705 esac
13708 solaris*)
13709 case $cc_basename in
13710 CC*)
13711 # Sun C++ 4.2, 5.x and Centerline C++
13712 archive_cmds_need_lc_CXX=yes
13713 no_undefined_flag_CXX=' -zdefs'
13714 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13715 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13716 $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'
13718 hardcode_libdir_flag_spec_CXX='-R$libdir'
13719 hardcode_shlibpath_var_CXX=no
13720 case $host_os in
13721 solaris2.[0-5] | solaris2.[0-5].*) ;;
13723 # The compiler driver will combine and reorder linker options,
13724 # but understands `-z linker_flag'.
13725 # Supported since Solaris 2.6 (maybe 2.5.1?)
13726 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13728 esac
13729 link_all_deplibs_CXX=yes
13731 output_verbose_link_cmd='func_echo_all'
13733 # Archives containing C++ object files must be created using
13734 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13735 # necessary to make sure instantiated templates are included
13736 # in the archive.
13737 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13739 gcx*)
13740 # Green Hills C++ Compiler
13741 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13743 # The C++ compiler must be used to create the archive.
13744 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13747 # GNU C++ compiler with Solaris linker
13748 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13749 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13750 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13751 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13752 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13753 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13755 # Commands to make compiler produce verbose output that lists
13756 # what "hidden" libraries, object files and flags are used when
13757 # linking a shared library.
13758 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13759 else
13760 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13761 # platform.
13762 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13763 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13766 # Commands to make compiler produce verbose output that lists
13767 # what "hidden" libraries, object files and flags are used when
13768 # linking a shared library.
13769 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13772 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13773 case $host_os in
13774 solaris2.[0-5] | solaris2.[0-5].*) ;;
13776 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13778 esac
13781 esac
13784 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13785 no_undefined_flag_CXX='${wl}-z,text'
13786 archive_cmds_need_lc_CXX=no
13787 hardcode_shlibpath_var_CXX=no
13788 runpath_var='LD_RUN_PATH'
13790 case $cc_basename in
13791 CC*)
13792 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13793 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13796 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13797 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13799 esac
13802 sysv5* | sco3.2v5* | sco5v6*)
13803 # Note: We can NOT use -z defs as we might desire, because we do not
13804 # link with -lc, and that would cause any symbols used from libc to
13805 # always be unresolved, which means just about no library would
13806 # ever link correctly. If we're not using GNU ld we use -z text
13807 # though, which does catch some bad symbols but isn't as heavy-handed
13808 # as -z defs.
13809 no_undefined_flag_CXX='${wl}-z,text'
13810 allow_undefined_flag_CXX='${wl}-z,nodefs'
13811 archive_cmds_need_lc_CXX=no
13812 hardcode_shlibpath_var_CXX=no
13813 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13814 hardcode_libdir_separator_CXX=':'
13815 link_all_deplibs_CXX=yes
13816 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13817 runpath_var='LD_RUN_PATH'
13819 case $cc_basename in
13820 CC*)
13821 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13822 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13823 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13824 '"$old_archive_cmds_CXX"
13825 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13826 '"$reload_cmds_CXX"
13829 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13830 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13832 esac
13835 tandem*)
13836 case $cc_basename in
13837 NCC*)
13838 # NonStop-UX NCC 3.20
13839 # FIXME: insert proper C++ library support
13840 ld_shlibs_CXX=no
13843 # FIXME: insert proper C++ library support
13844 ld_shlibs_CXX=no
13846 esac
13849 vxworks*)
13850 # FIXME: insert proper C++ library support
13851 ld_shlibs_CXX=no
13855 # FIXME: insert proper C++ library support
13856 ld_shlibs_CXX=no
13858 esac
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13861 $as_echo "$ld_shlibs_CXX" >&6; }
13862 test "$ld_shlibs_CXX" = no && can_build_shared=no
13864 GCC_CXX="$GXX"
13865 LD_CXX="$LD"
13867 ## CAVEAT EMPTOR:
13868 ## There is no encapsulation within the following macros, do not change
13869 ## the running order or otherwise move them around unless you know exactly
13870 ## what you are doing...
13871 # Dependencies to place before and after the object being linked:
13872 predep_objects_CXX=
13873 postdep_objects_CXX=
13874 predeps_CXX=
13875 postdeps_CXX=
13876 compiler_lib_search_path_CXX=
13878 cat > conftest.$ac_ext <<_LT_EOF
13879 class Foo
13881 public:
13882 Foo (void) { a = 0; }
13883 private:
13884 int a;
13886 _LT_EOF
13888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13889 (eval $ac_compile) 2>&5
13890 ac_status=$?
13891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13892 test $ac_status = 0; }; then
13893 # Parse the compiler output and extract the necessary
13894 # objects, libraries and library flags.
13896 # Sentinel used to keep track of whether or not we are before
13897 # the conftest object file.
13898 pre_test_object_deps_done=no
13900 for p in `eval "$output_verbose_link_cmd"`; do
13901 case $p in
13903 -L* | -R* | -l*)
13904 # Some compilers place space between "-{L,R}" and the path.
13905 # Remove the space.
13906 if test $p = "-L" ||
13907 test $p = "-R"; then
13908 prev=$p
13909 continue
13910 else
13911 prev=
13914 if test "$pre_test_object_deps_done" = no; then
13915 case $p in
13916 -L* | -R*)
13917 # Internal compiler library paths should come after those
13918 # provided the user. The postdeps already come after the
13919 # user supplied libs so there is no need to process them.
13920 if test -z "$compiler_lib_search_path_CXX"; then
13921 compiler_lib_search_path_CXX="${prev}${p}"
13922 else
13923 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13926 # The "-l" case would never come before the object being
13927 # linked, so don't bother handling this case.
13928 esac
13929 else
13930 if test -z "$postdeps_CXX"; then
13931 postdeps_CXX="${prev}${p}"
13932 else
13933 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13938 *.$objext)
13939 # This assumes that the test object file only shows up
13940 # once in the compiler output.
13941 if test "$p" = "conftest.$objext"; then
13942 pre_test_object_deps_done=yes
13943 continue
13946 if test "$pre_test_object_deps_done" = no; then
13947 if test -z "$predep_objects_CXX"; then
13948 predep_objects_CXX="$p"
13949 else
13950 predep_objects_CXX="$predep_objects_CXX $p"
13952 else
13953 if test -z "$postdep_objects_CXX"; then
13954 postdep_objects_CXX="$p"
13955 else
13956 postdep_objects_CXX="$postdep_objects_CXX $p"
13961 *) ;; # Ignore the rest.
13963 esac
13964 done
13966 # Clean up.
13967 rm -f a.out a.exe
13968 else
13969 echo "libtool.m4: error: problem compiling CXX test program"
13972 $RM -f confest.$objext
13974 # PORTME: override above test on systems where it is broken
13975 case $host_os in
13976 interix[3-9]*)
13977 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13978 # hack all around it, let's just trust "g++" to DTRT.
13979 predep_objects_CXX=
13980 postdep_objects_CXX=
13981 postdeps_CXX=
13984 linux*)
13985 case `$CC -V 2>&1 | sed 5q` in
13986 *Sun\ C*)
13987 # Sun C++ 5.9
13989 # The more standards-conforming stlport4 library is
13990 # incompatible with the Cstd library. Avoid specifying
13991 # it if it's in CXXFLAGS. Ignore libCrun as
13992 # -library=stlport4 depends on it.
13993 case " $CXX $CXXFLAGS " in
13994 *" -library=stlport4 "*)
13995 solaris_use_stlport4=yes
13997 esac
13999 if test "$solaris_use_stlport4" != yes; then
14000 postdeps_CXX='-library=Cstd -library=Crun'
14003 esac
14006 solaris*)
14007 case $cc_basename in
14008 CC*)
14009 # The more standards-conforming stlport4 library is
14010 # incompatible with the Cstd library. Avoid specifying
14011 # it if it's in CXXFLAGS. Ignore libCrun as
14012 # -library=stlport4 depends on it.
14013 case " $CXX $CXXFLAGS " in
14014 *" -library=stlport4 "*)
14015 solaris_use_stlport4=yes
14017 esac
14019 # Adding this requires a known-good setup of shared libraries for
14020 # Sun compiler versions before 5.6, else PIC objects from an old
14021 # archive will be linked into the output, leading to subtle bugs.
14022 if test "$solaris_use_stlport4" != yes; then
14023 postdeps_CXX='-library=Cstd -library=Crun'
14026 esac
14028 esac
14031 case " $postdeps_CXX " in
14032 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14033 esac
14034 compiler_lib_search_dirs_CXX=
14035 if test -n "${compiler_lib_search_path_CXX}"; then
14036 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14069 lt_prog_compiler_wl_CXX=
14070 lt_prog_compiler_pic_CXX=
14071 lt_prog_compiler_static_CXX=
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14074 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14076 # C++ specific cases for pic, static, wl, etc.
14077 if test "$GXX" = yes; then
14078 lt_prog_compiler_wl_CXX='-Wl,'
14079 lt_prog_compiler_static_CXX='-static'
14081 case $host_os in
14082 aix*)
14083 # All AIX code is PIC.
14084 if test "$host_cpu" = ia64; then
14085 # AIX 5 now supports IA64 processor
14086 lt_prog_compiler_static_CXX='-Bstatic'
14088 lt_prog_compiler_pic_CXX='-fPIC'
14091 amigaos*)
14092 case $host_cpu in
14093 powerpc)
14094 # see comment about AmigaOS4 .so support
14095 lt_prog_compiler_pic_CXX='-fPIC'
14097 m68k)
14098 # FIXME: we need at least 68020 code to build shared libraries, but
14099 # adding the `-m68020' flag to GCC prevents building anything better,
14100 # like `-m68040'.
14101 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14103 esac
14106 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14107 # PIC is the default for these OSes.
14109 mingw* | cygwin* | os2* | pw32* | cegcc*)
14110 # This hack is so that the source file can tell whether it is being
14111 # built for inclusion in a dll (and should export symbols for example).
14112 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14113 # (--disable-auto-import) libraries
14114 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14116 darwin* | rhapsody*)
14117 # PIC is the default on this platform
14118 # Common symbols not allowed in MH_DYLIB files
14119 lt_prog_compiler_pic_CXX='-fno-common'
14121 *djgpp*)
14122 # DJGPP does not support shared libraries at all
14123 lt_prog_compiler_pic_CXX=
14125 haiku*)
14126 # PIC is the default for Haiku.
14127 # The "-static" flag exists, but is broken.
14128 lt_prog_compiler_static_CXX=
14130 interix[3-9]*)
14131 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14132 # Instead, we relocate shared libraries at runtime.
14134 sysv4*MP*)
14135 if test -d /usr/nec; then
14136 lt_prog_compiler_pic_CXX=-Kconform_pic
14139 hpux*)
14140 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14141 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14142 # sets the default TLS model and affects inlining.
14143 case $host_cpu in
14144 hppa*64*)
14147 lt_prog_compiler_pic_CXX='-fPIC'
14149 esac
14151 *qnx* | *nto*)
14152 # QNX uses GNU C++, but need to define -shared option too, otherwise
14153 # it will coredump.
14154 lt_prog_compiler_pic_CXX='-fPIC -shared'
14157 lt_prog_compiler_pic_CXX='-fPIC'
14159 esac
14160 else
14161 case $host_os in
14162 aix[4-9]*)
14163 # All AIX code is PIC.
14164 if test "$host_cpu" = ia64; then
14165 # AIX 5 now supports IA64 processor
14166 lt_prog_compiler_static_CXX='-Bstatic'
14167 else
14168 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14171 chorus*)
14172 case $cc_basename in
14173 cxch68*)
14174 # Green Hills C++ Compiler
14175 # _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"
14177 esac
14179 dgux*)
14180 case $cc_basename in
14181 ec++*)
14182 lt_prog_compiler_pic_CXX='-KPIC'
14184 ghcx*)
14185 # Green Hills C++ Compiler
14186 lt_prog_compiler_pic_CXX='-pic'
14190 esac
14192 freebsd* | dragonfly*)
14193 # FreeBSD uses GNU C++
14195 hpux9* | hpux10* | hpux11*)
14196 case $cc_basename in
14197 CC*)
14198 lt_prog_compiler_wl_CXX='-Wl,'
14199 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14200 if test "$host_cpu" != ia64; then
14201 lt_prog_compiler_pic_CXX='+Z'
14204 aCC*)
14205 lt_prog_compiler_wl_CXX='-Wl,'
14206 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14207 case $host_cpu in
14208 hppa*64*|ia64*)
14209 # +Z the default
14212 lt_prog_compiler_pic_CXX='+Z'
14214 esac
14218 esac
14220 interix*)
14221 # This is c89, which is MS Visual C++ (no shared libs)
14222 # Anyone wants to do a port?
14224 irix5* | irix6* | nonstopux*)
14225 case $cc_basename in
14226 CC*)
14227 lt_prog_compiler_wl_CXX='-Wl,'
14228 lt_prog_compiler_static_CXX='-non_shared'
14229 # CC pic flag -KPIC is the default.
14233 esac
14235 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14236 case $cc_basename in
14237 KCC*)
14238 # KAI C++ Compiler
14239 lt_prog_compiler_wl_CXX='--backend -Wl,'
14240 lt_prog_compiler_pic_CXX='-fPIC'
14242 ecpc* )
14243 # old Intel C++ for x86_64 which still supported -KPIC.
14244 lt_prog_compiler_wl_CXX='-Wl,'
14245 lt_prog_compiler_pic_CXX='-KPIC'
14246 lt_prog_compiler_static_CXX='-static'
14248 icpc* )
14249 # Intel C++, used to be incompatible with GCC.
14250 # ICC 10 doesn't accept -KPIC any more.
14251 lt_prog_compiler_wl_CXX='-Wl,'
14252 lt_prog_compiler_pic_CXX='-fPIC'
14253 lt_prog_compiler_static_CXX='-static'
14255 pgCC* | pgcpp*)
14256 # Portland Group C++ compiler
14257 lt_prog_compiler_wl_CXX='-Wl,'
14258 lt_prog_compiler_pic_CXX='-fpic'
14259 lt_prog_compiler_static_CXX='-Bstatic'
14261 cxx*)
14262 # Compaq C++
14263 # Make sure the PIC flag is empty. It appears that all Alpha
14264 # Linux and Compaq Tru64 Unix objects are PIC.
14265 lt_prog_compiler_pic_CXX=
14266 lt_prog_compiler_static_CXX='-non_shared'
14268 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14269 # IBM XL 8.0, 9.0 on PPC and BlueGene
14270 lt_prog_compiler_wl_CXX='-Wl,'
14271 lt_prog_compiler_pic_CXX='-qpic'
14272 lt_prog_compiler_static_CXX='-qstaticlink'
14275 case `$CC -V 2>&1 | sed 5q` in
14276 *Sun\ C*)
14277 # Sun C++ 5.9
14278 lt_prog_compiler_pic_CXX='-KPIC'
14279 lt_prog_compiler_static_CXX='-Bstatic'
14280 lt_prog_compiler_wl_CXX='-Qoption ld '
14282 esac
14284 esac
14286 lynxos*)
14288 m88k*)
14290 mvs*)
14291 case $cc_basename in
14292 cxx*)
14293 lt_prog_compiler_pic_CXX='-W c,exportall'
14297 esac
14299 netbsd*)
14301 *qnx* | *nto*)
14302 # QNX uses GNU C++, but need to define -shared option too, otherwise
14303 # it will coredump.
14304 lt_prog_compiler_pic_CXX='-fPIC -shared'
14306 osf3* | osf4* | osf5*)
14307 case $cc_basename in
14308 KCC*)
14309 lt_prog_compiler_wl_CXX='--backend -Wl,'
14311 RCC*)
14312 # Rational C++ 2.4.1
14313 lt_prog_compiler_pic_CXX='-pic'
14315 cxx*)
14316 # Digital/Compaq C++
14317 lt_prog_compiler_wl_CXX='-Wl,'
14318 # Make sure the PIC flag is empty. It appears that all Alpha
14319 # Linux and Compaq Tru64 Unix objects are PIC.
14320 lt_prog_compiler_pic_CXX=
14321 lt_prog_compiler_static_CXX='-non_shared'
14325 esac
14327 psos*)
14329 solaris*)
14330 case $cc_basename in
14331 CC*)
14332 # Sun C++ 4.2, 5.x and Centerline C++
14333 lt_prog_compiler_pic_CXX='-KPIC'
14334 lt_prog_compiler_static_CXX='-Bstatic'
14335 lt_prog_compiler_wl_CXX='-Qoption ld '
14337 gcx*)
14338 # Green Hills C++ Compiler
14339 lt_prog_compiler_pic_CXX='-PIC'
14343 esac
14345 sunos4*)
14346 case $cc_basename in
14347 CC*)
14348 # Sun C++ 4.x
14349 lt_prog_compiler_pic_CXX='-pic'
14350 lt_prog_compiler_static_CXX='-Bstatic'
14352 lcc*)
14353 # Lucid
14354 lt_prog_compiler_pic_CXX='-pic'
14358 esac
14360 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14361 case $cc_basename in
14362 CC*)
14363 lt_prog_compiler_wl_CXX='-Wl,'
14364 lt_prog_compiler_pic_CXX='-KPIC'
14365 lt_prog_compiler_static_CXX='-Bstatic'
14367 esac
14369 tandem*)
14370 case $cc_basename in
14371 NCC*)
14372 # NonStop-UX NCC 3.20
14373 lt_prog_compiler_pic_CXX='-KPIC'
14377 esac
14379 vxworks*)
14382 lt_prog_compiler_can_build_shared_CXX=no
14384 esac
14387 case $host_os in
14388 # For platforms which do not support PIC, -DPIC is meaningless:
14389 *djgpp*)
14390 lt_prog_compiler_pic_CXX=
14393 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14395 esac
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14397 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14402 # Check to make sure the PIC flag actually works.
14404 if test -n "$lt_prog_compiler_pic_CXX"; then
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14406 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14407 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 lt_cv_prog_compiler_pic_works_CXX=no
14411 ac_outfile=conftest.$ac_objext
14412 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14413 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14414 # Insert the option either (1) after the last *FLAGS variable, or
14415 # (2) before a word containing "conftest.", or (3) at the end.
14416 # Note that $ac_compile itself does not contain backslashes and begins
14417 # with a dollar sign (not a hyphen), so the echo should work correctly.
14418 # The option is referenced via a variable to avoid confusing sed.
14419 lt_compile=`echo "$ac_compile" | $SED \
14420 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14421 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14422 -e 's:$: $lt_compiler_flag:'`
14423 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14424 (eval "$lt_compile" 2>conftest.err)
14425 ac_status=$?
14426 cat conftest.err >&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 if (exit $ac_status) && test -s "$ac_outfile"; then
14429 # The compiler can only warn and ignore the option if not recognized
14430 # So say no if there are warnings other than the usual output.
14431 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14432 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14433 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14434 lt_cv_prog_compiler_pic_works_CXX=yes
14437 $RM conftest*
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14441 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14443 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14444 case $lt_prog_compiler_pic_CXX in
14445 "" | " "*) ;;
14446 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14447 esac
14448 else
14449 lt_prog_compiler_pic_CXX=
14450 lt_prog_compiler_can_build_shared_CXX=no
14458 # Check to make sure the static flag actually works.
14460 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14462 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14463 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 lt_cv_prog_compiler_static_works_CXX=no
14467 save_LDFLAGS="$LDFLAGS"
14468 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14469 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14470 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14471 # The linker can only warn and ignore the option if not recognized
14472 # So say no if there are warnings
14473 if test -s conftest.err; then
14474 # Append any errors to the config.log.
14475 cat conftest.err 1>&5
14476 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14477 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14478 if diff conftest.exp conftest.er2 >/dev/null; then
14479 lt_cv_prog_compiler_static_works_CXX=yes
14481 else
14482 lt_cv_prog_compiler_static_works_CXX=yes
14485 $RM -r conftest*
14486 LDFLAGS="$save_LDFLAGS"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14490 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14492 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14494 else
14495 lt_prog_compiler_static_CXX=
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14502 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14503 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 lt_cv_prog_compiler_c_o_CXX=no
14507 $RM -r conftest 2>/dev/null
14508 mkdir conftest
14509 cd conftest
14510 mkdir out
14511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14513 lt_compiler_flag="-o out/conftest2.$ac_objext"
14514 # Insert the option either (1) after the last *FLAGS variable, or
14515 # (2) before a word containing "conftest.", or (3) at the end.
14516 # Note that $ac_compile itself does not contain backslashes and begins
14517 # with a dollar sign (not a hyphen), so the echo should work correctly.
14518 lt_compile=`echo "$ac_compile" | $SED \
14519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14521 -e 's:$: $lt_compiler_flag:'`
14522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14523 (eval "$lt_compile" 2>out/conftest.err)
14524 ac_status=$?
14525 cat out/conftest.err >&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14528 then
14529 # The compiler can only warn and ignore the option if not recognized
14530 # So say no if there are warnings
14531 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14532 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14533 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14534 lt_cv_prog_compiler_c_o_CXX=yes
14537 chmod u+w . 2>&5
14538 $RM conftest*
14539 # SGI C++ compiler will create directory out/ii_files/ for
14540 # template instantiation
14541 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14542 $RM out/* && rmdir out
14543 cd ..
14544 $RM -r conftest
14545 $RM conftest*
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14549 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14555 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 lt_cv_prog_compiler_c_o_CXX=no
14559 $RM -r conftest 2>/dev/null
14560 mkdir conftest
14561 cd conftest
14562 mkdir out
14563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14565 lt_compiler_flag="-o out/conftest2.$ac_objext"
14566 # Insert the option either (1) after the last *FLAGS variable, or
14567 # (2) before a word containing "conftest.", or (3) at the end.
14568 # Note that $ac_compile itself does not contain backslashes and begins
14569 # with a dollar sign (not a hyphen), so the echo should work correctly.
14570 lt_compile=`echo "$ac_compile" | $SED \
14571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14573 -e 's:$: $lt_compiler_flag:'`
14574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14575 (eval "$lt_compile" 2>out/conftest.err)
14576 ac_status=$?
14577 cat out/conftest.err >&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14580 then
14581 # The compiler can only warn and ignore the option if not recognized
14582 # So say no if there are warnings
14583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14584 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14585 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14586 lt_cv_prog_compiler_c_o_CXX=yes
14589 chmod u+w . 2>&5
14590 $RM conftest*
14591 # SGI C++ compiler will create directory out/ii_files/ for
14592 # template instantiation
14593 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14594 $RM out/* && rmdir out
14595 cd ..
14596 $RM -r conftest
14597 $RM conftest*
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14601 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14606 hard_links="nottested"
14607 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14608 # do not overwrite the value of need_locks provided by the user
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14610 $as_echo_n "checking if we can lock with hard links... " >&6; }
14611 hard_links=yes
14612 $RM conftest*
14613 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14614 touch conftest.a
14615 ln conftest.a conftest.b 2>&5 || hard_links=no
14616 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14618 $as_echo "$hard_links" >&6; }
14619 if test "$hard_links" = no; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14621 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14622 need_locks=warn
14624 else
14625 need_locks=no
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14631 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14633 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14634 case $host_os in
14635 aix[4-9]*)
14636 # If we're using GNU nm, then we don't want the "-C" option.
14637 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14638 # Also, AIX nm treats weak defined symbols like other global defined
14639 # symbols, whereas GNU nm marks them as "W".
14640 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14641 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'
14642 else
14643 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'
14646 pw32*)
14647 export_symbols_cmds_CXX="$ltdll_cmds"
14649 cygwin* | mingw* | cegcc*)
14650 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'
14653 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14655 esac
14656 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14659 $as_echo "$ld_shlibs_CXX" >&6; }
14660 test "$ld_shlibs_CXX" = no && can_build_shared=no
14662 with_gnu_ld_CXX=$with_gnu_ld
14670 # Do we need to explicitly link libc?
14672 case "x$archive_cmds_need_lc_CXX" in
14673 x|xyes)
14674 # Assume -lc should be added
14675 archive_cmds_need_lc_CXX=yes
14677 if test "$enable_shared" = yes && test "$GCC" = yes; then
14678 case $archive_cmds_CXX in
14679 *'~'*)
14680 # FIXME: we may have to deal with multi-command sequences.
14682 '$CC '*)
14683 # Test whether the compiler implicitly links with -lc since on some
14684 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14685 # to ld, don't add -lc before -lgcc.
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14687 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14688 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 $RM conftest*
14692 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14695 (eval $ac_compile) 2>&5
14696 ac_status=$?
14697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14698 test $ac_status = 0; } 2>conftest.err; then
14699 soname=conftest
14700 lib=conftest
14701 libobjs=conftest.$ac_objext
14702 deplibs=
14703 wl=$lt_prog_compiler_wl_CXX
14704 pic_flag=$lt_prog_compiler_pic_CXX
14705 compiler_flags=-v
14706 linker_flags=-v
14707 verstring=
14708 output_objdir=.
14709 libname=conftest
14710 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14711 allow_undefined_flag_CXX=
14712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14713 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14714 ac_status=$?
14715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14716 test $ac_status = 0; }
14717 then
14718 lt_cv_archive_cmds_need_lc_CXX=no
14719 else
14720 lt_cv_archive_cmds_need_lc_CXX=yes
14722 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14723 else
14724 cat conftest.err 1>&5
14726 $RM conftest*
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14730 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14731 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14733 esac
14736 esac
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14802 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14804 library_names_spec=
14805 libname_spec='lib$name'
14806 soname_spec=
14807 shrext_cmds=".so"
14808 postinstall_cmds=
14809 postuninstall_cmds=
14810 finish_cmds=
14811 finish_eval=
14812 shlibpath_var=
14813 shlibpath_overrides_runpath=unknown
14814 version_type=none
14815 dynamic_linker="$host_os ld.so"
14816 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14817 need_lib_prefix=unknown
14818 hardcode_into_libs=no
14820 # when you set need_version to no, make sure it does not cause -set_version
14821 # flags to be left without arguments
14822 need_version=unknown
14824 case $host_os in
14825 aix3*)
14826 version_type=linux
14827 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14828 shlibpath_var=LIBPATH
14830 # AIX 3 has no versioning support, so we append a major version to the name.
14831 soname_spec='${libname}${release}${shared_ext}$major'
14834 aix[4-9]*)
14835 version_type=linux
14836 need_lib_prefix=no
14837 need_version=no
14838 hardcode_into_libs=yes
14839 if test "$host_cpu" = ia64; then
14840 # AIX 5 supports IA64
14841 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14842 shlibpath_var=LD_LIBRARY_PATH
14843 else
14844 # With GCC up to 2.95.x, collect2 would create an import file
14845 # for dependence libraries. The import file would start with
14846 # the line `#! .'. This would cause the generated library to
14847 # depend on `.', always an invalid library. This was fixed in
14848 # development snapshots of GCC prior to 3.0.
14849 case $host_os in
14850 aix4 | aix4.[01] | aix4.[01].*)
14851 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14852 echo ' yes '
14853 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14855 else
14856 can_build_shared=no
14859 esac
14860 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14861 # soname into executable. Probably we can add versioning support to
14862 # collect2, so additional links can be useful in future.
14863 if test "$aix_use_runtimelinking" = yes; then
14864 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14865 # instead of lib<name>.a to let people know that these are not
14866 # typical AIX shared libraries.
14867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14868 else
14869 # We preserve .a as extension for shared libraries through AIX4.2
14870 # and later when we are not doing run time linking.
14871 library_names_spec='${libname}${release}.a $libname.a'
14872 soname_spec='${libname}${release}${shared_ext}$major'
14874 shlibpath_var=LIBPATH
14878 amigaos*)
14879 case $host_cpu in
14880 powerpc)
14881 # Since July 2007 AmigaOS4 officially supports .so libraries.
14882 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14885 m68k)
14886 library_names_spec='$libname.ixlibrary $libname.a'
14887 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14888 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'
14890 esac
14893 beos*)
14894 library_names_spec='${libname}${shared_ext}'
14895 dynamic_linker="$host_os ld.so"
14896 shlibpath_var=LIBRARY_PATH
14899 bsdi[45]*)
14900 version_type=linux
14901 need_version=no
14902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14903 soname_spec='${libname}${release}${shared_ext}$major'
14904 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14905 shlibpath_var=LD_LIBRARY_PATH
14906 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14907 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14908 # the default ld.so.conf also contains /usr/contrib/lib and
14909 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14910 # libtool to hard-code these into programs
14913 cygwin* | mingw* | pw32* | cegcc*)
14914 version_type=windows
14915 shrext_cmds=".dll"
14916 need_version=no
14917 need_lib_prefix=no
14919 case $GCC,$host_os in
14920 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14921 library_names_spec='$libname.dll.a'
14922 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14923 postinstall_cmds='base_file=`basename \${file}`~
14924 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14925 dldir=$destdir/`dirname \$dlpath`~
14926 test -d \$dldir || mkdir -p \$dldir~
14927 $install_prog $dir/$dlname \$dldir/$dlname~
14928 chmod a+x \$dldir/$dlname~
14929 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14930 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14932 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14933 dlpath=$dir/\$dldll~
14934 $RM \$dlpath'
14935 shlibpath_overrides_runpath=yes
14937 case $host_os in
14938 cygwin*)
14939 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14940 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14943 mingw* | cegcc*)
14944 # MinGW DLLs use traditional 'lib' prefix
14945 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14947 pw32*)
14948 # pw32 DLLs use 'pw' prefix rather than 'lib'
14949 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14951 esac
14955 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14957 esac
14958 dynamic_linker='Win32 ld.exe'
14959 # FIXME: first we should search . and the directory the executable is in
14960 shlibpath_var=PATH
14963 darwin* | rhapsody*)
14964 dynamic_linker="$host_os dyld"
14965 version_type=darwin
14966 need_lib_prefix=no
14967 need_version=no
14968 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14969 soname_spec='${libname}${release}${major}$shared_ext'
14970 shlibpath_overrides_runpath=yes
14971 shlibpath_var=DYLD_LIBRARY_PATH
14972 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14974 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14977 dgux*)
14978 version_type=linux
14979 need_lib_prefix=no
14980 need_version=no
14981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14982 soname_spec='${libname}${release}${shared_ext}$major'
14983 shlibpath_var=LD_LIBRARY_PATH
14986 freebsd* | dragonfly*)
14987 # DragonFly does not have aout. When/if they implement a new
14988 # versioning mechanism, adjust this.
14989 if test -x /usr/bin/objformat; then
14990 objformat=`/usr/bin/objformat`
14991 else
14992 case $host_os in
14993 freebsd[23].*) objformat=aout ;;
14994 *) objformat=elf ;;
14995 esac
14997 version_type=freebsd-$objformat
14998 case $version_type in
14999 freebsd-elf*)
15000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15001 need_version=no
15002 need_lib_prefix=no
15004 freebsd-*)
15005 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15006 need_version=yes
15008 esac
15009 shlibpath_var=LD_LIBRARY_PATH
15010 case $host_os in
15011 freebsd2.*)
15012 shlibpath_overrides_runpath=yes
15014 freebsd3.[01]* | freebsdelf3.[01]*)
15015 shlibpath_overrides_runpath=yes
15016 hardcode_into_libs=yes
15018 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15019 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15020 shlibpath_overrides_runpath=no
15021 hardcode_into_libs=yes
15023 *) # from 4.6 on, and DragonFly
15024 shlibpath_overrides_runpath=yes
15025 hardcode_into_libs=yes
15027 esac
15030 haiku*)
15031 version_type=linux
15032 need_lib_prefix=no
15033 need_version=no
15034 dynamic_linker="$host_os runtime_loader"
15035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15036 soname_spec='${libname}${release}${shared_ext}$major'
15037 shlibpath_var=LIBRARY_PATH
15038 shlibpath_overrides_runpath=yes
15039 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15040 hardcode_into_libs=yes
15043 hpux9* | hpux10* | hpux11*)
15044 # Give a soname corresponding to the major version so that dld.sl refuses to
15045 # link against other versions.
15046 version_type=sunos
15047 need_lib_prefix=no
15048 need_version=no
15049 case $host_cpu in
15050 ia64*)
15051 shrext_cmds='.so'
15052 hardcode_into_libs=yes
15053 dynamic_linker="$host_os dld.so"
15054 shlibpath_var=LD_LIBRARY_PATH
15055 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057 soname_spec='${libname}${release}${shared_ext}$major'
15058 if test "X$HPUX_IA64_MODE" = X32; then
15059 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15060 else
15061 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15063 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15065 hppa*64*)
15066 shrext_cmds='.sl'
15067 hardcode_into_libs=yes
15068 dynamic_linker="$host_os dld.sl"
15069 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15074 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15077 shrext_cmds='.sl'
15078 dynamic_linker="$host_os dld.sl"
15079 shlibpath_var=SHLIB_PATH
15080 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15082 soname_spec='${libname}${release}${shared_ext}$major'
15084 esac
15085 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15086 postinstall_cmds='chmod 555 $lib'
15087 # or fails outright, so override atomically:
15088 install_override_mode=555
15091 interix[3-9]*)
15092 version_type=linux
15093 need_lib_prefix=no
15094 need_version=no
15095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15096 soname_spec='${libname}${release}${shared_ext}$major'
15097 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15098 shlibpath_var=LD_LIBRARY_PATH
15099 shlibpath_overrides_runpath=no
15100 hardcode_into_libs=yes
15103 irix5* | irix6* | nonstopux*)
15104 case $host_os in
15105 nonstopux*) version_type=nonstopux ;;
15107 if test "$lt_cv_prog_gnu_ld" = yes; then
15108 version_type=linux
15109 else
15110 version_type=irix
15111 fi ;;
15112 esac
15113 need_lib_prefix=no
15114 need_version=no
15115 soname_spec='${libname}${release}${shared_ext}$major'
15116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15117 case $host_os in
15118 irix5* | nonstopux*)
15119 libsuff= shlibsuff=
15122 case $LD in # libtool.m4 will add one of these switches to LD
15123 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15124 libsuff= shlibsuff= libmagic=32-bit;;
15125 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15126 libsuff=32 shlibsuff=N32 libmagic=N32;;
15127 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15128 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15129 *) libsuff= shlibsuff= libmagic=never-match;;
15130 esac
15132 esac
15133 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15134 shlibpath_overrides_runpath=no
15135 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15136 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15137 hardcode_into_libs=yes
15140 # No shared lib support for Linux oldld, aout, or coff.
15141 linux*oldld* | linux*aout* | linux*coff*)
15142 dynamic_linker=no
15145 # This must be Linux ELF.
15147 # uclinux* changes (here and below) have been submitted to the libtool
15148 # project, but have not yet been accepted: they are GCC-local changes
15149 # for the time being. (See
15150 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15151 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15152 version_type=linux
15153 need_lib_prefix=no
15154 need_version=no
15155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15156 soname_spec='${libname}${release}${shared_ext}$major'
15157 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15158 shlibpath_var=LD_LIBRARY_PATH
15159 shlibpath_overrides_runpath=no
15161 # Some binutils ld are patched to set DT_RUNPATH
15162 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 lt_cv_shlibpath_overrides_runpath=no
15166 save_LDFLAGS=$LDFLAGS
15167 save_libdir=$libdir
15168 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15169 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15170 if test x$gcc_no_link = xyes; then
15171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15177 main ()
15181 return 0;
15183 _ACEOF
15184 if ac_fn_cxx_try_link "$LINENO"; then :
15185 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15186 lt_cv_shlibpath_overrides_runpath=yes
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191 LDFLAGS=$save_LDFLAGS
15192 libdir=$save_libdir
15196 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15198 # This implies no fast_install, which is unacceptable.
15199 # Some rework will be needed to allow for fast_install
15200 # before this can be enabled.
15201 hardcode_into_libs=yes
15203 # Append ld.so.conf contents to the search path
15204 if test -f /etc/ld.so.conf; then
15205 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' ' '`
15206 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15209 # We used to test for /lib/ld.so.1 and disable shared libraries on
15210 # powerpc, because MkLinux only supported shared libraries with the
15211 # GNU dynamic linker. Since this was broken with cross compilers,
15212 # most powerpc-linux boxes support dynamic linking these days and
15213 # people can always --disable-shared, the test was removed, and we
15214 # assume the GNU/Linux dynamic linker is in use.
15215 dynamic_linker='GNU/Linux ld.so'
15218 netbsd*)
15219 version_type=sunos
15220 need_lib_prefix=no
15221 need_version=no
15222 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15224 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15225 dynamic_linker='NetBSD (a.out) ld.so'
15226 else
15227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15228 soname_spec='${libname}${release}${shared_ext}$major'
15229 dynamic_linker='NetBSD ld.elf_so'
15231 shlibpath_var=LD_LIBRARY_PATH
15232 shlibpath_overrides_runpath=yes
15233 hardcode_into_libs=yes
15236 newsos6)
15237 version_type=linux
15238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15239 shlibpath_var=LD_LIBRARY_PATH
15240 shlibpath_overrides_runpath=yes
15243 *nto* | *qnx*)
15244 version_type=qnx
15245 need_lib_prefix=no
15246 need_version=no
15247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15248 soname_spec='${libname}${release}${shared_ext}$major'
15249 shlibpath_var=LD_LIBRARY_PATH
15250 shlibpath_overrides_runpath=no
15251 hardcode_into_libs=yes
15252 dynamic_linker='ldqnx.so'
15255 openbsd*)
15256 version_type=sunos
15257 sys_lib_dlsearch_path_spec="/usr/lib"
15258 need_lib_prefix=no
15259 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15260 case $host_os in
15261 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15262 *) need_version=no ;;
15263 esac
15264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15265 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15266 shlibpath_var=LD_LIBRARY_PATH
15267 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15268 case $host_os in
15269 openbsd2.[89] | openbsd2.[89].*)
15270 shlibpath_overrides_runpath=no
15273 shlibpath_overrides_runpath=yes
15275 esac
15276 else
15277 shlibpath_overrides_runpath=yes
15281 os2*)
15282 libname_spec='$name'
15283 shrext_cmds=".dll"
15284 need_lib_prefix=no
15285 library_names_spec='$libname${shared_ext} $libname.a'
15286 dynamic_linker='OS/2 ld.exe'
15287 shlibpath_var=LIBPATH
15290 osf3* | osf4* | osf5*)
15291 version_type=osf
15292 need_lib_prefix=no
15293 need_version=no
15294 soname_spec='${libname}${release}${shared_ext}$major'
15295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296 shlibpath_var=LD_LIBRARY_PATH
15297 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15298 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15301 rdos*)
15302 dynamic_linker=no
15305 solaris*)
15306 version_type=linux
15307 need_lib_prefix=no
15308 need_version=no
15309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15310 soname_spec='${libname}${release}${shared_ext}$major'
15311 shlibpath_var=LD_LIBRARY_PATH
15312 shlibpath_overrides_runpath=yes
15313 hardcode_into_libs=yes
15314 # ldd complains unless libraries are executable
15315 postinstall_cmds='chmod +x $lib'
15318 sunos4*)
15319 version_type=sunos
15320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15321 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15322 shlibpath_var=LD_LIBRARY_PATH
15323 shlibpath_overrides_runpath=yes
15324 if test "$with_gnu_ld" = yes; then
15325 need_lib_prefix=no
15327 need_version=yes
15330 sysv4 | sysv4.3*)
15331 version_type=linux
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333 soname_spec='${libname}${release}${shared_ext}$major'
15334 shlibpath_var=LD_LIBRARY_PATH
15335 case $host_vendor in
15336 sni)
15337 shlibpath_overrides_runpath=no
15338 need_lib_prefix=no
15339 runpath_var=LD_RUN_PATH
15341 siemens)
15342 need_lib_prefix=no
15344 motorola)
15345 need_lib_prefix=no
15346 need_version=no
15347 shlibpath_overrides_runpath=no
15348 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15350 esac
15353 sysv4*MP*)
15354 if test -d /usr/nec ;then
15355 version_type=linux
15356 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15357 soname_spec='$libname${shared_ext}.$major'
15358 shlibpath_var=LD_LIBRARY_PATH
15362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15363 version_type=freebsd-elf
15364 need_lib_prefix=no
15365 need_version=no
15366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15367 soname_spec='${libname}${release}${shared_ext}$major'
15368 shlibpath_var=LD_LIBRARY_PATH
15369 shlibpath_overrides_runpath=yes
15370 hardcode_into_libs=yes
15371 if test "$with_gnu_ld" = yes; then
15372 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15373 else
15374 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15375 case $host_os in
15376 sco3.2v5*)
15377 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15379 esac
15381 sys_lib_dlsearch_path_spec='/usr/lib'
15384 tpf*)
15385 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15386 version_type=linux
15387 need_lib_prefix=no
15388 need_version=no
15389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15390 shlibpath_var=LD_LIBRARY_PATH
15391 shlibpath_overrides_runpath=no
15392 hardcode_into_libs=yes
15395 uts4*)
15396 version_type=linux
15397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398 soname_spec='${libname}${release}${shared_ext}$major'
15399 shlibpath_var=LD_LIBRARY_PATH
15403 dynamic_linker=no
15405 esac
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15407 $as_echo "$dynamic_linker" >&6; }
15408 test "$dynamic_linker" = no && can_build_shared=no
15410 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15411 if test "$GCC" = yes; then
15412 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15415 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15416 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15418 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15419 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15460 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15461 hardcode_action_CXX=
15462 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15463 test -n "$runpath_var_CXX" ||
15464 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15466 # We can hardcode non-existent directories.
15467 if test "$hardcode_direct_CXX" != no &&
15468 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15469 # have to relink, otherwise we might link with an installed library
15470 # when we should be linking with a yet-to-be-installed one
15471 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15472 test "$hardcode_minus_L_CXX" != no; then
15473 # Linking always hardcodes the temporary library directory.
15474 hardcode_action_CXX=relink
15475 else
15476 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15477 hardcode_action_CXX=immediate
15479 else
15480 # We cannot hardcode anything, or else we can only hardcode existing
15481 # directories.
15482 hardcode_action_CXX=unsupported
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15485 $as_echo "$hardcode_action_CXX" >&6; }
15487 if test "$hardcode_action_CXX" = relink ||
15488 test "$inherit_rpath_CXX" = yes; then
15489 # Fast installation is not supported
15490 enable_fast_install=no
15491 elif test "$shlibpath_overrides_runpath" = yes ||
15492 test "$enable_shared" = no; then
15493 # Fast installation is not necessary
15494 enable_fast_install=needless
15503 fi # test -n "$compiler"
15505 CC=$lt_save_CC
15506 LDCXX=$LD
15507 LD=$lt_save_LD
15508 GCC=$lt_save_GCC
15509 with_gnu_ld=$lt_save_with_gnu_ld
15510 lt_cv_path_LDCXX=$lt_cv_path_LD
15511 lt_cv_path_LD=$lt_save_path_LD
15512 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15513 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15514 fi # test "$_lt_caught_CXX_error" != yes
15516 ac_ext=c
15517 ac_cpp='$CPP $CPPFLAGS'
15518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534 ac_config_commands="$ac_config_commands libtool"
15539 # Only expand once:
15545 case $host in
15546 *-cygwin* | *-mingw*)
15547 # 'host' will be top-level target in the case of a target lib,
15548 # we must compare to with_cross_host to decide if this is a native
15549 # or cross-compiler and select where to install dlls appropriately.
15550 if test -n "$with_cross_host" &&
15551 test x"$with_cross_host" != x"no"; then
15552 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15553 else
15554 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15558 lt_host_flags=
15560 esac
15567 if test "$enable_vtable_verify" = yes; then
15568 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15569 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15573 # libtool variables for C++ shared and position-independent compiles.
15575 # Use glibcxx_lt_pic_flag to designate the automake variable
15576 # used to encapsulate the default libtool approach to creating objects
15577 # with position-independent code. Default: -prefer-pic.
15579 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15580 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15582 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15583 # creating position-independent objects. This varies with the target
15584 # hardware and operating system, but is often: -DPIC -fPIC.
15585 if test "$enable_shared" = yes; then
15586 glibcxx_lt_pic_flag="-prefer-pic"
15587 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15588 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15590 else
15591 glibcxx_lt_pic_flag=
15592 glibcxx_compiler_pic_flag=
15593 glibcxx_compiler_shared_flag=
15599 # Override the libtool's pic_flag and pic_mode.
15600 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15601 # NB: this impacts --with-pic and --without-pic.
15602 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15603 pic_mode='default'
15605 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15606 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15608 # Possibly disable most of the library.
15609 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15610 ## than just ignoring the results. Faster /and/ more correct, win win.
15612 # Check whether --enable-hosted-libstdcxx was given.
15613 if test "${enable_hosted_libstdcxx+set}" = set; then :
15614 enableval=$enable_hosted_libstdcxx;
15615 else
15616 case "$host" in
15617 arm*-*-symbianelf*)
15618 enable_hosted_libstdcxx=no
15621 enable_hosted_libstdcxx=yes
15623 esac
15626 if test "$enable_hosted_libstdcxx" = no; then
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15628 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15629 is_hosted=no
15630 hosted_define=0
15631 enable_abi_check=no
15632 enable_libstdcxx_pch=no
15633 else
15634 is_hosted=yes
15635 hosted_define=1
15639 cat >>confdefs.h <<_ACEOF
15640 #define _GLIBCXX_HOSTED $hosted_define
15641 _ACEOF
15645 # Enable descriptive messages to standard output on termination.
15647 # Check whether --enable-libstdcxx-verbose was given.
15648 if test "${enable_libstdcxx_verbose+set}" = set; then :
15649 enableval=$enable_libstdcxx_verbose;
15650 else
15651 enable_libstdcxx_verbose=yes
15654 if test x"$enable_libstdcxx_verbose" = xyes; then
15655 verbose_define=1
15656 else
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15658 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15659 verbose_define=0
15662 cat >>confdefs.h <<_ACEOF
15663 #define _GLIBCXX_VERBOSE $verbose_define
15664 _ACEOF
15668 # Enable compiler support that doesn't require linking.
15670 # Check whether --enable-libstdcxx-pch was given.
15671 if test "${enable_libstdcxx_pch+set}" = set; then :
15672 enableval=$enable_libstdcxx_pch;
15673 case "$enableval" in
15674 yes|no) ;;
15675 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15676 esac
15678 else
15679 enable_libstdcxx_pch=$is_hosted
15683 if test $enable_libstdcxx_pch = yes; then
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15685 $as_echo_n "checking for compiler with PCH support... " >&6; }
15686 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15687 $as_echo_n "(cached) " >&6
15688 else
15689 ac_save_CXXFLAGS="$CXXFLAGS"
15690 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15692 ac_ext=cpp
15693 ac_cpp='$CXXCPP $CPPFLAGS'
15694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15698 echo '#include <math.h>' > conftest.h
15699 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15700 -o conftest.h.gch 1>&5 2>&1 &&
15701 echo '#error "pch failed"' > conftest.h &&
15702 echo '#include "conftest.h"' > conftest.cc &&
15703 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15704 then
15705 glibcxx_cv_prog_CXX_pch=yes
15706 else
15707 glibcxx_cv_prog_CXX_pch=no
15709 rm -f conftest*
15710 CXXFLAGS=$ac_save_CXXFLAGS
15711 ac_ext=c
15712 ac_cpp='$CPP $CPPFLAGS'
15713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15720 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15721 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15725 $as_echo_n "checking for enabled PCH... " >&6; }
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15727 $as_echo "$enable_libstdcxx_pch" >&6; }
15730 if test $enable_libstdcxx_pch = yes; then
15731 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15732 else
15733 glibcxx_PCHFLAGS=""
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15739 $as_echo_n "checking for thread model used by GCC... " >&6; }
15740 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15742 $as_echo "$target_thread_file" >&6; }
15744 case $target_thread_file in
15745 aix) thread_header=config/rs6000/gthr-aix.h ;;
15746 dce) thread_header=config/pa/gthr-dce.h ;;
15747 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15748 lynx) thread_header=config/gthr-lynx.h ;;
15749 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15750 posix) thread_header=gthr-posix.h ;;
15751 rtems) thread_header=config/gthr-rtems.h ;;
15752 single) thread_header=gthr-single.h ;;
15753 tpf) thread_header=config/s390/gthr-tpf.h ;;
15754 vxworks) thread_header=config/gthr-vxworks.h ;;
15755 win32) thread_header=config/i386/gthr-win32.h ;;
15756 esac
15762 ac_ext=cpp
15763 ac_cpp='$CXXCPP $CPPFLAGS'
15764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15768 old_CXXFLAGS="$CXXFLAGS"
15770 # Do link tests if possible, instead asm tests, limited to some platforms
15771 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15772 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15773 atomic_builtins_link_tests=no
15774 if test x$gcc_no_link != xyes; then
15775 # Can do link tests. Limit to some tested platforms
15776 case "$host" in
15777 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15778 atomic_builtins_link_tests=yes
15780 esac
15783 if test x$atomic_builtins_link_tests = xyes; then
15785 # Do link tests.
15787 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15790 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15791 if ${glibcxx_cv_atomic_bool+:} false; then :
15792 $as_echo_n "(cached) " >&6
15793 else
15795 if test x$gcc_no_link = xyes; then
15796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15802 main ()
15804 typedef bool atomic_type;
15805 atomic_type c1;
15806 atomic_type c2;
15807 atomic_type c3(0);
15808 // N.B. __atomic_fetch_add is not supported for bool.
15809 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15810 __ATOMIC_RELAXED);
15811 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15812 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15815 return 0;
15817 _ACEOF
15818 if ac_fn_cxx_try_link "$LINENO"; then :
15819 glibcxx_cv_atomic_bool=yes
15820 else
15821 glibcxx_cv_atomic_bool=no
15823 rm -f core conftest.err conftest.$ac_objext \
15824 conftest$ac_exeext conftest.$ac_ext
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15829 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15832 $as_echo_n "checking for atomic builtins for short... " >&6; }
15833 if ${glibcxx_cv_atomic_short+:} false; then :
15834 $as_echo_n "(cached) " >&6
15835 else
15837 if test x$gcc_no_link = xyes; then
15838 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15844 main ()
15846 typedef short atomic_type;
15847 atomic_type c1;
15848 atomic_type c2;
15849 atomic_type c3(0);
15850 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15851 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15852 __ATOMIC_RELAXED);
15853 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15854 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15857 return 0;
15859 _ACEOF
15860 if ac_fn_cxx_try_link "$LINENO"; then :
15861 glibcxx_cv_atomic_short=yes
15862 else
15863 glibcxx_cv_atomic_short=no
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15871 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15874 $as_echo_n "checking for atomic builtins for int... " >&6; }
15875 if ${glibcxx_cv_atomic_int+:} false; then :
15876 $as_echo_n "(cached) " >&6
15877 else
15879 if test x$gcc_no_link = xyes; then
15880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15886 main ()
15888 typedef int atomic_type;
15889 atomic_type c1;
15890 atomic_type c2;
15891 atomic_type c3(0);
15892 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15893 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15894 __ATOMIC_RELAXED);
15895 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15896 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15899 return 0;
15901 _ACEOF
15902 if ac_fn_cxx_try_link "$LINENO"; then :
15903 glibcxx_cv_atomic_int=yes
15904 else
15905 glibcxx_cv_atomic_int=no
15907 rm -f core conftest.err conftest.$ac_objext \
15908 conftest$ac_exeext conftest.$ac_ext
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15913 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15916 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15917 if ${glibcxx_cv_atomic_long_long+:} false; then :
15918 $as_echo_n "(cached) " >&6
15919 else
15921 if test x$gcc_no_link = xyes; then
15922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15925 /* end confdefs.h. */
15928 main ()
15930 typedef long long atomic_type;
15931 atomic_type c1;
15932 atomic_type c2;
15933 atomic_type c3(0);
15934 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15935 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15936 __ATOMIC_RELAXED);
15937 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15938 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15941 return 0;
15943 _ACEOF
15944 if ac_fn_cxx_try_link "$LINENO"; then :
15945 glibcxx_cv_atomic_long_long=yes
15946 else
15947 glibcxx_cv_atomic_long_long=no
15949 rm -f core conftest.err conftest.$ac_objext \
15950 conftest$ac_exeext conftest.$ac_ext
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15955 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15957 else
15959 # Do asm tests.
15961 # Compile unoptimized.
15962 CXXFLAGS='-O0 -S'
15964 # Fake what AC_TRY_COMPILE does.
15966 cat > conftest.$ac_ext << EOF
15967 #line 15967 "configure"
15968 int main()
15970 typedef bool atomic_type;
15971 atomic_type c1;
15972 atomic_type c2;
15973 atomic_type c3(0);
15974 // N.B. __atomic_fetch_add is not supported for bool.
15975 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15976 __ATOMIC_RELAXED);
15977 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15978 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15980 return 0;
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15985 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15987 (eval $ac_compile) 2>&5
15988 ac_status=$?
15989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15990 test $ac_status = 0; }; then
15991 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15992 glibcxx_cv_atomic_bool=no
15993 else
15994 glibcxx_cv_atomic_bool=yes
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15998 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15999 rm -f conftest*
16001 cat > conftest.$ac_ext << EOF
16002 #line 16002 "configure"
16003 int main()
16005 typedef short atomic_type;
16006 atomic_type c1;
16007 atomic_type c2;
16008 atomic_type c3(0);
16009 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16010 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16011 __ATOMIC_RELAXED);
16012 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16013 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16015 return 0;
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16020 $as_echo_n "checking for atomic builtins for short... " >&6; }
16021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16022 (eval $ac_compile) 2>&5
16023 ac_status=$?
16024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16025 test $ac_status = 0; }; then
16026 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16027 glibcxx_cv_atomic_short=no
16028 else
16029 glibcxx_cv_atomic_short=yes
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16033 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16034 rm -f conftest*
16036 cat > conftest.$ac_ext << EOF
16037 #line 16037 "configure"
16038 int main()
16040 // NB: _Atomic_word not necessarily int.
16041 typedef int atomic_type;
16042 atomic_type c1;
16043 atomic_type c2;
16044 atomic_type c3(0);
16045 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16046 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16047 __ATOMIC_RELAXED);
16048 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16049 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16051 return 0;
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16056 $as_echo_n "checking for atomic builtins for int... " >&6; }
16057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16058 (eval $ac_compile) 2>&5
16059 ac_status=$?
16060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16061 test $ac_status = 0; }; then
16062 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16063 glibcxx_cv_atomic_int=no
16064 else
16065 glibcxx_cv_atomic_int=yes
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16069 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16070 rm -f conftest*
16072 cat > conftest.$ac_ext << EOF
16073 #line 16073 "configure"
16074 int main()
16076 typedef long long atomic_type;
16077 atomic_type c1;
16078 atomic_type c2;
16079 atomic_type c3(0);
16080 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16081 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16082 __ATOMIC_RELAXED);
16083 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16084 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16086 return 0;
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16091 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16093 (eval $ac_compile) 2>&5
16094 ac_status=$?
16095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16096 test $ac_status = 0; }; then
16097 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16098 glibcxx_cv_atomic_long_long=no
16099 else
16100 glibcxx_cv_atomic_long_long=yes
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16104 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16105 rm -f conftest*
16109 CXXFLAGS="$old_CXXFLAGS"
16110 ac_ext=c
16111 ac_cpp='$CPP $CPPFLAGS'
16112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16117 # Set atomicity_dir to builtins if all but the long long test above passes,
16118 # or if the builtins were already chosen (e.g. by configure.host).
16119 if { test "$glibcxx_cv_atomic_bool" = yes \
16120 && test "$glibcxx_cv_atomic_short" = yes \
16121 && test "$glibcxx_cv_atomic_int" = yes; } \
16122 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16124 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16126 atomicity_dir=cpu/generic/atomicity_builtins
16129 # If still generic, set to mutex.
16130 if test $atomicity_dir = "cpu/generic" ; then
16131 atomicity_dir=cpu/generic/atomicity_mutex
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16133 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16134 if test "x$target_thread_file" = xsingle; then
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16136 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16138 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16139 else
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16141 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16143 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16151 # Check whether --with-libstdcxx-lock-policy was given.
16152 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16153 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16154 else
16155 libstdcxx_atomic_lock_policy=auto
16159 case "$libstdcxx_atomic_lock_policy" in
16160 atomic|mutex|auto) ;;
16161 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16162 esac
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16164 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16166 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16168 ac_ext=cpp
16169 ac_cpp='$CXXCPP $CPPFLAGS'
16170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16174 ac_save_CXXFLAGS="$CXXFLAGS"
16176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16177 /* end confdefs.h. */
16179 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16180 # error "No 2-byte compare-and-swap"
16181 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16182 # error "No 4-byte compare-and-swap"
16183 #endif
16186 main ()
16190 return 0;
16192 _ACEOF
16193 if ac_fn_cxx_try_compile "$LINENO"; then :
16194 libstdcxx_atomic_lock_policy=atomic
16195 else
16196 libstdcxx_atomic_lock_policy=mutex
16198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16199 ac_ext=c
16200 ac_cpp='$CPP $CPPFLAGS'
16201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16205 CXXFLAGS="$ac_save_CXXFLAGS"
16208 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16210 $as_echo "atomic" >&6; }
16212 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16214 else
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16216 $as_echo "mutex" >&6; }
16222 # Fake what AC_TRY_COMPILE does, without linking as this is
16223 # unnecessary for this test.
16225 cat > conftest.$ac_ext << EOF
16226 #line 16226 "configure"
16227 int main()
16229 _Decimal32 d1;
16230 _Decimal64 d2;
16231 _Decimal128 d3;
16232 return 0;
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16237 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16239 (eval $ac_compile) 2>&5
16240 ac_status=$?
16241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16242 test $ac_status = 0; }; then
16244 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16246 enable_dfp=yes
16247 else
16248 enable_dfp=no
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16251 $as_echo "$enable_dfp" >&6; }
16252 rm -f conftest*
16257 ac_ext=cpp
16258 ac_cpp='$CXXCPP $CPPFLAGS'
16259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16264 # Fake what AC_TRY_COMPILE does, without linking as this is
16265 # unnecessary for this test.
16267 cat > conftest.$ac_ext << EOF
16268 #line 16268 "configure"
16269 template<typename T1, typename T2>
16270 struct same
16271 { typedef T2 type; };
16273 template<typename T>
16274 struct same<T, T>;
16276 int main()
16278 typename same<double, __float128>::type f1;
16279 typename same<long double, __float128>::type f2;
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16284 $as_echo_n "checking for __float128... " >&6; }
16285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16286 (eval $ac_compile) 2>&5
16287 ac_status=$?
16288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16289 test $ac_status = 0; }; then
16290 enable_float128=yes
16291 else
16292 enable_float128=no
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16295 $as_echo "$enable_float128" >&6; }
16297 rm -f conftest*
16299 ac_ext=c
16300 ac_cpp='$CPP $CPPFLAGS'
16301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16306 if test "$enable_float128" = yes; then
16307 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16310 # Checks for compiler support that doesn't require linking.
16312 # All these tests are for C++; save the language and the compiler flags.
16313 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16314 # found in GLIBCXX_CONFIGURE.
16316 ac_ext=cpp
16317 ac_cpp='$CXXCPP $CPPFLAGS'
16318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16322 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16323 ac_save_CXXFLAGS="$CXXFLAGS"
16325 # Check for -ffunction-sections -fdata-sections
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16327 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16328 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16330 /* end confdefs.h. */
16331 int foo; void bar() { };
16333 main ()
16337 return 0;
16339 _ACEOF
16340 if ac_fn_cxx_try_compile "$LINENO"; then :
16341 ac_fdsections=yes
16342 else
16343 ac_fdsections=no
16345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16346 if test "$ac_test_CXXFLAGS" = set; then
16347 CXXFLAGS="$ac_save_CXXFLAGS"
16348 else
16349 # this is the suspicious part
16350 CXXFLAGS=''
16352 if test x"$ac_fdsections" = x"yes"; then
16353 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16356 $as_echo "$ac_fdsections" >&6; }
16358 ac_ext=c
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16367 # Enable all the variable C++ runtime options that don't require linking.
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16370 $as_echo_n "checking for underlying I/O to use... " >&6; }
16371 # Check whether --enable-cstdio was given.
16372 if test "${enable_cstdio+set}" = set; then :
16373 enableval=$enable_cstdio;
16374 case "$enableval" in
16375 stdio|stdio_posix|stdio_pure) ;;
16376 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16377 esac
16379 else
16380 enable_cstdio=stdio
16385 # The only available I/O model is based on stdio, via basic_file_stdio.
16386 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16387 # to get a file descriptor and then uses read(3) and write(3) with it.
16388 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16389 case ${enable_cstdio} in
16390 stdio*)
16391 CSTDIO_H=config/io/c_io_stdio.h
16392 BASIC_FILE_H=config/io/basic_file_stdio.h
16393 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16395 $as_echo "stdio" >&6; }
16397 if test "x$enable_cstdio" = "xstdio_pure" ; then
16399 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16403 esac
16410 # Check whether --enable-clocale was given.
16411 if test "${enable_clocale+set}" = set; then :
16412 enableval=$enable_clocale;
16413 case "$enableval" in
16414 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16415 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16416 esac
16418 else
16419 enable_clocale=auto
16424 # Deal with gettext issues. Default to not using it (=no) until we detect
16425 # support for it later. Let the user turn it off via --e/d, but let that
16426 # default to on for easier handling.
16427 USE_NLS=no
16428 # Check whether --enable-nls was given.
16429 if test "${enable_nls+set}" = set; then :
16430 enableval=$enable_nls;
16431 else
16432 enable_nls=yes
16436 # Either a known package, or "auto"
16437 if test $enable_clocale = no || test $enable_clocale = yes; then
16438 enable_clocale=auto
16440 enable_clocale_flag=$enable_clocale
16442 # Probe for locale model to use if none specified.
16443 # Default to "generic".
16444 if test $enable_clocale_flag = auto; then
16445 case ${target_os} in
16446 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16447 enable_clocale_flag=gnu
16449 darwin*)
16450 enable_clocale_flag=darwin
16452 vxworks*)
16453 enable_clocale_flag=vxworks
16455 dragonfly* | freebsd*)
16456 enable_clocale_flag=dragonfly
16458 openbsd*)
16459 enable_clocale_flag=newlib
16462 if test x"$with_newlib" = x"yes"; then
16463 enable_clocale_flag=newlib
16464 else
16465 enable_clocale_flag=generic
16468 esac
16471 # Sanity check model, and test for special functionality.
16472 if test $enable_clocale_flag = gnu; then
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16476 #include <features.h>
16477 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16478 _GLIBCXX_ok
16479 #endif
16481 _ACEOF
16482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16483 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16484 enable_clocale_flag=gnu
16485 else
16486 enable_clocale_flag=generic
16488 rm -f conftest*
16491 # Set it to scream when it hurts.
16492 ac_save_CFLAGS="$CFLAGS"
16493 CFLAGS="-Wimplicit-function-declaration -Werror"
16495 # Use strxfrm_l if available.
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16498 #define _GNU_SOURCE 1
16499 #include <string.h>
16500 #include <locale.h>
16502 main ()
16504 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_compile "$LINENO"; then :
16511 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516 # Use strerror_l if available.
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16519 #define _GNU_SOURCE 1
16520 #include <string.h>
16521 #include <locale.h>
16523 main ()
16525 __locale_t loc; strerror_l(5, loc);
16527 return 0;
16529 _ACEOF
16530 if ac_fn_c_try_compile "$LINENO"; then :
16532 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16537 CFLAGS="$ac_save_CFLAGS"
16540 # Perhaps use strerror_r if available, and strerror_l isn't.
16541 ac_save_CFLAGS="$CFLAGS"
16542 CFLAGS="-Wimplicit-function-declaration -Werror"
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16545 #define _GNU_SOURCE 1
16546 #include <string.h>
16547 #include <locale.h>
16549 main ()
16551 char s[128]; strerror_r(5, s, 128);
16553 return 0;
16555 _ACEOF
16556 if ac_fn_c_try_compile "$LINENO"; then :
16558 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16562 CFLAGS="$ac_save_CFLAGS"
16564 # Set configure bits for specified locale package
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16566 $as_echo_n "checking for C locale to use... " >&6; }
16567 case ${enable_clocale_flag} in
16568 generic)
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16570 $as_echo "generic" >&6; }
16572 CLOCALE_H=config/locale/generic/c_locale.h
16573 CLOCALE_CC=config/locale/generic/c_locale.cc
16574 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16575 CCOLLATE_CC=config/locale/generic/collate_members.cc
16576 CCTYPE_CC=config/locale/generic/ctype_members.cc
16577 CMESSAGES_H=config/locale/generic/messages_members.h
16578 CMESSAGES_CC=config/locale/generic/messages_members.cc
16579 CMONEY_CC=config/locale/generic/monetary_members.cc
16580 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16581 CTIME_H=config/locale/generic/time_members.h
16582 CTIME_CC=config/locale/generic/time_members.cc
16583 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16585 darwin)
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16587 $as_echo "darwin" >&6; }
16589 CLOCALE_H=config/locale/generic/c_locale.h
16590 CLOCALE_CC=config/locale/generic/c_locale.cc
16591 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16592 CCOLLATE_CC=config/locale/generic/collate_members.cc
16593 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16594 CMESSAGES_H=config/locale/generic/messages_members.h
16595 CMESSAGES_CC=config/locale/generic/messages_members.cc
16596 CMONEY_CC=config/locale/generic/monetary_members.cc
16597 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16598 CTIME_H=config/locale/generic/time_members.h
16599 CTIME_CC=config/locale/generic/time_members.cc
16600 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16602 vxworks)
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16604 $as_echo "vxworks" >&6; }
16606 CLOCALE_H=config/locale/generic/c_locale.h
16607 CLOCALE_CC=config/locale/generic/c_locale.cc
16608 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16609 CCOLLATE_CC=config/locale/generic/collate_members.cc
16610 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16611 CMESSAGES_H=config/locale/generic/messages_members.h
16612 CMESSAGES_CC=config/locale/generic/messages_members.cc
16613 CMONEY_CC=config/locale/generic/monetary_members.cc
16614 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16615 CTIME_H=config/locale/generic/time_members.h
16616 CTIME_CC=config/locale/generic/time_members.cc
16617 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16619 dragonfly)
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16621 $as_echo "dragonfly or freebsd" >&6; }
16623 CLOCALE_H=config/locale/dragonfly/c_locale.h
16624 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16625 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16626 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16627 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16628 CMESSAGES_H=config/locale/generic/messages_members.h
16629 CMESSAGES_CC=config/locale/generic/messages_members.cc
16630 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16631 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16632 CTIME_H=config/locale/dragonfly/time_members.h
16633 CTIME_CC=config/locale/dragonfly/time_members.cc
16634 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16637 gnu)
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16639 $as_echo "gnu" >&6; }
16641 # Declare intention to use gettext, and add support for specific
16642 # languages.
16643 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16644 ALL_LINGUAS="de fr"
16646 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16647 # Extract the first word of "msgfmt", so it can be a program name with args.
16648 set dummy msgfmt; ac_word=$2
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16650 $as_echo_n "checking for $ac_word... " >&6; }
16651 if ${ac_cv_prog_check_msgfmt+:} false; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654 if test -n "$check_msgfmt"; then
16655 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16656 else
16657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16658 for as_dir in $PATH
16660 IFS=$as_save_IFS
16661 test -z "$as_dir" && as_dir=.
16662 for ac_exec_ext in '' $ac_executable_extensions; do
16663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16664 ac_cv_prog_check_msgfmt="yes"
16665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16666 break 2
16668 done
16669 done
16670 IFS=$as_save_IFS
16672 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16675 check_msgfmt=$ac_cv_prog_check_msgfmt
16676 if test -n "$check_msgfmt"; then
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16678 $as_echo "$check_msgfmt" >&6; }
16679 else
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16681 $as_echo "no" >&6; }
16685 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16686 USE_NLS=yes
16688 # Export the build objects.
16689 for ling in $ALL_LINGUAS; do \
16690 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16691 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16692 done
16696 CLOCALE_H=config/locale/gnu/c_locale.h
16697 CLOCALE_CC=config/locale/gnu/c_locale.cc
16698 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16699 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16700 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16701 CMESSAGES_H=config/locale/gnu/messages_members.h
16702 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16703 CMONEY_CC=config/locale/gnu/monetary_members.cc
16704 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16705 CTIME_H=config/locale/gnu/time_members.h
16706 CTIME_CC=config/locale/gnu/time_members.cc
16707 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16709 ieee_1003.1-2001)
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16711 $as_echo "IEEE 1003.1" >&6; }
16713 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16714 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16715 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16716 CCOLLATE_CC=config/locale/generic/collate_members.cc
16717 CCTYPE_CC=config/locale/generic/ctype_members.cc
16718 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16719 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16720 CMONEY_CC=config/locale/generic/monetary_members.cc
16721 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16722 CTIME_H=config/locale/generic/time_members.h
16723 CTIME_CC=config/locale/generic/time_members.cc
16724 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16726 newlib)
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16728 $as_echo "newlib" >&6; }
16730 CLOCALE_H=config/locale/generic/c_locale.h
16731 CLOCALE_CC=config/locale/generic/c_locale.cc
16732 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16733 CCOLLATE_CC=config/locale/generic/collate_members.cc
16734 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16735 CMESSAGES_H=config/locale/generic/messages_members.h
16736 CMESSAGES_CC=config/locale/generic/messages_members.cc
16737 CMONEY_CC=config/locale/generic/monetary_members.cc
16738 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16739 CTIME_H=config/locale/generic/time_members.h
16740 CTIME_CC=config/locale/generic/time_members.cc
16741 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16743 esac
16745 # This is where the testsuite looks for locale catalogs, using the
16746 # -DLOCALEDIR define during testsuite compilation.
16747 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16750 # A standalone libintl (e.g., GNU libintl) may be in use.
16751 if test $USE_NLS = yes; then
16752 for ac_header in libintl.h
16753 do :
16754 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16755 if test "x$ac_cv_header_libintl_h" = xyes; then :
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_LIBINTL_H 1
16758 _ACEOF
16760 else
16761 USE_NLS=no
16764 done
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16767 $as_echo_n "checking for library containing gettext... " >&6; }
16768 if ${ac_cv_search_gettext+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 ac_func_search_save_LIBS=$LIBS
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16775 /* Override any GCC internal prototype to avoid an error.
16776 Use char because int might match the return type of a GCC
16777 builtin and then its argument prototype would still apply. */
16778 #ifdef __cplusplus
16779 extern "C"
16780 #endif
16781 char gettext ();
16783 main ()
16785 return gettext ();
16787 return 0;
16789 _ACEOF
16790 for ac_lib in '' intl; do
16791 if test -z "$ac_lib"; then
16792 ac_res="none required"
16793 else
16794 ac_res=-l$ac_lib
16795 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16797 if test x$gcc_no_link = xyes; then
16798 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16800 if ac_fn_c_try_link "$LINENO"; then :
16801 ac_cv_search_gettext=$ac_res
16803 rm -f core conftest.err conftest.$ac_objext \
16804 conftest$ac_exeext
16805 if ${ac_cv_search_gettext+:} false; then :
16806 break
16808 done
16809 if ${ac_cv_search_gettext+:} false; then :
16811 else
16812 ac_cv_search_gettext=no
16814 rm conftest.$ac_ext
16815 LIBS=$ac_func_search_save_LIBS
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16818 $as_echo "$ac_cv_search_gettext" >&6; }
16819 ac_res=$ac_cv_search_gettext
16820 if test "$ac_res" != no; then :
16821 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16823 else
16824 USE_NLS=no
16828 if test $USE_NLS = yes; then
16830 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16850 $as_echo_n "checking for std::allocator base class... " >&6; }
16851 # Check whether --enable-libstdcxx-allocator was given.
16852 if test "${enable_libstdcxx_allocator+set}" = set; then :
16853 enableval=$enable_libstdcxx_allocator;
16854 case "$enableval" in
16855 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16856 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16857 esac
16859 else
16860 enable_libstdcxx_allocator=auto
16865 # If they didn't use this option switch, or if they specified --enable
16866 # with no specific model, we'll have to look for one. If they
16867 # specified --disable (???), do likewise.
16868 if test $enable_libstdcxx_allocator = no ||
16869 test $enable_libstdcxx_allocator = yes;
16870 then
16871 enable_libstdcxx_allocator=auto
16874 # Either a known package, or "auto". Auto implies the default choice
16875 # for a particular platform.
16876 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16878 # Probe for host-specific support if no specific model is specified.
16879 # Default to "new".
16880 if test $enable_libstdcxx_allocator_flag = auto; then
16881 case ${target_os} in
16882 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16883 enable_libstdcxx_allocator_flag=new
16886 enable_libstdcxx_allocator_flag=new
16888 esac
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16891 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16894 # Set configure bits for specified locale package
16895 case ${enable_libstdcxx_allocator_flag} in
16896 bitmap)
16897 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16898 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16900 malloc)
16901 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16902 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16905 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16906 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16908 new)
16909 ALLOCATOR_H=config/allocator/new_allocator_base.h
16910 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16912 pool)
16913 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16914 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16916 esac
16923 # Check whether --enable-cheaders-obsolete was given.
16924 if test "${enable_cheaders_obsolete+set}" = set; then :
16925 enableval=$enable_cheaders_obsolete;
16926 case "$enableval" in
16927 yes|no) ;;
16928 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16929 esac
16931 else
16932 enable_cheaders_obsolete=no
16936 # Check whether --enable-cheaders was given.
16937 if test "${enable_cheaders+set}" = set; then :
16938 enableval=$enable_cheaders;
16939 case "$enableval" in
16940 c|c_global|c_std) ;;
16941 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16942 esac
16944 else
16945 enable_cheaders=$c_model
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16950 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16951 if test $enable_cheaders = c_std ; then
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16953 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
16955 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16956 if test $enable_cheaders_obsolete != yes ; then
16957 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16961 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16963 # Allow overrides to configure.host here.
16964 if test $enable_cheaders = c_global; then
16965 c_compatibility=yes
16974 # Check whether --enable-long-long was given.
16975 if test "${enable_long_long+set}" = set; then :
16976 enableval=$enable_long_long;
16977 case "$enableval" in
16978 yes|no) ;;
16979 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16980 esac
16982 else
16983 enable_long_long=yes
16987 if test $enable_long_long = yes; then
16989 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16993 $as_echo_n "checking for enabled long long specializations... " >&6; }
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16995 $as_echo "$enable_long_long" >&6; }
16998 # Check whether --enable-wchar_t was given.
16999 if test "${enable_wchar_t+set}" = set; then :
17000 enableval=$enable_wchar_t;
17001 case "$enableval" in
17002 yes|no) ;;
17003 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17004 esac
17006 else
17007 enable_wchar_t=yes
17012 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17013 for ac_header in wchar.h
17014 do :
17015 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17016 if test "x$ac_cv_header_wchar_h" = xyes; then :
17017 cat >>confdefs.h <<_ACEOF
17018 #define HAVE_WCHAR_H 1
17019 _ACEOF
17020 ac_has_wchar_h=yes
17021 else
17022 ac_has_wchar_h=no
17025 done
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17028 $as_echo_n "checking for mbstate_t... " >&6; }
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 #include <wchar.h>
17033 main ()
17035 mbstate_t teststate;
17037 return 0;
17039 _ACEOF
17040 if ac_fn_c_try_compile "$LINENO"; then :
17041 have_mbstate_t=yes
17042 else
17043 have_mbstate_t=no
17045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17047 $as_echo "$have_mbstate_t" >&6; }
17048 if test x"$have_mbstate_t" = xyes; then
17050 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17054 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17055 # ac_has_wchar_h.
17056 for ac_header in wctype.h
17057 do :
17058 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17059 if test "x$ac_cv_header_wctype_h" = xyes; then :
17060 cat >>confdefs.h <<_ACEOF
17061 #define HAVE_WCTYPE_H 1
17062 _ACEOF
17063 ac_has_wctype_h=yes
17064 else
17065 ac_has_wctype_h=no
17068 done
17071 if test x"$enable_wchar_t" = x"yes"; then
17074 ac_ext=cpp
17075 ac_cpp='$CXXCPP $CPPFLAGS'
17076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17081 if test x"$ac_has_wchar_h" = xyes &&
17082 test x"$ac_has_wctype_h" = xyes; then
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 #include <stddef.h>
17087 wint_t i;
17088 long l = WEOF;
17089 long j = WCHAR_MIN;
17090 long k = WCHAR_MAX;
17091 namespace test
17093 using ::btowc;
17094 using ::fgetwc;
17095 using ::fgetws;
17096 using ::fputwc;
17097 using ::fputws;
17098 using ::fwide;
17099 using ::fwprintf;
17100 using ::fwscanf;
17101 using ::getwc;
17102 using ::getwchar;
17103 using ::mbrlen;
17104 using ::mbrtowc;
17105 using ::mbsinit;
17106 using ::mbsrtowcs;
17107 using ::putwc;
17108 using ::putwchar;
17109 using ::swprintf;
17110 using ::swscanf;
17111 using ::ungetwc;
17112 using ::vfwprintf;
17113 using ::vswprintf;
17114 using ::vwprintf;
17115 using ::wcrtomb;
17116 using ::wcscat;
17117 using ::wcschr;
17118 using ::wcscmp;
17119 using ::wcscoll;
17120 using ::wcscpy;
17121 using ::wcscspn;
17122 using ::wcsftime;
17123 using ::wcslen;
17124 using ::wcsncat;
17125 using ::wcsncmp;
17126 using ::wcsncpy;
17127 using ::wcspbrk;
17128 using ::wcsrchr;
17129 using ::wcsrtombs;
17130 using ::wcsspn;
17131 using ::wcsstr;
17132 using ::wcstod;
17133 using ::wcstok;
17134 using ::wcstol;
17135 using ::wcstoul;
17136 using ::wcsxfrm;
17137 using ::wctob;
17138 using ::wmemchr;
17139 using ::wmemcmp;
17140 using ::wmemcpy;
17141 using ::wmemmove;
17142 using ::wmemset;
17143 using ::wprintf;
17144 using ::wscanf;
17148 main ()
17152 return 0;
17154 _ACEOF
17155 if ac_fn_cxx_try_compile "$LINENO"; then :
17157 else
17158 enable_wchar_t=no
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17161 else
17162 enable_wchar_t=no
17165 ac_ext=c
17166 ac_cpp='$CPP $CPPFLAGS'
17167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173 if test x"$enable_wchar_t" = x"yes"; then
17175 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17180 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17182 $as_echo "$enable_wchar_t" >&6; }
17186 # Check whether --enable-c99 was given.
17187 if test "${enable_c99+set}" = set; then :
17188 enableval=$enable_c99;
17189 case "$enableval" in
17190 yes|no) ;;
17191 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17192 esac
17194 else
17195 enable_c99=yes
17200 if test x"$enable_c99" = x"yes"; then
17202 ac_ext=cpp
17203 ac_cpp='$CXXCPP $CPPFLAGS'
17204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17209 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17210 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17211 # to be spuriously enabled.
17212 ac_save_CXXFLAGS="$CXXFLAGS"
17213 CXXFLAGS="$CXXFLAGS -std=c++98"
17214 ac_save_LIBS="$LIBS"
17215 ac_save_gcc_no_link="$gcc_no_link"
17217 if test x$gcc_no_link != xyes; then
17218 # Use -fno-exceptions to that the C driver can link these tests without
17219 # hitting undefined references to personality routines.
17220 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17222 $as_echo_n "checking for sin in -lm... " >&6; }
17223 if ${ac_cv_lib_m_sin+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_check_lib_save_LIBS=$LIBS
17227 LIBS="-lm $LIBS"
17228 if test x$gcc_no_link = xyes; then
17229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17234 /* Override any GCC internal prototype to avoid an error.
17235 Use char because int might match the return type of a GCC
17236 builtin and then its argument prototype would still apply. */
17237 #ifdef __cplusplus
17238 extern "C"
17239 #endif
17240 char sin ();
17242 main ()
17244 return sin ();
17246 return 0;
17248 _ACEOF
17249 if ac_fn_cxx_try_link "$LINENO"; then :
17250 ac_cv_lib_m_sin=yes
17251 else
17252 ac_cv_lib_m_sin=no
17254 rm -f core conftest.err conftest.$ac_objext \
17255 conftest$ac_exeext conftest.$ac_ext
17256 LIBS=$ac_check_lib_save_LIBS
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17259 $as_echo "$ac_cv_lib_m_sin" >&6; }
17260 if test "x$ac_cv_lib_m_sin" = xyes; then :
17261 LIBS="$LIBS -lm"
17262 else
17264 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17265 gcc_no_link=yes
17271 # Check for the existence of <math.h> functions used if C99 is enabled.
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17273 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17274 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17278 if test x$gcc_no_link = xyes; then
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #include <math.h>
17282 volatile double d1, d2;
17283 volatile int i;
17285 main ()
17287 i = fpclassify(d1);
17288 i = isfinite(d1);
17289 i = isinf(d1);
17290 i = isnan(d1);
17291 i = isnormal(d1);
17292 i = signbit(d1);
17293 i = isgreater(d1, d2);
17294 i = isgreaterequal(d1, d2);
17295 i = isless(d1, d2);
17296 i = islessequal(d1, d2);
17297 i = islessgreater(d1, d2);
17298 i = islessgreater(d1, d2);
17299 i = isunordered(d1, d2);
17302 return 0;
17304 _ACEOF
17305 if ac_fn_cxx_try_compile "$LINENO"; then :
17306 glibcxx_cv_c99_math_cxx98=yes
17307 else
17308 glibcxx_cv_c99_math_cxx98=no
17310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17311 else
17312 if test x$gcc_no_link = xyes; then
17313 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17317 #include <math.h>
17318 volatile double d1, d2;
17319 volatile int i;
17321 main ()
17323 i = fpclassify(d1);
17324 i = isfinite(d1);
17325 i = isinf(d1);
17326 i = isnan(d1);
17327 i = isnormal(d1);
17328 i = signbit(d1);
17329 i = isgreater(d1, d2);
17330 i = isgreaterequal(d1, d2);
17331 i = isless(d1, d2);
17332 i = islessequal(d1, d2);
17333 i = islessgreater(d1, d2);
17334 i = islessgreater(d1, d2);
17335 i = isunordered(d1, d2);
17338 return 0;
17340 _ACEOF
17341 if ac_fn_cxx_try_link "$LINENO"; then :
17342 glibcxx_cv_c99_math_cxx98=yes
17343 else
17344 glibcxx_cv_c99_math_cxx98=no
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17353 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17354 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17356 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17360 # Check for the existence of <complex.h> complex math functions.
17361 # This is necessary even though libstdc++ uses the builtin versions
17362 # of these functions, because if the builtin cannot be used, a reference
17363 # to the library function is emitted.
17364 for ac_header in tgmath.h
17365 do :
17366 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17367 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_TGMATH_H 1
17370 _ACEOF
17371 ac_has_tgmath_h=yes
17372 else
17373 ac_has_tgmath_h=no
17376 done
17378 for ac_header in complex.h
17379 do :
17380 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17381 if test "x$ac_cv_header_complex_h" = xyes; then :
17382 cat >>confdefs.h <<_ACEOF
17383 #define HAVE_COMPLEX_H 1
17384 _ACEOF
17385 ac_has_complex_h=yes
17386 else
17387 ac_has_complex_h=no
17390 done
17392 if test x"$ac_has_complex_h" = x"yes"; then
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17394 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17395 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17399 if test x$gcc_no_link = xyes; then
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #include <complex.h>
17403 typedef __complex__ float float_type;
17404 typedef __complex__ double double_type;
17405 typedef __complex__ long double ld_type;
17406 volatile float_type tmpf;
17407 volatile double_type tmpd;
17408 volatile ld_type tmpld;
17409 volatile float f;
17410 volatile double d;
17411 volatile long double ld;
17413 main ()
17415 f = cabsf(tmpf);
17416 f = cargf(tmpf);
17417 tmpf = ccosf(tmpf);
17418 tmpf = ccoshf(tmpf);
17419 tmpf = cexpf(tmpf);
17420 tmpf = clogf(tmpf);
17421 tmpf = csinf(tmpf);
17422 tmpf = csinhf(tmpf);
17423 tmpf = csqrtf(tmpf);
17424 tmpf = ctanf(tmpf);
17425 tmpf = ctanhf(tmpf);
17426 tmpf = cpowf(tmpf, tmpf);
17427 tmpf = cprojf(tmpf);
17428 d = cabs(tmpd);
17429 d = carg(tmpd);
17430 tmpd = ccos(tmpd);
17431 tmpd = ccosh(tmpd);
17432 tmpd = cexp(tmpd);
17433 tmpd = clog(tmpd);
17434 tmpd = csin(tmpd);
17435 tmpd = csinh(tmpd);
17436 tmpd = csqrt(tmpd);
17437 tmpd = ctan(tmpd);
17438 tmpd = ctanh(tmpd);
17439 tmpd = cpow(tmpd, tmpd);
17440 tmpd = cproj(tmpd);
17441 ld = cabsl(tmpld);
17442 ld = cargl(tmpld);
17443 tmpld = ccosl(tmpld);
17444 tmpld = ccoshl(tmpld);
17445 tmpld = cexpl(tmpld);
17446 tmpld = clogl(tmpld);
17447 tmpld = csinl(tmpld);
17448 tmpld = csinhl(tmpld);
17449 tmpld = csqrtl(tmpld);
17450 tmpld = ctanl(tmpld);
17451 tmpld = ctanhl(tmpld);
17452 tmpld = cpowl(tmpld, tmpld);
17453 tmpld = cprojl(tmpld);
17456 return 0;
17458 _ACEOF
17459 if ac_fn_cxx_try_compile "$LINENO"; then :
17460 glibcxx_cv_c99_complex_cxx98=yes
17461 else
17462 glibcxx_cv_c99_complex_cxx98=no
17464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 else
17466 if test x$gcc_no_link = xyes; then
17467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17471 #include <complex.h>
17472 typedef __complex__ float float_type;
17473 typedef __complex__ double double_type;
17474 typedef __complex__ long double ld_type;
17475 volatile float_type tmpf;
17476 volatile double_type tmpd;
17477 volatile ld_type tmpld;
17478 volatile float f;
17479 volatile double d;
17480 volatile long double ld;
17482 main ()
17484 f = cabsf(tmpf);
17485 f = cargf(tmpf);
17486 tmpf = ccosf(tmpf);
17487 tmpf = ccoshf(tmpf);
17488 tmpf = cexpf(tmpf);
17489 tmpf = clogf(tmpf);
17490 tmpf = csinf(tmpf);
17491 tmpf = csinhf(tmpf);
17492 tmpf = csqrtf(tmpf);
17493 tmpf = ctanf(tmpf);
17494 tmpf = ctanhf(tmpf);
17495 tmpf = cpowf(tmpf, tmpf);
17496 tmpf = cprojf(tmpf);
17497 d = cabs(tmpd);
17498 d = carg(tmpd);
17499 tmpd = ccos(tmpd);
17500 tmpd = ccosh(tmpd);
17501 tmpd = cexp(tmpd);
17502 tmpd = clog(tmpd);
17503 tmpd = csin(tmpd);
17504 tmpd = csinh(tmpd);
17505 tmpd = csqrt(tmpd);
17506 tmpd = ctan(tmpd);
17507 tmpd = ctanh(tmpd);
17508 tmpd = cpow(tmpd, tmpd);
17509 tmpd = cproj(tmpd);
17510 ld = cabsl(tmpld);
17511 ld = cargl(tmpld);
17512 tmpld = ccosl(tmpld);
17513 tmpld = ccoshl(tmpld);
17514 tmpld = cexpl(tmpld);
17515 tmpld = clogl(tmpld);
17516 tmpld = csinl(tmpld);
17517 tmpld = csinhl(tmpld);
17518 tmpld = csqrtl(tmpld);
17519 tmpld = ctanl(tmpld);
17520 tmpld = ctanhl(tmpld);
17521 tmpld = cpowl(tmpld, tmpld);
17522 tmpld = cprojl(tmpld);
17525 return 0;
17527 _ACEOF
17528 if ac_fn_cxx_try_link "$LINENO"; then :
17529 glibcxx_cv_c99_complex_cxx98=yes
17530 else
17531 glibcxx_cv_c99_complex_cxx98=no
17533 rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17541 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17542 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17544 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17548 # Check for the existence in <stdio.h> of vscanf, et. al.
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17550 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17551 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17555 if test x$gcc_no_link = xyes; then
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #include <stdio.h>
17559 #include <stdarg.h>
17560 void foo(char* fmt, ...)
17562 va_list args; va_start(args, fmt);
17563 vfscanf(stderr, "%i", args);
17564 vscanf("%i", args);
17565 vsnprintf(fmt, 0, "%i", args);
17566 vsscanf(fmt, "%i", args);
17567 snprintf(fmt, 0, "%i");
17570 main ()
17574 return 0;
17576 _ACEOF
17577 if ac_fn_cxx_try_compile "$LINENO"; then :
17578 glibcxx_cv_c99_stdio_cxx98=yes
17579 else
17580 glibcxx_cv_c99_stdio_cxx98=no
17582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17583 else
17584 if test x$gcc_no_link = xyes; then
17585 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <stdio.h>
17590 #include <stdarg.h>
17591 void foo(char* fmt, ...)
17593 va_list args; va_start(args, fmt);
17594 vfscanf(stderr, "%i", args);
17595 vscanf("%i", args);
17596 vsnprintf(fmt, 0, "%i", args);
17597 vsscanf(fmt, "%i", args);
17598 snprintf(fmt, 0, "%i");
17601 main ()
17605 return 0;
17607 _ACEOF
17608 if ac_fn_cxx_try_link "$LINENO"; then :
17609 glibcxx_cv_c99_stdio_cxx98=yes
17610 else
17611 glibcxx_cv_c99_stdio_cxx98=no
17613 rm -f core conftest.err conftest.$ac_objext \
17614 conftest$ac_exeext conftest.$ac_ext
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17620 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17621 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17623 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17627 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17629 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17630 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17631 $as_echo_n "(cached) " >&6
17632 else
17634 if test x$gcc_no_link = xyes; then
17635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17636 /* end confdefs.h. */
17637 #include <stdlib.h>
17638 volatile float f;
17639 volatile long double ld;
17640 volatile unsigned long long ll;
17641 lldiv_t mydivt;
17643 main ()
17645 char* tmp;
17646 f = strtof("gnu", &tmp);
17647 ld = strtold("gnu", &tmp);
17648 ll = strtoll("gnu", &tmp, 10);
17649 ll = strtoull("gnu", &tmp, 10);
17650 ll = llabs(10);
17651 mydivt = lldiv(10,1);
17652 ll = mydivt.quot;
17653 ll = mydivt.rem;
17654 ll = atoll("10");
17655 _Exit(0);
17658 return 0;
17660 _ACEOF
17661 if ac_fn_cxx_try_compile "$LINENO"; then :
17662 glibcxx_cv_c99_stdlib_cxx98=yes
17663 else
17664 glibcxx_cv_c99_stdlib_cxx98=no
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667 else
17668 if test x$gcc_no_link = xyes; then
17669 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 #include <stdlib.h>
17674 volatile float f;
17675 volatile long double ld;
17676 volatile unsigned long long ll;
17677 lldiv_t mydivt;
17679 main ()
17681 char* tmp;
17682 f = strtof("gnu", &tmp);
17683 ld = strtold("gnu", &tmp);
17684 ll = strtoll("gnu", &tmp, 10);
17685 ll = strtoull("gnu", &tmp, 10);
17686 ll = llabs(10);
17687 mydivt = lldiv(10,1);
17688 ll = mydivt.quot;
17689 ll = mydivt.rem;
17690 ll = atoll("10");
17691 _Exit(0);
17694 return 0;
17696 _ACEOF
17697 if ac_fn_cxx_try_link "$LINENO"; then :
17698 glibcxx_cv_c99_stdlib_cxx98=yes
17699 else
17700 glibcxx_cv_c99_stdlib_cxx98=no
17702 rm -f core conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17709 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17710 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17712 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17716 # Check for the existence in <wchar.h> of wcstold, etc.
17717 if test x"$ac_has_wchar_h" = xyes &&
17718 test x"$ac_has_wctype_h" = xyes; then
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17720 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17721 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17727 #include <wchar.h>
17728 namespace test
17730 using ::wcstold;
17731 using ::wcstoll;
17732 using ::wcstoull;
17736 main ()
17740 return 0;
17742 _ACEOF
17743 if ac_fn_cxx_try_compile "$LINENO"; then :
17744 glibcxx_cv_c99_wchar_cxx98=yes
17745 else
17746 glibcxx_cv_c99_wchar_cxx98=no
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17753 # Checks for wide character functions that may not be present.
17754 # Injection of these is wrapped with guard macros.
17755 # NB: only put functions here, instead of immediately above, if
17756 # absolutely necessary.
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17759 #include <wchar.h>
17760 namespace test { using ::vfwscanf; }
17762 main ()
17766 return 0;
17768 _ACEOF
17769 if ac_fn_cxx_try_compile "$LINENO"; then :
17771 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17778 #include <wchar.h>
17779 namespace test { using ::vswscanf; }
17781 main ()
17785 return 0;
17787 _ACEOF
17788 if ac_fn_cxx_try_compile "$LINENO"; then :
17790 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <wchar.h>
17798 namespace test { using ::vwscanf; }
17800 main ()
17804 return 0;
17806 _ACEOF
17807 if ac_fn_cxx_try_compile "$LINENO"; then :
17809 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #include <wchar.h>
17817 namespace test { using ::wcstof; }
17819 main ()
17823 return 0;
17825 _ACEOF
17826 if ac_fn_cxx_try_compile "$LINENO"; then :
17828 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17835 #include <wctype.h>
17837 main ()
17839 wint_t t; int i = iswblank(t);
17841 return 0;
17843 _ACEOF
17844 if ac_fn_cxx_try_compile "$LINENO"; then :
17846 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17852 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17853 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17855 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17860 # Option parsed, now set things appropriately.
17861 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17862 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17863 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17864 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17865 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17866 enable_c99=no;
17867 else
17869 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17873 gcc_no_link="$ac_save_gcc_no_link"
17874 LIBS="$ac_save_LIBS"
17875 CXXFLAGS="$ac_save_CXXFLAGS"
17876 ac_ext=c
17877 ac_cpp='$CPP $CPPFLAGS'
17878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884 ac_ext=cpp
17885 ac_cpp='$CXXCPP $CPPFLAGS'
17886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17891 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17892 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17893 ac_save_CXXFLAGS="$CXXFLAGS"
17894 CXXFLAGS="$CXXFLAGS -std=c++11"
17895 ac_save_LIBS="$LIBS"
17896 ac_save_gcc_no_link="$gcc_no_link"
17898 if test x$gcc_no_link != xyes; then
17899 # Use -fno-exceptions to that the C driver can link these tests without
17900 # hitting undefined references to personality routines.
17901 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17903 $as_echo_n "checking for sin in -lm... " >&6; }
17904 if ${ac_cv_lib_m_sin+:} false; then :
17905 $as_echo_n "(cached) " >&6
17906 else
17907 ac_check_lib_save_LIBS=$LIBS
17908 LIBS="-lm $LIBS"
17909 if test x$gcc_no_link = xyes; then
17910 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17915 /* Override any GCC internal prototype to avoid an error.
17916 Use char because int might match the return type of a GCC
17917 builtin and then its argument prototype would still apply. */
17918 #ifdef __cplusplus
17919 extern "C"
17920 #endif
17921 char sin ();
17923 main ()
17925 return sin ();
17927 return 0;
17929 _ACEOF
17930 if ac_fn_cxx_try_link "$LINENO"; then :
17931 ac_cv_lib_m_sin=yes
17932 else
17933 ac_cv_lib_m_sin=no
17935 rm -f core conftest.err conftest.$ac_objext \
17936 conftest$ac_exeext conftest.$ac_ext
17937 LIBS=$ac_check_lib_save_LIBS
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17940 $as_echo "$ac_cv_lib_m_sin" >&6; }
17941 if test "x$ac_cv_lib_m_sin" = xyes; then :
17942 LIBS="$LIBS -lm"
17943 else
17945 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17946 gcc_no_link=yes
17952 # Check for the existence of <math.h> functions used if C99 is enabled.
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17954 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17955 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17956 $as_echo_n "(cached) " >&6
17957 else
17959 if test x$gcc_no_link = xyes; then
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 #include <math.h>
17963 volatile double d1, d2;
17964 volatile int i;
17966 main ()
17968 i = fpclassify(d1);
17969 i = isfinite(d1);
17970 i = isinf(d1);
17971 i = isnan(d1);
17972 i = isnormal(d1);
17973 i = signbit(d1);
17974 i = isgreater(d1, d2);
17975 i = isgreaterequal(d1, d2);
17976 i = isless(d1, d2);
17977 i = islessequal(d1, d2);
17978 i = islessgreater(d1, d2);
17979 i = islessgreater(d1, d2);
17980 i = isunordered(d1, d2);
17983 return 0;
17985 _ACEOF
17986 if ac_fn_cxx_try_compile "$LINENO"; then :
17987 glibcxx_cv_c99_math_cxx11=yes
17988 else
17989 glibcxx_cv_c99_math_cxx11=no
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992 else
17993 if test x$gcc_no_link = xyes; then
17994 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17997 /* end confdefs.h. */
17998 #include <math.h>
17999 volatile double d1, d2;
18000 volatile int i;
18002 main ()
18004 i = fpclassify(d1);
18005 i = isfinite(d1);
18006 i = isinf(d1);
18007 i = isnan(d1);
18008 i = isnormal(d1);
18009 i = signbit(d1);
18010 i = isgreater(d1, d2);
18011 i = isgreaterequal(d1, d2);
18012 i = isless(d1, d2);
18013 i = islessequal(d1, d2);
18014 i = islessgreater(d1, d2);
18015 i = islessgreater(d1, d2);
18016 i = isunordered(d1, d2);
18019 return 0;
18021 _ACEOF
18022 if ac_fn_cxx_try_link "$LINENO"; then :
18023 glibcxx_cv_c99_math_cxx11=yes
18024 else
18025 glibcxx_cv_c99_math_cxx11=no
18027 rm -f core conftest.err conftest.$ac_objext \
18028 conftest$ac_exeext conftest.$ac_ext
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18034 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18035 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18037 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18041 # Check for the existence of <complex.h> complex math functions.
18042 # This is necessary even though libstdc++ uses the builtin versions
18043 # of these functions, because if the builtin cannot be used, a reference
18044 # to the library function is emitted.
18045 for ac_header in tgmath.h
18046 do :
18047 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18048 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18049 cat >>confdefs.h <<_ACEOF
18050 #define HAVE_TGMATH_H 1
18051 _ACEOF
18052 ac_has_tgmath_h=yes
18053 else
18054 ac_has_tgmath_h=no
18057 done
18059 for ac_header in complex.h
18060 do :
18061 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18062 if test "x$ac_cv_header_complex_h" = xyes; then :
18063 cat >>confdefs.h <<_ACEOF
18064 #define HAVE_COMPLEX_H 1
18065 _ACEOF
18066 ac_has_complex_h=yes
18067 else
18068 ac_has_complex_h=no
18071 done
18073 if test x"$ac_has_complex_h" = x"yes"; then
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18075 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18076 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18077 $as_echo_n "(cached) " >&6
18078 else
18080 if test x$gcc_no_link = xyes; then
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18083 #include <complex.h>
18084 typedef __complex__ float float_type;
18085 typedef __complex__ double double_type;
18086 typedef __complex__ long double ld_type;
18087 volatile float_type tmpf;
18088 volatile double_type tmpd;
18089 volatile ld_type tmpld;
18090 volatile float f;
18091 volatile double d;
18092 volatile long double ld;
18094 main ()
18096 f = cabsf(tmpf);
18097 f = cargf(tmpf);
18098 tmpf = ccosf(tmpf);
18099 tmpf = ccoshf(tmpf);
18100 tmpf = cexpf(tmpf);
18101 tmpf = clogf(tmpf);
18102 tmpf = csinf(tmpf);
18103 tmpf = csinhf(tmpf);
18104 tmpf = csqrtf(tmpf);
18105 tmpf = ctanf(tmpf);
18106 tmpf = ctanhf(tmpf);
18107 tmpf = cpowf(tmpf, tmpf);
18108 tmpf = cprojf(tmpf);
18109 d = cabs(tmpd);
18110 d = carg(tmpd);
18111 tmpd = ccos(tmpd);
18112 tmpd = ccosh(tmpd);
18113 tmpd = cexp(tmpd);
18114 tmpd = clog(tmpd);
18115 tmpd = csin(tmpd);
18116 tmpd = csinh(tmpd);
18117 tmpd = csqrt(tmpd);
18118 tmpd = ctan(tmpd);
18119 tmpd = ctanh(tmpd);
18120 tmpd = cpow(tmpd, tmpd);
18121 tmpd = cproj(tmpd);
18122 ld = cabsl(tmpld);
18123 ld = cargl(tmpld);
18124 tmpld = ccosl(tmpld);
18125 tmpld = ccoshl(tmpld);
18126 tmpld = cexpl(tmpld);
18127 tmpld = clogl(tmpld);
18128 tmpld = csinl(tmpld);
18129 tmpld = csinhl(tmpld);
18130 tmpld = csqrtl(tmpld);
18131 tmpld = ctanl(tmpld);
18132 tmpld = ctanhl(tmpld);
18133 tmpld = cpowl(tmpld, tmpld);
18134 tmpld = cprojl(tmpld);
18137 return 0;
18139 _ACEOF
18140 if ac_fn_cxx_try_compile "$LINENO"; then :
18141 glibcxx_cv_c99_complex_cxx11=yes
18142 else
18143 glibcxx_cv_c99_complex_cxx11=no
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146 else
18147 if test x$gcc_no_link = xyes; then
18148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151 /* end confdefs.h. */
18152 #include <complex.h>
18153 typedef __complex__ float float_type;
18154 typedef __complex__ double double_type;
18155 typedef __complex__ long double ld_type;
18156 volatile float_type tmpf;
18157 volatile double_type tmpd;
18158 volatile ld_type tmpld;
18159 volatile float f;
18160 volatile double d;
18161 volatile long double ld;
18163 main ()
18165 f = cabsf(tmpf);
18166 f = cargf(tmpf);
18167 tmpf = ccosf(tmpf);
18168 tmpf = ccoshf(tmpf);
18169 tmpf = cexpf(tmpf);
18170 tmpf = clogf(tmpf);
18171 tmpf = csinf(tmpf);
18172 tmpf = csinhf(tmpf);
18173 tmpf = csqrtf(tmpf);
18174 tmpf = ctanf(tmpf);
18175 tmpf = ctanhf(tmpf);
18176 tmpf = cpowf(tmpf, tmpf);
18177 tmpf = cprojf(tmpf);
18178 d = cabs(tmpd);
18179 d = carg(tmpd);
18180 tmpd = ccos(tmpd);
18181 tmpd = ccosh(tmpd);
18182 tmpd = cexp(tmpd);
18183 tmpd = clog(tmpd);
18184 tmpd = csin(tmpd);
18185 tmpd = csinh(tmpd);
18186 tmpd = csqrt(tmpd);
18187 tmpd = ctan(tmpd);
18188 tmpd = ctanh(tmpd);
18189 tmpd = cpow(tmpd, tmpd);
18190 tmpd = cproj(tmpd);
18191 ld = cabsl(tmpld);
18192 ld = cargl(tmpld);
18193 tmpld = ccosl(tmpld);
18194 tmpld = ccoshl(tmpld);
18195 tmpld = cexpl(tmpld);
18196 tmpld = clogl(tmpld);
18197 tmpld = csinl(tmpld);
18198 tmpld = csinhl(tmpld);
18199 tmpld = csqrtl(tmpld);
18200 tmpld = ctanl(tmpld);
18201 tmpld = ctanhl(tmpld);
18202 tmpld = cpowl(tmpld, tmpld);
18203 tmpld = cprojl(tmpld);
18206 return 0;
18208 _ACEOF
18209 if ac_fn_cxx_try_link "$LINENO"; then :
18210 glibcxx_cv_c99_complex_cxx11=yes
18211 else
18212 glibcxx_cv_c99_complex_cxx11=no
18214 rm -f core conftest.err conftest.$ac_objext \
18215 conftest$ac_exeext conftest.$ac_ext
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18222 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18223 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18225 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18229 # Check for the existence in <stdio.h> of vscanf, et. al.
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18231 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18232 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18233 $as_echo_n "(cached) " >&6
18234 else
18236 if test x$gcc_no_link = xyes; then
18237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18238 /* end confdefs.h. */
18239 #include <stdio.h>
18240 #include <stdarg.h>
18241 void foo(char* fmt, ...)
18243 va_list args; va_start(args, fmt);
18244 vfscanf(stderr, "%i", args);
18245 vscanf("%i", args);
18246 vsnprintf(fmt, 0, "%i", args);
18247 vsscanf(fmt, "%i", args);
18248 snprintf(fmt, 0, "%i");
18251 main ()
18255 return 0;
18257 _ACEOF
18258 if ac_fn_cxx_try_compile "$LINENO"; then :
18259 glibcxx_cv_c99_stdio_cxx11=yes
18260 else
18261 glibcxx_cv_c99_stdio_cxx11=no
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 else
18265 if test x$gcc_no_link = xyes; then
18266 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 #include <stdio.h>
18271 #include <stdarg.h>
18272 void foo(char* fmt, ...)
18274 va_list args; va_start(args, fmt);
18275 vfscanf(stderr, "%i", args);
18276 vscanf("%i", args);
18277 vsnprintf(fmt, 0, "%i", args);
18278 vsscanf(fmt, "%i", args);
18279 snprintf(fmt, 0, "%i");
18282 main ()
18286 return 0;
18288 _ACEOF
18289 if ac_fn_cxx_try_link "$LINENO"; then :
18290 glibcxx_cv_c99_stdio_cxx11=yes
18291 else
18292 glibcxx_cv_c99_stdio_cxx11=no
18294 rm -f core conftest.err conftest.$ac_objext \
18295 conftest$ac_exeext conftest.$ac_ext
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18301 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18302 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18304 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18308 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18310 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18311 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18315 if test x$gcc_no_link = xyes; then
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18318 #include <stdlib.h>
18319 volatile float f;
18320 volatile long double ld;
18321 volatile unsigned long long ll;
18322 lldiv_t mydivt;
18324 main ()
18326 char* tmp;
18327 f = strtof("gnu", &tmp);
18328 ld = strtold("gnu", &tmp);
18329 ll = strtoll("gnu", &tmp, 10);
18330 ll = strtoull("gnu", &tmp, 10);
18331 ll = llabs(10);
18332 mydivt = lldiv(10,1);
18333 ll = mydivt.quot;
18334 ll = mydivt.rem;
18335 ll = atoll("10");
18336 _Exit(0);
18339 return 0;
18341 _ACEOF
18342 if ac_fn_cxx_try_compile "$LINENO"; then :
18343 glibcxx_cv_c99_stdlib_cxx11=yes
18344 else
18345 glibcxx_cv_c99_stdlib_cxx11=no
18347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18348 else
18349 if test x$gcc_no_link = xyes; then
18350 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18354 #include <stdlib.h>
18355 volatile float f;
18356 volatile long double ld;
18357 volatile unsigned long long ll;
18358 lldiv_t mydivt;
18360 main ()
18362 char* tmp;
18363 f = strtof("gnu", &tmp);
18364 ld = strtold("gnu", &tmp);
18365 ll = strtoll("gnu", &tmp, 10);
18366 ll = strtoull("gnu", &tmp, 10);
18367 ll = llabs(10);
18368 mydivt = lldiv(10,1);
18369 ll = mydivt.quot;
18370 ll = mydivt.rem;
18371 ll = atoll("10");
18372 _Exit(0);
18375 return 0;
18377 _ACEOF
18378 if ac_fn_cxx_try_link "$LINENO"; then :
18379 glibcxx_cv_c99_stdlib_cxx11=yes
18380 else
18381 glibcxx_cv_c99_stdlib_cxx11=no
18383 rm -f core conftest.err conftest.$ac_objext \
18384 conftest$ac_exeext conftest.$ac_ext
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18390 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18391 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18393 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18397 # Check for the existence in <wchar.h> of wcstold, etc.
18398 if test x"$ac_has_wchar_h" = xyes &&
18399 test x"$ac_has_wctype_h" = xyes; then
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18401 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18402 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <wchar.h>
18409 namespace test
18411 using ::wcstold;
18412 using ::wcstoll;
18413 using ::wcstoull;
18417 main ()
18421 return 0;
18423 _ACEOF
18424 if ac_fn_cxx_try_compile "$LINENO"; then :
18425 glibcxx_cv_c99_wchar_cxx11=yes
18426 else
18427 glibcxx_cv_c99_wchar_cxx11=no
18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18434 # Checks for wide character functions that may not be present.
18435 # Injection of these is wrapped with guard macros.
18436 # NB: only put functions here, instead of immediately above, if
18437 # absolutely necessary.
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 #include <wchar.h>
18441 namespace test { using ::vfwscanf; }
18443 main ()
18447 return 0;
18449 _ACEOF
18450 if ac_fn_cxx_try_compile "$LINENO"; then :
18452 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18459 #include <wchar.h>
18460 namespace test { using ::vswscanf; }
18462 main ()
18466 return 0;
18468 _ACEOF
18469 if ac_fn_cxx_try_compile "$LINENO"; then :
18471 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18478 #include <wchar.h>
18479 namespace test { using ::vwscanf; }
18481 main ()
18485 return 0;
18487 _ACEOF
18488 if ac_fn_cxx_try_compile "$LINENO"; then :
18490 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 #include <wchar.h>
18498 namespace test { using ::wcstof; }
18500 main ()
18504 return 0;
18506 _ACEOF
18507 if ac_fn_cxx_try_compile "$LINENO"; then :
18509 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18516 #include <wctype.h>
18518 main ()
18520 wint_t t; int i = iswblank(t);
18522 return 0;
18524 _ACEOF
18525 if ac_fn_cxx_try_compile "$LINENO"; then :
18527 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18533 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18534 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18536 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18541 gcc_no_link="$ac_save_gcc_no_link"
18542 LIBS="$ac_save_LIBS"
18543 CXXFLAGS="$ac_save_CXXFLAGS"
18544 ac_ext=c
18545 ac_cpp='$CPP $CPPFLAGS'
18546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18553 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18555 $as_echo "$enable_c99" >&6; }
18558 # Check whether --enable-concept-checks was given.
18559 if test "${enable_concept_checks+set}" = set; then :
18560 enableval=$enable_concept_checks;
18561 case "$enableval" in
18562 yes|no) ;;
18563 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18564 esac
18566 else
18567 enable_concept_checks=no
18571 if test $enable_concept_checks = yes; then
18573 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18578 # Check whether --enable-libstdcxx-debug-flags was given.
18579 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18580 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18581 xno | x) enable_libstdcxx_debug_flags= ;;
18582 x-*) ;;
18583 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18584 esac
18585 else
18586 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18591 # Option parsed, now set things appropriately
18592 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18596 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18600 $as_echo_n "checking for additional debug build... " >&6; }
18601 skip_debug_build=
18602 # Check whether --enable-libstdcxx-debug was given.
18603 if test "${enable_libstdcxx_debug+set}" = set; then :
18604 enableval=$enable_libstdcxx_debug;
18605 case "$enableval" in
18606 yes|no) ;;
18607 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18608 esac
18610 else
18611 enable_libstdcxx_debug=no
18615 if test x$enable_libstdcxx_debug = xyes; then
18616 if test -f $toplevel_builddir/../stage_final \
18617 && test -f $toplevel_builddir/../stage_current; then
18618 stage_final=`cat $toplevel_builddir/../stage_final`
18619 stage_current=`cat $toplevel_builddir/../stage_current`
18620 if test x$stage_current != x$stage_final ; then
18621 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18622 enable_libstdcxx_debug=no
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18627 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18632 enable_parallel=no;
18634 # See if configured libgomp/omp.h exists. (libgomp may be in
18635 # noconfigdirs but not explicitly disabled.)
18636 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18637 enable_parallel=yes;
18638 else
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18640 $as_echo "$as_me: target-libgomp not built" >&6;}
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18644 $as_echo_n "checking for parallel mode support... " >&6; }
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18646 $as_echo "$enable_parallel" >&6; }
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18649 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18650 # Check whether --enable-cxx-flags was given.
18651 if test "${enable_cxx_flags+set}" = set; then :
18652 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18653 xno | x) enable_cxx_flags= ;;
18654 x-*) ;;
18655 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18656 esac
18657 else
18658 enable_cxx_flags=
18663 # Run through flags (either default or command-line) and set anything
18664 # extra (e.g., #defines) that must accompany particular g++ options.
18665 if test -n "$enable_cxx_flags"; then
18666 for f in $enable_cxx_flags; do
18667 case "$f" in
18668 -fhonor-std) ;;
18669 -*) ;;
18670 *) # and we're trying to pass /what/ exactly?
18671 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18672 esac
18673 done
18676 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18678 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18682 # Check whether --enable-fully-dynamic-string was given.
18683 if test "${enable_fully_dynamic_string+set}" = set; then :
18684 enableval=$enable_fully_dynamic_string;
18685 case "$enableval" in
18686 yes|no) ;;
18687 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18688 esac
18690 else
18691 enable_fully_dynamic_string=no
18695 if test $enable_fully_dynamic_string = yes; then
18696 enable_fully_dynamic_string_def=1
18697 else
18698 enable_fully_dynamic_string_def=0
18701 cat >>confdefs.h <<_ACEOF
18702 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18703 _ACEOF
18708 # Check whether --enable-extern-template was given.
18709 if test "${enable_extern_template+set}" = set; then :
18710 enableval=$enable_extern_template;
18711 case "$enableval" in
18712 yes|no) ;;
18713 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18714 esac
18716 else
18717 enable_extern_template=yes
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18723 $as_echo_n "checking for extern template support... " >&6; }
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18725 $as_echo "$enable_extern_template" >&6; }
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18732 $as_echo_n "checking for custom python install directory... " >&6; }
18734 # Check whether --with-python-dir was given.
18735 if test "${with_python_dir+set}" = set; then :
18736 withval=$with_python_dir; with_python_dir=$withval
18737 else
18738 with_python_dir="no"
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18742 $as_echo "${with_python_dir}" >&6; }
18744 # Needed for installing Python modules during make install.
18745 python_mod_dir="${with_python_dir}"
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18751 $as_echo_n "checking for -Werror... " >&6; }
18752 # Check whether --enable-werror was given.
18753 if test "${enable_werror+set}" = set; then :
18754 enableval=$enable_werror;
18755 case "$enableval" in
18756 yes|no) ;;
18757 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18758 esac
18760 else
18761 enable_werror=no
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18766 $as_echo "$enable_werror" >&6; }
18771 # Check whether --enable-vtable-verify was given.
18772 if test "${enable_vtable_verify+set}" = set; then :
18773 enableval=$enable_vtable_verify;
18774 case "$enableval" in
18775 yes|no) ;;
18776 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18777 esac
18779 else
18780 enable_vtable_verify=no
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18786 $as_echo_n "checking for vtable verify support... " >&6; }
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18788 $as_echo "$enable_vtable_verify" >&6; }
18790 vtv_cygmin=no
18791 if test $enable_vtable_verify = yes; then
18792 case ${target_os} in
18793 cygwin*|mingw32*)
18794 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18795 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18796 vtv_cygmin=yes
18798 darwin*)
18799 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18800 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18802 solaris2*)
18803 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18804 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18807 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18808 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18810 esac
18811 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18812 else
18813 VTV_CXXFLAGS=
18814 VTV_PCH_CXXFLAGS=
18815 VTV_CXXLINKFLAGS=
18821 if test x$vtv_cygmin = xyes; then
18822 VTV_CYGMIN_TRUE=
18823 VTV_CYGMIN_FALSE='#'
18824 else
18825 VTV_CYGMIN_TRUE='#'
18826 VTV_CYGMIN_FALSE=
18832 # Checks for operating systems support that doesn't require linking.
18836 ac_ext=cpp
18837 ac_cpp='$CXXCPP $CPPFLAGS'
18838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18842 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18843 # and we don't need a declaration for C++14 anyway.
18844 ac_save_CXXFLAGS="$CXXFLAGS"
18845 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18848 $as_echo_n "checking for gets declaration... " >&6; }
18849 if ${glibcxx_cv_gets+:} false; then :
18850 $as_echo_n "(cached) " >&6
18851 else
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855 #include <stdio.h>
18856 namespace test
18858 using ::gets;
18861 _ACEOF
18862 if ac_fn_cxx_try_compile "$LINENO"; then :
18863 glibcxx_cv_gets=yes
18864 else
18865 glibcxx_cv_gets=no
18868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 if test $glibcxx_cv_gets = yes; then
18874 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18878 $as_echo "$glibcxx_cv_gets" >&6; }
18880 CXXFLAGS="$ac_save_CXXFLAGS"
18881 ac_ext=c
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18891 ac_ext=cpp
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18897 ac_save_CXXFLAGS="$CXXFLAGS"
18898 CXXFLAGS="$CXXFLAGS -std=c++11"
18900 case "$host" in
18901 *-*-solaris2.*)
18902 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18903 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18905 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18906 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #include <math.h>
18913 #undef isfinite
18914 namespace std {
18915 inline bool isfinite(float __x)
18916 { return __builtin_isfinite(__x); }
18919 _ACEOF
18920 if ac_fn_cxx_try_compile "$LINENO"; then :
18921 glibcxx_cv_math11_fp_overload=no
18922 else
18923 glibcxx_cv_math11_fp_overload=yes
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18930 # autoheader cannot handle indented templates.
18933 if test $glibcxx_cv_math11_fp_overload = yes; then
18934 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18938 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18940 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18941 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18943 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18944 if ${glibcxx_cv_math11_int_overload+:} false; then :
18945 $as_echo_n "(cached) " >&6
18946 else
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18950 #include <math.h>
18951 namespace std {
18952 template<typename _Tp>
18953 struct __is_integer;
18954 template<>
18955 struct __is_integer<int>
18957 enum { __value = 1 };
18960 namespace __gnu_cxx {
18961 template<bool, typename>
18962 struct __enable_if;
18963 template<typename _Tp>
18964 struct __enable_if<true, _Tp>
18965 { typedef _Tp __type; };
18967 namespace std {
18968 template<typename _Tp>
18969 constexpr typename __gnu_cxx::__enable_if
18970 <__is_integer<_Tp>::__value, double>::__type
18971 log2(_Tp __x)
18972 { return __builtin_log2(__x); }
18975 main (void)
18977 int i = 1000;
18978 return std::log2(i);
18981 _ACEOF
18982 if ac_fn_cxx_try_compile "$LINENO"; then :
18983 glibcxx_cv_math11_int_overload=no
18984 else
18985 glibcxx_cv_math11_int_overload=yes
18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18992 # autoheader cannot handle indented templates.
18995 if test $glibcxx_cv_math11_int_overload = yes; then
18996 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19000 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19003 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19004 # functions (instead of or as well as the C99 generic macros) then we
19005 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19006 # and must use the ones from <math.h> instead.
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19008 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19009 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19010 $as_echo_n "(cached) " >&6
19011 else
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19016 #include <math.h>
19017 #undef isinf
19018 namespace std {
19019 using ::isinf;
19020 bool isinf(float);
19021 bool isinf(long double);
19023 using std::isinf;
19024 bool b = isinf(0.0);
19026 _ACEOF
19027 if ac_fn_cxx_try_compile "$LINENO"; then :
19028 glibcxx_cv_obsolete_isinf=yes
19029 else
19030 glibcxx_cv_obsolete_isinf=no
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19037 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19038 if test $glibcxx_cv_obsolete_isinf = yes; then
19040 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19045 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19046 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19047 $as_echo_n "(cached) " >&6
19048 else
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19052 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19053 #include <math.h>
19054 #undef isnan
19055 namespace std {
19056 using ::isnan;
19057 bool isnan(float);
19058 bool isnan(long double);
19060 using std::isnan;
19061 bool b = isnan(0.0);
19063 _ACEOF
19064 if ac_fn_cxx_try_compile "$LINENO"; then :
19065 glibcxx_cv_obsolete_isnan=yes
19066 else
19067 glibcxx_cv_obsolete_isnan=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19074 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19075 if test $glibcxx_cv_obsolete_isnan = yes; then
19077 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19081 esac
19083 CXXFLAGS="$ac_save_CXXFLAGS"
19084 ac_ext=c
19085 ac_cpp='$CPP $CPPFLAGS'
19086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19093 # Test uchar.h.
19094 for ac_header in uchar.h
19095 do :
19096 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19097 if test "x$ac_cv_header_uchar_h" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_UCHAR_H 1
19100 _ACEOF
19101 ac_has_uchar_h=yes
19102 else
19103 ac_has_uchar_h=no
19106 done
19110 ac_ext=cpp
19111 ac_cpp='$CXXCPP $CPPFLAGS'
19112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19116 ac_save_CXXFLAGS="$CXXFLAGS"
19117 CXXFLAGS="$CXXFLAGS -std=c++11"
19119 if test x"$ac_has_uchar_h" = x"yes"; then
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19121 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h. */
19124 #include <uchar.h>
19125 #ifdef __STDC_UTF_16__
19126 long i = __STDC_UTF_16__;
19127 #endif
19128 #ifdef __STDC_UTF_32__
19129 long j = __STDC_UTF_32__;
19130 #endif
19131 namespace test
19133 using ::c16rtomb;
19134 using ::c32rtomb;
19135 using ::mbrtoc16;
19136 using ::mbrtoc32;
19140 main ()
19144 return 0;
19146 _ACEOF
19147 if ac_fn_cxx_try_compile "$LINENO"; then :
19148 ac_c11_uchar_cxx11=yes
19149 else
19150 ac_c11_uchar_cxx11=no
19152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19153 else
19154 ac_c11_uchar_cxx11=no
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19157 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19158 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19160 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19164 CXXFLAGS="$ac_save_CXXFLAGS"
19165 ac_ext=c
19166 ac_cpp='$CPP $CPPFLAGS'
19167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19173 # For LFS support.
19176 ac_ext=cpp
19177 ac_cpp='$CXXCPP $CPPFLAGS'
19178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19182 ac_save_CXXFLAGS="$CXXFLAGS"
19183 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19185 $as_echo_n "checking for LFS support... " >&6; }
19186 if ${glibcxx_cv_LFS+:} false; then :
19187 $as_echo_n "(cached) " >&6
19188 else
19190 if test x$gcc_no_link = xyes; then
19191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19192 /* end confdefs.h. */
19193 #include <unistd.h>
19194 #include <stdio.h>
19195 #include <sys/stat.h>
19198 main ()
19200 FILE* fp;
19201 fopen64("t", "w");
19202 fseeko64(fp, 0, SEEK_CUR);
19203 ftello64(fp);
19204 lseek64(1, 0, SEEK_CUR);
19205 struct stat64 buf;
19206 fstat64(1, &buf);
19208 return 0;
19210 _ACEOF
19211 if ac_fn_cxx_try_compile "$LINENO"; then :
19212 glibcxx_cv_LFS=yes
19213 else
19214 glibcxx_cv_LFS=no
19216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 else
19218 if test x$gcc_no_link = xyes; then
19219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223 #include <unistd.h>
19224 #include <stdio.h>
19225 #include <sys/stat.h>
19228 main ()
19230 FILE* fp;
19231 fopen64("t", "w");
19232 fseeko64(fp, 0, SEEK_CUR);
19233 ftello64(fp);
19234 lseek64(1, 0, SEEK_CUR);
19235 struct stat64 buf;
19236 fstat64(1, &buf);
19238 return 0;
19240 _ACEOF
19241 if ac_fn_cxx_try_link "$LINENO"; then :
19242 glibcxx_cv_LFS=yes
19243 else
19244 glibcxx_cv_LFS=no
19246 rm -f core conftest.err conftest.$ac_objext \
19247 conftest$ac_exeext conftest.$ac_ext
19252 if test $glibcxx_cv_LFS = yes; then
19254 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19258 $as_echo "$glibcxx_cv_LFS" >&6; }
19259 CXXFLAGS="$ac_save_CXXFLAGS"
19260 ac_ext=c
19261 ac_cpp='$CPP $CPPFLAGS'
19262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19268 # For showmanyc_helper().
19269 for ac_header in sys/ioctl.h sys/filio.h
19270 do :
19271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19272 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19273 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19274 cat >>confdefs.h <<_ACEOF
19275 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19276 _ACEOF
19280 done
19285 ac_ext=cpp
19286 ac_cpp='$CXXCPP $CPPFLAGS'
19287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19291 ac_save_CXXFLAGS="$CXXFLAGS"
19292 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19295 $as_echo_n "checking for poll... " >&6; }
19296 if ${glibcxx_cv_POLL+:} false; then :
19297 $as_echo_n "(cached) " >&6
19298 else
19300 if test x$gcc_no_link = xyes; then
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 #include <poll.h>
19305 main ()
19307 struct pollfd pfd[1];
19308 pfd[0].events = POLLIN;
19309 poll(pfd, 1, 0);
19311 return 0;
19313 _ACEOF
19314 if ac_fn_cxx_try_compile "$LINENO"; then :
19315 glibcxx_cv_POLL=yes
19316 else
19317 glibcxx_cv_POLL=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19320 else
19321 if test x$gcc_no_link = xyes; then
19322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h. */
19326 #include <poll.h>
19328 main ()
19330 struct pollfd pfd[1];
19331 pfd[0].events = POLLIN;
19332 poll(pfd, 1, 0);
19334 return 0;
19336 _ACEOF
19337 if ac_fn_cxx_try_link "$LINENO"; then :
19338 glibcxx_cv_POLL=yes
19339 else
19340 glibcxx_cv_POLL=no
19342 rm -f core conftest.err conftest.$ac_objext \
19343 conftest$ac_exeext conftest.$ac_ext
19348 if test $glibcxx_cv_POLL = yes; then
19350 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19354 $as_echo "$glibcxx_cv_POLL" >&6; }
19356 CXXFLAGS="$ac_save_CXXFLAGS"
19357 ac_ext=c
19358 ac_cpp='$CPP $CPPFLAGS'
19359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19367 ac_ext=cpp
19368 ac_cpp='$CXXCPP $CPPFLAGS'
19369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19373 ac_save_CXXFLAGS="$CXXFLAGS"
19374 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19377 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19378 if ${glibcxx_cv_S_ISREG+:} false; then :
19379 $as_echo_n "(cached) " >&6
19380 else
19382 if test x$gcc_no_link = xyes; then
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19385 #include <sys/stat.h>
19387 main ()
19389 struct stat buffer;
19390 fstat(0, &buffer);
19391 S_ISREG(buffer.st_mode);
19393 return 0;
19395 _ACEOF
19396 if ac_fn_cxx_try_compile "$LINENO"; then :
19397 glibcxx_cv_S_ISREG=yes
19398 else
19399 glibcxx_cv_S_ISREG=no
19401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19402 else
19403 if test x$gcc_no_link = xyes; then
19404 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19408 #include <sys/stat.h>
19410 main ()
19412 struct stat buffer;
19413 fstat(0, &buffer);
19414 S_ISREG(buffer.st_mode);
19416 return 0;
19418 _ACEOF
19419 if ac_fn_cxx_try_link "$LINENO"; then :
19420 glibcxx_cv_S_ISREG=yes
19421 else
19422 glibcxx_cv_S_ISREG=no
19424 rm -f core conftest.err conftest.$ac_objext \
19425 conftest$ac_exeext conftest.$ac_ext
19430 if ${glibcxx_cv_S_IFREG+:} false; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19434 if test x$gcc_no_link = xyes; then
19435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19436 /* end confdefs.h. */
19437 #include <sys/stat.h>
19439 main ()
19441 struct stat buffer;
19442 fstat(0, &buffer);
19443 S_IFREG & buffer.st_mode;
19445 return 0;
19447 _ACEOF
19448 if ac_fn_cxx_try_compile "$LINENO"; then :
19449 glibcxx_cv_S_IFREG=yes
19450 else
19451 glibcxx_cv_S_IFREG=no
19453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 else
19455 if test x$gcc_no_link = xyes; then
19456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459 /* end confdefs.h. */
19460 #include <sys/stat.h>
19462 main ()
19464 struct stat buffer;
19465 fstat(0, &buffer);
19466 S_IFREG & buffer.st_mode;
19468 return 0;
19470 _ACEOF
19471 if ac_fn_cxx_try_link "$LINENO"; then :
19472 glibcxx_cv_S_IFREG=yes
19473 else
19474 glibcxx_cv_S_IFREG=no
19476 rm -f core conftest.err conftest.$ac_objext \
19477 conftest$ac_exeext conftest.$ac_ext
19482 res=no
19483 if test $glibcxx_cv_S_ISREG = yes; then
19485 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19487 res=S_ISREG
19488 elif test $glibcxx_cv_S_IFREG = yes; then
19490 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19492 res=S_IFREG
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19495 $as_echo "$res" >&6; }
19497 CXXFLAGS="$ac_save_CXXFLAGS"
19498 ac_ext=c
19499 ac_cpp='$CPP $CPPFLAGS'
19500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19506 # For xsputn_2().
19507 for ac_header in sys/uio.h
19508 do :
19509 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19510 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19511 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_SYS_UIO_H 1
19513 _ACEOF
19517 done
19522 ac_ext=cpp
19523 ac_cpp='$CXXCPP $CPPFLAGS'
19524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19528 ac_save_CXXFLAGS="$CXXFLAGS"
19529 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19532 $as_echo_n "checking for writev... " >&6; }
19533 if ${glibcxx_cv_WRITEV+:} false; then :
19534 $as_echo_n "(cached) " >&6
19535 else
19537 if test x$gcc_no_link = xyes; then
19538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19540 #include <sys/uio.h>
19542 main ()
19544 struct iovec iov[2];
19545 writev(0, iov, 0);
19547 return 0;
19549 _ACEOF
19550 if ac_fn_cxx_try_compile "$LINENO"; then :
19551 glibcxx_cv_WRITEV=yes
19552 else
19553 glibcxx_cv_WRITEV=no
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 else
19557 if test x$gcc_no_link = xyes; then
19558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19561 /* end confdefs.h. */
19562 #include <sys/uio.h>
19564 main ()
19566 struct iovec iov[2];
19567 writev(0, iov, 0);
19569 return 0;
19571 _ACEOF
19572 if ac_fn_cxx_try_link "$LINENO"; then :
19573 glibcxx_cv_WRITEV=yes
19574 else
19575 glibcxx_cv_WRITEV=no
19577 rm -f core conftest.err conftest.$ac_objext \
19578 conftest$ac_exeext conftest.$ac_ext
19583 if test $glibcxx_cv_WRITEV = yes; then
19585 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19589 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19591 CXXFLAGS="$ac_save_CXXFLAGS"
19592 ac_ext=c
19593 ac_cpp='$CPP $CPPFLAGS'
19594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19600 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19601 # so that the check is done with the C compiler (not C++).
19602 # Checking with C++ can break a canadian cross build if either
19603 # file does not exist in C but does in C++.
19604 for ac_header in fenv.h complex.h
19605 do :
19606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19607 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19609 cat >>confdefs.h <<_ACEOF
19610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19611 _ACEOF
19615 done
19618 # For C99 support to TR1.
19622 ac_ext=cpp
19623 ac_cpp='$CXXCPP $CPPFLAGS'
19624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19629 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19630 # undefined and fake C99 facilities may be spuriously enabled.
19631 ac_save_CXXFLAGS="$CXXFLAGS"
19632 CXXFLAGS="$CXXFLAGS -std=c++98"
19634 # Check for the existence of <complex.h> complex math functions used
19635 # by tr1/complex.
19636 for ac_header in complex.h
19637 do :
19638 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19639 if test "x$ac_cv_header_complex_h" = xyes; then :
19640 cat >>confdefs.h <<_ACEOF
19641 #define HAVE_COMPLEX_H 1
19642 _ACEOF
19643 ac_has_complex_h=yes
19644 else
19645 ac_has_complex_h=no
19648 done
19650 ac_c99_complex_tr1=no;
19651 if test x"$ac_has_complex_h" = x"yes"; then
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19653 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19656 #include <complex.h>
19658 main ()
19660 typedef __complex__ float float_type; float_type tmpf;
19661 cacosf(tmpf);
19662 casinf(tmpf);
19663 catanf(tmpf);
19664 cacoshf(tmpf);
19665 casinhf(tmpf);
19666 catanhf(tmpf);
19667 typedef __complex__ double double_type; double_type tmpd;
19668 cacos(tmpd);
19669 casin(tmpd);
19670 catan(tmpd);
19671 cacosh(tmpd);
19672 casinh(tmpd);
19673 catanh(tmpd);
19674 typedef __complex__ long double ld_type; ld_type tmpld;
19675 cacosl(tmpld);
19676 casinl(tmpld);
19677 catanl(tmpld);
19678 cacoshl(tmpld);
19679 casinhl(tmpld);
19680 catanhl(tmpld);
19683 return 0;
19685 _ACEOF
19686 if ac_fn_cxx_try_compile "$LINENO"; then :
19687 ac_c99_complex_tr1=yes
19688 else
19689 ac_c99_complex_tr1=no
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19694 $as_echo "$ac_c99_complex_tr1" >&6; }
19695 if test x"$ac_c99_complex_tr1" = x"yes"; then
19697 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19701 # Check for the existence of <ctype.h> functions.
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19703 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19704 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19705 $as_echo_n "(cached) " >&6
19706 else
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19710 #include <ctype.h>
19712 main ()
19714 int ch;
19715 int ret;
19716 ret = isblank(ch);
19719 return 0;
19721 _ACEOF
19722 if ac_fn_cxx_try_compile "$LINENO"; then :
19723 glibcxx_cv_c99_ctype_tr1=yes
19724 else
19725 glibcxx_cv_c99_ctype_tr1=no
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19732 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19733 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19735 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19739 # Check for the existence of <fenv.h> functions.
19740 for ac_header in fenv.h
19741 do :
19742 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19743 if test "x$ac_cv_header_fenv_h" = xyes; then :
19744 cat >>confdefs.h <<_ACEOF
19745 #define HAVE_FENV_H 1
19746 _ACEOF
19747 ac_has_fenv_h=yes
19748 else
19749 ac_has_fenv_h=no
19752 done
19754 ac_c99_fenv_tr1=no;
19755 if test x"$ac_has_fenv_h" = x"yes"; then
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19757 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760 #include <fenv.h>
19762 main ()
19764 int except, mode;
19765 fexcept_t* pflag;
19766 fenv_t* penv;
19767 int ret;
19768 ret = feclearexcept(except);
19769 ret = fegetexceptflag(pflag, except);
19770 ret = feraiseexcept(except);
19771 ret = fesetexceptflag(pflag, except);
19772 ret = fetestexcept(except);
19773 ret = fegetround();
19774 ret = fesetround(mode);
19775 ret = fegetenv(penv);
19776 ret = feholdexcept(penv);
19777 ret = fesetenv(penv);
19778 ret = feupdateenv(penv);
19781 return 0;
19783 _ACEOF
19784 if ac_fn_cxx_try_compile "$LINENO"; then :
19785 ac_c99_fenv_tr1=yes
19786 else
19787 ac_c99_fenv_tr1=no
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19792 $as_echo "$ac_c99_fenv_tr1" >&6; }
19793 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19795 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19799 # Check for the existence of <stdint.h> types.
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19801 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19802 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19803 $as_echo_n "(cached) " >&6
19804 else
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19808 #define __STDC_LIMIT_MACROS
19809 #define __STDC_CONSTANT_MACROS
19810 #include <stdint.h>
19812 main ()
19814 typedef int8_t my_int8_t;
19815 my_int8_t i8 = INT8_MIN;
19816 i8 = INT8_MAX;
19817 typedef int16_t my_int16_t;
19818 my_int16_t i16 = INT16_MIN;
19819 i16 = INT16_MAX;
19820 typedef int32_t my_int32_t;
19821 my_int32_t i32 = INT32_MIN;
19822 i32 = INT32_MAX;
19823 typedef int64_t my_int64_t;
19824 my_int64_t i64 = INT64_MIN;
19825 i64 = INT64_MAX;
19826 typedef int_fast8_t my_int_fast8_t;
19827 my_int_fast8_t if8 = INT_FAST8_MIN;
19828 if8 = INT_FAST8_MAX;
19829 typedef int_fast16_t my_int_fast16_t;
19830 my_int_fast16_t if16 = INT_FAST16_MIN;
19831 if16 = INT_FAST16_MAX;
19832 typedef int_fast32_t my_int_fast32_t;
19833 my_int_fast32_t if32 = INT_FAST32_MIN;
19834 if32 = INT_FAST32_MAX;
19835 typedef int_fast64_t my_int_fast64_t;
19836 my_int_fast64_t if64 = INT_FAST64_MIN;
19837 if64 = INT_FAST64_MAX;
19838 typedef int_least8_t my_int_least8_t;
19839 my_int_least8_t il8 = INT_LEAST8_MIN;
19840 il8 = INT_LEAST8_MAX;
19841 typedef int_least16_t my_int_least16_t;
19842 my_int_least16_t il16 = INT_LEAST16_MIN;
19843 il16 = INT_LEAST16_MAX;
19844 typedef int_least32_t my_int_least32_t;
19845 my_int_least32_t il32 = INT_LEAST32_MIN;
19846 il32 = INT_LEAST32_MAX;
19847 typedef int_least64_t my_int_least64_t;
19848 my_int_least64_t il64 = INT_LEAST64_MIN;
19849 il64 = INT_LEAST64_MAX;
19850 typedef intmax_t my_intmax_t;
19851 my_intmax_t im = INTMAX_MAX;
19852 im = INTMAX_MIN;
19853 typedef intptr_t my_intptr_t;
19854 my_intptr_t ip = INTPTR_MAX;
19855 ip = INTPTR_MIN;
19856 typedef uint8_t my_uint8_t;
19857 my_uint8_t ui8 = UINT8_MAX;
19858 ui8 = UINT8_MAX;
19859 typedef uint16_t my_uint16_t;
19860 my_uint16_t ui16 = UINT16_MAX;
19861 ui16 = UINT16_MAX;
19862 typedef uint32_t my_uint32_t;
19863 my_uint32_t ui32 = UINT32_MAX;
19864 ui32 = UINT32_MAX;
19865 typedef uint64_t my_uint64_t;
19866 my_uint64_t ui64 = UINT64_MAX;
19867 ui64 = UINT64_MAX;
19868 typedef uint_fast8_t my_uint_fast8_t;
19869 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19870 uif8 = UINT_FAST8_MAX;
19871 typedef uint_fast16_t my_uint_fast16_t;
19872 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19873 uif16 = UINT_FAST16_MAX;
19874 typedef uint_fast32_t my_uint_fast32_t;
19875 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19876 uif32 = UINT_FAST32_MAX;
19877 typedef uint_fast64_t my_uint_fast64_t;
19878 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19879 uif64 = UINT_FAST64_MAX;
19880 typedef uint_least8_t my_uint_least8_t;
19881 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19882 uil8 = UINT_LEAST8_MAX;
19883 typedef uint_least16_t my_uint_least16_t;
19884 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19885 uil16 = UINT_LEAST16_MAX;
19886 typedef uint_least32_t my_uint_least32_t;
19887 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19888 uil32 = UINT_LEAST32_MAX;
19889 typedef uint_least64_t my_uint_least64_t;
19890 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19891 uil64 = UINT_LEAST64_MAX;
19892 typedef uintmax_t my_uintmax_t;
19893 my_uintmax_t uim = UINTMAX_MAX;
19894 uim = UINTMAX_MAX;
19895 typedef uintptr_t my_uintptr_t;
19896 my_uintptr_t uip = UINTPTR_MAX;
19897 uip = UINTPTR_MAX;
19900 return 0;
19902 _ACEOF
19903 if ac_fn_cxx_try_compile "$LINENO"; then :
19904 glibcxx_cv_c99_stdint_tr1=yes
19905 else
19906 glibcxx_cv_c99_stdint_tr1=no
19908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19913 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19914 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19916 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19920 # Check for the existence of <math.h> functions.
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19922 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19923 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19924 $as_echo_n "(cached) " >&6
19925 else
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #include <math.h>
19931 main ()
19933 typedef double_t my_double_t;
19934 typedef float_t my_float_t;
19935 acosh(0.0);
19936 acoshf(0.0f);
19937 acoshl(0.0l);
19938 asinh(0.0);
19939 asinhf(0.0f);
19940 asinhl(0.0l);
19941 atanh(0.0);
19942 atanhf(0.0f);
19943 atanhl(0.0l);
19944 cbrt(0.0);
19945 cbrtf(0.0f);
19946 cbrtl(0.0l);
19947 copysign(0.0, 0.0);
19948 copysignf(0.0f, 0.0f);
19949 copysignl(0.0l, 0.0l);
19950 erf(0.0);
19951 erff(0.0f);
19952 erfl(0.0l);
19953 erfc(0.0);
19954 erfcf(0.0f);
19955 erfcl(0.0l);
19956 exp2(0.0);
19957 exp2f(0.0f);
19958 exp2l(0.0l);
19959 expm1(0.0);
19960 expm1f(0.0f);
19961 expm1l(0.0l);
19962 fdim(0.0, 0.0);
19963 fdimf(0.0f, 0.0f);
19964 fdiml(0.0l, 0.0l);
19965 fma(0.0, 0.0, 0.0);
19966 fmaf(0.0f, 0.0f, 0.0f);
19967 fmal(0.0l, 0.0l, 0.0l);
19968 fmax(0.0, 0.0);
19969 fmaxf(0.0f, 0.0f);
19970 fmaxl(0.0l, 0.0l);
19971 fmin(0.0, 0.0);
19972 fminf(0.0f, 0.0f);
19973 fminl(0.0l, 0.0l);
19974 hypot(0.0, 0.0);
19975 hypotf(0.0f, 0.0f);
19976 hypotl(0.0l, 0.0l);
19977 ilogb(0.0);
19978 ilogbf(0.0f);
19979 ilogbl(0.0l);
19980 lgamma(0.0);
19981 lgammaf(0.0f);
19982 lgammal(0.0l);
19983 #ifndef __APPLE__ /* see below */
19984 llrint(0.0);
19985 llrintf(0.0f);
19986 llrintl(0.0l);
19987 llround(0.0);
19988 llroundf(0.0f);
19989 llroundl(0.0l);
19990 #endif
19991 log1p(0.0);
19992 log1pf(0.0f);
19993 log1pl(0.0l);
19994 log2(0.0);
19995 log2f(0.0f);
19996 log2l(0.0l);
19997 logb(0.0);
19998 logbf(0.0f);
19999 logbl(0.0l);
20000 lrint(0.0);
20001 lrintf(0.0f);
20002 lrintl(0.0l);
20003 lround(0.0);
20004 lroundf(0.0f);
20005 lroundl(0.0l);
20006 nan(0);
20007 nanf(0);
20008 nanl(0);
20009 nearbyint(0.0);
20010 nearbyintf(0.0f);
20011 nearbyintl(0.0l);
20012 nextafter(0.0, 0.0);
20013 nextafterf(0.0f, 0.0f);
20014 nextafterl(0.0l, 0.0l);
20015 nexttoward(0.0, 0.0);
20016 nexttowardf(0.0f, 0.0f);
20017 nexttowardl(0.0l, 0.0l);
20018 remainder(0.0, 0.0);
20019 remainderf(0.0f, 0.0f);
20020 remainderl(0.0l, 0.0l);
20021 remquo(0.0, 0.0, 0);
20022 remquof(0.0f, 0.0f, 0);
20023 remquol(0.0l, 0.0l, 0);
20024 rint(0.0);
20025 rintf(0.0f);
20026 rintl(0.0l);
20027 round(0.0);
20028 roundf(0.0f);
20029 roundl(0.0l);
20030 scalbln(0.0, 0l);
20031 scalblnf(0.0f, 0l);
20032 scalblnl(0.0l, 0l);
20033 scalbn(0.0, 0);
20034 scalbnf(0.0f, 0);
20035 scalbnl(0.0l, 0);
20036 tgamma(0.0);
20037 tgammaf(0.0f);
20038 tgammal(0.0l);
20039 trunc(0.0);
20040 truncf(0.0f);
20041 truncl(0.0l);
20044 return 0;
20046 _ACEOF
20047 if ac_fn_cxx_try_compile "$LINENO"; then :
20048 glibcxx_cv_c99_math_tr1=yes
20049 else
20050 glibcxx_cv_c99_math_tr1=no
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20057 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20058 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20060 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20063 case "${target_os}" in
20064 darwin*)
20065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20066 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20067 if ${glibcxx_cv_c99_math_llround+:} false; then :
20068 $as_echo_n "(cached) " >&6
20069 else
20071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20072 /* end confdefs.h. */
20073 #include <math.h>
20075 main ()
20077 llrint(0.0);
20078 llrintf(0.0f);
20079 llrintl(0.0l);
20080 llround(0.0);
20081 llroundf(0.0f);
20082 llroundl(0.0l);
20085 return 0;
20087 _ACEOF
20088 if ac_fn_cxx_try_compile "$LINENO"; then :
20089 glibcxx_cv_c99_math_llround=yes
20090 else
20091 glibcxx_cv_c99_math_llround=no
20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20098 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20100 esac
20101 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20103 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20108 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20109 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20110 ac_c99_inttypes_tr1=no;
20111 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20113 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20115 /* end confdefs.h. */
20116 #include <inttypes.h>
20118 main ()
20120 intmax_t i, numer, denom, base;
20121 const char* s;
20122 char** endptr;
20123 intmax_t ret = imaxabs(i);
20124 imaxdiv_t dret = imaxdiv(numer, denom);
20125 ret = strtoimax(s, endptr, base);
20126 uintmax_t uret = strtoumax(s, endptr, base);
20129 return 0;
20131 _ACEOF
20132 if ac_fn_cxx_try_compile "$LINENO"; then :
20133 ac_c99_inttypes_tr1=yes
20134 else
20135 ac_c99_inttypes_tr1=no
20137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20140 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20141 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20143 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20147 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20148 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20149 ac_c99_inttypes_wchar_t_tr1=no;
20150 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20152 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154 /* end confdefs.h. */
20155 #include <inttypes.h>
20157 main ()
20159 intmax_t base;
20160 const wchar_t* s;
20161 wchar_t** endptr;
20162 intmax_t ret = wcstoimax(s, endptr, base);
20163 uintmax_t uret = wcstoumax(s, endptr, base);
20166 return 0;
20168 _ACEOF
20169 if ac_fn_cxx_try_compile "$LINENO"; then :
20170 ac_c99_inttypes_wchar_t_tr1=yes
20171 else
20172 ac_c99_inttypes_wchar_t_tr1=no
20174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20177 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20178 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20180 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20184 # Check for the existence of the <stdbool.h> header.
20185 for ac_header in stdbool.h
20186 do :
20187 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20188 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20189 cat >>confdefs.h <<_ACEOF
20190 #define HAVE_STDBOOL_H 1
20191 _ACEOF
20195 done
20198 # Check for the existence of the <stdalign.h> header.
20199 for ac_header in stdalign.h
20200 do :
20201 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20202 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20203 cat >>confdefs.h <<_ACEOF
20204 #define HAVE_STDALIGN_H 1
20205 _ACEOF
20209 done
20212 CXXFLAGS="$ac_save_CXXFLAGS"
20213 ac_ext=c
20214 ac_cpp='$CPP $CPPFLAGS'
20215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20221 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20225 $as_echo_n "checking for the value of EOF... " >&6; }
20226 if ${glibcxx_cv_stdio_eof+:} false; then :
20227 $as_echo_n "(cached) " >&6
20228 else
20230 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20232 else
20233 as_fn_error $? "computing EOF failed" "$LINENO" 5
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20239 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20241 cat >>confdefs.h <<_ACEOF
20242 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20243 _ACEOF
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20247 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20248 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20249 $as_echo_n "(cached) " >&6
20250 else
20252 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20254 else
20255 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20261 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20263 cat >>confdefs.h <<_ACEOF
20264 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20265 _ACEOF
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20269 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20270 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20271 $as_echo_n "(cached) " >&6
20272 else
20274 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20276 else
20277 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20283 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20285 cat >>confdefs.h <<_ACEOF
20286 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20287 _ACEOF
20291 # For gettimeofday support.
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20295 $as_echo_n "checking for gettimeofday... " >&6; }
20298 ac_ext=cpp
20299 ac_cpp='$CXXCPP $CPPFLAGS'
20300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20304 ac_save_CXXFLAGS="$CXXFLAGS"
20305 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20307 ac_has_gettimeofday=no;
20308 for ac_header in sys/time.h
20309 do :
20310 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20312 cat >>confdefs.h <<_ACEOF
20313 #define HAVE_SYS_TIME_H 1
20314 _ACEOF
20315 ac_has_sys_time_h=yes
20316 else
20317 ac_has_sys_time_h=no
20320 done
20322 if test x"$ac_has_sys_time_h" = x"yes"; then
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20324 $as_echo_n "checking for gettimeofday... " >&6; }
20325 if test x$gcc_no_link = xyes; then
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20328 #include <sys/time.h>
20330 main ()
20332 timeval tv; gettimeofday(&tv, 0);
20334 return 0;
20336 _ACEOF
20337 if ac_fn_cxx_try_compile "$LINENO"; then :
20338 ac_has_gettimeofday=yes
20339 else
20340 ac_has_gettimeofday=no
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 else
20344 if test x$gcc_no_link = xyes; then
20345 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h. */
20349 #include <sys/time.h>
20351 main ()
20353 timeval tv; gettimeofday(&tv, 0);
20355 return 0;
20357 _ACEOF
20358 if ac_fn_cxx_try_link "$LINENO"; then :
20359 ac_has_gettimeofday=yes
20360 else
20361 ac_has_gettimeofday=no
20363 rm -f core conftest.err conftest.$ac_objext \
20364 conftest$ac_exeext conftest.$ac_ext
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20368 $as_echo "$ac_has_gettimeofday" >&6; }
20371 if test x"$ac_has_gettimeofday" = x"yes"; then
20373 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20377 CXXFLAGS="$ac_save_CXXFLAGS"
20378 ac_ext=c
20379 ac_cpp='$CPP $CPPFLAGS'
20380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20386 # For clock_gettime, nanosleep and sched_yield support.
20389 # Check whether --enable-libstdcxx-time was given.
20390 if test "${enable_libstdcxx_time+set}" = set; then :
20391 enableval=$enable_libstdcxx_time;
20392 case "$enableval" in
20393 yes|no|rt) ;;
20394 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20395 esac
20397 else
20398 enable_libstdcxx_time=auto
20404 ac_ext=cpp
20405 ac_cpp='$CXXCPP $CPPFLAGS'
20406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20410 ac_save_CXXFLAGS="$CXXFLAGS"
20411 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20412 ac_save_LIBS="$LIBS"
20414 ac_has_clock_monotonic=no
20415 ac_has_clock_realtime=no
20416 ac_has_nanosleep=no
20417 ac_has_sched_yield=no
20419 if test x"$enable_libstdcxx_time" = x"auto"; then
20421 case "${target_os}" in
20422 cygwin*)
20423 ac_has_nanosleep=yes
20425 darwin*)
20426 ac_has_nanosleep=yes
20427 ac_has_sched_yield=yes
20429 # VxWorks has nanosleep as soon as the kernel is configured with
20430 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20431 vxworks*)
20432 ac_has_nanosleep=yes
20434 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20435 # Don't use link test for freestanding library, in case gcc_no_link=yes
20436 if test x"$is_hosted" = xyes; then
20437 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20439 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20440 if ${ac_cv_search_clock_gettime+:} false; then :
20441 $as_echo_n "(cached) " >&6
20442 else
20443 ac_func_search_save_LIBS=$LIBS
20444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20445 /* end confdefs.h. */
20447 /* Override any GCC internal prototype to avoid an error.
20448 Use char because int might match the return type of a GCC
20449 builtin and then its argument prototype would still apply. */
20450 #ifdef __cplusplus
20451 extern "C"
20452 #endif
20453 char clock_gettime ();
20455 main ()
20457 return clock_gettime ();
20459 return 0;
20461 _ACEOF
20462 for ac_lib in '' rt; do
20463 if test -z "$ac_lib"; then
20464 ac_res="none required"
20465 else
20466 ac_res=-l$ac_lib
20467 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20469 if test x$gcc_no_link = xyes; then
20470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20472 if ac_fn_cxx_try_link "$LINENO"; then :
20473 ac_cv_search_clock_gettime=$ac_res
20475 rm -f core conftest.err conftest.$ac_objext \
20476 conftest$ac_exeext
20477 if ${ac_cv_search_clock_gettime+:} false; then :
20478 break
20480 done
20481 if ${ac_cv_search_clock_gettime+:} false; then :
20483 else
20484 ac_cv_search_clock_gettime=no
20486 rm conftest.$ac_ext
20487 LIBS=$ac_func_search_save_LIBS
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20490 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20491 ac_res=$ac_cv_search_clock_gettime
20492 if test "$ac_res" != no; then :
20493 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20497 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20498 ac_has_clock_monotonic=yes
20499 ac_has_clock_realtime=yes
20502 ac_has_nanosleep=yes
20503 ac_has_sched_yield=yes
20505 freebsd*|netbsd*|dragonfly*|rtems*)
20506 ac_has_clock_monotonic=yes
20507 ac_has_clock_realtime=yes
20508 ac_has_nanosleep=yes
20509 ac_has_sched_yield=yes
20511 openbsd*)
20512 ac_has_clock_monotonic=yes
20513 ac_has_clock_realtime=yes
20514 ac_has_nanosleep=yes
20516 solaris*)
20517 ac_has_clock_monotonic=yes
20518 ac_has_clock_realtime=yes
20519 ac_has_nanosleep=yes
20520 ac_has_sched_yield=yes
20522 uclinux*)
20523 ac_has_nanosleep=yes
20524 ac_has_sched_yield=yes
20525 esac
20527 elif test x"$enable_libstdcxx_time" != x"no"; then
20529 if test x"$enable_libstdcxx_time" = x"rt"; then
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20531 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20532 if ${ac_cv_search_clock_gettime+:} false; then :
20533 $as_echo_n "(cached) " >&6
20534 else
20535 ac_func_search_save_LIBS=$LIBS
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20539 /* Override any GCC internal prototype to avoid an error.
20540 Use char because int might match the return type of a GCC
20541 builtin and then its argument prototype would still apply. */
20542 #ifdef __cplusplus
20543 extern "C"
20544 #endif
20545 char clock_gettime ();
20547 main ()
20549 return clock_gettime ();
20551 return 0;
20553 _ACEOF
20554 for ac_lib in '' rt; do
20555 if test -z "$ac_lib"; then
20556 ac_res="none required"
20557 else
20558 ac_res=-l$ac_lib
20559 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20561 if test x$gcc_no_link = xyes; then
20562 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 if ac_fn_cxx_try_link "$LINENO"; then :
20565 ac_cv_search_clock_gettime=$ac_res
20567 rm -f core conftest.err conftest.$ac_objext \
20568 conftest$ac_exeext
20569 if ${ac_cv_search_clock_gettime+:} false; then :
20570 break
20572 done
20573 if ${ac_cv_search_clock_gettime+:} false; then :
20575 else
20576 ac_cv_search_clock_gettime=no
20578 rm conftest.$ac_ext
20579 LIBS=$ac_func_search_save_LIBS
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20582 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20583 ac_res=$ac_cv_search_clock_gettime
20584 if test "$ac_res" != no; then :
20585 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20590 $as_echo_n "checking for library containing nanosleep... " >&6; }
20591 if ${ac_cv_search_nanosleep+:} false; then :
20592 $as_echo_n "(cached) " >&6
20593 else
20594 ac_func_search_save_LIBS=$LIBS
20595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20596 /* end confdefs.h. */
20598 /* Override any GCC internal prototype to avoid an error.
20599 Use char because int might match the return type of a GCC
20600 builtin and then its argument prototype would still apply. */
20601 #ifdef __cplusplus
20602 extern "C"
20603 #endif
20604 char nanosleep ();
20606 main ()
20608 return nanosleep ();
20610 return 0;
20612 _ACEOF
20613 for ac_lib in '' rt; do
20614 if test -z "$ac_lib"; then
20615 ac_res="none required"
20616 else
20617 ac_res=-l$ac_lib
20618 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 if ac_fn_cxx_try_link "$LINENO"; then :
20624 ac_cv_search_nanosleep=$ac_res
20626 rm -f core conftest.err conftest.$ac_objext \
20627 conftest$ac_exeext
20628 if ${ac_cv_search_nanosleep+:} false; then :
20629 break
20631 done
20632 if ${ac_cv_search_nanosleep+:} false; then :
20634 else
20635 ac_cv_search_nanosleep=no
20637 rm conftest.$ac_ext
20638 LIBS=$ac_func_search_save_LIBS
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20641 $as_echo "$ac_cv_search_nanosleep" >&6; }
20642 ac_res=$ac_cv_search_nanosleep
20643 if test "$ac_res" != no; then :
20644 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20648 else
20649 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20650 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20654 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20655 if test "x$ac_cv_func_nanosleep" = xyes; then :
20661 case "$ac_cv_search_clock_gettime" in
20662 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20664 esac
20665 case "$ac_cv_search_nanosleep" in
20666 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20668 esac
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20671 $as_echo_n "checking for library containing sched_yield... " >&6; }
20672 if ${ac_cv_search_sched_yield+:} false; then :
20673 $as_echo_n "(cached) " >&6
20674 else
20675 ac_func_search_save_LIBS=$LIBS
20676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20677 /* end confdefs.h. */
20679 /* Override any GCC internal prototype to avoid an error.
20680 Use char because int might match the return type of a GCC
20681 builtin and then its argument prototype would still apply. */
20682 #ifdef __cplusplus
20683 extern "C"
20684 #endif
20685 char sched_yield ();
20687 main ()
20689 return sched_yield ();
20691 return 0;
20693 _ACEOF
20694 for ac_lib in '' rt; do
20695 if test -z "$ac_lib"; then
20696 ac_res="none required"
20697 else
20698 ac_res=-l$ac_lib
20699 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20701 if test x$gcc_no_link = xyes; then
20702 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20704 if ac_fn_cxx_try_link "$LINENO"; then :
20705 ac_cv_search_sched_yield=$ac_res
20707 rm -f core conftest.err conftest.$ac_objext \
20708 conftest$ac_exeext
20709 if ${ac_cv_search_sched_yield+:} false; then :
20710 break
20712 done
20713 if ${ac_cv_search_sched_yield+:} false; then :
20715 else
20716 ac_cv_search_sched_yield=no
20718 rm conftest.$ac_ext
20719 LIBS=$ac_func_search_save_LIBS
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20722 $as_echo "$ac_cv_search_sched_yield" >&6; }
20723 ac_res=$ac_cv_search_sched_yield
20724 if test "$ac_res" != no; then :
20725 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20730 case "$ac_cv_search_sched_yield" in
20731 -lrt*)
20732 if test x"$enable_libstdcxx_time" = x"rt"; then
20733 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20734 ac_has_sched_yield=yes
20738 ac_has_sched_yield=yes
20740 esac
20742 for ac_header in unistd.h
20743 do :
20744 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20745 if test "x$ac_cv_header_unistd_h" = xyes; then :
20746 cat >>confdefs.h <<_ACEOF
20747 #define HAVE_UNISTD_H 1
20748 _ACEOF
20749 ac_has_unistd_h=yes
20750 else
20751 ac_has_unistd_h=no
20754 done
20757 if test x"$ac_has_unistd_h" = x"yes"; then
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20759 $as_echo_n "checking for monotonic clock... " >&6; }
20760 if test x$gcc_no_link = xyes; then
20761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20764 /* end confdefs.h. */
20765 #include <unistd.h>
20766 #include <time.h>
20769 main ()
20771 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20772 timespec tp;
20773 #endif
20774 clock_gettime(CLOCK_MONOTONIC, &tp);
20777 return 0;
20779 _ACEOF
20780 if ac_fn_cxx_try_link "$LINENO"; then :
20781 ac_has_clock_monotonic=yes
20782 else
20783 ac_has_clock_monotonic=no
20785 rm -f core conftest.err conftest.$ac_objext \
20786 conftest$ac_exeext conftest.$ac_ext
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20789 $as_echo "$ac_has_clock_monotonic" >&6; }
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20792 $as_echo_n "checking for realtime clock... " >&6; }
20793 if test x$gcc_no_link = xyes; then
20794 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20798 #include <unistd.h>
20799 #include <time.h>
20802 main ()
20804 #if _POSIX_TIMERS > 0
20805 timespec tp;
20806 #endif
20807 clock_gettime(CLOCK_REALTIME, &tp);
20810 return 0;
20812 _ACEOF
20813 if ac_fn_cxx_try_link "$LINENO"; then :
20814 ac_has_clock_realtime=yes
20815 else
20816 ac_has_clock_realtime=no
20818 rm -f core conftest.err conftest.$ac_objext \
20819 conftest$ac_exeext conftest.$ac_ext
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20822 $as_echo "$ac_has_clock_realtime" >&6; }
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20825 $as_echo_n "checking for nanosleep... " >&6; }
20826 if test x$gcc_no_link = xyes; then
20827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20831 #include <unistd.h>
20832 #include <time.h>
20835 main ()
20837 #if _POSIX_TIMERS > 0
20838 timespec tp;
20839 #endif
20840 nanosleep(&tp, 0);
20843 return 0;
20845 _ACEOF
20846 if ac_fn_cxx_try_link "$LINENO"; then :
20847 ac_has_nanosleep=yes
20848 else
20849 ac_has_nanosleep=no
20851 rm -f core conftest.err conftest.$ac_objext \
20852 conftest$ac_exeext conftest.$ac_ext
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20855 $as_echo "$ac_has_nanosleep" >&6; }
20859 if test x"$ac_has_clock_monotonic" != x"yes"; then
20860 case ${target_os} in
20861 linux* | uclinux*)
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20863 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h. */
20866 #include <unistd.h>
20867 #include <time.h>
20868 #include <sys/syscall.h>
20871 main ()
20873 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20874 timespec tp;
20875 #endif
20876 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20877 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20880 return 0;
20882 _ACEOF
20883 if ac_fn_cxx_try_compile "$LINENO"; then :
20884 ac_has_clock_gettime_syscall=yes
20885 else
20886 ac_has_clock_gettime_syscall=no
20888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20890 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20891 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20893 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20895 ac_has_clock_monotonic=yes
20896 ac_has_clock_realtime=yes
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20898 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20901 #include <time.h>
20902 #include <sys/syscall.h>
20905 main ()
20907 #ifdef SYS_clock_gettime64
20908 #if SYS_clock_gettime64 != SYS_clock_gettime
20909 // We need to use SYS_clock_gettime and libc appears to
20910 // also know about the SYS_clock_gettime64 syscall.
20911 // Check that userspace doesn't use time64 version of timespec.
20912 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20913 "struct timespec must be compatible with SYS_clock_gettime");
20914 #endif
20915 #endif
20918 return 0;
20920 _ACEOF
20921 if ac_fn_cxx_try_compile "$LINENO"; then :
20922 ac_timespec_matches_syscall=yes
20923 else
20924 ac_timespec_matches_syscall=no
20926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20928 $as_echo "$ac_timespec_matches_syscall" >&6; }
20929 if test x"$ac_timespec_matches_syscall" = no; then
20930 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20932 fi;;
20933 esac
20936 if test x"$ac_has_clock_monotonic" = x"yes"; then
20938 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20942 if test x"$ac_has_clock_realtime" = x"yes"; then
20944 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20948 if test x"$ac_has_sched_yield" = x"yes"; then
20950 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20954 if test x"$ac_has_nanosleep" = x"yes"; then
20956 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20958 else
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20960 $as_echo_n "checking for sleep... " >&6; }
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #include <unistd.h>
20965 main ()
20967 sleep(1)
20969 return 0;
20971 _ACEOF
20972 if ac_fn_cxx_try_compile "$LINENO"; then :
20973 ac_has_sleep=yes
20974 else
20975 ac_has_sleep=no
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 if test x"$ac_has_sleep" = x"yes"; then
20980 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20984 $as_echo "$ac_has_sleep" >&6; }
20985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20986 $as_echo_n "checking for usleep... " >&6; }
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #include <unistd.h>
20991 main ()
20993 sleep(1);
20994 usleep(100);
20996 return 0;
20998 _ACEOF
20999 if ac_fn_cxx_try_compile "$LINENO"; then :
21000 ac_has_usleep=yes
21001 else
21002 ac_has_usleep=no
21004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 if test x"$ac_has_usleep" = x"yes"; then
21007 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21011 $as_echo "$ac_has_usleep" >&6; }
21014 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21015 ac_no_sleep=yes
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21017 $as_echo_n "checking for Sleep... " >&6; }
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21020 #include <windows.h>
21022 main ()
21024 Sleep(1)
21026 return 0;
21028 _ACEOF
21029 if ac_fn_cxx_try_compile "$LINENO"; then :
21030 ac_has_win32_sleep=yes
21031 else
21032 ac_has_win32_sleep=no
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 if test x"$ac_has_win32_sleep" = x"yes"; then
21037 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21039 ac_no_sleep=no
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21042 $as_echo "$ac_has_win32_sleep" >&6; }
21045 if test x"$ac_no_sleep" = x"yes"; then
21047 $as_echo "#define NO_SLEEP 1" >>confdefs.h
21053 CXXFLAGS="$ac_save_CXXFLAGS"
21054 LIBS="$ac_save_LIBS"
21055 ac_ext=c
21056 ac_cpp='$CPP $CPPFLAGS'
21057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21063 # Check for tmpnam which is obsolescent in POSIX.1-2008
21065 ac_ext=cpp
21066 ac_cpp='$CXXCPP $CPPFLAGS'
21067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21071 ac_save_CXXFLAGS="$CXXFLAGS"
21072 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21074 $as_echo_n "checking for tmpnam... " >&6; }
21075 if ${glibcxx_cv_TMPNAM+:} false; then :
21076 $as_echo_n "(cached) " >&6
21077 else
21078 if test x$gcc_no_link = xyes; then
21079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21080 /* end confdefs.h. */
21081 #include <stdio.h>
21083 main ()
21085 char *tmp = tmpnam(NULL);
21087 return 0;
21089 _ACEOF
21090 if ac_fn_cxx_try_compile "$LINENO"; then :
21091 glibcxx_cv_TMPNAM=yes
21092 else
21093 glibcxx_cv_TMPNAM=no
21095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21096 else
21097 if test x$gcc_no_link = xyes; then
21098 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21101 /* end confdefs.h. */
21102 #include <stdio.h>
21104 main ()
21106 char *tmp = tmpnam(NULL);
21108 return 0;
21110 _ACEOF
21111 if ac_fn_cxx_try_link "$LINENO"; then :
21112 glibcxx_cv_TMPNAM=yes
21113 else
21114 glibcxx_cv_TMPNAM=no
21116 rm -f core conftest.err conftest.$ac_objext \
21117 conftest$ac_exeext conftest.$ac_ext
21122 if test $glibcxx_cv_TMPNAM = yes; then
21124 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21128 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21129 CXXFLAGS="$ac_save_CXXFLAGS"
21130 ac_ext=c
21131 ac_cpp='$CPP $CPPFLAGS'
21132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21138 # For pthread_cond_clockwait
21142 ac_ext=cpp
21143 ac_cpp='$CXXCPP $CPPFLAGS'
21144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21148 ac_save_CXXFLAGS="$CXXFLAGS"
21149 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21150 ac_save_LIBS="$LIBS"
21151 LIBS="$LIBS -lpthread"
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21154 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21155 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21156 $as_echo_n "(cached) " >&6
21157 else
21159 if test x$gcc_no_link = xyes; then
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162 #include <pthread.h>
21164 main ()
21166 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21168 return 0;
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21173 else
21174 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 else
21178 if test x$gcc_no_link = xyes; then
21179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182 /* end confdefs.h. */
21183 #include <pthread.h>
21185 main ()
21187 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21189 return 0;
21191 _ACEOF
21192 if ac_fn_cxx_try_link "$LINENO"; then :
21193 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21194 else
21195 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21197 rm -f core conftest.err conftest.$ac_objext \
21198 conftest$ac_exeext conftest.$ac_ext
21203 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21205 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21209 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21211 CXXFLAGS="$ac_save_CXXFLAGS"
21212 LIBS="$ac_save_LIBS"
21213 ac_ext=c
21214 ac_cpp='$CPP $CPPFLAGS'
21215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21221 # For pthread_mutex_clocklock
21225 ac_ext=cpp
21226 ac_cpp='$CXXCPP $CPPFLAGS'
21227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21231 ac_save_CXXFLAGS="$CXXFLAGS"
21232 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21233 ac_save_LIBS="$LIBS"
21234 LIBS="$LIBS -lpthread"
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21237 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21238 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21239 $as_echo_n "(cached) " >&6
21240 else
21242 if test x$gcc_no_link = xyes; then
21243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21244 /* end confdefs.h. */
21245 #include <pthread.h>
21247 main ()
21249 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21251 return 0;
21253 _ACEOF
21254 if ac_fn_cxx_try_compile "$LINENO"; then :
21255 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21256 else
21257 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 else
21261 if test x$gcc_no_link = xyes; then
21262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21265 /* end confdefs.h. */
21266 #include <pthread.h>
21268 main ()
21270 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21272 return 0;
21274 _ACEOF
21275 if ac_fn_cxx_try_link "$LINENO"; then :
21276 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21277 else
21278 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21280 rm -f core conftest.err conftest.$ac_objext \
21281 conftest$ac_exeext conftest.$ac_ext
21286 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21288 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21292 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21294 CXXFLAGS="$ac_save_CXXFLAGS"
21295 LIBS="$ac_save_LIBS"
21296 ac_ext=c
21297 ac_cpp='$CPP $CPPFLAGS'
21298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21304 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21308 ac_ext=cpp
21309 ac_cpp='$CXXCPP $CPPFLAGS'
21310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21314 ac_save_CXXFLAGS="$CXXFLAGS"
21315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21316 ac_save_LIBS="$LIBS"
21317 LIBS="$LIBS -lpthread"
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21320 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21321 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21322 $as_echo_n "(cached) " >&6
21323 else
21325 if test x$gcc_no_link = xyes; then
21326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21328 #include <pthread.h>
21330 main ()
21332 pthread_rwlock_t rwl; struct timespec ts;
21333 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21334 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21336 return 0;
21338 _ACEOF
21339 if ac_fn_cxx_try_compile "$LINENO"; then :
21340 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21341 else
21342 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21345 else
21346 if test x$gcc_no_link = xyes; then
21347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21351 #include <pthread.h>
21353 main ()
21355 pthread_rwlock_t rwl; struct timespec ts;
21356 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21357 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21359 return 0;
21361 _ACEOF
21362 if ac_fn_cxx_try_link "$LINENO"; then :
21363 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21364 else
21365 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21367 rm -f core conftest.err conftest.$ac_objext \
21368 conftest$ac_exeext conftest.$ac_ext
21373 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21375 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21379 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21381 CXXFLAGS="$ac_save_CXXFLAGS"
21382 LIBS="$ac_save_LIBS"
21383 ac_ext=c
21384 ac_cpp='$CPP $CPPFLAGS'
21385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21393 if test "x$ac_cv_header_locale_h" = xyes; then :
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21396 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21397 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21398 $as_echo_n "(cached) " >&6
21399 else
21400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21401 /* end confdefs.h. */
21402 #include <locale.h>
21404 main ()
21406 return LC_MESSAGES
21408 return 0;
21410 _ACEOF
21411 if ac_fn_c_try_compile "$LINENO"; then :
21412 ac_cv_val_LC_MESSAGES=yes
21413 else
21414 ac_cv_val_LC_MESSAGES=no
21416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21419 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21420 if test $ac_cv_val_LC_MESSAGES = yes; then
21422 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21431 # For hardware_concurrency
21432 for ac_header in sys/sysinfo.h
21433 do :
21434 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21435 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21436 cat >>confdefs.h <<_ACEOF
21437 #define HAVE_SYS_SYSINFO_H 1
21438 _ACEOF
21442 done
21447 ac_ext=cpp
21448 ac_cpp='$CXXCPP $CPPFLAGS'
21449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21453 ac_save_CXXFLAGS="$CXXFLAGS"
21454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21457 $as_echo_n "checking for get_nprocs... " >&6; }
21458 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21459 $as_echo_n "(cached) " >&6
21460 else
21462 if test x$gcc_no_link = xyes; then
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21465 #include <sys/sysinfo.h>
21467 main ()
21469 int n = get_nprocs();
21471 return 0;
21473 _ACEOF
21474 if ac_fn_cxx_try_compile "$LINENO"; then :
21475 glibcxx_cv_GET_NPROCS=yes
21476 else
21477 glibcxx_cv_GET_NPROCS=no
21479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480 else
21481 if test x$gcc_no_link = xyes; then
21482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21486 #include <sys/sysinfo.h>
21488 main ()
21490 int n = get_nprocs();
21492 return 0;
21494 _ACEOF
21495 if ac_fn_cxx_try_link "$LINENO"; then :
21496 glibcxx_cv_GET_NPROCS=yes
21497 else
21498 glibcxx_cv_GET_NPROCS=no
21500 rm -f core conftest.err conftest.$ac_objext \
21501 conftest$ac_exeext conftest.$ac_ext
21506 if test $glibcxx_cv_GET_NPROCS = yes; then
21508 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21512 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21514 CXXFLAGS="$ac_save_CXXFLAGS"
21515 ac_ext=c
21516 ac_cpp='$CPP $CPPFLAGS'
21517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21522 for ac_header in unistd.h
21523 do :
21524 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21525 if test "x$ac_cv_header_unistd_h" = xyes; then :
21526 cat >>confdefs.h <<_ACEOF
21527 #define HAVE_UNISTD_H 1
21528 _ACEOF
21532 done
21537 ac_ext=cpp
21538 ac_cpp='$CXXCPP $CPPFLAGS'
21539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21543 ac_save_CXXFLAGS="$CXXFLAGS"
21544 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21547 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21548 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21549 $as_echo_n "(cached) " >&6
21550 else
21552 if test x$gcc_no_link = xyes; then
21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21555 #include <unistd.h>
21557 main ()
21559 int n = sysconf(_SC_NPROCESSORS_ONLN);
21561 return 0;
21563 _ACEOF
21564 if ac_fn_cxx_try_compile "$LINENO"; then :
21565 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21566 else
21567 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570 else
21571 if test x$gcc_no_link = xyes; then
21572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576 #include <unistd.h>
21578 main ()
21580 int n = sysconf(_SC_NPROCESSORS_ONLN);
21582 return 0;
21584 _ACEOF
21585 if ac_fn_cxx_try_link "$LINENO"; then :
21586 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21587 else
21588 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21590 rm -f core conftest.err conftest.$ac_objext \
21591 conftest$ac_exeext conftest.$ac_ext
21596 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21598 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21602 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21604 CXXFLAGS="$ac_save_CXXFLAGS"
21605 ac_ext=c
21606 ac_cpp='$CPP $CPPFLAGS'
21607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21615 ac_ext=cpp
21616 ac_cpp='$CXXCPP $CPPFLAGS'
21617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21621 ac_save_CXXFLAGS="$CXXFLAGS"
21622 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21625 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21626 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21627 $as_echo_n "(cached) " >&6
21628 else
21630 if test x$gcc_no_link = xyes; then
21631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21633 #include <unistd.h>
21635 main ()
21637 int n = sysconf(_SC_NPROC_ONLN);
21639 return 0;
21641 _ACEOF
21642 if ac_fn_cxx_try_compile "$LINENO"; then :
21643 glibcxx_cv_SC_NPROC_ONLN=yes
21644 else
21645 glibcxx_cv_SC_NPROC_ONLN=no
21647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21648 else
21649 if test x$gcc_no_link = xyes; then
21650 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #include <unistd.h>
21656 main ()
21658 int n = sysconf(_SC_NPROC_ONLN);
21660 return 0;
21662 _ACEOF
21663 if ac_fn_cxx_try_link "$LINENO"; then :
21664 glibcxx_cv_SC_NPROC_ONLN=yes
21665 else
21666 glibcxx_cv_SC_NPROC_ONLN=no
21668 rm -f core conftest.err conftest.$ac_objext \
21669 conftest$ac_exeext conftest.$ac_ext
21674 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21676 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21680 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21682 CXXFLAGS="$ac_save_CXXFLAGS"
21683 ac_ext=c
21684 ac_cpp='$CPP $CPPFLAGS'
21685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21693 ac_ext=cpp
21694 ac_cpp='$CXXCPP $CPPFLAGS'
21695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21699 ac_save_CXXFLAGS="$CXXFLAGS"
21700 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21703 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21704 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21705 $as_echo_n "(cached) " >&6
21706 else
21708 if test x$gcc_no_link = xyes; then
21709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21710 /* end confdefs.h. */
21711 #include <pthread.h>
21713 main ()
21715 int n = pthread_num_processors_np();
21717 return 0;
21719 _ACEOF
21720 if ac_fn_cxx_try_compile "$LINENO"; then :
21721 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21722 else
21723 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21726 else
21727 if test x$gcc_no_link = xyes; then
21728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21731 /* end confdefs.h. */
21732 #include <pthread.h>
21734 main ()
21736 int n = pthread_num_processors_np();
21738 return 0;
21740 _ACEOF
21741 if ac_fn_cxx_try_link "$LINENO"; then :
21742 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21743 else
21744 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21746 rm -f core conftest.err conftest.$ac_objext \
21747 conftest$ac_exeext conftest.$ac_ext
21752 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21754 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21758 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21760 CXXFLAGS="$ac_save_CXXFLAGS"
21761 ac_ext=c
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21771 ac_ext=cpp
21772 ac_cpp='$CXXCPP $CPPFLAGS'
21773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21777 ac_save_CXXFLAGS="$CXXFLAGS"
21778 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21781 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21782 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21783 $as_echo_n "(cached) " >&6
21784 else
21786 if test x$gcc_no_link = xyes; then
21787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21788 /* end confdefs.h. */
21790 #include <stddef.h>
21791 #include <sys/sysctl.h>
21794 main ()
21797 int count;
21798 size_t size = sizeof(count);
21799 int mib[] = { CTL_HW, HW_NCPU };
21800 sysctl(mib, 2, &count, &size, NULL, 0);
21803 return 0;
21805 _ACEOF
21806 if ac_fn_cxx_try_compile "$LINENO"; then :
21807 glibcxx_cv_SYSCTL_HW_NCPU=yes
21808 else
21809 glibcxx_cv_SYSCTL_HW_NCPU=no
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812 else
21813 if test x$gcc_no_link = xyes; then
21814 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21817 /* end confdefs.h. */
21819 #include <stddef.h>
21820 #include <sys/sysctl.h>
21823 main ()
21826 int count;
21827 size_t size = sizeof(count);
21828 int mib[] = { CTL_HW, HW_NCPU };
21829 sysctl(mib, 2, &count, &size, NULL, 0);
21832 return 0;
21834 _ACEOF
21835 if ac_fn_cxx_try_link "$LINENO"; then :
21836 glibcxx_cv_SYSCTL_HW_NCPU=yes
21837 else
21838 glibcxx_cv_SYSCTL_HW_NCPU=no
21840 rm -f core conftest.err conftest.$ac_objext \
21841 conftest$ac_exeext conftest.$ac_ext
21846 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21848 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21852 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21854 CXXFLAGS="$ac_save_CXXFLAGS"
21855 ac_ext=c
21856 ac_cpp='$CPP $CPPFLAGS'
21857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21864 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21865 # Note that this test has to be run with the C language.
21866 # Otherwise, sdt.h will try to include some headers from
21867 # libstdc++ itself.
21869 ac_ext=c
21870 ac_cpp='$CPP $CPPFLAGS'
21871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21876 $as_echo_n "(cached) " >&6
21877 else
21879 # Because we have to run the test in C, we use grep rather
21880 # than the compiler to check for the bug. The bug is that
21881 # were strings without trailing whitespace, causing g++
21882 # to look for operator"". The pattern searches for the fixed
21883 # output.
21884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21885 /* end confdefs.h. */
21887 #include <sys/sdt.h>
21888 int f() { STAP_PROBE(hi, bob); }
21890 _ACEOF
21891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21892 $EGREP " \",\" " >/dev/null 2>&1; then :
21893 glibcxx_cv_sys_sdt_h=yes
21894 else
21895 glibcxx_cv_sys_sdt_h=no
21897 rm -f conftest*
21902 ac_ext=c
21903 ac_cpp='$CPP $CPPFLAGS'
21904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21908 if test $glibcxx_cv_sys_sdt_h = yes; then
21910 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21914 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21917 # Check for available headers.
21918 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21919 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21920 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21921 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21922 wchar.h wctype.h linux/types.h
21923 do :
21924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21925 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21926 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21927 cat >>confdefs.h <<_ACEOF
21928 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21929 _ACEOF
21933 done
21936 for ac_header in linux/random.h
21937 do :
21938 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21939 # include <linux/types.h>
21940 #endif
21943 if test "x$ac_cv_header_linux_random_h" = xyes; then :
21944 cat >>confdefs.h <<_ACEOF
21945 #define HAVE_LINUX_RANDOM_H 1
21946 _ACEOF
21950 done
21953 for ac_header in xlocale.h
21954 do :
21955 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
21956 if test "x$ac_cv_header_xlocale_h" = xyes; then :
21957 cat >>confdefs.h <<_ACEOF
21958 #define HAVE_XLOCALE_H 1
21959 _ACEOF
21963 done
21966 # Only do link tests if native. Else, hardcode.
21967 if $GLIBCXX_IS_NATIVE; then
21969 # We can do more elaborate tests that assume a working linker.
21970 CANADIAN=no
21974 # Check whether --with-gnu-ld was given.
21975 if test "${with_gnu_ld+set}" = set; then :
21976 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21977 else
21978 with_gnu_ld=no
21981 ac_prog=ld
21982 if test "$GCC" = yes; then
21983 # Check if gcc -print-prog-name=ld gives a path.
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21985 $as_echo_n "checking for ld used by $CC... " >&6; }
21986 case $host in
21987 *-*-mingw*)
21988 # gcc leaves a trailing carriage return which upsets mingw
21989 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21991 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21992 esac
21993 case $ac_prog in
21994 # Accept absolute paths.
21995 [\\/]* | ?:[\\/]*)
21996 re_direlt='/[^/][^/]*/\.\./'
21997 # Canonicalize the pathname of ld
21998 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21999 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22000 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22001 done
22002 test -z "$LD" && LD="$ac_prog"
22005 # If it fails, then pretend we aren't using GCC.
22006 ac_prog=ld
22009 # If it is relative, then search for the first ld in PATH.
22010 with_gnu_ld=unknown
22012 esac
22013 elif test "$with_gnu_ld" = yes; then
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22015 $as_echo_n "checking for GNU ld... " >&6; }
22016 else
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22018 $as_echo_n "checking for non-GNU ld... " >&6; }
22020 if ${lt_cv_path_LD+:} false; then :
22021 $as_echo_n "(cached) " >&6
22022 else
22023 if test -z "$LD"; then
22024 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22025 for ac_dir in $PATH; do
22026 IFS="$lt_save_ifs"
22027 test -z "$ac_dir" && ac_dir=.
22028 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22029 lt_cv_path_LD="$ac_dir/$ac_prog"
22030 # Check to see if the program is GNU ld. I'd rather use --version,
22031 # but apparently some variants of GNU ld only accept -v.
22032 # Break only if it was the GNU/non-GNU ld that we prefer.
22033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22034 *GNU* | *'with BFD'*)
22035 test "$with_gnu_ld" != no && break
22038 test "$with_gnu_ld" != yes && break
22040 esac
22042 done
22043 IFS="$lt_save_ifs"
22044 else
22045 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22049 LD="$lt_cv_path_LD"
22050 if test -n "$LD"; then
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22052 $as_echo "$LD" >&6; }
22053 else
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22055 $as_echo "no" >&6; }
22057 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22059 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22060 if ${lt_cv_prog_gnu_ld+:} false; then :
22061 $as_echo_n "(cached) " >&6
22062 else
22063 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22064 case `$LD -v 2>&1 </dev/null` in
22065 *GNU* | *'with BFD'*)
22066 lt_cv_prog_gnu_ld=yes
22069 lt_cv_prog_gnu_ld=no
22071 esac
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22074 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22075 with_gnu_ld=$lt_cv_prog_gnu_ld
22083 # If we're not using GNU ld, then there's no point in even trying these
22084 # tests. Check for that first. We should have already tested for gld
22085 # by now (in libtool), but require it now just to be safe...
22086 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22087 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22091 # The name set by libtool depends on the version of libtool. Shame on us
22092 # for depending on an impl detail, but c'est la vie. Older versions used
22093 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22094 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22095 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22096 # set (hence we're using an older libtool), then set it.
22097 if test x${with_gnu_ld+set} != xset; then
22098 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22099 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22100 with_gnu_ld=no
22101 else
22102 with_gnu_ld=$ac_cv_prog_gnu_ld
22106 # Start by getting the version number. I think the libtool test already
22107 # does some of this, but throws away the result.
22108 glibcxx_ld_is_gold=no
22109 if test x"$with_gnu_ld" = x"yes"; then
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22111 $as_echo_n "checking for ld version... " >&6; }
22113 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22114 glibcxx_ld_is_gold=yes
22116 ldver=`$LD --version 2>/dev/null |
22117 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22119 glibcxx_gnu_ld_version=`echo $ldver | \
22120 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22122 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22125 # Set --gc-sections.
22126 glibcxx_have_gc_sections=no
22127 if test "$glibcxx_ld_is_gold" = "yes"; then
22128 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22129 glibcxx_have_gc_sections=yes
22131 else
22132 glibcxx_gcsections_min_ld=21602
22133 if test x"$with_gnu_ld" = x"yes" &&
22134 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22135 glibcxx_have_gc_sections=yes
22138 if test "$glibcxx_have_gc_sections" = "yes"; then
22139 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22140 # NB: This flag only works reliably after 2.16.1. Configure tests
22141 # for this are difficult, so hard wire a value that should work.
22143 ac_test_CFLAGS="${CFLAGS+set}"
22144 ac_save_CFLAGS="$CFLAGS"
22145 CFLAGS='-Wl,--gc-sections'
22147 # Check for -Wl,--gc-sections
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22149 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22150 if test x$gcc_no_link = xyes; then
22151 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 int one(void) { return 1; }
22156 int two(void) { return 2; }
22159 main ()
22161 two();
22163 return 0;
22165 _ACEOF
22166 if ac_fn_c_try_link "$LINENO"; then :
22167 ac_gcsections=yes
22168 else
22169 ac_gcsections=no
22171 rm -f core conftest.err conftest.$ac_objext \
22172 conftest$ac_exeext conftest.$ac_ext
22173 if test "$ac_gcsections" = "yes"; then
22174 rm -f conftest.c
22175 touch conftest.c
22176 if $CC -c conftest.c; then
22177 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22178 grep "Warning: gc-sections option ignored" > /dev/null; then
22179 ac_gcsections=no
22182 rm -f conftest.c conftest.o conftest
22184 if test "$ac_gcsections" = "yes"; then
22185 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22188 $as_echo "$ac_gcsections" >&6; }
22190 if test "$ac_test_CFLAGS" = set; then
22191 CFLAGS="$ac_save_CFLAGS"
22192 else
22193 # this is the suspicious part
22194 CFLAGS=''
22198 # Set -z,relro.
22199 # Note this is only for shared objects.
22200 ac_ld_relro=no
22201 if test x"$with_gnu_ld" = x"yes"; then
22202 # cygwin and mingw uses PE, which has no ELF relro support,
22203 # multi target ld may confuse configure machinery
22204 case "$host" in
22205 *-*-cygwin*)
22207 *-*-mingw*)
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22212 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22213 if test -n "$cxx_z_relo"; then
22214 OPT_LDFLAGS="-Wl,-z,relro"
22215 ac_ld_relro=yes
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22218 $as_echo "$ac_ld_relro" >&6; }
22219 esac
22222 # Set linker optimization flags.
22223 if test x"$with_gnu_ld" = x"yes"; then
22224 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22232 ac_save_CXXFLAGS="$CXXFLAGS"
22233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22236 $as_echo_n "checking for sin in -lm... " >&6; }
22237 if ${ac_cv_lib_m_sin+:} false; then :
22238 $as_echo_n "(cached) " >&6
22239 else
22240 ac_check_lib_save_LIBS=$LIBS
22241 LIBS="-lm $LIBS"
22242 if test x$gcc_no_link = xyes; then
22243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h. */
22248 /* Override any GCC internal prototype to avoid an error.
22249 Use char because int might match the return type of a GCC
22250 builtin and then its argument prototype would still apply. */
22251 #ifdef __cplusplus
22252 extern "C"
22253 #endif
22254 char sin ();
22256 main ()
22258 return sin ();
22260 return 0;
22262 _ACEOF
22263 if ac_fn_c_try_link "$LINENO"; then :
22264 ac_cv_lib_m_sin=yes
22265 else
22266 ac_cv_lib_m_sin=no
22268 rm -f core conftest.err conftest.$ac_objext \
22269 conftest$ac_exeext conftest.$ac_ext
22270 LIBS=$ac_check_lib_save_LIBS
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22273 $as_echo "$ac_cv_lib_m_sin" >&6; }
22274 if test "x$ac_cv_lib_m_sin" = xyes; then :
22275 libm="-lm"
22278 ac_save_LIBS="$LIBS"
22279 LIBS="$LIBS $libm"
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22284 $as_echo_n "checking for isinf declaration... " >&6; }
22285 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22286 if ${glibcxx_cv_func_isinf_use+:} false; then :
22287 $as_echo_n "(cached) " >&6
22288 else
22291 ac_ext=cpp
22292 ac_cpp='$CXXCPP $CPPFLAGS'
22293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22298 /* end confdefs.h. */
22299 #include <math.h>
22300 #ifdef HAVE_IEEEFP_H
22301 #include <ieeefp.h>
22302 #endif
22305 main ()
22307 isinf(0);
22309 return 0;
22311 _ACEOF
22312 if ac_fn_cxx_try_compile "$LINENO"; then :
22313 glibcxx_cv_func_isinf_use=yes
22314 else
22315 glibcxx_cv_func_isinf_use=no
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 ac_ext=c
22319 ac_cpp='$CPP $CPPFLAGS'
22320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22329 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22331 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22332 for ac_func in isinf
22333 do :
22334 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22335 if test "x$ac_cv_func_isinf" = xyes; then :
22336 cat >>confdefs.h <<_ACEOF
22337 #define HAVE_ISINF 1
22338 _ACEOF
22341 done
22343 else
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22346 $as_echo_n "checking for _isinf declaration... " >&6; }
22347 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22348 if ${glibcxx_cv_func__isinf_use+:} false; then :
22349 $as_echo_n "(cached) " >&6
22350 else
22353 ac_ext=cpp
22354 ac_cpp='$CXXCPP $CPPFLAGS'
22355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22360 /* end confdefs.h. */
22361 #include <math.h>
22362 #ifdef HAVE_IEEEFP_H
22363 #include <ieeefp.h>
22364 #endif
22367 main ()
22369 _isinf(0);
22371 return 0;
22373 _ACEOF
22374 if ac_fn_cxx_try_compile "$LINENO"; then :
22375 glibcxx_cv_func__isinf_use=yes
22376 else
22377 glibcxx_cv_func__isinf_use=no
22379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 ac_ext=c
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22391 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22393 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22394 for ac_func in _isinf
22395 do :
22396 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22397 if test "x$ac_cv_func__isinf" = xyes; then :
22398 cat >>confdefs.h <<_ACEOF
22399 #define HAVE__ISINF 1
22400 _ACEOF
22403 done
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22413 $as_echo_n "checking for isnan declaration... " >&6; }
22414 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22415 if ${glibcxx_cv_func_isnan_use+:} false; then :
22416 $as_echo_n "(cached) " >&6
22417 else
22420 ac_ext=cpp
22421 ac_cpp='$CXXCPP $CPPFLAGS'
22422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22427 /* end confdefs.h. */
22428 #include <math.h>
22429 #ifdef HAVE_IEEEFP_H
22430 #include <ieeefp.h>
22431 #endif
22434 main ()
22436 isnan(0);
22438 return 0;
22440 _ACEOF
22441 if ac_fn_cxx_try_compile "$LINENO"; then :
22442 glibcxx_cv_func_isnan_use=yes
22443 else
22444 glibcxx_cv_func_isnan_use=no
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22447 ac_ext=c
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22458 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22460 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22461 for ac_func in isnan
22462 do :
22463 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22464 if test "x$ac_cv_func_isnan" = xyes; then :
22465 cat >>confdefs.h <<_ACEOF
22466 #define HAVE_ISNAN 1
22467 _ACEOF
22470 done
22472 else
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22475 $as_echo_n "checking for _isnan declaration... " >&6; }
22476 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22477 if ${glibcxx_cv_func__isnan_use+:} false; then :
22478 $as_echo_n "(cached) " >&6
22479 else
22482 ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h. */
22490 #include <math.h>
22491 #ifdef HAVE_IEEEFP_H
22492 #include <ieeefp.h>
22493 #endif
22496 main ()
22498 _isnan(0);
22500 return 0;
22502 _ACEOF
22503 if ac_fn_cxx_try_compile "$LINENO"; then :
22504 glibcxx_cv_func__isnan_use=yes
22505 else
22506 glibcxx_cv_func__isnan_use=no
22508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509 ac_ext=c
22510 ac_cpp='$CPP $CPPFLAGS'
22511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22520 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22522 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22523 for ac_func in _isnan
22524 do :
22525 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22526 if test "x$ac_cv_func__isnan" = xyes; then :
22527 cat >>confdefs.h <<_ACEOF
22528 #define HAVE__ISNAN 1
22529 _ACEOF
22532 done
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22542 $as_echo_n "checking for finite declaration... " >&6; }
22543 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22544 if ${glibcxx_cv_func_finite_use+:} false; then :
22545 $as_echo_n "(cached) " >&6
22546 else
22549 ac_ext=cpp
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22556 /* end confdefs.h. */
22557 #include <math.h>
22558 #ifdef HAVE_IEEEFP_H
22559 #include <ieeefp.h>
22560 #endif
22563 main ()
22565 finite(0);
22567 return 0;
22569 _ACEOF
22570 if ac_fn_cxx_try_compile "$LINENO"; then :
22571 glibcxx_cv_func_finite_use=yes
22572 else
22573 glibcxx_cv_func_finite_use=no
22575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22576 ac_ext=c
22577 ac_cpp='$CPP $CPPFLAGS'
22578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22587 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22589 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22590 for ac_func in finite
22591 do :
22592 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22593 if test "x$ac_cv_func_finite" = xyes; then :
22594 cat >>confdefs.h <<_ACEOF
22595 #define HAVE_FINITE 1
22596 _ACEOF
22599 done
22601 else
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22604 $as_echo_n "checking for _finite declaration... " >&6; }
22605 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22606 if ${glibcxx_cv_func__finite_use+:} false; then :
22607 $as_echo_n "(cached) " >&6
22608 else
22611 ac_ext=cpp
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22618 /* end confdefs.h. */
22619 #include <math.h>
22620 #ifdef HAVE_IEEEFP_H
22621 #include <ieeefp.h>
22622 #endif
22625 main ()
22627 _finite(0);
22629 return 0;
22631 _ACEOF
22632 if ac_fn_cxx_try_compile "$LINENO"; then :
22633 glibcxx_cv_func__finite_use=yes
22634 else
22635 glibcxx_cv_func__finite_use=no
22637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22638 ac_ext=c
22639 ac_cpp='$CPP $CPPFLAGS'
22640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22649 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22651 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22652 for ac_func in _finite
22653 do :
22654 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22655 if test "x$ac_cv_func__finite" = xyes; then :
22656 cat >>confdefs.h <<_ACEOF
22657 #define HAVE__FINITE 1
22658 _ACEOF
22661 done
22670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22671 $as_echo_n "checking for sincos declaration... " >&6; }
22672 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22673 if ${glibcxx_cv_func_sincos_use+:} false; then :
22674 $as_echo_n "(cached) " >&6
22675 else
22678 ac_ext=cpp
22679 ac_cpp='$CXXCPP $CPPFLAGS'
22680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22685 /* end confdefs.h. */
22686 #include <math.h>
22688 main ()
22690 sincos(0, 0, 0);
22692 return 0;
22694 _ACEOF
22695 if ac_fn_cxx_try_compile "$LINENO"; then :
22696 glibcxx_cv_func_sincos_use=yes
22697 else
22698 glibcxx_cv_func_sincos_use=no
22700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701 ac_ext=c
22702 ac_cpp='$CPP $CPPFLAGS'
22703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22712 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22714 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22715 for ac_func in sincos
22716 do :
22717 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22718 if test "x$ac_cv_func_sincos" = xyes; then :
22719 cat >>confdefs.h <<_ACEOF
22720 #define HAVE_SINCOS 1
22721 _ACEOF
22724 done
22726 else
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22729 $as_echo_n "checking for _sincos declaration... " >&6; }
22730 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22731 if ${glibcxx_cv_func__sincos_use+:} false; then :
22732 $as_echo_n "(cached) " >&6
22733 else
22736 ac_ext=cpp
22737 ac_cpp='$CXXCPP $CPPFLAGS'
22738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22743 /* end confdefs.h. */
22744 #include <math.h>
22746 main ()
22748 _sincos(0, 0, 0);
22750 return 0;
22752 _ACEOF
22753 if ac_fn_cxx_try_compile "$LINENO"; then :
22754 glibcxx_cv_func__sincos_use=yes
22755 else
22756 glibcxx_cv_func__sincos_use=no
22758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 ac_ext=c
22760 ac_cpp='$CPP $CPPFLAGS'
22761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22770 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22772 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22773 for ac_func in _sincos
22774 do :
22775 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22776 if test "x$ac_cv_func__sincos" = xyes; then :
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE__SINCOS 1
22779 _ACEOF
22782 done
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22792 $as_echo_n "checking for fpclass declaration... " >&6; }
22793 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22794 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22795 $as_echo_n "(cached) " >&6
22796 else
22799 ac_ext=cpp
22800 ac_cpp='$CXXCPP $CPPFLAGS'
22801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h. */
22807 #include <math.h>
22808 #ifdef HAVE_IEEEFP_H
22809 #include <ieeefp.h>
22810 #endif
22813 main ()
22815 fpclass(0);
22817 return 0;
22819 _ACEOF
22820 if ac_fn_cxx_try_compile "$LINENO"; then :
22821 glibcxx_cv_func_fpclass_use=yes
22822 else
22823 glibcxx_cv_func_fpclass_use=no
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 ac_ext=c
22827 ac_cpp='$CPP $CPPFLAGS'
22828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22837 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22839 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22840 for ac_func in fpclass
22841 do :
22842 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22843 if test "x$ac_cv_func_fpclass" = xyes; then :
22844 cat >>confdefs.h <<_ACEOF
22845 #define HAVE_FPCLASS 1
22846 _ACEOF
22849 done
22851 else
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22854 $as_echo_n "checking for _fpclass declaration... " >&6; }
22855 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22856 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22857 $as_echo_n "(cached) " >&6
22858 else
22861 ac_ext=cpp
22862 ac_cpp='$CXXCPP $CPPFLAGS'
22863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22868 /* end confdefs.h. */
22869 #include <math.h>
22870 #ifdef HAVE_IEEEFP_H
22871 #include <ieeefp.h>
22872 #endif
22875 main ()
22877 _fpclass(0);
22879 return 0;
22881 _ACEOF
22882 if ac_fn_cxx_try_compile "$LINENO"; then :
22883 glibcxx_cv_func__fpclass_use=yes
22884 else
22885 glibcxx_cv_func__fpclass_use=no
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22888 ac_ext=c
22889 ac_cpp='$CPP $CPPFLAGS'
22890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22899 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22901 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22902 for ac_func in _fpclass
22903 do :
22904 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22905 if test "x$ac_cv_func__fpclass" = xyes; then :
22906 cat >>confdefs.h <<_ACEOF
22907 #define HAVE__FPCLASS 1
22908 _ACEOF
22911 done
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22921 $as_echo_n "checking for qfpclass declaration... " >&6; }
22922 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22923 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22924 $as_echo_n "(cached) " >&6
22925 else
22928 ac_ext=cpp
22929 ac_cpp='$CXXCPP $CPPFLAGS'
22930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22935 /* end confdefs.h. */
22936 #include <math.h>
22937 #ifdef HAVE_IEEEFP_H
22938 #include <ieeefp.h>
22939 #endif
22942 main ()
22944 qfpclass(0);
22946 return 0;
22948 _ACEOF
22949 if ac_fn_cxx_try_compile "$LINENO"; then :
22950 glibcxx_cv_func_qfpclass_use=yes
22951 else
22952 glibcxx_cv_func_qfpclass_use=no
22954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22955 ac_ext=c
22956 ac_cpp='$CPP $CPPFLAGS'
22957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22966 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22968 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22969 for ac_func in qfpclass
22970 do :
22971 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22972 if test "x$ac_cv_func_qfpclass" = xyes; then :
22973 cat >>confdefs.h <<_ACEOF
22974 #define HAVE_QFPCLASS 1
22975 _ACEOF
22978 done
22980 else
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22983 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22984 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22985 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
22986 $as_echo_n "(cached) " >&6
22987 else
22990 ac_ext=cpp
22991 ac_cpp='$CXXCPP $CPPFLAGS'
22992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22997 /* end confdefs.h. */
22998 #include <math.h>
22999 #ifdef HAVE_IEEEFP_H
23000 #include <ieeefp.h>
23001 #endif
23004 main ()
23006 _qfpclass(0);
23008 return 0;
23010 _ACEOF
23011 if ac_fn_cxx_try_compile "$LINENO"; then :
23012 glibcxx_cv_func__qfpclass_use=yes
23013 else
23014 glibcxx_cv_func__qfpclass_use=no
23016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23017 ac_ext=c
23018 ac_cpp='$CPP $CPPFLAGS'
23019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23028 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23030 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23031 for ac_func in _qfpclass
23032 do :
23033 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23034 if test "x$ac_cv_func__qfpclass" = xyes; then :
23035 cat >>confdefs.h <<_ACEOF
23036 #define HAVE__QFPCLASS 1
23037 _ACEOF
23040 done
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23050 $as_echo_n "checking for hypot declaration... " >&6; }
23051 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23052 if ${glibcxx_cv_func_hypot_use+:} false; then :
23053 $as_echo_n "(cached) " >&6
23054 else
23057 ac_ext=cpp
23058 ac_cpp='$CXXCPP $CPPFLAGS'
23059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23064 /* end confdefs.h. */
23065 #include <math.h>
23067 main ()
23069 hypot(0, 0);
23071 return 0;
23073 _ACEOF
23074 if ac_fn_cxx_try_compile "$LINENO"; then :
23075 glibcxx_cv_func_hypot_use=yes
23076 else
23077 glibcxx_cv_func_hypot_use=no
23079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23080 ac_ext=c
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23091 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23093 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23094 for ac_func in hypot
23095 do :
23096 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23097 if test "x$ac_cv_func_hypot" = xyes; then :
23098 cat >>confdefs.h <<_ACEOF
23099 #define HAVE_HYPOT 1
23100 _ACEOF
23103 done
23105 else
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23108 $as_echo_n "checking for _hypot declaration... " >&6; }
23109 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23110 if ${glibcxx_cv_func__hypot_use+:} false; then :
23111 $as_echo_n "(cached) " >&6
23112 else
23115 ac_ext=cpp
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23123 #include <math.h>
23125 main ()
23127 _hypot(0, 0);
23129 return 0;
23131 _ACEOF
23132 if ac_fn_cxx_try_compile "$LINENO"; then :
23133 glibcxx_cv_func__hypot_use=yes
23134 else
23135 glibcxx_cv_func__hypot_use=no
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23138 ac_ext=c
23139 ac_cpp='$CPP $CPPFLAGS'
23140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23149 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23151 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23152 for ac_func in _hypot
23153 do :
23154 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23155 if test "x$ac_cv_func__hypot" = xyes; then :
23156 cat >>confdefs.h <<_ACEOF
23157 #define HAVE__HYPOT 1
23158 _ACEOF
23161 done
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23171 $as_echo_n "checking for float trig functions... " >&6; }
23172 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23173 $as_echo_n "(cached) " >&6
23174 else
23177 ac_ext=cpp
23178 ac_cpp='$CXXCPP $CPPFLAGS'
23179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23184 /* end confdefs.h. */
23185 #include <math.h>
23187 main ()
23189 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23191 return 0;
23193 _ACEOF
23194 if ac_fn_cxx_try_compile "$LINENO"; then :
23195 glibcxx_cv_func_float_trig_use=yes
23196 else
23197 glibcxx_cv_func_float_trig_use=no
23199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23200 ac_ext=c
23201 ac_cpp='$CPP $CPPFLAGS'
23202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23209 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23210 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23211 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23212 do :
23213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23216 cat >>confdefs.h <<_ACEOF
23217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23218 _ACEOF
23221 done
23223 else
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23225 $as_echo_n "checking for _float trig functions... " >&6; }
23226 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23227 $as_echo_n "(cached) " >&6
23228 else
23231 ac_ext=cpp
23232 ac_cpp='$CXXCPP $CPPFLAGS'
23233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23238 /* end confdefs.h. */
23239 #include <math.h>
23241 main ()
23243 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23245 return 0;
23247 _ACEOF
23248 if ac_fn_cxx_try_compile "$LINENO"; then :
23249 glibcxx_cv_func__float_trig_use=yes
23250 else
23251 glibcxx_cv_func__float_trig_use=no
23253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 ac_ext=c
23255 ac_cpp='$CPP $CPPFLAGS'
23256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23263 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23264 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23265 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23266 do :
23267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23270 cat >>confdefs.h <<_ACEOF
23271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23272 _ACEOF
23275 done
23284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23285 $as_echo_n "checking for float round functions... " >&6; }
23286 if ${glibcxx_cv_func_float_round_use+:} false; then :
23287 $as_echo_n "(cached) " >&6
23288 else
23291 ac_ext=cpp
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 #include <math.h>
23301 main ()
23303 ceilf (0); floorf (0);
23305 return 0;
23307 _ACEOF
23308 if ac_fn_cxx_try_compile "$LINENO"; then :
23309 glibcxx_cv_func_float_round_use=yes
23310 else
23311 glibcxx_cv_func_float_round_use=no
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_ext=c
23315 ac_cpp='$CPP $CPPFLAGS'
23316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23323 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23324 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23325 for ac_func in ceilf floorf
23326 do :
23327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23332 _ACEOF
23335 done
23337 else
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23339 $as_echo_n "checking for _float round functions... " >&6; }
23340 if ${glibcxx_cv_func__float_round_use+:} false; then :
23341 $as_echo_n "(cached) " >&6
23342 else
23345 ac_ext=cpp
23346 ac_cpp='$CXXCPP $CPPFLAGS'
23347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23352 /* end confdefs.h. */
23353 #include <math.h>
23355 main ()
23357 _ceilf (0); _floorf (0);
23359 return 0;
23361 _ACEOF
23362 if ac_fn_cxx_try_compile "$LINENO"; then :
23363 glibcxx_cv_func__float_round_use=yes
23364 else
23365 glibcxx_cv_func__float_round_use=no
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368 ac_ext=c
23369 ac_cpp='$CPP $CPPFLAGS'
23370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23377 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23378 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23379 for ac_func in _ceilf _floorf
23380 do :
23381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23384 cat >>confdefs.h <<_ACEOF
23385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23386 _ACEOF
23389 done
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23400 $as_echo_n "checking for expf declaration... " >&6; }
23401 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23402 if ${glibcxx_cv_func_expf_use+:} false; then :
23403 $as_echo_n "(cached) " >&6
23404 else
23407 ac_ext=cpp
23408 ac_cpp='$CXXCPP $CPPFLAGS'
23409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h. */
23415 #include <math.h>
23416 #ifdef HAVE_IEEEFP_H
23417 #include <ieeefp.h>
23418 #endif
23421 main ()
23423 expf(0);
23425 return 0;
23427 _ACEOF
23428 if ac_fn_cxx_try_compile "$LINENO"; then :
23429 glibcxx_cv_func_expf_use=yes
23430 else
23431 glibcxx_cv_func_expf_use=no
23433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23434 ac_ext=c
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23445 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23447 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23448 for ac_func in expf
23449 do :
23450 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23451 if test "x$ac_cv_func_expf" = xyes; then :
23452 cat >>confdefs.h <<_ACEOF
23453 #define HAVE_EXPF 1
23454 _ACEOF
23457 done
23459 else
23461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23462 $as_echo_n "checking for _expf declaration... " >&6; }
23463 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23464 if ${glibcxx_cv_func__expf_use+:} false; then :
23465 $as_echo_n "(cached) " >&6
23466 else
23469 ac_ext=cpp
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23476 /* end confdefs.h. */
23477 #include <math.h>
23478 #ifdef HAVE_IEEEFP_H
23479 #include <ieeefp.h>
23480 #endif
23483 main ()
23485 _expf(0);
23487 return 0;
23489 _ACEOF
23490 if ac_fn_cxx_try_compile "$LINENO"; then :
23491 glibcxx_cv_func__expf_use=yes
23492 else
23493 glibcxx_cv_func__expf_use=no
23495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23496 ac_ext=c
23497 ac_cpp='$CPP $CPPFLAGS'
23498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23507 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23509 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23510 for ac_func in _expf
23511 do :
23512 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23513 if test "x$ac_cv_func__expf" = xyes; then :
23514 cat >>confdefs.h <<_ACEOF
23515 #define HAVE__EXPF 1
23516 _ACEOF
23519 done
23528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23529 $as_echo_n "checking for isnanf declaration... " >&6; }
23530 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23531 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23532 $as_echo_n "(cached) " >&6
23533 else
23536 ac_ext=cpp
23537 ac_cpp='$CXXCPP $CPPFLAGS'
23538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23543 /* end confdefs.h. */
23544 #include <math.h>
23545 #ifdef HAVE_IEEEFP_H
23546 #include <ieeefp.h>
23547 #endif
23550 main ()
23552 isnanf(0);
23554 return 0;
23556 _ACEOF
23557 if ac_fn_cxx_try_compile "$LINENO"; then :
23558 glibcxx_cv_func_isnanf_use=yes
23559 else
23560 glibcxx_cv_func_isnanf_use=no
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23563 ac_ext=c
23564 ac_cpp='$CPP $CPPFLAGS'
23565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23574 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23576 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23577 for ac_func in isnanf
23578 do :
23579 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23580 if test "x$ac_cv_func_isnanf" = xyes; then :
23581 cat >>confdefs.h <<_ACEOF
23582 #define HAVE_ISNANF 1
23583 _ACEOF
23586 done
23588 else
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23591 $as_echo_n "checking for _isnanf declaration... " >&6; }
23592 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23593 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23594 $as_echo_n "(cached) " >&6
23595 else
23598 ac_ext=cpp
23599 ac_cpp='$CXXCPP $CPPFLAGS'
23600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23605 /* end confdefs.h. */
23606 #include <math.h>
23607 #ifdef HAVE_IEEEFP_H
23608 #include <ieeefp.h>
23609 #endif
23612 main ()
23614 _isnanf(0);
23616 return 0;
23618 _ACEOF
23619 if ac_fn_cxx_try_compile "$LINENO"; then :
23620 glibcxx_cv_func__isnanf_use=yes
23621 else
23622 glibcxx_cv_func__isnanf_use=no
23624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23625 ac_ext=c
23626 ac_cpp='$CPP $CPPFLAGS'
23627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23636 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23638 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23639 for ac_func in _isnanf
23640 do :
23641 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23642 if test "x$ac_cv_func__isnanf" = xyes; then :
23643 cat >>confdefs.h <<_ACEOF
23644 #define HAVE__ISNANF 1
23645 _ACEOF
23648 done
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23658 $as_echo_n "checking for isinff declaration... " >&6; }
23659 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23660 if ${glibcxx_cv_func_isinff_use+:} false; then :
23661 $as_echo_n "(cached) " >&6
23662 else
23665 ac_ext=cpp
23666 ac_cpp='$CXXCPP $CPPFLAGS'
23667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h. */
23673 #include <math.h>
23674 #ifdef HAVE_IEEEFP_H
23675 #include <ieeefp.h>
23676 #endif
23679 main ()
23681 isinff(0);
23683 return 0;
23685 _ACEOF
23686 if ac_fn_cxx_try_compile "$LINENO"; then :
23687 glibcxx_cv_func_isinff_use=yes
23688 else
23689 glibcxx_cv_func_isinff_use=no
23691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23692 ac_ext=c
23693 ac_cpp='$CPP $CPPFLAGS'
23694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23703 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23705 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23706 for ac_func in isinff
23707 do :
23708 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23709 if test "x$ac_cv_func_isinff" = xyes; then :
23710 cat >>confdefs.h <<_ACEOF
23711 #define HAVE_ISINFF 1
23712 _ACEOF
23715 done
23717 else
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23720 $as_echo_n "checking for _isinff declaration... " >&6; }
23721 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23722 if ${glibcxx_cv_func__isinff_use+:} false; then :
23723 $as_echo_n "(cached) " >&6
23724 else
23727 ac_ext=cpp
23728 ac_cpp='$CXXCPP $CPPFLAGS'
23729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23734 /* end confdefs.h. */
23735 #include <math.h>
23736 #ifdef HAVE_IEEEFP_H
23737 #include <ieeefp.h>
23738 #endif
23741 main ()
23743 _isinff(0);
23745 return 0;
23747 _ACEOF
23748 if ac_fn_cxx_try_compile "$LINENO"; then :
23749 glibcxx_cv_func__isinff_use=yes
23750 else
23751 glibcxx_cv_func__isinff_use=no
23753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23754 ac_ext=c
23755 ac_cpp='$CPP $CPPFLAGS'
23756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23765 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23767 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23768 for ac_func in _isinff
23769 do :
23770 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23771 if test "x$ac_cv_func__isinff" = xyes; then :
23772 cat >>confdefs.h <<_ACEOF
23773 #define HAVE__ISINFF 1
23774 _ACEOF
23777 done
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23787 $as_echo_n "checking for atan2f declaration... " >&6; }
23788 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23789 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23790 $as_echo_n "(cached) " >&6
23791 else
23794 ac_ext=cpp
23795 ac_cpp='$CXXCPP $CPPFLAGS'
23796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23802 #include <math.h>
23804 main ()
23806 atan2f(0, 0);
23808 return 0;
23810 _ACEOF
23811 if ac_fn_cxx_try_compile "$LINENO"; then :
23812 glibcxx_cv_func_atan2f_use=yes
23813 else
23814 glibcxx_cv_func_atan2f_use=no
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_ext=c
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23828 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23830 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23831 for ac_func in atan2f
23832 do :
23833 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23834 if test "x$ac_cv_func_atan2f" = xyes; then :
23835 cat >>confdefs.h <<_ACEOF
23836 #define HAVE_ATAN2F 1
23837 _ACEOF
23840 done
23842 else
23844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23845 $as_echo_n "checking for _atan2f declaration... " >&6; }
23846 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23847 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23848 $as_echo_n "(cached) " >&6
23849 else
23852 ac_ext=cpp
23853 ac_cpp='$CXXCPP $CPPFLAGS'
23854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23859 /* end confdefs.h. */
23860 #include <math.h>
23862 main ()
23864 _atan2f(0, 0);
23866 return 0;
23868 _ACEOF
23869 if ac_fn_cxx_try_compile "$LINENO"; then :
23870 glibcxx_cv_func__atan2f_use=yes
23871 else
23872 glibcxx_cv_func__atan2f_use=no
23874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23875 ac_ext=c
23876 ac_cpp='$CPP $CPPFLAGS'
23877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23886 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23888 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23889 for ac_func in _atan2f
23890 do :
23891 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23892 if test "x$ac_cv_func__atan2f" = xyes; then :
23893 cat >>confdefs.h <<_ACEOF
23894 #define HAVE__ATAN2F 1
23895 _ACEOF
23898 done
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23908 $as_echo_n "checking for fabsf declaration... " >&6; }
23909 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23910 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23911 $as_echo_n "(cached) " >&6
23912 else
23915 ac_ext=cpp
23916 ac_cpp='$CXXCPP $CPPFLAGS'
23917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23922 /* end confdefs.h. */
23923 #include <math.h>
23924 #ifdef HAVE_IEEEFP_H
23925 #include <ieeefp.h>
23926 #endif
23929 main ()
23931 fabsf(0);
23933 return 0;
23935 _ACEOF
23936 if ac_fn_cxx_try_compile "$LINENO"; then :
23937 glibcxx_cv_func_fabsf_use=yes
23938 else
23939 glibcxx_cv_func_fabsf_use=no
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942 ac_ext=c
23943 ac_cpp='$CPP $CPPFLAGS'
23944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23953 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23955 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23956 for ac_func in fabsf
23957 do :
23958 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23959 if test "x$ac_cv_func_fabsf" = xyes; then :
23960 cat >>confdefs.h <<_ACEOF
23961 #define HAVE_FABSF 1
23962 _ACEOF
23965 done
23967 else
23969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23970 $as_echo_n "checking for _fabsf declaration... " >&6; }
23971 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23972 if ${glibcxx_cv_func__fabsf_use+:} false; then :
23973 $as_echo_n "(cached) " >&6
23974 else
23977 ac_ext=cpp
23978 ac_cpp='$CXXCPP $CPPFLAGS'
23979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23984 /* end confdefs.h. */
23985 #include <math.h>
23986 #ifdef HAVE_IEEEFP_H
23987 #include <ieeefp.h>
23988 #endif
23991 main ()
23993 _fabsf(0);
23995 return 0;
23997 _ACEOF
23998 if ac_fn_cxx_try_compile "$LINENO"; then :
23999 glibcxx_cv_func__fabsf_use=yes
24000 else
24001 glibcxx_cv_func__fabsf_use=no
24003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24004 ac_ext=c
24005 ac_cpp='$CPP $CPPFLAGS'
24006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24015 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24017 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24018 for ac_func in _fabsf
24019 do :
24020 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24021 if test "x$ac_cv_func__fabsf" = xyes; then :
24022 cat >>confdefs.h <<_ACEOF
24023 #define HAVE__FABSF 1
24024 _ACEOF
24027 done
24036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24037 $as_echo_n "checking for fmodf declaration... " >&6; }
24038 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24039 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24040 $as_echo_n "(cached) " >&6
24041 else
24044 ac_ext=cpp
24045 ac_cpp='$CXXCPP $CPPFLAGS'
24046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24051 /* end confdefs.h. */
24052 #include <math.h>
24054 main ()
24056 fmodf(0, 0);
24058 return 0;
24060 _ACEOF
24061 if ac_fn_cxx_try_compile "$LINENO"; then :
24062 glibcxx_cv_func_fmodf_use=yes
24063 else
24064 glibcxx_cv_func_fmodf_use=no
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_ext=c
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24078 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24080 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24081 for ac_func in fmodf
24082 do :
24083 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24084 if test "x$ac_cv_func_fmodf" = xyes; then :
24085 cat >>confdefs.h <<_ACEOF
24086 #define HAVE_FMODF 1
24087 _ACEOF
24090 done
24092 else
24094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24095 $as_echo_n "checking for _fmodf declaration... " >&6; }
24096 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24097 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24098 $as_echo_n "(cached) " >&6
24099 else
24102 ac_ext=cpp
24103 ac_cpp='$CXXCPP $CPPFLAGS'
24104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24109 /* end confdefs.h. */
24110 #include <math.h>
24112 main ()
24114 _fmodf(0, 0);
24116 return 0;
24118 _ACEOF
24119 if ac_fn_cxx_try_compile "$LINENO"; then :
24120 glibcxx_cv_func__fmodf_use=yes
24121 else
24122 glibcxx_cv_func__fmodf_use=no
24124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24125 ac_ext=c
24126 ac_cpp='$CPP $CPPFLAGS'
24127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24136 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24138 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24139 for ac_func in _fmodf
24140 do :
24141 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24142 if test "x$ac_cv_func__fmodf" = xyes; then :
24143 cat >>confdefs.h <<_ACEOF
24144 #define HAVE__FMODF 1
24145 _ACEOF
24148 done
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24158 $as_echo_n "checking for frexpf declaration... " >&6; }
24159 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24160 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24161 $as_echo_n "(cached) " >&6
24162 else
24165 ac_ext=cpp
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24173 #include <math.h>
24175 main ()
24177 frexpf(0, 0);
24179 return 0;
24181 _ACEOF
24182 if ac_fn_cxx_try_compile "$LINENO"; then :
24183 glibcxx_cv_func_frexpf_use=yes
24184 else
24185 glibcxx_cv_func_frexpf_use=no
24187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24188 ac_ext=c
24189 ac_cpp='$CPP $CPPFLAGS'
24190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24199 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24201 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24202 for ac_func in frexpf
24203 do :
24204 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24205 if test "x$ac_cv_func_frexpf" = xyes; then :
24206 cat >>confdefs.h <<_ACEOF
24207 #define HAVE_FREXPF 1
24208 _ACEOF
24211 done
24213 else
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24216 $as_echo_n "checking for _frexpf declaration... " >&6; }
24217 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24218 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24219 $as_echo_n "(cached) " >&6
24220 else
24223 ac_ext=cpp
24224 ac_cpp='$CXXCPP $CPPFLAGS'
24225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24231 #include <math.h>
24233 main ()
24235 _frexpf(0, 0);
24237 return 0;
24239 _ACEOF
24240 if ac_fn_cxx_try_compile "$LINENO"; then :
24241 glibcxx_cv_func__frexpf_use=yes
24242 else
24243 glibcxx_cv_func__frexpf_use=no
24245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24246 ac_ext=c
24247 ac_cpp='$CPP $CPPFLAGS'
24248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24257 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24259 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24260 for ac_func in _frexpf
24261 do :
24262 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24263 if test "x$ac_cv_func__frexpf" = xyes; then :
24264 cat >>confdefs.h <<_ACEOF
24265 #define HAVE__FREXPF 1
24266 _ACEOF
24269 done
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24279 $as_echo_n "checking for hypotf declaration... " >&6; }
24280 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24281 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24282 $as_echo_n "(cached) " >&6
24283 else
24286 ac_ext=cpp
24287 ac_cpp='$CXXCPP $CPPFLAGS'
24288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24293 /* end confdefs.h. */
24294 #include <math.h>
24296 main ()
24298 hypotf(0, 0);
24300 return 0;
24302 _ACEOF
24303 if ac_fn_cxx_try_compile "$LINENO"; then :
24304 glibcxx_cv_func_hypotf_use=yes
24305 else
24306 glibcxx_cv_func_hypotf_use=no
24308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24309 ac_ext=c
24310 ac_cpp='$CPP $CPPFLAGS'
24311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24320 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24322 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24323 for ac_func in hypotf
24324 do :
24325 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24326 if test "x$ac_cv_func_hypotf" = xyes; then :
24327 cat >>confdefs.h <<_ACEOF
24328 #define HAVE_HYPOTF 1
24329 _ACEOF
24332 done
24334 else
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24337 $as_echo_n "checking for _hypotf declaration... " >&6; }
24338 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24339 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24340 $as_echo_n "(cached) " >&6
24341 else
24344 ac_ext=cpp
24345 ac_cpp='$CXXCPP $CPPFLAGS'
24346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24351 /* end confdefs.h. */
24352 #include <math.h>
24354 main ()
24356 _hypotf(0, 0);
24358 return 0;
24360 _ACEOF
24361 if ac_fn_cxx_try_compile "$LINENO"; then :
24362 glibcxx_cv_func__hypotf_use=yes
24363 else
24364 glibcxx_cv_func__hypotf_use=no
24366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24367 ac_ext=c
24368 ac_cpp='$CPP $CPPFLAGS'
24369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24378 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24380 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24381 for ac_func in _hypotf
24382 do :
24383 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24384 if test "x$ac_cv_func__hypotf" = xyes; then :
24385 cat >>confdefs.h <<_ACEOF
24386 #define HAVE__HYPOTF 1
24387 _ACEOF
24390 done
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24400 $as_echo_n "checking for ldexpf declaration... " >&6; }
24401 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24402 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24403 $as_echo_n "(cached) " >&6
24404 else
24407 ac_ext=cpp
24408 ac_cpp='$CXXCPP $CPPFLAGS'
24409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24414 /* end confdefs.h. */
24415 #include <math.h>
24417 main ()
24419 ldexpf(0, 0);
24421 return 0;
24423 _ACEOF
24424 if ac_fn_cxx_try_compile "$LINENO"; then :
24425 glibcxx_cv_func_ldexpf_use=yes
24426 else
24427 glibcxx_cv_func_ldexpf_use=no
24429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24430 ac_ext=c
24431 ac_cpp='$CPP $CPPFLAGS'
24432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24441 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24443 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24444 for ac_func in ldexpf
24445 do :
24446 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24447 if test "x$ac_cv_func_ldexpf" = xyes; then :
24448 cat >>confdefs.h <<_ACEOF
24449 #define HAVE_LDEXPF 1
24450 _ACEOF
24453 done
24455 else
24457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24458 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24459 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24460 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24461 $as_echo_n "(cached) " >&6
24462 else
24465 ac_ext=cpp
24466 ac_cpp='$CXXCPP $CPPFLAGS'
24467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24472 /* end confdefs.h. */
24473 #include <math.h>
24475 main ()
24477 _ldexpf(0, 0);
24479 return 0;
24481 _ACEOF
24482 if ac_fn_cxx_try_compile "$LINENO"; then :
24483 glibcxx_cv_func__ldexpf_use=yes
24484 else
24485 glibcxx_cv_func__ldexpf_use=no
24487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488 ac_ext=c
24489 ac_cpp='$CPP $CPPFLAGS'
24490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24499 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24501 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24502 for ac_func in _ldexpf
24503 do :
24504 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24505 if test "x$ac_cv_func__ldexpf" = xyes; then :
24506 cat >>confdefs.h <<_ACEOF
24507 #define HAVE__LDEXPF 1
24508 _ACEOF
24511 done
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24521 $as_echo_n "checking for logf declaration... " >&6; }
24522 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24523 if ${glibcxx_cv_func_logf_use+:} false; then :
24524 $as_echo_n "(cached) " >&6
24525 else
24528 ac_ext=cpp
24529 ac_cpp='$CXXCPP $CPPFLAGS'
24530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24535 /* end confdefs.h. */
24536 #include <math.h>
24537 #ifdef HAVE_IEEEFP_H
24538 #include <ieeefp.h>
24539 #endif
24542 main ()
24544 logf(0);
24546 return 0;
24548 _ACEOF
24549 if ac_fn_cxx_try_compile "$LINENO"; then :
24550 glibcxx_cv_func_logf_use=yes
24551 else
24552 glibcxx_cv_func_logf_use=no
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24555 ac_ext=c
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24566 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24568 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24569 for ac_func in logf
24570 do :
24571 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24572 if test "x$ac_cv_func_logf" = xyes; then :
24573 cat >>confdefs.h <<_ACEOF
24574 #define HAVE_LOGF 1
24575 _ACEOF
24578 done
24580 else
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24583 $as_echo_n "checking for _logf declaration... " >&6; }
24584 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24585 if ${glibcxx_cv_func__logf_use+:} false; then :
24586 $as_echo_n "(cached) " >&6
24587 else
24590 ac_ext=cpp
24591 ac_cpp='$CXXCPP $CPPFLAGS'
24592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h. */
24598 #include <math.h>
24599 #ifdef HAVE_IEEEFP_H
24600 #include <ieeefp.h>
24601 #endif
24604 main ()
24606 _logf(0);
24608 return 0;
24610 _ACEOF
24611 if ac_fn_cxx_try_compile "$LINENO"; then :
24612 glibcxx_cv_func__logf_use=yes
24613 else
24614 glibcxx_cv_func__logf_use=no
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617 ac_ext=c
24618 ac_cpp='$CPP $CPPFLAGS'
24619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24628 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24630 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24631 for ac_func in _logf
24632 do :
24633 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24634 if test "x$ac_cv_func__logf" = xyes; then :
24635 cat >>confdefs.h <<_ACEOF
24636 #define HAVE__LOGF 1
24637 _ACEOF
24640 done
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24650 $as_echo_n "checking for log10f declaration... " >&6; }
24651 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24652 if ${glibcxx_cv_func_log10f_use+:} false; then :
24653 $as_echo_n "(cached) " >&6
24654 else
24657 ac_ext=cpp
24658 ac_cpp='$CXXCPP $CPPFLAGS'
24659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24665 #include <math.h>
24666 #ifdef HAVE_IEEEFP_H
24667 #include <ieeefp.h>
24668 #endif
24671 main ()
24673 log10f(0);
24675 return 0;
24677 _ACEOF
24678 if ac_fn_cxx_try_compile "$LINENO"; then :
24679 glibcxx_cv_func_log10f_use=yes
24680 else
24681 glibcxx_cv_func_log10f_use=no
24683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24684 ac_ext=c
24685 ac_cpp='$CPP $CPPFLAGS'
24686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24695 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24697 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24698 for ac_func in log10f
24699 do :
24700 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24701 if test "x$ac_cv_func_log10f" = xyes; then :
24702 cat >>confdefs.h <<_ACEOF
24703 #define HAVE_LOG10F 1
24704 _ACEOF
24707 done
24709 else
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24712 $as_echo_n "checking for _log10f declaration... " >&6; }
24713 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24714 if ${glibcxx_cv_func__log10f_use+:} false; then :
24715 $as_echo_n "(cached) " >&6
24716 else
24719 ac_ext=cpp
24720 ac_cpp='$CXXCPP $CPPFLAGS'
24721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24726 /* end confdefs.h. */
24727 #include <math.h>
24728 #ifdef HAVE_IEEEFP_H
24729 #include <ieeefp.h>
24730 #endif
24733 main ()
24735 _log10f(0);
24737 return 0;
24739 _ACEOF
24740 if ac_fn_cxx_try_compile "$LINENO"; then :
24741 glibcxx_cv_func__log10f_use=yes
24742 else
24743 glibcxx_cv_func__log10f_use=no
24745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24746 ac_ext=c
24747 ac_cpp='$CPP $CPPFLAGS'
24748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24757 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24759 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24760 for ac_func in _log10f
24761 do :
24762 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24763 if test "x$ac_cv_func__log10f" = xyes; then :
24764 cat >>confdefs.h <<_ACEOF
24765 #define HAVE__LOG10F 1
24766 _ACEOF
24769 done
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24779 $as_echo_n "checking for modff declaration... " >&6; }
24780 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24781 if ${glibcxx_cv_func_modff_use+:} false; then :
24782 $as_echo_n "(cached) " >&6
24783 else
24786 ac_ext=cpp
24787 ac_cpp='$CXXCPP $CPPFLAGS'
24788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24793 /* end confdefs.h. */
24794 #include <math.h>
24796 main ()
24798 modff(0, 0);
24800 return 0;
24802 _ACEOF
24803 if ac_fn_cxx_try_compile "$LINENO"; then :
24804 glibcxx_cv_func_modff_use=yes
24805 else
24806 glibcxx_cv_func_modff_use=no
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809 ac_ext=c
24810 ac_cpp='$CPP $CPPFLAGS'
24811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24820 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24822 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24823 for ac_func in modff
24824 do :
24825 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24826 if test "x$ac_cv_func_modff" = xyes; then :
24827 cat >>confdefs.h <<_ACEOF
24828 #define HAVE_MODFF 1
24829 _ACEOF
24832 done
24834 else
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24837 $as_echo_n "checking for _modff declaration... " >&6; }
24838 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24839 if ${glibcxx_cv_func__modff_use+:} false; then :
24840 $as_echo_n "(cached) " >&6
24841 else
24844 ac_ext=cpp
24845 ac_cpp='$CXXCPP $CPPFLAGS'
24846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24851 /* end confdefs.h. */
24852 #include <math.h>
24854 main ()
24856 _modff(0, 0);
24858 return 0;
24860 _ACEOF
24861 if ac_fn_cxx_try_compile "$LINENO"; then :
24862 glibcxx_cv_func__modff_use=yes
24863 else
24864 glibcxx_cv_func__modff_use=no
24866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24867 ac_ext=c
24868 ac_cpp='$CPP $CPPFLAGS'
24869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24878 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24880 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24881 for ac_func in _modff
24882 do :
24883 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24884 if test "x$ac_cv_func__modff" = xyes; then :
24885 cat >>confdefs.h <<_ACEOF
24886 #define HAVE__MODFF 1
24887 _ACEOF
24890 done
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24900 $as_echo_n "checking for modf declaration... " >&6; }
24901 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24902 if ${glibcxx_cv_func_modf_use+:} false; then :
24903 $as_echo_n "(cached) " >&6
24904 else
24907 ac_ext=cpp
24908 ac_cpp='$CXXCPP $CPPFLAGS'
24909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24914 /* end confdefs.h. */
24915 #include <math.h>
24917 main ()
24919 modf(0, 0);
24921 return 0;
24923 _ACEOF
24924 if ac_fn_cxx_try_compile "$LINENO"; then :
24925 glibcxx_cv_func_modf_use=yes
24926 else
24927 glibcxx_cv_func_modf_use=no
24929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 ac_ext=c
24931 ac_cpp='$CPP $CPPFLAGS'
24932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24941 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24943 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24944 for ac_func in modf
24945 do :
24946 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24947 if test "x$ac_cv_func_modf" = xyes; then :
24948 cat >>confdefs.h <<_ACEOF
24949 #define HAVE_MODF 1
24950 _ACEOF
24953 done
24955 else
24957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24958 $as_echo_n "checking for _modf declaration... " >&6; }
24959 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24960 if ${glibcxx_cv_func__modf_use+:} false; then :
24961 $as_echo_n "(cached) " >&6
24962 else
24965 ac_ext=cpp
24966 ac_cpp='$CXXCPP $CPPFLAGS'
24967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24972 /* end confdefs.h. */
24973 #include <math.h>
24975 main ()
24977 _modf(0, 0);
24979 return 0;
24981 _ACEOF
24982 if ac_fn_cxx_try_compile "$LINENO"; then :
24983 glibcxx_cv_func__modf_use=yes
24984 else
24985 glibcxx_cv_func__modf_use=no
24987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24988 ac_ext=c
24989 ac_cpp='$CPP $CPPFLAGS'
24990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24999 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25001 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25002 for ac_func in _modf
25003 do :
25004 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25005 if test "x$ac_cv_func__modf" = xyes; then :
25006 cat >>confdefs.h <<_ACEOF
25007 #define HAVE__MODF 1
25008 _ACEOF
25011 done
25020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25021 $as_echo_n "checking for powf declaration... " >&6; }
25022 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25023 if ${glibcxx_cv_func_powf_use+:} false; then :
25024 $as_echo_n "(cached) " >&6
25025 else
25028 ac_ext=cpp
25029 ac_cpp='$CXXCPP $CPPFLAGS'
25030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25035 /* end confdefs.h. */
25036 #include <math.h>
25038 main ()
25040 powf(0, 0);
25042 return 0;
25044 _ACEOF
25045 if ac_fn_cxx_try_compile "$LINENO"; then :
25046 glibcxx_cv_func_powf_use=yes
25047 else
25048 glibcxx_cv_func_powf_use=no
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051 ac_ext=c
25052 ac_cpp='$CPP $CPPFLAGS'
25053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25062 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25064 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25065 for ac_func in powf
25066 do :
25067 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25068 if test "x$ac_cv_func_powf" = xyes; then :
25069 cat >>confdefs.h <<_ACEOF
25070 #define HAVE_POWF 1
25071 _ACEOF
25074 done
25076 else
25078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25079 $as_echo_n "checking for _powf declaration... " >&6; }
25080 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25081 if ${glibcxx_cv_func__powf_use+:} false; then :
25082 $as_echo_n "(cached) " >&6
25083 else
25086 ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h. */
25094 #include <math.h>
25096 main ()
25098 _powf(0, 0);
25100 return 0;
25102 _ACEOF
25103 if ac_fn_cxx_try_compile "$LINENO"; then :
25104 glibcxx_cv_func__powf_use=yes
25105 else
25106 glibcxx_cv_func__powf_use=no
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109 ac_ext=c
25110 ac_cpp='$CPP $CPPFLAGS'
25111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25120 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25122 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25123 for ac_func in _powf
25124 do :
25125 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25126 if test "x$ac_cv_func__powf" = xyes; then :
25127 cat >>confdefs.h <<_ACEOF
25128 #define HAVE__POWF 1
25129 _ACEOF
25132 done
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25142 $as_echo_n "checking for sqrtf declaration... " >&6; }
25143 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25144 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25145 $as_echo_n "(cached) " >&6
25146 else
25149 ac_ext=cpp
25150 ac_cpp='$CXXCPP $CPPFLAGS'
25151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25156 /* end confdefs.h. */
25157 #include <math.h>
25158 #ifdef HAVE_IEEEFP_H
25159 #include <ieeefp.h>
25160 #endif
25163 main ()
25165 sqrtf(0);
25167 return 0;
25169 _ACEOF
25170 if ac_fn_cxx_try_compile "$LINENO"; then :
25171 glibcxx_cv_func_sqrtf_use=yes
25172 else
25173 glibcxx_cv_func_sqrtf_use=no
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176 ac_ext=c
25177 ac_cpp='$CPP $CPPFLAGS'
25178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25187 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25189 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25190 for ac_func in sqrtf
25191 do :
25192 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25193 if test "x$ac_cv_func_sqrtf" = xyes; then :
25194 cat >>confdefs.h <<_ACEOF
25195 #define HAVE_SQRTF 1
25196 _ACEOF
25199 done
25201 else
25203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25204 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25205 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25206 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25207 $as_echo_n "(cached) " >&6
25208 else
25211 ac_ext=cpp
25212 ac_cpp='$CXXCPP $CPPFLAGS'
25213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25218 /* end confdefs.h. */
25219 #include <math.h>
25220 #ifdef HAVE_IEEEFP_H
25221 #include <ieeefp.h>
25222 #endif
25225 main ()
25227 _sqrtf(0);
25229 return 0;
25231 _ACEOF
25232 if ac_fn_cxx_try_compile "$LINENO"; then :
25233 glibcxx_cv_func__sqrtf_use=yes
25234 else
25235 glibcxx_cv_func__sqrtf_use=no
25237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25238 ac_ext=c
25239 ac_cpp='$CPP $CPPFLAGS'
25240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25249 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25251 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25252 for ac_func in _sqrtf
25253 do :
25254 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25255 if test "x$ac_cv_func__sqrtf" = xyes; then :
25256 cat >>confdefs.h <<_ACEOF
25257 #define HAVE__SQRTF 1
25258 _ACEOF
25261 done
25270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25271 $as_echo_n "checking for sincosf declaration... " >&6; }
25272 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25273 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25274 $as_echo_n "(cached) " >&6
25275 else
25278 ac_ext=cpp
25279 ac_cpp='$CXXCPP $CPPFLAGS'
25280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25285 /* end confdefs.h. */
25286 #include <math.h>
25288 main ()
25290 sincosf(0, 0, 0);
25292 return 0;
25294 _ACEOF
25295 if ac_fn_cxx_try_compile "$LINENO"; then :
25296 glibcxx_cv_func_sincosf_use=yes
25297 else
25298 glibcxx_cv_func_sincosf_use=no
25300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25301 ac_ext=c
25302 ac_cpp='$CPP $CPPFLAGS'
25303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25312 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25314 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25315 for ac_func in sincosf
25316 do :
25317 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25318 if test "x$ac_cv_func_sincosf" = xyes; then :
25319 cat >>confdefs.h <<_ACEOF
25320 #define HAVE_SINCOSF 1
25321 _ACEOF
25324 done
25326 else
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25329 $as_echo_n "checking for _sincosf declaration... " >&6; }
25330 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25331 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25332 $as_echo_n "(cached) " >&6
25333 else
25336 ac_ext=cpp
25337 ac_cpp='$CXXCPP $CPPFLAGS'
25338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25343 /* end confdefs.h. */
25344 #include <math.h>
25346 main ()
25348 _sincosf(0, 0, 0);
25350 return 0;
25352 _ACEOF
25353 if ac_fn_cxx_try_compile "$LINENO"; then :
25354 glibcxx_cv_func__sincosf_use=yes
25355 else
25356 glibcxx_cv_func__sincosf_use=no
25358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25359 ac_ext=c
25360 ac_cpp='$CPP $CPPFLAGS'
25361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25370 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25372 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25373 for ac_func in _sincosf
25374 do :
25375 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25376 if test "x$ac_cv_func__sincosf" = xyes; then :
25377 cat >>confdefs.h <<_ACEOF
25378 #define HAVE__SINCOSF 1
25379 _ACEOF
25382 done
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25392 $as_echo_n "checking for finitef declaration... " >&6; }
25393 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25394 if ${glibcxx_cv_func_finitef_use+:} false; then :
25395 $as_echo_n "(cached) " >&6
25396 else
25399 ac_ext=cpp
25400 ac_cpp='$CXXCPP $CPPFLAGS'
25401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25406 /* end confdefs.h. */
25407 #include <math.h>
25408 #ifdef HAVE_IEEEFP_H
25409 #include <ieeefp.h>
25410 #endif
25413 main ()
25415 finitef(0);
25417 return 0;
25419 _ACEOF
25420 if ac_fn_cxx_try_compile "$LINENO"; then :
25421 glibcxx_cv_func_finitef_use=yes
25422 else
25423 glibcxx_cv_func_finitef_use=no
25425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25426 ac_ext=c
25427 ac_cpp='$CPP $CPPFLAGS'
25428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25437 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25439 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25440 for ac_func in finitef
25441 do :
25442 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25443 if test "x$ac_cv_func_finitef" = xyes; then :
25444 cat >>confdefs.h <<_ACEOF
25445 #define HAVE_FINITEF 1
25446 _ACEOF
25449 done
25451 else
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25454 $as_echo_n "checking for _finitef declaration... " >&6; }
25455 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25456 if ${glibcxx_cv_func__finitef_use+:} false; then :
25457 $as_echo_n "(cached) " >&6
25458 else
25461 ac_ext=cpp
25462 ac_cpp='$CXXCPP $CPPFLAGS'
25463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h. */
25469 #include <math.h>
25470 #ifdef HAVE_IEEEFP_H
25471 #include <ieeefp.h>
25472 #endif
25475 main ()
25477 _finitef(0);
25479 return 0;
25481 _ACEOF
25482 if ac_fn_cxx_try_compile "$LINENO"; then :
25483 glibcxx_cv_func__finitef_use=yes
25484 else
25485 glibcxx_cv_func__finitef_use=no
25487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25488 ac_ext=c
25489 ac_cpp='$CPP $CPPFLAGS'
25490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25499 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25501 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25502 for ac_func in _finitef
25503 do :
25504 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25505 if test "x$ac_cv_func__finitef" = xyes; then :
25506 cat >>confdefs.h <<_ACEOF
25507 #define HAVE__FINITEF 1
25508 _ACEOF
25511 done
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25521 $as_echo_n "checking for long double trig functions... " >&6; }
25522 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25523 $as_echo_n "(cached) " >&6
25524 else
25527 ac_ext=cpp
25528 ac_cpp='$CXXCPP $CPPFLAGS'
25529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25534 /* end confdefs.h. */
25535 #include <math.h>
25537 main ()
25539 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25541 return 0;
25543 _ACEOF
25544 if ac_fn_cxx_try_compile "$LINENO"; then :
25545 glibcxx_cv_func_long_double_trig_use=yes
25546 else
25547 glibcxx_cv_func_long_double_trig_use=no
25549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25550 ac_ext=c
25551 ac_cpp='$CPP $CPPFLAGS'
25552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25559 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25560 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25561 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25562 do :
25563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25566 cat >>confdefs.h <<_ACEOF
25567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25568 _ACEOF
25571 done
25573 else
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25575 $as_echo_n "checking for _long double trig functions... " >&6; }
25576 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25577 $as_echo_n "(cached) " >&6
25578 else
25581 ac_ext=cpp
25582 ac_cpp='$CXXCPP $CPPFLAGS'
25583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25588 /* end confdefs.h. */
25589 #include <math.h>
25591 main ()
25593 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25595 return 0;
25597 _ACEOF
25598 if ac_fn_cxx_try_compile "$LINENO"; then :
25599 glibcxx_cv_func__long_double_trig_use=yes
25600 else
25601 glibcxx_cv_func__long_double_trig_use=no
25603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25604 ac_ext=c
25605 ac_cpp='$CPP $CPPFLAGS'
25606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25613 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25614 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25615 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25616 do :
25617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25619 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25620 cat >>confdefs.h <<_ACEOF
25621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25622 _ACEOF
25625 done
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25635 $as_echo_n "checking for long double round functions... " >&6; }
25636 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25637 $as_echo_n "(cached) " >&6
25638 else
25641 ac_ext=cpp
25642 ac_cpp='$CXXCPP $CPPFLAGS'
25643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25648 /* end confdefs.h. */
25649 #include <math.h>
25651 main ()
25653 ceill (0); floorl (0);
25655 return 0;
25657 _ACEOF
25658 if ac_fn_cxx_try_compile "$LINENO"; then :
25659 glibcxx_cv_func_long_double_round_use=yes
25660 else
25661 glibcxx_cv_func_long_double_round_use=no
25663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25664 ac_ext=c
25665 ac_cpp='$CPP $CPPFLAGS'
25666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25673 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25674 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25675 for ac_func in ceill floorl
25676 do :
25677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25680 cat >>confdefs.h <<_ACEOF
25681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25682 _ACEOF
25685 done
25687 else
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25689 $as_echo_n "checking for _long double round functions... " >&6; }
25690 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25691 $as_echo_n "(cached) " >&6
25692 else
25695 ac_ext=cpp
25696 ac_cpp='$CXXCPP $CPPFLAGS'
25697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25702 /* end confdefs.h. */
25703 #include <math.h>
25705 main ()
25707 _ceill (0); _floorl (0);
25709 return 0;
25711 _ACEOF
25712 if ac_fn_cxx_try_compile "$LINENO"; then :
25713 glibcxx_cv_func__long_double_round_use=yes
25714 else
25715 glibcxx_cv_func__long_double_round_use=no
25717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718 ac_ext=c
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25727 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25728 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25729 for ac_func in _ceill _floorl
25730 do :
25731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25733 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25734 cat >>confdefs.h <<_ACEOF
25735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25736 _ACEOF
25739 done
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25750 $as_echo_n "checking for isnanl declaration... " >&6; }
25751 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25752 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25753 $as_echo_n "(cached) " >&6
25754 else
25757 ac_ext=cpp
25758 ac_cpp='$CXXCPP $CPPFLAGS'
25759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25764 /* end confdefs.h. */
25765 #include <math.h>
25766 #ifdef HAVE_IEEEFP_H
25767 #include <ieeefp.h>
25768 #endif
25771 main ()
25773 isnanl(0);
25775 return 0;
25777 _ACEOF
25778 if ac_fn_cxx_try_compile "$LINENO"; then :
25779 glibcxx_cv_func_isnanl_use=yes
25780 else
25781 glibcxx_cv_func_isnanl_use=no
25783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25784 ac_ext=c
25785 ac_cpp='$CPP $CPPFLAGS'
25786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25795 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25797 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25798 for ac_func in isnanl
25799 do :
25800 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25801 if test "x$ac_cv_func_isnanl" = xyes; then :
25802 cat >>confdefs.h <<_ACEOF
25803 #define HAVE_ISNANL 1
25804 _ACEOF
25807 done
25809 else
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25812 $as_echo_n "checking for _isnanl declaration... " >&6; }
25813 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25814 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25815 $as_echo_n "(cached) " >&6
25816 else
25819 ac_ext=cpp
25820 ac_cpp='$CXXCPP $CPPFLAGS'
25821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25826 /* end confdefs.h. */
25827 #include <math.h>
25828 #ifdef HAVE_IEEEFP_H
25829 #include <ieeefp.h>
25830 #endif
25833 main ()
25835 _isnanl(0);
25837 return 0;
25839 _ACEOF
25840 if ac_fn_cxx_try_compile "$LINENO"; then :
25841 glibcxx_cv_func__isnanl_use=yes
25842 else
25843 glibcxx_cv_func__isnanl_use=no
25845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25846 ac_ext=c
25847 ac_cpp='$CPP $CPPFLAGS'
25848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25857 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25859 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25860 for ac_func in _isnanl
25861 do :
25862 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25863 if test "x$ac_cv_func__isnanl" = xyes; then :
25864 cat >>confdefs.h <<_ACEOF
25865 #define HAVE__ISNANL 1
25866 _ACEOF
25869 done
25878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25879 $as_echo_n "checking for isinfl declaration... " >&6; }
25880 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25881 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25882 $as_echo_n "(cached) " >&6
25883 else
25886 ac_ext=cpp
25887 ac_cpp='$CXXCPP $CPPFLAGS'
25888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25893 /* end confdefs.h. */
25894 #include <math.h>
25895 #ifdef HAVE_IEEEFP_H
25896 #include <ieeefp.h>
25897 #endif
25900 main ()
25902 isinfl(0);
25904 return 0;
25906 _ACEOF
25907 if ac_fn_cxx_try_compile "$LINENO"; then :
25908 glibcxx_cv_func_isinfl_use=yes
25909 else
25910 glibcxx_cv_func_isinfl_use=no
25912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25913 ac_ext=c
25914 ac_cpp='$CPP $CPPFLAGS'
25915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25924 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25926 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25927 for ac_func in isinfl
25928 do :
25929 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25930 if test "x$ac_cv_func_isinfl" = xyes; then :
25931 cat >>confdefs.h <<_ACEOF
25932 #define HAVE_ISINFL 1
25933 _ACEOF
25936 done
25938 else
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25941 $as_echo_n "checking for _isinfl declaration... " >&6; }
25942 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25943 if ${glibcxx_cv_func__isinfl_use+:} false; then :
25944 $as_echo_n "(cached) " >&6
25945 else
25948 ac_ext=cpp
25949 ac_cpp='$CXXCPP $CPPFLAGS'
25950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25955 /* end confdefs.h. */
25956 #include <math.h>
25957 #ifdef HAVE_IEEEFP_H
25958 #include <ieeefp.h>
25959 #endif
25962 main ()
25964 _isinfl(0);
25966 return 0;
25968 _ACEOF
25969 if ac_fn_cxx_try_compile "$LINENO"; then :
25970 glibcxx_cv_func__isinfl_use=yes
25971 else
25972 glibcxx_cv_func__isinfl_use=no
25974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25975 ac_ext=c
25976 ac_cpp='$CPP $CPPFLAGS'
25977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25986 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25988 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25989 for ac_func in _isinfl
25990 do :
25991 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25992 if test "x$ac_cv_func__isinfl" = xyes; then :
25993 cat >>confdefs.h <<_ACEOF
25994 #define HAVE__ISINFL 1
25995 _ACEOF
25998 done
26007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26008 $as_echo_n "checking for atan2l declaration... " >&6; }
26009 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26010 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26011 $as_echo_n "(cached) " >&6
26012 else
26015 ac_ext=cpp
26016 ac_cpp='$CXXCPP $CPPFLAGS'
26017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26022 /* end confdefs.h. */
26023 #include <math.h>
26025 main ()
26027 atan2l(0, 0);
26029 return 0;
26031 _ACEOF
26032 if ac_fn_cxx_try_compile "$LINENO"; then :
26033 glibcxx_cv_func_atan2l_use=yes
26034 else
26035 glibcxx_cv_func_atan2l_use=no
26037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26038 ac_ext=c
26039 ac_cpp='$CPP $CPPFLAGS'
26040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26049 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26051 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26052 for ac_func in atan2l
26053 do :
26054 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26055 if test "x$ac_cv_func_atan2l" = xyes; then :
26056 cat >>confdefs.h <<_ACEOF
26057 #define HAVE_ATAN2L 1
26058 _ACEOF
26061 done
26063 else
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26066 $as_echo_n "checking for _atan2l declaration... " >&6; }
26067 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26068 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26069 $as_echo_n "(cached) " >&6
26070 else
26073 ac_ext=cpp
26074 ac_cpp='$CXXCPP $CPPFLAGS'
26075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26080 /* end confdefs.h. */
26081 #include <math.h>
26083 main ()
26085 _atan2l(0, 0);
26087 return 0;
26089 _ACEOF
26090 if ac_fn_cxx_try_compile "$LINENO"; then :
26091 glibcxx_cv_func__atan2l_use=yes
26092 else
26093 glibcxx_cv_func__atan2l_use=no
26095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26096 ac_ext=c
26097 ac_cpp='$CPP $CPPFLAGS'
26098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26107 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26109 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26110 for ac_func in _atan2l
26111 do :
26112 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26113 if test "x$ac_cv_func__atan2l" = xyes; then :
26114 cat >>confdefs.h <<_ACEOF
26115 #define HAVE__ATAN2L 1
26116 _ACEOF
26119 done
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26129 $as_echo_n "checking for expl declaration... " >&6; }
26130 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26131 if ${glibcxx_cv_func_expl_use+:} false; then :
26132 $as_echo_n "(cached) " >&6
26133 else
26136 ac_ext=cpp
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26143 /* end confdefs.h. */
26144 #include <math.h>
26145 #ifdef HAVE_IEEEFP_H
26146 #include <ieeefp.h>
26147 #endif
26150 main ()
26152 expl(0);
26154 return 0;
26156 _ACEOF
26157 if ac_fn_cxx_try_compile "$LINENO"; then :
26158 glibcxx_cv_func_expl_use=yes
26159 else
26160 glibcxx_cv_func_expl_use=no
26162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26163 ac_ext=c
26164 ac_cpp='$CPP $CPPFLAGS'
26165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26174 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26176 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26177 for ac_func in expl
26178 do :
26179 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26180 if test "x$ac_cv_func_expl" = xyes; then :
26181 cat >>confdefs.h <<_ACEOF
26182 #define HAVE_EXPL 1
26183 _ACEOF
26186 done
26188 else
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26191 $as_echo_n "checking for _expl declaration... " >&6; }
26192 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26193 if ${glibcxx_cv_func__expl_use+:} false; then :
26194 $as_echo_n "(cached) " >&6
26195 else
26198 ac_ext=cpp
26199 ac_cpp='$CXXCPP $CPPFLAGS'
26200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26205 /* end confdefs.h. */
26206 #include <math.h>
26207 #ifdef HAVE_IEEEFP_H
26208 #include <ieeefp.h>
26209 #endif
26212 main ()
26214 _expl(0);
26216 return 0;
26218 _ACEOF
26219 if ac_fn_cxx_try_compile "$LINENO"; then :
26220 glibcxx_cv_func__expl_use=yes
26221 else
26222 glibcxx_cv_func__expl_use=no
26224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26225 ac_ext=c
26226 ac_cpp='$CPP $CPPFLAGS'
26227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26236 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26238 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26239 for ac_func in _expl
26240 do :
26241 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26242 if test "x$ac_cv_func__expl" = xyes; then :
26243 cat >>confdefs.h <<_ACEOF
26244 #define HAVE__EXPL 1
26245 _ACEOF
26248 done
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26258 $as_echo_n "checking for fabsl declaration... " >&6; }
26259 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26260 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26261 $as_echo_n "(cached) " >&6
26262 else
26265 ac_ext=cpp
26266 ac_cpp='$CXXCPP $CPPFLAGS'
26267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h. */
26273 #include <math.h>
26274 #ifdef HAVE_IEEEFP_H
26275 #include <ieeefp.h>
26276 #endif
26279 main ()
26281 fabsl(0);
26283 return 0;
26285 _ACEOF
26286 if ac_fn_cxx_try_compile "$LINENO"; then :
26287 glibcxx_cv_func_fabsl_use=yes
26288 else
26289 glibcxx_cv_func_fabsl_use=no
26291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292 ac_ext=c
26293 ac_cpp='$CPP $CPPFLAGS'
26294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26303 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26305 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26306 for ac_func in fabsl
26307 do :
26308 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26309 if test "x$ac_cv_func_fabsl" = xyes; then :
26310 cat >>confdefs.h <<_ACEOF
26311 #define HAVE_FABSL 1
26312 _ACEOF
26315 done
26317 else
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26320 $as_echo_n "checking for _fabsl declaration... " >&6; }
26321 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26322 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26323 $as_echo_n "(cached) " >&6
26324 else
26327 ac_ext=cpp
26328 ac_cpp='$CXXCPP $CPPFLAGS'
26329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h. */
26335 #include <math.h>
26336 #ifdef HAVE_IEEEFP_H
26337 #include <ieeefp.h>
26338 #endif
26341 main ()
26343 _fabsl(0);
26345 return 0;
26347 _ACEOF
26348 if ac_fn_cxx_try_compile "$LINENO"; then :
26349 glibcxx_cv_func__fabsl_use=yes
26350 else
26351 glibcxx_cv_func__fabsl_use=no
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 ac_ext=c
26355 ac_cpp='$CPP $CPPFLAGS'
26356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26365 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26367 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26368 for ac_func in _fabsl
26369 do :
26370 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26371 if test "x$ac_cv_func__fabsl" = xyes; then :
26372 cat >>confdefs.h <<_ACEOF
26373 #define HAVE__FABSL 1
26374 _ACEOF
26377 done
26386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26387 $as_echo_n "checking for fmodl declaration... " >&6; }
26388 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26389 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26390 $as_echo_n "(cached) " >&6
26391 else
26394 ac_ext=cpp
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h. */
26402 #include <math.h>
26404 main ()
26406 fmodl(0, 0);
26408 return 0;
26410 _ACEOF
26411 if ac_fn_cxx_try_compile "$LINENO"; then :
26412 glibcxx_cv_func_fmodl_use=yes
26413 else
26414 glibcxx_cv_func_fmodl_use=no
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417 ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26428 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26430 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26431 for ac_func in fmodl
26432 do :
26433 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26434 if test "x$ac_cv_func_fmodl" = xyes; then :
26435 cat >>confdefs.h <<_ACEOF
26436 #define HAVE_FMODL 1
26437 _ACEOF
26440 done
26442 else
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26445 $as_echo_n "checking for _fmodl declaration... " >&6; }
26446 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26447 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26448 $as_echo_n "(cached) " >&6
26449 else
26452 ac_ext=cpp
26453 ac_cpp='$CXXCPP $CPPFLAGS'
26454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h. */
26460 #include <math.h>
26462 main ()
26464 _fmodl(0, 0);
26466 return 0;
26468 _ACEOF
26469 if ac_fn_cxx_try_compile "$LINENO"; then :
26470 glibcxx_cv_func__fmodl_use=yes
26471 else
26472 glibcxx_cv_func__fmodl_use=no
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26475 ac_ext=c
26476 ac_cpp='$CPP $CPPFLAGS'
26477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26486 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26488 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26489 for ac_func in _fmodl
26490 do :
26491 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26492 if test "x$ac_cv_func__fmodl" = xyes; then :
26493 cat >>confdefs.h <<_ACEOF
26494 #define HAVE__FMODL 1
26495 _ACEOF
26498 done
26507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26508 $as_echo_n "checking for frexpl declaration... " >&6; }
26509 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26510 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26511 $as_echo_n "(cached) " >&6
26512 else
26515 ac_ext=cpp
26516 ac_cpp='$CXXCPP $CPPFLAGS'
26517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26522 /* end confdefs.h. */
26523 #include <math.h>
26525 main ()
26527 frexpl(0, 0);
26529 return 0;
26531 _ACEOF
26532 if ac_fn_cxx_try_compile "$LINENO"; then :
26533 glibcxx_cv_func_frexpl_use=yes
26534 else
26535 glibcxx_cv_func_frexpl_use=no
26537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26538 ac_ext=c
26539 ac_cpp='$CPP $CPPFLAGS'
26540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26549 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26551 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26552 for ac_func in frexpl
26553 do :
26554 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26555 if test "x$ac_cv_func_frexpl" = xyes; then :
26556 cat >>confdefs.h <<_ACEOF
26557 #define HAVE_FREXPL 1
26558 _ACEOF
26561 done
26563 else
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26566 $as_echo_n "checking for _frexpl declaration... " >&6; }
26567 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26568 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26569 $as_echo_n "(cached) " >&6
26570 else
26573 ac_ext=cpp
26574 ac_cpp='$CXXCPP $CPPFLAGS'
26575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26580 /* end confdefs.h. */
26581 #include <math.h>
26583 main ()
26585 _frexpl(0, 0);
26587 return 0;
26589 _ACEOF
26590 if ac_fn_cxx_try_compile "$LINENO"; then :
26591 glibcxx_cv_func__frexpl_use=yes
26592 else
26593 glibcxx_cv_func__frexpl_use=no
26595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596 ac_ext=c
26597 ac_cpp='$CPP $CPPFLAGS'
26598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26607 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26609 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26610 for ac_func in _frexpl
26611 do :
26612 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26613 if test "x$ac_cv_func__frexpl" = xyes; then :
26614 cat >>confdefs.h <<_ACEOF
26615 #define HAVE__FREXPL 1
26616 _ACEOF
26619 done
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26629 $as_echo_n "checking for hypotl declaration... " >&6; }
26630 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26631 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26632 $as_echo_n "(cached) " >&6
26633 else
26636 ac_ext=cpp
26637 ac_cpp='$CXXCPP $CPPFLAGS'
26638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26643 /* end confdefs.h. */
26644 #include <math.h>
26646 main ()
26648 hypotl(0, 0);
26650 return 0;
26652 _ACEOF
26653 if ac_fn_cxx_try_compile "$LINENO"; then :
26654 glibcxx_cv_func_hypotl_use=yes
26655 else
26656 glibcxx_cv_func_hypotl_use=no
26658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26659 ac_ext=c
26660 ac_cpp='$CPP $CPPFLAGS'
26661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26670 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26672 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26673 for ac_func in hypotl
26674 do :
26675 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26676 if test "x$ac_cv_func_hypotl" = xyes; then :
26677 cat >>confdefs.h <<_ACEOF
26678 #define HAVE_HYPOTL 1
26679 _ACEOF
26682 done
26684 else
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26687 $as_echo_n "checking for _hypotl declaration... " >&6; }
26688 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26689 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26690 $as_echo_n "(cached) " >&6
26691 else
26694 ac_ext=cpp
26695 ac_cpp='$CXXCPP $CPPFLAGS'
26696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26701 /* end confdefs.h. */
26702 #include <math.h>
26704 main ()
26706 _hypotl(0, 0);
26708 return 0;
26710 _ACEOF
26711 if ac_fn_cxx_try_compile "$LINENO"; then :
26712 glibcxx_cv_func__hypotl_use=yes
26713 else
26714 glibcxx_cv_func__hypotl_use=no
26716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26717 ac_ext=c
26718 ac_cpp='$CPP $CPPFLAGS'
26719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26728 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26730 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26731 for ac_func in _hypotl
26732 do :
26733 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26734 if test "x$ac_cv_func__hypotl" = xyes; then :
26735 cat >>confdefs.h <<_ACEOF
26736 #define HAVE__HYPOTL 1
26737 _ACEOF
26740 done
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26750 $as_echo_n "checking for ldexpl declaration... " >&6; }
26751 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26752 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26753 $as_echo_n "(cached) " >&6
26754 else
26757 ac_ext=cpp
26758 ac_cpp='$CXXCPP $CPPFLAGS'
26759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26764 /* end confdefs.h. */
26765 #include <math.h>
26767 main ()
26769 ldexpl(0, 0);
26771 return 0;
26773 _ACEOF
26774 if ac_fn_cxx_try_compile "$LINENO"; then :
26775 glibcxx_cv_func_ldexpl_use=yes
26776 else
26777 glibcxx_cv_func_ldexpl_use=no
26779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26780 ac_ext=c
26781 ac_cpp='$CPP $CPPFLAGS'
26782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26791 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26793 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26794 for ac_func in ldexpl
26795 do :
26796 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26797 if test "x$ac_cv_func_ldexpl" = xyes; then :
26798 cat >>confdefs.h <<_ACEOF
26799 #define HAVE_LDEXPL 1
26800 _ACEOF
26803 done
26805 else
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26808 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26809 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26810 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26811 $as_echo_n "(cached) " >&6
26812 else
26815 ac_ext=cpp
26816 ac_cpp='$CXXCPP $CPPFLAGS'
26817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26822 /* end confdefs.h. */
26823 #include <math.h>
26825 main ()
26827 _ldexpl(0, 0);
26829 return 0;
26831 _ACEOF
26832 if ac_fn_cxx_try_compile "$LINENO"; then :
26833 glibcxx_cv_func__ldexpl_use=yes
26834 else
26835 glibcxx_cv_func__ldexpl_use=no
26837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26838 ac_ext=c
26839 ac_cpp='$CPP $CPPFLAGS'
26840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26849 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26851 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26852 for ac_func in _ldexpl
26853 do :
26854 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26855 if test "x$ac_cv_func__ldexpl" = xyes; then :
26856 cat >>confdefs.h <<_ACEOF
26857 #define HAVE__LDEXPL 1
26858 _ACEOF
26861 done
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26871 $as_echo_n "checking for logl declaration... " >&6; }
26872 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26873 if ${glibcxx_cv_func_logl_use+:} false; then :
26874 $as_echo_n "(cached) " >&6
26875 else
26878 ac_ext=cpp
26879 ac_cpp='$CXXCPP $CPPFLAGS'
26880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26885 /* end confdefs.h. */
26886 #include <math.h>
26887 #ifdef HAVE_IEEEFP_H
26888 #include <ieeefp.h>
26889 #endif
26892 main ()
26894 logl(0);
26896 return 0;
26898 _ACEOF
26899 if ac_fn_cxx_try_compile "$LINENO"; then :
26900 glibcxx_cv_func_logl_use=yes
26901 else
26902 glibcxx_cv_func_logl_use=no
26904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26905 ac_ext=c
26906 ac_cpp='$CPP $CPPFLAGS'
26907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26916 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26918 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26919 for ac_func in logl
26920 do :
26921 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26922 if test "x$ac_cv_func_logl" = xyes; then :
26923 cat >>confdefs.h <<_ACEOF
26924 #define HAVE_LOGL 1
26925 _ACEOF
26928 done
26930 else
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26933 $as_echo_n "checking for _logl declaration... " >&6; }
26934 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26935 if ${glibcxx_cv_func__logl_use+:} false; then :
26936 $as_echo_n "(cached) " >&6
26937 else
26940 ac_ext=cpp
26941 ac_cpp='$CXXCPP $CPPFLAGS'
26942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26947 /* end confdefs.h. */
26948 #include <math.h>
26949 #ifdef HAVE_IEEEFP_H
26950 #include <ieeefp.h>
26951 #endif
26954 main ()
26956 _logl(0);
26958 return 0;
26960 _ACEOF
26961 if ac_fn_cxx_try_compile "$LINENO"; then :
26962 glibcxx_cv_func__logl_use=yes
26963 else
26964 glibcxx_cv_func__logl_use=no
26966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26967 ac_ext=c
26968 ac_cpp='$CPP $CPPFLAGS'
26969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26978 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26980 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26981 for ac_func in _logl
26982 do :
26983 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26984 if test "x$ac_cv_func__logl" = xyes; then :
26985 cat >>confdefs.h <<_ACEOF
26986 #define HAVE__LOGL 1
26987 _ACEOF
26990 done
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27000 $as_echo_n "checking for log10l declaration... " >&6; }
27001 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27002 if ${glibcxx_cv_func_log10l_use+:} false; then :
27003 $as_echo_n "(cached) " >&6
27004 else
27007 ac_ext=cpp
27008 ac_cpp='$CXXCPP $CPPFLAGS'
27009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27014 /* end confdefs.h. */
27015 #include <math.h>
27016 #ifdef HAVE_IEEEFP_H
27017 #include <ieeefp.h>
27018 #endif
27021 main ()
27023 log10l(0);
27025 return 0;
27027 _ACEOF
27028 if ac_fn_cxx_try_compile "$LINENO"; then :
27029 glibcxx_cv_func_log10l_use=yes
27030 else
27031 glibcxx_cv_func_log10l_use=no
27033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27034 ac_ext=c
27035 ac_cpp='$CPP $CPPFLAGS'
27036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27045 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27047 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27048 for ac_func in log10l
27049 do :
27050 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27051 if test "x$ac_cv_func_log10l" = xyes; then :
27052 cat >>confdefs.h <<_ACEOF
27053 #define HAVE_LOG10L 1
27054 _ACEOF
27057 done
27059 else
27061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27062 $as_echo_n "checking for _log10l declaration... " >&6; }
27063 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27064 if ${glibcxx_cv_func__log10l_use+:} false; then :
27065 $as_echo_n "(cached) " >&6
27066 else
27069 ac_ext=cpp
27070 ac_cpp='$CXXCPP $CPPFLAGS'
27071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27076 /* end confdefs.h. */
27077 #include <math.h>
27078 #ifdef HAVE_IEEEFP_H
27079 #include <ieeefp.h>
27080 #endif
27083 main ()
27085 _log10l(0);
27087 return 0;
27089 _ACEOF
27090 if ac_fn_cxx_try_compile "$LINENO"; then :
27091 glibcxx_cv_func__log10l_use=yes
27092 else
27093 glibcxx_cv_func__log10l_use=no
27095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27096 ac_ext=c
27097 ac_cpp='$CPP $CPPFLAGS'
27098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27107 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27109 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27110 for ac_func in _log10l
27111 do :
27112 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27113 if test "x$ac_cv_func__log10l" = xyes; then :
27114 cat >>confdefs.h <<_ACEOF
27115 #define HAVE__LOG10L 1
27116 _ACEOF
27119 done
27128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27129 $as_echo_n "checking for modfl declaration... " >&6; }
27130 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27131 if ${glibcxx_cv_func_modfl_use+:} false; then :
27132 $as_echo_n "(cached) " >&6
27133 else
27136 ac_ext=cpp
27137 ac_cpp='$CXXCPP $CPPFLAGS'
27138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27143 /* end confdefs.h. */
27144 #include <math.h>
27146 main ()
27148 modfl(0, 0);
27150 return 0;
27152 _ACEOF
27153 if ac_fn_cxx_try_compile "$LINENO"; then :
27154 glibcxx_cv_func_modfl_use=yes
27155 else
27156 glibcxx_cv_func_modfl_use=no
27158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27159 ac_ext=c
27160 ac_cpp='$CPP $CPPFLAGS'
27161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27170 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27172 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27173 for ac_func in modfl
27174 do :
27175 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27176 if test "x$ac_cv_func_modfl" = xyes; then :
27177 cat >>confdefs.h <<_ACEOF
27178 #define HAVE_MODFL 1
27179 _ACEOF
27182 done
27184 else
27186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27187 $as_echo_n "checking for _modfl declaration... " >&6; }
27188 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27189 if ${glibcxx_cv_func__modfl_use+:} false; then :
27190 $as_echo_n "(cached) " >&6
27191 else
27194 ac_ext=cpp
27195 ac_cpp='$CXXCPP $CPPFLAGS'
27196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27201 /* end confdefs.h. */
27202 #include <math.h>
27204 main ()
27206 _modfl(0, 0);
27208 return 0;
27210 _ACEOF
27211 if ac_fn_cxx_try_compile "$LINENO"; then :
27212 glibcxx_cv_func__modfl_use=yes
27213 else
27214 glibcxx_cv_func__modfl_use=no
27216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27217 ac_ext=c
27218 ac_cpp='$CPP $CPPFLAGS'
27219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27228 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27230 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27231 for ac_func in _modfl
27232 do :
27233 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27234 if test "x$ac_cv_func__modfl" = xyes; then :
27235 cat >>confdefs.h <<_ACEOF
27236 #define HAVE__MODFL 1
27237 _ACEOF
27240 done
27249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27250 $as_echo_n "checking for powl declaration... " >&6; }
27251 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27252 if ${glibcxx_cv_func_powl_use+:} false; then :
27253 $as_echo_n "(cached) " >&6
27254 else
27257 ac_ext=cpp
27258 ac_cpp='$CXXCPP $CPPFLAGS'
27259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27264 /* end confdefs.h. */
27265 #include <math.h>
27267 main ()
27269 powl(0, 0);
27271 return 0;
27273 _ACEOF
27274 if ac_fn_cxx_try_compile "$LINENO"; then :
27275 glibcxx_cv_func_powl_use=yes
27276 else
27277 glibcxx_cv_func_powl_use=no
27279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27280 ac_ext=c
27281 ac_cpp='$CPP $CPPFLAGS'
27282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27291 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27293 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27294 for ac_func in powl
27295 do :
27296 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27297 if test "x$ac_cv_func_powl" = xyes; then :
27298 cat >>confdefs.h <<_ACEOF
27299 #define HAVE_POWL 1
27300 _ACEOF
27303 done
27305 else
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27308 $as_echo_n "checking for _powl declaration... " >&6; }
27309 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27310 if ${glibcxx_cv_func__powl_use+:} false; then :
27311 $as_echo_n "(cached) " >&6
27312 else
27315 ac_ext=cpp
27316 ac_cpp='$CXXCPP $CPPFLAGS'
27317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27322 /* end confdefs.h. */
27323 #include <math.h>
27325 main ()
27327 _powl(0, 0);
27329 return 0;
27331 _ACEOF
27332 if ac_fn_cxx_try_compile "$LINENO"; then :
27333 glibcxx_cv_func__powl_use=yes
27334 else
27335 glibcxx_cv_func__powl_use=no
27337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338 ac_ext=c
27339 ac_cpp='$CPP $CPPFLAGS'
27340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27349 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27351 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27352 for ac_func in _powl
27353 do :
27354 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27355 if test "x$ac_cv_func__powl" = xyes; then :
27356 cat >>confdefs.h <<_ACEOF
27357 #define HAVE__POWL 1
27358 _ACEOF
27361 done
27370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27371 $as_echo_n "checking for sqrtl declaration... " >&6; }
27372 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27373 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27374 $as_echo_n "(cached) " >&6
27375 else
27378 ac_ext=cpp
27379 ac_cpp='$CXXCPP $CPPFLAGS'
27380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27385 /* end confdefs.h. */
27386 #include <math.h>
27387 #ifdef HAVE_IEEEFP_H
27388 #include <ieeefp.h>
27389 #endif
27392 main ()
27394 sqrtl(0);
27396 return 0;
27398 _ACEOF
27399 if ac_fn_cxx_try_compile "$LINENO"; then :
27400 glibcxx_cv_func_sqrtl_use=yes
27401 else
27402 glibcxx_cv_func_sqrtl_use=no
27404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27405 ac_ext=c
27406 ac_cpp='$CPP $CPPFLAGS'
27407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27416 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27418 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27419 for ac_func in sqrtl
27420 do :
27421 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27422 if test "x$ac_cv_func_sqrtl" = xyes; then :
27423 cat >>confdefs.h <<_ACEOF
27424 #define HAVE_SQRTL 1
27425 _ACEOF
27428 done
27430 else
27432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27433 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27434 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27435 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27436 $as_echo_n "(cached) " >&6
27437 else
27440 ac_ext=cpp
27441 ac_cpp='$CXXCPP $CPPFLAGS'
27442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27447 /* end confdefs.h. */
27448 #include <math.h>
27449 #ifdef HAVE_IEEEFP_H
27450 #include <ieeefp.h>
27451 #endif
27454 main ()
27456 _sqrtl(0);
27458 return 0;
27460 _ACEOF
27461 if ac_fn_cxx_try_compile "$LINENO"; then :
27462 glibcxx_cv_func__sqrtl_use=yes
27463 else
27464 glibcxx_cv_func__sqrtl_use=no
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27467 ac_ext=c
27468 ac_cpp='$CPP $CPPFLAGS'
27469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27478 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27480 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27481 for ac_func in _sqrtl
27482 do :
27483 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27484 if test "x$ac_cv_func__sqrtl" = xyes; then :
27485 cat >>confdefs.h <<_ACEOF
27486 #define HAVE__SQRTL 1
27487 _ACEOF
27490 done
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27500 $as_echo_n "checking for sincosl declaration... " >&6; }
27501 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27502 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27503 $as_echo_n "(cached) " >&6
27504 else
27507 ac_ext=cpp
27508 ac_cpp='$CXXCPP $CPPFLAGS'
27509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27514 /* end confdefs.h. */
27515 #include <math.h>
27517 main ()
27519 sincosl(0, 0, 0);
27521 return 0;
27523 _ACEOF
27524 if ac_fn_cxx_try_compile "$LINENO"; then :
27525 glibcxx_cv_func_sincosl_use=yes
27526 else
27527 glibcxx_cv_func_sincosl_use=no
27529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27530 ac_ext=c
27531 ac_cpp='$CPP $CPPFLAGS'
27532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27541 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27543 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27544 for ac_func in sincosl
27545 do :
27546 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27547 if test "x$ac_cv_func_sincosl" = xyes; then :
27548 cat >>confdefs.h <<_ACEOF
27549 #define HAVE_SINCOSL 1
27550 _ACEOF
27553 done
27555 else
27557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27558 $as_echo_n "checking for _sincosl declaration... " >&6; }
27559 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27560 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27561 $as_echo_n "(cached) " >&6
27562 else
27565 ac_ext=cpp
27566 ac_cpp='$CXXCPP $CPPFLAGS'
27567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27572 /* end confdefs.h. */
27573 #include <math.h>
27575 main ()
27577 _sincosl(0, 0, 0);
27579 return 0;
27581 _ACEOF
27582 if ac_fn_cxx_try_compile "$LINENO"; then :
27583 glibcxx_cv_func__sincosl_use=yes
27584 else
27585 glibcxx_cv_func__sincosl_use=no
27587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27588 ac_ext=c
27589 ac_cpp='$CPP $CPPFLAGS'
27590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27599 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27601 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27602 for ac_func in _sincosl
27603 do :
27604 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27605 if test "x$ac_cv_func__sincosl" = xyes; then :
27606 cat >>confdefs.h <<_ACEOF
27607 #define HAVE__SINCOSL 1
27608 _ACEOF
27611 done
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27621 $as_echo_n "checking for finitel declaration... " >&6; }
27622 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27623 if ${glibcxx_cv_func_finitel_use+:} false; then :
27624 $as_echo_n "(cached) " >&6
27625 else
27628 ac_ext=cpp
27629 ac_cpp='$CXXCPP $CPPFLAGS'
27630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27635 /* end confdefs.h. */
27636 #include <math.h>
27637 #ifdef HAVE_IEEEFP_H
27638 #include <ieeefp.h>
27639 #endif
27642 main ()
27644 finitel(0);
27646 return 0;
27648 _ACEOF
27649 if ac_fn_cxx_try_compile "$LINENO"; then :
27650 glibcxx_cv_func_finitel_use=yes
27651 else
27652 glibcxx_cv_func_finitel_use=no
27654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27655 ac_ext=c
27656 ac_cpp='$CPP $CPPFLAGS'
27657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27666 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27668 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27669 for ac_func in finitel
27670 do :
27671 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27672 if test "x$ac_cv_func_finitel" = xyes; then :
27673 cat >>confdefs.h <<_ACEOF
27674 #define HAVE_FINITEL 1
27675 _ACEOF
27678 done
27680 else
27682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27683 $as_echo_n "checking for _finitel declaration... " >&6; }
27684 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27685 if ${glibcxx_cv_func__finitel_use+:} false; then :
27686 $as_echo_n "(cached) " >&6
27687 else
27690 ac_ext=cpp
27691 ac_cpp='$CXXCPP $CPPFLAGS'
27692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27697 /* end confdefs.h. */
27698 #include <math.h>
27699 #ifdef HAVE_IEEEFP_H
27700 #include <ieeefp.h>
27701 #endif
27704 main ()
27706 _finitel(0);
27708 return 0;
27710 _ACEOF
27711 if ac_fn_cxx_try_compile "$LINENO"; then :
27712 glibcxx_cv_func__finitel_use=yes
27713 else
27714 glibcxx_cv_func__finitel_use=no
27716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27717 ac_ext=c
27718 ac_cpp='$CPP $CPPFLAGS'
27719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27728 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27730 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27731 for ac_func in _finitel
27732 do :
27733 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27734 if test "x$ac_cv_func__finitel" = xyes; then :
27735 cat >>confdefs.h <<_ACEOF
27736 #define HAVE__FINITEL 1
27737 _ACEOF
27740 done
27748 LIBS="$ac_save_LIBS"
27749 CXXFLAGS="$ac_save_CXXFLAGS"
27752 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27753 ac_save_CXXFLAGS="$CXXFLAGS"
27754 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27758 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27759 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27760 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27761 $as_echo_n "(cached) " >&6
27762 else
27765 ac_ext=cpp
27766 ac_cpp='$CXXCPP $CPPFLAGS'
27767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27772 /* end confdefs.h. */
27773 #include <stdlib.h>
27775 main ()
27777 at_quick_exit(0);
27779 return 0;
27781 _ACEOF
27782 if ac_fn_cxx_try_compile "$LINENO"; then :
27783 glibcxx_cv_func_at_quick_exit_use=yes
27784 else
27785 glibcxx_cv_func_at_quick_exit_use=no
27787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27788 ac_ext=c
27789 ac_cpp='$CPP $CPPFLAGS'
27790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27799 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27800 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27801 for ac_func in at_quick_exit
27802 do :
27803 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27804 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27805 cat >>confdefs.h <<_ACEOF
27806 #define HAVE_AT_QUICK_EXIT 1
27807 _ACEOF
27810 done
27815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27816 $as_echo_n "checking for quick_exit declaration... " >&6; }
27817 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27818 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27819 $as_echo_n "(cached) " >&6
27820 else
27823 ac_ext=cpp
27824 ac_cpp='$CXXCPP $CPPFLAGS'
27825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27830 /* end confdefs.h. */
27831 #include <stdlib.h>
27833 main ()
27835 quick_exit(0);
27837 return 0;
27839 _ACEOF
27840 if ac_fn_cxx_try_compile "$LINENO"; then :
27841 glibcxx_cv_func_quick_exit_use=yes
27842 else
27843 glibcxx_cv_func_quick_exit_use=no
27845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27846 ac_ext=c
27847 ac_cpp='$CPP $CPPFLAGS'
27848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27857 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27858 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27859 for ac_func in quick_exit
27860 do :
27861 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27862 if test "x$ac_cv_func_quick_exit" = xyes; then :
27863 cat >>confdefs.h <<_ACEOF
27864 #define HAVE_QUICK_EXIT 1
27865 _ACEOF
27868 done
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27874 $as_echo_n "checking for strtold declaration... " >&6; }
27875 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27876 if ${glibcxx_cv_func_strtold_use+:} false; then :
27877 $as_echo_n "(cached) " >&6
27878 else
27881 ac_ext=cpp
27882 ac_cpp='$CXXCPP $CPPFLAGS'
27883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27888 /* end confdefs.h. */
27889 #include <stdlib.h>
27891 main ()
27893 strtold(0, 0);
27895 return 0;
27897 _ACEOF
27898 if ac_fn_cxx_try_compile "$LINENO"; then :
27899 glibcxx_cv_func_strtold_use=yes
27900 else
27901 glibcxx_cv_func_strtold_use=no
27903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27904 ac_ext=c
27905 ac_cpp='$CPP $CPPFLAGS'
27906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27915 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27916 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27917 for ac_func in strtold
27918 do :
27919 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27920 if test "x$ac_cv_func_strtold" = xyes; then :
27921 cat >>confdefs.h <<_ACEOF
27922 #define HAVE_STRTOLD 1
27923 _ACEOF
27926 done
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27934 $as_echo_n "checking for strtof declaration... " >&6; }
27935 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27936 if ${glibcxx_cv_func_strtof_use+:} false; then :
27937 $as_echo_n "(cached) " >&6
27938 else
27941 ac_ext=cpp
27942 ac_cpp='$CXXCPP $CPPFLAGS'
27943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 #include <stdlib.h>
27951 main ()
27953 strtof(0, 0);
27955 return 0;
27957 _ACEOF
27958 if ac_fn_cxx_try_compile "$LINENO"; then :
27959 glibcxx_cv_func_strtof_use=yes
27960 else
27961 glibcxx_cv_func_strtof_use=no
27963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27964 ac_ext=c
27965 ac_cpp='$CPP $CPPFLAGS'
27966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27975 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27976 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27977 for ac_func in strtof
27978 do :
27979 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27980 if test "x$ac_cv_func_strtof" = xyes; then :
27981 cat >>confdefs.h <<_ACEOF
27982 #define HAVE_STRTOF 1
27983 _ACEOF
27986 done
27993 CXXFLAGS="$ac_save_CXXFLAGS"
27996 # For /dev/random and /dev/urandom for std::random_device.
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28000 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28001 if ${glibcxx_cv_dev_random+:} false; then :
28002 $as_echo_n "(cached) " >&6
28003 else
28005 if test -r /dev/random && test -r /dev/urandom; then
28006 ## For MSys environment the test above is detected as false-positive
28007 ## on mingw-targets. So disable it explicitly for them.
28008 case ${target_os} in
28009 *mingw*) glibcxx_cv_dev_random=no ;;
28010 *) glibcxx_cv_dev_random=yes ;;
28011 esac
28012 else
28013 glibcxx_cv_dev_random=no;
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28019 $as_echo "$glibcxx_cv_dev_random" >&6; }
28021 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28023 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28026 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28032 # For TLS support.
28035 # Check whether --enable-tls was given.
28036 if test "${enable_tls+set}" = set; then :
28037 enableval=$enable_tls;
28038 case "$enableval" in
28039 yes|no) ;;
28040 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28041 esac
28043 else
28044 enable_tls=yes
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28049 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28050 if ${gcc_cv_have_tls+:} false; then :
28051 $as_echo_n "(cached) " >&6
28052 else
28054 if test "$cross_compiling" = yes; then :
28055 if test x$gcc_no_link = xyes; then
28056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28059 /* end confdefs.h. */
28060 __thread int a; int b; int main() { return a = b; }
28061 _ACEOF
28062 if ac_fn_c_try_link "$LINENO"; then :
28063 chktls_save_LDFLAGS="$LDFLAGS"
28064 case $host in
28065 *-*-linux* | -*-uclinuxfdpic*)
28066 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28068 esac
28069 chktls_save_CFLAGS="$CFLAGS"
28070 CFLAGS="-fPIC $CFLAGS"
28071 if test x$gcc_no_link = xyes; then
28072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28075 /* end confdefs.h. */
28076 int f() { return 0; }
28077 _ACEOF
28078 if ac_fn_c_try_link "$LINENO"; then :
28079 if test x$gcc_no_link = xyes; then
28080 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28083 /* end confdefs.h. */
28084 __thread int a; int b; int f() { return a = b; }
28085 _ACEOF
28086 if ac_fn_c_try_link "$LINENO"; then :
28087 gcc_cv_have_tls=yes
28088 else
28089 gcc_cv_have_tls=no
28091 rm -f core conftest.err conftest.$ac_objext \
28092 conftest$ac_exeext conftest.$ac_ext
28093 else
28094 gcc_cv_have_tls=yes
28096 rm -f core conftest.err conftest.$ac_objext \
28097 conftest$ac_exeext conftest.$ac_ext
28098 CFLAGS="$chktls_save_CFLAGS"
28099 LDFLAGS="$chktls_save_LDFLAGS"
28100 else
28101 gcc_cv_have_tls=no
28103 rm -f core conftest.err conftest.$ac_objext \
28104 conftest$ac_exeext conftest.$ac_ext
28107 else
28108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28109 /* end confdefs.h. */
28110 __thread int a; int b; int main() { return a = b; }
28111 _ACEOF
28112 if ac_fn_c_try_run "$LINENO"; then :
28113 chktls_save_LDFLAGS="$LDFLAGS"
28114 LDFLAGS="-static $LDFLAGS"
28115 if test x$gcc_no_link = xyes; then
28116 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28119 /* end confdefs.h. */
28120 int main() { return 0; }
28121 _ACEOF
28122 if ac_fn_c_try_link "$LINENO"; then :
28123 if test "$cross_compiling" = yes; then :
28124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28126 as_fn_error $? "cannot run test program while cross compiling
28127 See \`config.log' for more details" "$LINENO" 5; }
28128 else
28129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28130 /* end confdefs.h. */
28131 __thread int a; int b; int main() { return a = b; }
28132 _ACEOF
28133 if ac_fn_c_try_run "$LINENO"; then :
28134 gcc_cv_have_tls=yes
28135 else
28136 gcc_cv_have_tls=no
28138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28139 conftest.$ac_objext conftest.beam conftest.$ac_ext
28142 else
28143 gcc_cv_have_tls=yes
28145 rm -f core conftest.err conftest.$ac_objext \
28146 conftest$ac_exeext conftest.$ac_ext
28147 LDFLAGS="$chktls_save_LDFLAGS"
28148 if test $gcc_cv_have_tls = yes; then
28149 chktls_save_CFLAGS="$CFLAGS"
28150 thread_CFLAGS=failed
28151 for flag in '' '-pthread' '-lpthread'; do
28152 CFLAGS="$flag $chktls_save_CFLAGS"
28153 if test x$gcc_no_link = xyes; then
28154 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28157 /* end confdefs.h. */
28158 #include <pthread.h>
28159 void *g(void *d) { return NULL; }
28161 main ()
28163 pthread_t t; pthread_create(&t,NULL,g,NULL);
28165 return 0;
28167 _ACEOF
28168 if ac_fn_c_try_link "$LINENO"; then :
28169 thread_CFLAGS="$flag"
28171 rm -f core conftest.err conftest.$ac_objext \
28172 conftest$ac_exeext conftest.$ac_ext
28173 if test "X$thread_CFLAGS" != Xfailed; then
28174 break
28176 done
28177 CFLAGS="$chktls_save_CFLAGS"
28178 if test "X$thread_CFLAGS" != Xfailed; then
28179 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28180 if test "$cross_compiling" = yes; then :
28181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28183 as_fn_error $? "cannot run test program while cross compiling
28184 See \`config.log' for more details" "$LINENO" 5; }
28185 else
28186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28187 /* end confdefs.h. */
28188 #include <pthread.h>
28189 __thread int a;
28190 static int *volatile a_in_other_thread;
28191 static void *
28192 thread_func (void *arg)
28194 a_in_other_thread = &a;
28195 return (void *)0;
28198 main ()
28200 pthread_t thread;
28201 void *thread_retval;
28202 int *volatile a_in_main_thread;
28203 a_in_main_thread = &a;
28204 if (pthread_create (&thread, (pthread_attr_t *)0,
28205 thread_func, (void *)0))
28206 return 0;
28207 if (pthread_join (thread, &thread_retval))
28208 return 0;
28209 return (a_in_other_thread == a_in_main_thread);
28211 return 0;
28213 _ACEOF
28214 if ac_fn_c_try_run "$LINENO"; then :
28215 gcc_cv_have_tls=yes
28216 else
28217 gcc_cv_have_tls=no
28219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28220 conftest.$ac_objext conftest.beam conftest.$ac_ext
28223 CFLAGS="$chktls_save_CFLAGS"
28226 else
28227 gcc_cv_have_tls=no
28229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28230 conftest.$ac_objext conftest.beam conftest.$ac_ext
28234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28235 $as_echo "$gcc_cv_have_tls" >&6; }
28236 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28238 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28242 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28243 do :
28244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28247 cat >>confdefs.h <<_ACEOF
28248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28249 _ACEOF
28252 done
28254 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28255 do :
28256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28258 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28259 cat >>confdefs.h <<_ACEOF
28260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28261 _ACEOF
28264 done
28266 for ac_func in _wfopen
28267 do :
28268 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28269 if test "x$ac_cv_func__wfopen" = xyes; then :
28270 cat >>confdefs.h <<_ACEOF
28271 #define HAVE__WFOPEN 1
28272 _ACEOF
28275 done
28277 for ac_func in secure_getenv
28278 do :
28279 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28280 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28281 cat >>confdefs.h <<_ACEOF
28282 #define HAVE_SECURE_GETENV 1
28283 _ACEOF
28286 done
28289 # C11 functions for C++17 library
28290 for ac_func in timespec_get
28291 do :
28292 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28293 if test "x$ac_cv_func_timespec_get" = xyes; then :
28294 cat >>confdefs.h <<_ACEOF
28295 #define HAVE_TIMESPEC_GET 1
28296 _ACEOF
28299 done
28302 # For Networking TS.
28303 for ac_func in sockatmark
28304 do :
28305 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28306 if test "x$ac_cv_func_sockatmark" = xyes; then :
28307 cat >>confdefs.h <<_ACEOF
28308 #define HAVE_SOCKATMARK 1
28309 _ACEOF
28312 done
28315 # Non-standard functions used by C++17 std::from_chars
28316 for ac_func in uselocale
28317 do :
28318 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28319 if test "x$ac_cv_func_uselocale" = xyes; then :
28320 cat >>confdefs.h <<_ACEOF
28321 #define HAVE_USELOCALE 1
28322 _ACEOF
28325 done
28328 # For iconv support.
28330 if test "X$prefix" = "XNONE"; then
28331 acl_final_prefix="$ac_default_prefix"
28332 else
28333 acl_final_prefix="$prefix"
28335 if test "X$exec_prefix" = "XNONE"; then
28336 acl_final_exec_prefix='${prefix}'
28337 else
28338 acl_final_exec_prefix="$exec_prefix"
28340 acl_save_prefix="$prefix"
28341 prefix="$acl_final_prefix"
28342 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28343 prefix="$acl_save_prefix"
28346 # Check whether --with-gnu-ld was given.
28347 if test "${with_gnu_ld+set}" = set; then :
28348 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28349 else
28350 with_gnu_ld=no
28353 # Prepare PATH_SEPARATOR.
28354 # The user is always right.
28355 if test "${PATH_SEPARATOR+set}" != set; then
28356 echo "#! /bin/sh" >conf$$.sh
28357 echo "exit 0" >>conf$$.sh
28358 chmod +x conf$$.sh
28359 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28360 PATH_SEPARATOR=';'
28361 else
28362 PATH_SEPARATOR=:
28364 rm -f conf$$.sh
28366 ac_prog=ld
28367 if test "$GCC" = yes; then
28368 # Check if gcc -print-prog-name=ld gives a path.
28369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28370 $as_echo_n "checking for ld used by GCC... " >&6; }
28371 case $host in
28372 *-*-mingw*)
28373 # gcc leaves a trailing carriage return which upsets mingw
28374 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28376 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28377 esac
28378 case $ac_prog in
28379 # Accept absolute paths.
28380 [\\/]* | [A-Za-z]:[\\/]*)
28381 re_direlt='/[^/][^/]*/\.\./'
28382 # Canonicalize the path of ld
28383 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28384 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28385 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28386 done
28387 test -z "$LD" && LD="$ac_prog"
28390 # If it fails, then pretend we aren't using GCC.
28391 ac_prog=ld
28394 # If it is relative, then search for the first ld in PATH.
28395 with_gnu_ld=unknown
28397 esac
28398 elif test "$with_gnu_ld" = yes; then
28399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28400 $as_echo_n "checking for GNU ld... " >&6; }
28401 else
28402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28403 $as_echo_n "checking for non-GNU ld... " >&6; }
28405 if ${acl_cv_path_LD+:} false; then :
28406 $as_echo_n "(cached) " >&6
28407 else
28408 if test -z "$LD"; then
28409 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28410 for ac_dir in $PATH; do
28411 test -z "$ac_dir" && ac_dir=.
28412 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28413 acl_cv_path_LD="$ac_dir/$ac_prog"
28414 # Check to see if the program is GNU ld. I'd rather use --version,
28415 # but apparently some GNU ld's only accept -v.
28416 # Break only if it was the GNU/non-GNU ld that we prefer.
28417 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28418 test "$with_gnu_ld" != no && break
28419 else
28420 test "$with_gnu_ld" != yes && break
28423 done
28424 IFS="$ac_save_ifs"
28425 else
28426 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28430 LD="$acl_cv_path_LD"
28431 if test -n "$LD"; then
28432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28433 $as_echo "$LD" >&6; }
28434 else
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28436 $as_echo "no" >&6; }
28438 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28440 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28441 if ${acl_cv_prog_gnu_ld+:} false; then :
28442 $as_echo_n "(cached) " >&6
28443 else
28444 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28445 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28446 acl_cv_prog_gnu_ld=yes
28447 else
28448 acl_cv_prog_gnu_ld=no
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28452 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28453 with_gnu_ld=$acl_cv_prog_gnu_ld
28457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28458 $as_echo_n "checking for shared library run path origin... " >&6; }
28459 if ${acl_cv_rpath+:} false; then :
28460 $as_echo_n "(cached) " >&6
28461 else
28463 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28464 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28465 . ./conftest.sh
28466 rm -f ./conftest.sh
28467 acl_cv_rpath=done
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28471 $as_echo "$acl_cv_rpath" >&6; }
28472 wl="$acl_cv_wl"
28473 libext="$acl_cv_libext"
28474 shlibext="$acl_cv_shlibext"
28475 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28476 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28477 hardcode_direct="$acl_cv_hardcode_direct"
28478 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28479 # Check whether --enable-rpath was given.
28480 if test "${enable_rpath+set}" = set; then :
28481 enableval=$enable_rpath; :
28482 else
28483 enable_rpath=yes
28493 use_additional=yes
28495 acl_save_prefix="$prefix"
28496 prefix="$acl_final_prefix"
28497 acl_save_exec_prefix="$exec_prefix"
28498 exec_prefix="$acl_final_exec_prefix"
28500 eval additional_includedir=\"$includedir\"
28501 eval additional_libdir=\"$libdir\"
28503 exec_prefix="$acl_save_exec_prefix"
28504 prefix="$acl_save_prefix"
28507 # Check whether --with-libiconv-prefix was given.
28508 if test "${with_libiconv_prefix+set}" = set; then :
28509 withval=$with_libiconv_prefix;
28510 if test "X$withval" = "Xno"; then
28511 use_additional=no
28512 else
28513 if test "X$withval" = "X"; then
28515 acl_save_prefix="$prefix"
28516 prefix="$acl_final_prefix"
28517 acl_save_exec_prefix="$exec_prefix"
28518 exec_prefix="$acl_final_exec_prefix"
28520 eval additional_includedir=\"$includedir\"
28521 eval additional_libdir=\"$libdir\"
28523 exec_prefix="$acl_save_exec_prefix"
28524 prefix="$acl_save_prefix"
28526 else
28527 additional_includedir="$withval/include"
28528 additional_libdir="$withval/lib"
28535 # Check whether --with-libiconv-type was given.
28536 if test "${with_libiconv_type+set}" = set; then :
28537 withval=$with_libiconv_type; with_libiconv_type=$withval
28538 else
28539 with_libiconv_type=auto
28542 lib_type=`eval echo \$with_libiconv_type`
28544 LIBICONV=
28545 LTLIBICONV=
28546 INCICONV=
28547 rpathdirs=
28548 ltrpathdirs=
28549 names_already_handled=
28550 names_next_round='iconv '
28551 while test -n "$names_next_round"; do
28552 names_this_round="$names_next_round"
28553 names_next_round=
28554 for name in $names_this_round; do
28555 already_handled=
28556 for n in $names_already_handled; do
28557 if test "$n" = "$name"; then
28558 already_handled=yes
28559 break
28561 done
28562 if test -z "$already_handled"; then
28563 names_already_handled="$names_already_handled $name"
28564 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28565 eval value=\"\$HAVE_LIB$uppername\"
28566 if test -n "$value"; then
28567 if test "$value" = yes; then
28568 eval value=\"\$LIB$uppername\"
28569 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28570 eval value=\"\$LTLIB$uppername\"
28571 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28572 else
28575 else
28576 found_dir=
28577 found_la=
28578 found_so=
28579 found_a=
28580 if test $use_additional = yes; then
28581 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28582 found_dir="$additional_libdir"
28583 found_so="$additional_libdir/lib$name.$shlibext"
28584 if test -f "$additional_libdir/lib$name.la"; then
28585 found_la="$additional_libdir/lib$name.la"
28587 elif test x$lib_type != xshared; then
28588 if test -f "$additional_libdir/lib$name.$libext"; then
28589 found_dir="$additional_libdir"
28590 found_a="$additional_libdir/lib$name.$libext"
28591 if test -f "$additional_libdir/lib$name.la"; then
28592 found_la="$additional_libdir/lib$name.la"
28597 if test "X$found_dir" = "X"; then
28598 for x in $LDFLAGS $LTLIBICONV; do
28600 acl_save_prefix="$prefix"
28601 prefix="$acl_final_prefix"
28602 acl_save_exec_prefix="$exec_prefix"
28603 exec_prefix="$acl_final_exec_prefix"
28604 eval x=\"$x\"
28605 exec_prefix="$acl_save_exec_prefix"
28606 prefix="$acl_save_prefix"
28608 case "$x" in
28609 -L*)
28610 dir=`echo "X$x" | sed -e 's/^X-L//'`
28611 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28612 found_dir="$dir"
28613 found_so="$dir/lib$name.$shlibext"
28614 if test -f "$dir/lib$name.la"; then
28615 found_la="$dir/lib$name.la"
28617 elif test x$lib_type != xshared; then
28618 if test -f "$dir/lib$name.$libext"; then
28619 found_dir="$dir"
28620 found_a="$dir/lib$name.$libext"
28621 if test -f "$dir/lib$name.la"; then
28622 found_la="$dir/lib$name.la"
28627 esac
28628 if test "X$found_dir" != "X"; then
28629 break
28631 done
28633 if test "X$found_dir" != "X"; then
28634 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28635 if test "X$found_so" != "X"; then
28636 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28637 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28638 else
28639 haveit=
28640 for x in $ltrpathdirs; do
28641 if test "X$x" = "X$found_dir"; then
28642 haveit=yes
28643 break
28645 done
28646 if test -z "$haveit"; then
28647 ltrpathdirs="$ltrpathdirs $found_dir"
28649 if test "$hardcode_direct" = yes; then
28650 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28651 else
28652 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28653 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28654 haveit=
28655 for x in $rpathdirs; do
28656 if test "X$x" = "X$found_dir"; then
28657 haveit=yes
28658 break
28660 done
28661 if test -z "$haveit"; then
28662 rpathdirs="$rpathdirs $found_dir"
28664 else
28665 haveit=
28666 for x in $LDFLAGS $LIBICONV; do
28668 acl_save_prefix="$prefix"
28669 prefix="$acl_final_prefix"
28670 acl_save_exec_prefix="$exec_prefix"
28671 exec_prefix="$acl_final_exec_prefix"
28672 eval x=\"$x\"
28673 exec_prefix="$acl_save_exec_prefix"
28674 prefix="$acl_save_prefix"
28676 if test "X$x" = "X-L$found_dir"; then
28677 haveit=yes
28678 break
28680 done
28681 if test -z "$haveit"; then
28682 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28684 if test "$hardcode_minus_L" != no; then
28685 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28686 else
28687 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28692 else
28693 if test "X$found_a" != "X"; then
28694 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28695 else
28696 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28699 additional_includedir=
28700 case "$found_dir" in
28701 */lib | */lib/)
28702 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28703 additional_includedir="$basedir/include"
28705 esac
28706 if test "X$additional_includedir" != "X"; then
28707 if test "X$additional_includedir" != "X/usr/include"; then
28708 haveit=
28709 if test "X$additional_includedir" = "X/usr/local/include"; then
28710 if test -n "$GCC"; then
28711 case $host_os in
28712 linux*) haveit=yes;;
28713 esac
28716 if test -z "$haveit"; then
28717 for x in $CPPFLAGS $INCICONV; do
28719 acl_save_prefix="$prefix"
28720 prefix="$acl_final_prefix"
28721 acl_save_exec_prefix="$exec_prefix"
28722 exec_prefix="$acl_final_exec_prefix"
28723 eval x=\"$x\"
28724 exec_prefix="$acl_save_exec_prefix"
28725 prefix="$acl_save_prefix"
28727 if test "X$x" = "X-I$additional_includedir"; then
28728 haveit=yes
28729 break
28731 done
28732 if test -z "$haveit"; then
28733 if test -d "$additional_includedir"; then
28734 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28740 if test -n "$found_la"; then
28741 save_libdir="$libdir"
28742 case "$found_la" in
28743 */* | *\\*) . "$found_la" ;;
28744 *) . "./$found_la" ;;
28745 esac
28746 libdir="$save_libdir"
28747 for dep in $dependency_libs; do
28748 case "$dep" in
28749 -L*)
28750 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28751 if test "X$additional_libdir" != "X/usr/lib"; then
28752 haveit=
28753 if test "X$additional_libdir" = "X/usr/local/lib"; then
28754 if test -n "$GCC"; then
28755 case $host_os in
28756 linux*) haveit=yes;;
28757 esac
28760 if test -z "$haveit"; then
28761 haveit=
28762 for x in $LDFLAGS $LIBICONV; do
28764 acl_save_prefix="$prefix"
28765 prefix="$acl_final_prefix"
28766 acl_save_exec_prefix="$exec_prefix"
28767 exec_prefix="$acl_final_exec_prefix"
28768 eval x=\"$x\"
28769 exec_prefix="$acl_save_exec_prefix"
28770 prefix="$acl_save_prefix"
28772 if test "X$x" = "X-L$additional_libdir"; then
28773 haveit=yes
28774 break
28776 done
28777 if test -z "$haveit"; then
28778 if test -d "$additional_libdir"; then
28779 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28782 haveit=
28783 for x in $LDFLAGS $LTLIBICONV; do
28785 acl_save_prefix="$prefix"
28786 prefix="$acl_final_prefix"
28787 acl_save_exec_prefix="$exec_prefix"
28788 exec_prefix="$acl_final_exec_prefix"
28789 eval x=\"$x\"
28790 exec_prefix="$acl_save_exec_prefix"
28791 prefix="$acl_save_prefix"
28793 if test "X$x" = "X-L$additional_libdir"; then
28794 haveit=yes
28795 break
28797 done
28798 if test -z "$haveit"; then
28799 if test -d "$additional_libdir"; then
28800 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28806 -R*)
28807 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28808 if test "$enable_rpath" != no; then
28809 haveit=
28810 for x in $rpathdirs; do
28811 if test "X$x" = "X$dir"; then
28812 haveit=yes
28813 break
28815 done
28816 if test -z "$haveit"; then
28817 rpathdirs="$rpathdirs $dir"
28819 haveit=
28820 for x in $ltrpathdirs; do
28821 if test "X$x" = "X$dir"; then
28822 haveit=yes
28823 break
28825 done
28826 if test -z "$haveit"; then
28827 ltrpathdirs="$ltrpathdirs $dir"
28831 -l*)
28832 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28834 *.la)
28835 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28838 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28839 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28841 esac
28842 done
28844 else
28845 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28846 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28847 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28848 else
28849 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28850 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28855 done
28856 done
28857 if test "X$rpathdirs" != "X"; then
28858 if test -n "$hardcode_libdir_separator"; then
28859 alldirs=
28860 for found_dir in $rpathdirs; do
28861 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28862 done
28863 acl_save_libdir="$libdir"
28864 libdir="$alldirs"
28865 eval flag=\"$hardcode_libdir_flag_spec\"
28866 libdir="$acl_save_libdir"
28867 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28868 else
28869 for found_dir in $rpathdirs; do
28870 acl_save_libdir="$libdir"
28871 libdir="$found_dir"
28872 eval flag=\"$hardcode_libdir_flag_spec\"
28873 libdir="$acl_save_libdir"
28874 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28875 done
28878 if test "X$ltrpathdirs" != "X"; then
28879 for found_dir in $ltrpathdirs; do
28880 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28881 done
28890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28891 $as_echo_n "checking for iconv... " >&6; }
28892 if ${am_cv_func_iconv+:} false; then :
28893 $as_echo_n "(cached) " >&6
28894 else
28896 am_cv_func_iconv="no, consider installing GNU libiconv"
28897 am_cv_lib_iconv=no
28898 am_save_CPPFLAGS="$CPPFLAGS"
28899 CPPFLAGS="$CPPFLAGS $INCICONV"
28900 if test x$gcc_no_link = xyes; then
28901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28904 /* end confdefs.h. */
28905 #include <stdlib.h>
28906 #include <iconv.h>
28908 main ()
28910 iconv_t cd = iconv_open("","");
28911 iconv(cd,NULL,NULL,NULL,NULL);
28912 iconv_close(cd);
28914 return 0;
28916 _ACEOF
28917 if ac_fn_c_try_link "$LINENO"; then :
28918 am_cv_func_iconv=yes
28920 rm -f core conftest.err conftest.$ac_objext \
28921 conftest$ac_exeext conftest.$ac_ext
28922 CPPFLAGS="$am_save_CPPFLAGS"
28924 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28925 for _libs in .libs _libs; do
28926 am_save_CPPFLAGS="$CPPFLAGS"
28927 am_save_LIBS="$LIBS"
28928 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28929 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28930 if test x$gcc_no_link = xyes; then
28931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28934 /* end confdefs.h. */
28935 #include <stdlib.h>
28936 #include <iconv.h>
28938 main ()
28940 iconv_t cd = iconv_open("","");
28941 iconv(cd,NULL,NULL,NULL,NULL);
28942 iconv_close(cd);
28944 return 0;
28946 _ACEOF
28947 if ac_fn_c_try_link "$LINENO"; then :
28948 INCICONV="-I../libiconv/include"
28949 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28950 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28951 am_cv_lib_iconv=yes
28952 am_cv_func_iconv=yes
28954 rm -f core conftest.err conftest.$ac_objext \
28955 conftest$ac_exeext conftest.$ac_ext
28956 CPPFLAGS="$am_save_CPPFLAGS"
28957 LIBS="$am_save_LIBS"
28958 if test "$am_cv_func_iconv" = "yes"; then
28959 break
28961 done
28964 if test "$am_cv_func_iconv" != yes; then
28965 am_save_CPPFLAGS="$CPPFLAGS"
28966 am_save_LIBS="$LIBS"
28967 CPPFLAGS="$CPPFLAGS $INCICONV"
28968 LIBS="$LIBS $LIBICONV"
28969 if test x$gcc_no_link = xyes; then
28970 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28974 #include <stdlib.h>
28975 #include <iconv.h>
28977 main ()
28979 iconv_t cd = iconv_open("","");
28980 iconv(cd,NULL,NULL,NULL,NULL);
28981 iconv_close(cd);
28983 return 0;
28985 _ACEOF
28986 if ac_fn_c_try_link "$LINENO"; then :
28987 am_cv_lib_iconv=yes
28988 am_cv_func_iconv=yes
28990 rm -f core conftest.err conftest.$ac_objext \
28991 conftest$ac_exeext conftest.$ac_ext
28992 CPPFLAGS="$am_save_CPPFLAGS"
28993 LIBS="$am_save_LIBS"
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28998 $as_echo "$am_cv_func_iconv" >&6; }
28999 if test "$am_cv_func_iconv" = yes; then
29001 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29004 if test "$am_cv_lib_iconv" = yes; then
29006 for element in $INCICONV; do
29007 haveit=
29008 for x in $CPPFLAGS; do
29010 acl_save_prefix="$prefix"
29011 prefix="$acl_final_prefix"
29012 acl_save_exec_prefix="$exec_prefix"
29013 exec_prefix="$acl_final_exec_prefix"
29014 eval x=\"$x\"
29015 exec_prefix="$acl_save_exec_prefix"
29016 prefix="$acl_save_prefix"
29018 if test "X$x" = "X$element"; then
29019 haveit=yes
29020 break
29022 done
29023 if test -z "$haveit"; then
29024 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29026 done
29028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29029 $as_echo_n "checking how to link with libiconv... " >&6; }
29030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29031 $as_echo "$LIBICONV" >&6; }
29032 else
29033 LIBICONV=
29034 LTLIBICONV=
29039 if test "$am_cv_func_iconv" = yes; then
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29041 $as_echo_n "checking for iconv declaration... " >&6; }
29042 if ${am_cv_proto_iconv+:} false; then :
29043 $as_echo_n "(cached) " >&6
29044 else
29046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29047 /* end confdefs.h. */
29049 #include <stdlib.h>
29050 #include <iconv.h>
29051 extern
29052 #ifdef __cplusplus
29054 #endif
29055 #if defined(__STDC__) || defined(__cplusplus)
29056 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29057 #else
29058 size_t iconv();
29059 #endif
29062 main ()
29066 return 0;
29068 _ACEOF
29069 if ac_fn_c_try_compile "$LINENO"; then :
29070 am_cv_proto_iconv_arg1=""
29071 else
29072 am_cv_proto_iconv_arg1="const"
29074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29075 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);"
29078 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29080 }$am_cv_proto_iconv" >&5
29081 $as_echo "${ac_t:-
29082 }$am_cv_proto_iconv" >&6; }
29084 cat >>confdefs.h <<_ACEOF
29085 #define ICONV_CONST $am_cv_proto_iconv_arg1
29086 _ACEOF
29091 else
29093 # This lets us hard-code the functionality we know we'll have in the cross
29094 # target environment. "Let" is a sugar-coated word placed on an especially
29095 # dull and tedious hack, actually.
29097 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29098 # that involve linking, can't be used:
29099 # "cannot open sim-crt0.o"
29100 # "cannot open crt0.o"
29101 # etc. All this is because there currently exists no unified, consistent
29102 # way for top level CC information to be passed down to target directories:
29103 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29104 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29105 # crosses can be removed.
29107 # If Canadian cross, then don't pick up tools from the build directory.
29108 # Used only in GLIBCXX_EXPORT_INCLUDES.
29109 if test -n "$with_cross_host" &&
29110 test x"$build_alias" != x"$with_cross_host" &&
29111 test x"$build" != x"$target";
29112 then
29113 CANADIAN=yes
29114 else
29115 CANADIAN=no
29118 # Construct crosses by hand, eliminating bits that need ld...
29119 # GLIBCXX_CHECK_MATH_SUPPORT
29121 # First, test for "known" system libraries. We may be using newlib even
29122 # on a hosted environment.
29123 if test "x${with_newlib}" = "xyes"; then
29124 os_include_dir="os/newlib"
29125 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29128 # GLIBCXX_CHECK_STDLIB_SUPPORT
29129 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29132 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29134 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29136 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29138 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29140 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29142 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29144 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29146 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29148 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29150 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29152 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29154 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29156 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29158 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29160 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29162 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29164 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29166 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29168 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29170 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29172 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29174 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29177 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29179 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29181 else
29183 # Base decisions on target environment.
29184 case "${host}" in
29185 arm*-*-symbianelf*)
29186 # This is a freestanding configuration; there is nothing to do here.
29189 avr*-*-*)
29190 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29192 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29194 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29196 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29198 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29200 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29202 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29204 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29206 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29208 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29210 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29212 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29214 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29216 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29218 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29220 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29222 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29224 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29226 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29228 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29230 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29232 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29234 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29238 mips*-sde-elf*)
29239 # These definitions are for the SDE C library rather than newlib.
29240 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29243 # All these tests are for C++; save the language and the compiler flags.
29244 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29245 # found in GLIBCXX_CONFIGURE.
29247 ac_ext=cpp
29248 ac_cpp='$CXXCPP $CPPFLAGS'
29249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29253 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29254 ac_save_CXXFLAGS="$CXXFLAGS"
29256 # Check for -ffunction-sections -fdata-sections
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29258 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29259 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29261 /* end confdefs.h. */
29262 int foo; void bar() { };
29264 main ()
29268 return 0;
29270 _ACEOF
29271 if ac_fn_cxx_try_compile "$LINENO"; then :
29272 ac_fdsections=yes
29273 else
29274 ac_fdsections=no
29276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29277 if test "$ac_test_CXXFLAGS" = set; then
29278 CXXFLAGS="$ac_save_CXXFLAGS"
29279 else
29280 # this is the suspicious part
29281 CXXFLAGS=''
29283 if test x"$ac_fdsections" = x"yes"; then
29284 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29287 $as_echo "$ac_fdsections" >&6; }
29289 ac_ext=c
29290 ac_cpp='$CPP $CPPFLAGS'
29291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29298 # If we're not using GNU ld, then there's no point in even trying these
29299 # tests. Check for that first. We should have already tested for gld
29300 # by now (in libtool), but require it now just to be safe...
29301 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29302 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29306 # The name set by libtool depends on the version of libtool. Shame on us
29307 # for depending on an impl detail, but c'est la vie. Older versions used
29308 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29309 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29310 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29311 # set (hence we're using an older libtool), then set it.
29312 if test x${with_gnu_ld+set} != xset; then
29313 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29314 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29315 with_gnu_ld=no
29316 else
29317 with_gnu_ld=$ac_cv_prog_gnu_ld
29321 # Start by getting the version number. I think the libtool test already
29322 # does some of this, but throws away the result.
29323 glibcxx_ld_is_gold=no
29324 if test x"$with_gnu_ld" = x"yes"; then
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29326 $as_echo_n "checking for ld version... " >&6; }
29328 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29329 glibcxx_ld_is_gold=yes
29331 ldver=`$LD --version 2>/dev/null |
29332 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29334 glibcxx_gnu_ld_version=`echo $ldver | \
29335 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29337 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29340 # Set --gc-sections.
29341 glibcxx_have_gc_sections=no
29342 if test "$glibcxx_ld_is_gold" = "yes"; then
29343 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29344 glibcxx_have_gc_sections=yes
29346 else
29347 glibcxx_gcsections_min_ld=21602
29348 if test x"$with_gnu_ld" = x"yes" &&
29349 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29350 glibcxx_have_gc_sections=yes
29353 if test "$glibcxx_have_gc_sections" = "yes"; then
29354 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29355 # NB: This flag only works reliably after 2.16.1. Configure tests
29356 # for this are difficult, so hard wire a value that should work.
29358 ac_test_CFLAGS="${CFLAGS+set}"
29359 ac_save_CFLAGS="$CFLAGS"
29360 CFLAGS='-Wl,--gc-sections'
29362 # Check for -Wl,--gc-sections
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29364 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29365 if test x$gcc_no_link = xyes; then
29366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29369 /* end confdefs.h. */
29370 int one(void) { return 1; }
29371 int two(void) { return 2; }
29374 main ()
29376 two();
29378 return 0;
29380 _ACEOF
29381 if ac_fn_c_try_link "$LINENO"; then :
29382 ac_gcsections=yes
29383 else
29384 ac_gcsections=no
29386 rm -f core conftest.err conftest.$ac_objext \
29387 conftest$ac_exeext conftest.$ac_ext
29388 if test "$ac_gcsections" = "yes"; then
29389 rm -f conftest.c
29390 touch conftest.c
29391 if $CC -c conftest.c; then
29392 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29393 grep "Warning: gc-sections option ignored" > /dev/null; then
29394 ac_gcsections=no
29397 rm -f conftest.c conftest.o conftest
29399 if test "$ac_gcsections" = "yes"; then
29400 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29403 $as_echo "$ac_gcsections" >&6; }
29405 if test "$ac_test_CFLAGS" = set; then
29406 CFLAGS="$ac_save_CFLAGS"
29407 else
29408 # this is the suspicious part
29409 CFLAGS=''
29413 # Set -z,relro.
29414 # Note this is only for shared objects.
29415 ac_ld_relro=no
29416 if test x"$with_gnu_ld" = x"yes"; then
29417 # cygwin and mingw uses PE, which has no ELF relro support,
29418 # multi target ld may confuse configure machinery
29419 case "$host" in
29420 *-*-cygwin*)
29422 *-*-mingw*)
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29426 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29427 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29428 if test -n "$cxx_z_relo"; then
29429 OPT_LDFLAGS="-Wl,-z,relro"
29430 ac_ld_relro=yes
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29433 $as_echo "$ac_ld_relro" >&6; }
29434 esac
29437 # Set linker optimization flags.
29438 if test x"$with_gnu_ld" = x"yes"; then
29439 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29446 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29447 ac_save_CXXFLAGS="$CXXFLAGS"
29448 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29451 $as_echo_n "checking for sin in -lm... " >&6; }
29452 if ${ac_cv_lib_m_sin+:} false; then :
29453 $as_echo_n "(cached) " >&6
29454 else
29455 ac_check_lib_save_LIBS=$LIBS
29456 LIBS="-lm $LIBS"
29457 if test x$gcc_no_link = xyes; then
29458 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29461 /* end confdefs.h. */
29463 /* Override any GCC internal prototype to avoid an error.
29464 Use char because int might match the return type of a GCC
29465 builtin and then its argument prototype would still apply. */
29466 #ifdef __cplusplus
29467 extern "C"
29468 #endif
29469 char sin ();
29471 main ()
29473 return sin ();
29475 return 0;
29477 _ACEOF
29478 if ac_fn_c_try_link "$LINENO"; then :
29479 ac_cv_lib_m_sin=yes
29480 else
29481 ac_cv_lib_m_sin=no
29483 rm -f core conftest.err conftest.$ac_objext \
29484 conftest$ac_exeext conftest.$ac_ext
29485 LIBS=$ac_check_lib_save_LIBS
29487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29488 $as_echo "$ac_cv_lib_m_sin" >&6; }
29489 if test "x$ac_cv_lib_m_sin" = xyes; then :
29490 libm="-lm"
29493 ac_save_LIBS="$LIBS"
29494 LIBS="$LIBS $libm"
29498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29499 $as_echo_n "checking for isinf declaration... " >&6; }
29500 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29501 if ${glibcxx_cv_func_isinf_use+:} false; then :
29502 $as_echo_n "(cached) " >&6
29503 else
29506 ac_ext=cpp
29507 ac_cpp='$CXXCPP $CPPFLAGS'
29508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29513 /* end confdefs.h. */
29514 #include <math.h>
29515 #ifdef HAVE_IEEEFP_H
29516 #include <ieeefp.h>
29517 #endif
29520 main ()
29522 isinf(0);
29524 return 0;
29526 _ACEOF
29527 if ac_fn_cxx_try_compile "$LINENO"; then :
29528 glibcxx_cv_func_isinf_use=yes
29529 else
29530 glibcxx_cv_func_isinf_use=no
29532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29533 ac_ext=c
29534 ac_cpp='$CPP $CPPFLAGS'
29535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29544 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29546 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29547 for ac_func in isinf
29548 do :
29549 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29550 if test "x$ac_cv_func_isinf" = xyes; then :
29551 cat >>confdefs.h <<_ACEOF
29552 #define HAVE_ISINF 1
29553 _ACEOF
29556 done
29558 else
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29561 $as_echo_n "checking for _isinf declaration... " >&6; }
29562 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29563 if ${glibcxx_cv_func__isinf_use+:} false; then :
29564 $as_echo_n "(cached) " >&6
29565 else
29568 ac_ext=cpp
29569 ac_cpp='$CXXCPP $CPPFLAGS'
29570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29575 /* end confdefs.h. */
29576 #include <math.h>
29577 #ifdef HAVE_IEEEFP_H
29578 #include <ieeefp.h>
29579 #endif
29582 main ()
29584 _isinf(0);
29586 return 0;
29588 _ACEOF
29589 if ac_fn_cxx_try_compile "$LINENO"; then :
29590 glibcxx_cv_func__isinf_use=yes
29591 else
29592 glibcxx_cv_func__isinf_use=no
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29595 ac_ext=c
29596 ac_cpp='$CPP $CPPFLAGS'
29597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29606 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29608 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29609 for ac_func in _isinf
29610 do :
29611 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29612 if test "x$ac_cv_func__isinf" = xyes; then :
29613 cat >>confdefs.h <<_ACEOF
29614 #define HAVE__ISINF 1
29615 _ACEOF
29618 done
29627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29628 $as_echo_n "checking for isnan declaration... " >&6; }
29629 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29630 if ${glibcxx_cv_func_isnan_use+:} false; then :
29631 $as_echo_n "(cached) " >&6
29632 else
29635 ac_ext=cpp
29636 ac_cpp='$CXXCPP $CPPFLAGS'
29637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29642 /* end confdefs.h. */
29643 #include <math.h>
29644 #ifdef HAVE_IEEEFP_H
29645 #include <ieeefp.h>
29646 #endif
29649 main ()
29651 isnan(0);
29653 return 0;
29655 _ACEOF
29656 if ac_fn_cxx_try_compile "$LINENO"; then :
29657 glibcxx_cv_func_isnan_use=yes
29658 else
29659 glibcxx_cv_func_isnan_use=no
29661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29662 ac_ext=c
29663 ac_cpp='$CPP $CPPFLAGS'
29664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29673 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29675 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29676 for ac_func in isnan
29677 do :
29678 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29679 if test "x$ac_cv_func_isnan" = xyes; then :
29680 cat >>confdefs.h <<_ACEOF
29681 #define HAVE_ISNAN 1
29682 _ACEOF
29685 done
29687 else
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29690 $as_echo_n "checking for _isnan declaration... " >&6; }
29691 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29692 if ${glibcxx_cv_func__isnan_use+:} false; then :
29693 $as_echo_n "(cached) " >&6
29694 else
29697 ac_ext=cpp
29698 ac_cpp='$CXXCPP $CPPFLAGS'
29699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29705 #include <math.h>
29706 #ifdef HAVE_IEEEFP_H
29707 #include <ieeefp.h>
29708 #endif
29711 main ()
29713 _isnan(0);
29715 return 0;
29717 _ACEOF
29718 if ac_fn_cxx_try_compile "$LINENO"; then :
29719 glibcxx_cv_func__isnan_use=yes
29720 else
29721 glibcxx_cv_func__isnan_use=no
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724 ac_ext=c
29725 ac_cpp='$CPP $CPPFLAGS'
29726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29735 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29737 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29738 for ac_func in _isnan
29739 do :
29740 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29741 if test "x$ac_cv_func__isnan" = xyes; then :
29742 cat >>confdefs.h <<_ACEOF
29743 #define HAVE__ISNAN 1
29744 _ACEOF
29747 done
29756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29757 $as_echo_n "checking for finite declaration... " >&6; }
29758 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29759 if ${glibcxx_cv_func_finite_use+:} false; then :
29760 $as_echo_n "(cached) " >&6
29761 else
29764 ac_ext=cpp
29765 ac_cpp='$CXXCPP $CPPFLAGS'
29766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29771 /* end confdefs.h. */
29772 #include <math.h>
29773 #ifdef HAVE_IEEEFP_H
29774 #include <ieeefp.h>
29775 #endif
29778 main ()
29780 finite(0);
29782 return 0;
29784 _ACEOF
29785 if ac_fn_cxx_try_compile "$LINENO"; then :
29786 glibcxx_cv_func_finite_use=yes
29787 else
29788 glibcxx_cv_func_finite_use=no
29790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29791 ac_ext=c
29792 ac_cpp='$CPP $CPPFLAGS'
29793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29802 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29804 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29805 for ac_func in finite
29806 do :
29807 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29808 if test "x$ac_cv_func_finite" = xyes; then :
29809 cat >>confdefs.h <<_ACEOF
29810 #define HAVE_FINITE 1
29811 _ACEOF
29814 done
29816 else
29818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29819 $as_echo_n "checking for _finite declaration... " >&6; }
29820 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29821 if ${glibcxx_cv_func__finite_use+:} false; then :
29822 $as_echo_n "(cached) " >&6
29823 else
29826 ac_ext=cpp
29827 ac_cpp='$CXXCPP $CPPFLAGS'
29828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29833 /* end confdefs.h. */
29834 #include <math.h>
29835 #ifdef HAVE_IEEEFP_H
29836 #include <ieeefp.h>
29837 #endif
29840 main ()
29842 _finite(0);
29844 return 0;
29846 _ACEOF
29847 if ac_fn_cxx_try_compile "$LINENO"; then :
29848 glibcxx_cv_func__finite_use=yes
29849 else
29850 glibcxx_cv_func__finite_use=no
29852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29853 ac_ext=c
29854 ac_cpp='$CPP $CPPFLAGS'
29855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29864 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29866 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29867 for ac_func in _finite
29868 do :
29869 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29870 if test "x$ac_cv_func__finite" = xyes; then :
29871 cat >>confdefs.h <<_ACEOF
29872 #define HAVE__FINITE 1
29873 _ACEOF
29876 done
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29886 $as_echo_n "checking for sincos declaration... " >&6; }
29887 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29888 if ${glibcxx_cv_func_sincos_use+:} false; then :
29889 $as_echo_n "(cached) " >&6
29890 else
29893 ac_ext=cpp
29894 ac_cpp='$CXXCPP $CPPFLAGS'
29895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29900 /* end confdefs.h. */
29901 #include <math.h>
29903 main ()
29905 sincos(0, 0, 0);
29907 return 0;
29909 _ACEOF
29910 if ac_fn_cxx_try_compile "$LINENO"; then :
29911 glibcxx_cv_func_sincos_use=yes
29912 else
29913 glibcxx_cv_func_sincos_use=no
29915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29916 ac_ext=c
29917 ac_cpp='$CPP $CPPFLAGS'
29918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29927 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29929 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29930 for ac_func in sincos
29931 do :
29932 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29933 if test "x$ac_cv_func_sincos" = xyes; then :
29934 cat >>confdefs.h <<_ACEOF
29935 #define HAVE_SINCOS 1
29936 _ACEOF
29939 done
29941 else
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29944 $as_echo_n "checking for _sincos declaration... " >&6; }
29945 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29946 if ${glibcxx_cv_func__sincos_use+:} false; then :
29947 $as_echo_n "(cached) " >&6
29948 else
29951 ac_ext=cpp
29952 ac_cpp='$CXXCPP $CPPFLAGS'
29953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29958 /* end confdefs.h. */
29959 #include <math.h>
29961 main ()
29963 _sincos(0, 0, 0);
29965 return 0;
29967 _ACEOF
29968 if ac_fn_cxx_try_compile "$LINENO"; then :
29969 glibcxx_cv_func__sincos_use=yes
29970 else
29971 glibcxx_cv_func__sincos_use=no
29973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29974 ac_ext=c
29975 ac_cpp='$CPP $CPPFLAGS'
29976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29985 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29987 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29988 for ac_func in _sincos
29989 do :
29990 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29991 if test "x$ac_cv_func__sincos" = xyes; then :
29992 cat >>confdefs.h <<_ACEOF
29993 #define HAVE__SINCOS 1
29994 _ACEOF
29997 done
30006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30007 $as_echo_n "checking for fpclass declaration... " >&6; }
30008 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30009 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30010 $as_echo_n "(cached) " >&6
30011 else
30014 ac_ext=cpp
30015 ac_cpp='$CXXCPP $CPPFLAGS'
30016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30021 /* end confdefs.h. */
30022 #include <math.h>
30023 #ifdef HAVE_IEEEFP_H
30024 #include <ieeefp.h>
30025 #endif
30028 main ()
30030 fpclass(0);
30032 return 0;
30034 _ACEOF
30035 if ac_fn_cxx_try_compile "$LINENO"; then :
30036 glibcxx_cv_func_fpclass_use=yes
30037 else
30038 glibcxx_cv_func_fpclass_use=no
30040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30041 ac_ext=c
30042 ac_cpp='$CPP $CPPFLAGS'
30043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30052 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30054 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30055 for ac_func in fpclass
30056 do :
30057 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30058 if test "x$ac_cv_func_fpclass" = xyes; then :
30059 cat >>confdefs.h <<_ACEOF
30060 #define HAVE_FPCLASS 1
30061 _ACEOF
30064 done
30066 else
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30069 $as_echo_n "checking for _fpclass declaration... " >&6; }
30070 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30071 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30072 $as_echo_n "(cached) " >&6
30073 else
30076 ac_ext=cpp
30077 ac_cpp='$CXXCPP $CPPFLAGS'
30078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30083 /* end confdefs.h. */
30084 #include <math.h>
30085 #ifdef HAVE_IEEEFP_H
30086 #include <ieeefp.h>
30087 #endif
30090 main ()
30092 _fpclass(0);
30094 return 0;
30096 _ACEOF
30097 if ac_fn_cxx_try_compile "$LINENO"; then :
30098 glibcxx_cv_func__fpclass_use=yes
30099 else
30100 glibcxx_cv_func__fpclass_use=no
30102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30103 ac_ext=c
30104 ac_cpp='$CPP $CPPFLAGS'
30105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30114 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30116 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30117 for ac_func in _fpclass
30118 do :
30119 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30120 if test "x$ac_cv_func__fpclass" = xyes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define HAVE__FPCLASS 1
30123 _ACEOF
30126 done
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30136 $as_echo_n "checking for qfpclass declaration... " >&6; }
30137 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30138 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30139 $as_echo_n "(cached) " >&6
30140 else
30143 ac_ext=cpp
30144 ac_cpp='$CXXCPP $CPPFLAGS'
30145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30150 /* end confdefs.h. */
30151 #include <math.h>
30152 #ifdef HAVE_IEEEFP_H
30153 #include <ieeefp.h>
30154 #endif
30157 main ()
30159 qfpclass(0);
30161 return 0;
30163 _ACEOF
30164 if ac_fn_cxx_try_compile "$LINENO"; then :
30165 glibcxx_cv_func_qfpclass_use=yes
30166 else
30167 glibcxx_cv_func_qfpclass_use=no
30169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30170 ac_ext=c
30171 ac_cpp='$CPP $CPPFLAGS'
30172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30181 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30183 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30184 for ac_func in qfpclass
30185 do :
30186 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30187 if test "x$ac_cv_func_qfpclass" = xyes; then :
30188 cat >>confdefs.h <<_ACEOF
30189 #define HAVE_QFPCLASS 1
30190 _ACEOF
30193 done
30195 else
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30198 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30199 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30200 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30201 $as_echo_n "(cached) " >&6
30202 else
30205 ac_ext=cpp
30206 ac_cpp='$CXXCPP $CPPFLAGS'
30207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30213 #include <math.h>
30214 #ifdef HAVE_IEEEFP_H
30215 #include <ieeefp.h>
30216 #endif
30219 main ()
30221 _qfpclass(0);
30223 return 0;
30225 _ACEOF
30226 if ac_fn_cxx_try_compile "$LINENO"; then :
30227 glibcxx_cv_func__qfpclass_use=yes
30228 else
30229 glibcxx_cv_func__qfpclass_use=no
30231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30232 ac_ext=c
30233 ac_cpp='$CPP $CPPFLAGS'
30234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30243 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30245 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30246 for ac_func in _qfpclass
30247 do :
30248 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30249 if test "x$ac_cv_func__qfpclass" = xyes; then :
30250 cat >>confdefs.h <<_ACEOF
30251 #define HAVE__QFPCLASS 1
30252 _ACEOF
30255 done
30264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30265 $as_echo_n "checking for hypot declaration... " >&6; }
30266 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30267 if ${glibcxx_cv_func_hypot_use+:} false; then :
30268 $as_echo_n "(cached) " >&6
30269 else
30272 ac_ext=cpp
30273 ac_cpp='$CXXCPP $CPPFLAGS'
30274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30279 /* end confdefs.h. */
30280 #include <math.h>
30282 main ()
30284 hypot(0, 0);
30286 return 0;
30288 _ACEOF
30289 if ac_fn_cxx_try_compile "$LINENO"; then :
30290 glibcxx_cv_func_hypot_use=yes
30291 else
30292 glibcxx_cv_func_hypot_use=no
30294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30295 ac_ext=c
30296 ac_cpp='$CPP $CPPFLAGS'
30297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30306 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30308 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30309 for ac_func in hypot
30310 do :
30311 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30312 if test "x$ac_cv_func_hypot" = xyes; then :
30313 cat >>confdefs.h <<_ACEOF
30314 #define HAVE_HYPOT 1
30315 _ACEOF
30318 done
30320 else
30322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30323 $as_echo_n "checking for _hypot declaration... " >&6; }
30324 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30325 if ${glibcxx_cv_func__hypot_use+:} false; then :
30326 $as_echo_n "(cached) " >&6
30327 else
30330 ac_ext=cpp
30331 ac_cpp='$CXXCPP $CPPFLAGS'
30332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30337 /* end confdefs.h. */
30338 #include <math.h>
30340 main ()
30342 _hypot(0, 0);
30344 return 0;
30346 _ACEOF
30347 if ac_fn_cxx_try_compile "$LINENO"; then :
30348 glibcxx_cv_func__hypot_use=yes
30349 else
30350 glibcxx_cv_func__hypot_use=no
30352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30353 ac_ext=c
30354 ac_cpp='$CPP $CPPFLAGS'
30355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30364 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30366 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30367 for ac_func in _hypot
30368 do :
30369 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30370 if test "x$ac_cv_func__hypot" = xyes; then :
30371 cat >>confdefs.h <<_ACEOF
30372 #define HAVE__HYPOT 1
30373 _ACEOF
30376 done
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30386 $as_echo_n "checking for float trig functions... " >&6; }
30387 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30388 $as_echo_n "(cached) " >&6
30389 else
30392 ac_ext=cpp
30393 ac_cpp='$CXXCPP $CPPFLAGS'
30394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30400 #include <math.h>
30402 main ()
30404 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30406 return 0;
30408 _ACEOF
30409 if ac_fn_cxx_try_compile "$LINENO"; then :
30410 glibcxx_cv_func_float_trig_use=yes
30411 else
30412 glibcxx_cv_func_float_trig_use=no
30414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30415 ac_ext=c
30416 ac_cpp='$CPP $CPPFLAGS'
30417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30424 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30425 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30426 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30427 do :
30428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30431 cat >>confdefs.h <<_ACEOF
30432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30433 _ACEOF
30436 done
30438 else
30439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30440 $as_echo_n "checking for _float trig functions... " >&6; }
30441 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30442 $as_echo_n "(cached) " >&6
30443 else
30446 ac_ext=cpp
30447 ac_cpp='$CXXCPP $CPPFLAGS'
30448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h. */
30454 #include <math.h>
30456 main ()
30458 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30460 return 0;
30462 _ACEOF
30463 if ac_fn_cxx_try_compile "$LINENO"; then :
30464 glibcxx_cv_func__float_trig_use=yes
30465 else
30466 glibcxx_cv_func__float_trig_use=no
30468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30469 ac_ext=c
30470 ac_cpp='$CPP $CPPFLAGS'
30471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30478 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30479 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30480 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30481 do :
30482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30484 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30485 cat >>confdefs.h <<_ACEOF
30486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30487 _ACEOF
30490 done
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30500 $as_echo_n "checking for float round functions... " >&6; }
30501 if ${glibcxx_cv_func_float_round_use+:} false; then :
30502 $as_echo_n "(cached) " >&6
30503 else
30506 ac_ext=cpp
30507 ac_cpp='$CXXCPP $CPPFLAGS'
30508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30513 /* end confdefs.h. */
30514 #include <math.h>
30516 main ()
30518 ceilf (0); floorf (0);
30520 return 0;
30522 _ACEOF
30523 if ac_fn_cxx_try_compile "$LINENO"; then :
30524 glibcxx_cv_func_float_round_use=yes
30525 else
30526 glibcxx_cv_func_float_round_use=no
30528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30529 ac_ext=c
30530 ac_cpp='$CPP $CPPFLAGS'
30531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30538 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30539 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30540 for ac_func in ceilf floorf
30541 do :
30542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30545 cat >>confdefs.h <<_ACEOF
30546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30547 _ACEOF
30550 done
30552 else
30553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30554 $as_echo_n "checking for _float round functions... " >&6; }
30555 if ${glibcxx_cv_func__float_round_use+:} false; then :
30556 $as_echo_n "(cached) " >&6
30557 else
30560 ac_ext=cpp
30561 ac_cpp='$CXXCPP $CPPFLAGS'
30562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30567 /* end confdefs.h. */
30568 #include <math.h>
30570 main ()
30572 _ceilf (0); _floorf (0);
30574 return 0;
30576 _ACEOF
30577 if ac_fn_cxx_try_compile "$LINENO"; then :
30578 glibcxx_cv_func__float_round_use=yes
30579 else
30580 glibcxx_cv_func__float_round_use=no
30582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30583 ac_ext=c
30584 ac_cpp='$CPP $CPPFLAGS'
30585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30592 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30593 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30594 for ac_func in _ceilf _floorf
30595 do :
30596 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30597 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30598 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30599 cat >>confdefs.h <<_ACEOF
30600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30601 _ACEOF
30604 done
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30615 $as_echo_n "checking for expf declaration... " >&6; }
30616 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30617 if ${glibcxx_cv_func_expf_use+:} false; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30631 #ifdef HAVE_IEEEFP_H
30632 #include <ieeefp.h>
30633 #endif
30636 main ()
30638 expf(0);
30640 return 0;
30642 _ACEOF
30643 if ac_fn_cxx_try_compile "$LINENO"; then :
30644 glibcxx_cv_func_expf_use=yes
30645 else
30646 glibcxx_cv_func_expf_use=no
30648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30649 ac_ext=c
30650 ac_cpp='$CPP $CPPFLAGS'
30651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30660 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30662 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30663 for ac_func in expf
30664 do :
30665 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30666 if test "x$ac_cv_func_expf" = xyes; then :
30667 cat >>confdefs.h <<_ACEOF
30668 #define HAVE_EXPF 1
30669 _ACEOF
30672 done
30674 else
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30677 $as_echo_n "checking for _expf declaration... " >&6; }
30678 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30679 if ${glibcxx_cv_func__expf_use+:} false; then :
30680 $as_echo_n "(cached) " >&6
30681 else
30684 ac_ext=cpp
30685 ac_cpp='$CXXCPP $CPPFLAGS'
30686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30691 /* end confdefs.h. */
30692 #include <math.h>
30693 #ifdef HAVE_IEEEFP_H
30694 #include <ieeefp.h>
30695 #endif
30698 main ()
30700 _expf(0);
30702 return 0;
30704 _ACEOF
30705 if ac_fn_cxx_try_compile "$LINENO"; then :
30706 glibcxx_cv_func__expf_use=yes
30707 else
30708 glibcxx_cv_func__expf_use=no
30710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711 ac_ext=c
30712 ac_cpp='$CPP $CPPFLAGS'
30713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30722 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30724 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30725 for ac_func in _expf
30726 do :
30727 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30728 if test "x$ac_cv_func__expf" = xyes; then :
30729 cat >>confdefs.h <<_ACEOF
30730 #define HAVE__EXPF 1
30731 _ACEOF
30734 done
30743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30744 $as_echo_n "checking for isnanf declaration... " >&6; }
30745 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30746 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30747 $as_echo_n "(cached) " >&6
30748 else
30751 ac_ext=cpp
30752 ac_cpp='$CXXCPP $CPPFLAGS'
30753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30758 /* end confdefs.h. */
30759 #include <math.h>
30760 #ifdef HAVE_IEEEFP_H
30761 #include <ieeefp.h>
30762 #endif
30765 main ()
30767 isnanf(0);
30769 return 0;
30771 _ACEOF
30772 if ac_fn_cxx_try_compile "$LINENO"; then :
30773 glibcxx_cv_func_isnanf_use=yes
30774 else
30775 glibcxx_cv_func_isnanf_use=no
30777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30778 ac_ext=c
30779 ac_cpp='$CPP $CPPFLAGS'
30780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30789 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30791 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30792 for ac_func in isnanf
30793 do :
30794 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30795 if test "x$ac_cv_func_isnanf" = xyes; then :
30796 cat >>confdefs.h <<_ACEOF
30797 #define HAVE_ISNANF 1
30798 _ACEOF
30801 done
30803 else
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30806 $as_echo_n "checking for _isnanf declaration... " >&6; }
30807 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30808 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30809 $as_echo_n "(cached) " >&6
30810 else
30813 ac_ext=cpp
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30820 /* end confdefs.h. */
30821 #include <math.h>
30822 #ifdef HAVE_IEEEFP_H
30823 #include <ieeefp.h>
30824 #endif
30827 main ()
30829 _isnanf(0);
30831 return 0;
30833 _ACEOF
30834 if ac_fn_cxx_try_compile "$LINENO"; then :
30835 glibcxx_cv_func__isnanf_use=yes
30836 else
30837 glibcxx_cv_func__isnanf_use=no
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840 ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30851 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30853 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30854 for ac_func in _isnanf
30855 do :
30856 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30857 if test "x$ac_cv_func__isnanf" = xyes; then :
30858 cat >>confdefs.h <<_ACEOF
30859 #define HAVE__ISNANF 1
30860 _ACEOF
30863 done
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30873 $as_echo_n "checking for isinff declaration... " >&6; }
30874 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30875 if ${glibcxx_cv_func_isinff_use+:} false; then :
30876 $as_echo_n "(cached) " >&6
30877 else
30880 ac_ext=cpp
30881 ac_cpp='$CXXCPP $CPPFLAGS'
30882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30887 /* end confdefs.h. */
30888 #include <math.h>
30889 #ifdef HAVE_IEEEFP_H
30890 #include <ieeefp.h>
30891 #endif
30894 main ()
30896 isinff(0);
30898 return 0;
30900 _ACEOF
30901 if ac_fn_cxx_try_compile "$LINENO"; then :
30902 glibcxx_cv_func_isinff_use=yes
30903 else
30904 glibcxx_cv_func_isinff_use=no
30906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30907 ac_ext=c
30908 ac_cpp='$CPP $CPPFLAGS'
30909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30918 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30920 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30921 for ac_func in isinff
30922 do :
30923 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30924 if test "x$ac_cv_func_isinff" = xyes; then :
30925 cat >>confdefs.h <<_ACEOF
30926 #define HAVE_ISINFF 1
30927 _ACEOF
30930 done
30932 else
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30935 $as_echo_n "checking for _isinff declaration... " >&6; }
30936 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30937 if ${glibcxx_cv_func__isinff_use+:} false; then :
30938 $as_echo_n "(cached) " >&6
30939 else
30942 ac_ext=cpp
30943 ac_cpp='$CXXCPP $CPPFLAGS'
30944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h. */
30950 #include <math.h>
30951 #ifdef HAVE_IEEEFP_H
30952 #include <ieeefp.h>
30953 #endif
30956 main ()
30958 _isinff(0);
30960 return 0;
30962 _ACEOF
30963 if ac_fn_cxx_try_compile "$LINENO"; then :
30964 glibcxx_cv_func__isinff_use=yes
30965 else
30966 glibcxx_cv_func__isinff_use=no
30968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30969 ac_ext=c
30970 ac_cpp='$CPP $CPPFLAGS'
30971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30980 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30982 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30983 for ac_func in _isinff
30984 do :
30985 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30986 if test "x$ac_cv_func__isinff" = xyes; then :
30987 cat >>confdefs.h <<_ACEOF
30988 #define HAVE__ISINFF 1
30989 _ACEOF
30992 done
31001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31002 $as_echo_n "checking for atan2f declaration... " >&6; }
31003 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31004 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31005 $as_echo_n "(cached) " >&6
31006 else
31009 ac_ext=cpp
31010 ac_cpp='$CXXCPP $CPPFLAGS'
31011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31016 /* end confdefs.h. */
31017 #include <math.h>
31019 main ()
31021 atan2f(0, 0);
31023 return 0;
31025 _ACEOF
31026 if ac_fn_cxx_try_compile "$LINENO"; then :
31027 glibcxx_cv_func_atan2f_use=yes
31028 else
31029 glibcxx_cv_func_atan2f_use=no
31031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31032 ac_ext=c
31033 ac_cpp='$CPP $CPPFLAGS'
31034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31043 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31045 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31046 for ac_func in atan2f
31047 do :
31048 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31049 if test "x$ac_cv_func_atan2f" = xyes; then :
31050 cat >>confdefs.h <<_ACEOF
31051 #define HAVE_ATAN2F 1
31052 _ACEOF
31055 done
31057 else
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31060 $as_echo_n "checking for _atan2f declaration... " >&6; }
31061 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31062 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31063 $as_echo_n "(cached) " >&6
31064 else
31067 ac_ext=cpp
31068 ac_cpp='$CXXCPP $CPPFLAGS'
31069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31074 /* end confdefs.h. */
31075 #include <math.h>
31077 main ()
31079 _atan2f(0, 0);
31081 return 0;
31083 _ACEOF
31084 if ac_fn_cxx_try_compile "$LINENO"; then :
31085 glibcxx_cv_func__atan2f_use=yes
31086 else
31087 glibcxx_cv_func__atan2f_use=no
31089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31090 ac_ext=c
31091 ac_cpp='$CPP $CPPFLAGS'
31092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31101 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31103 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31104 for ac_func in _atan2f
31105 do :
31106 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31107 if test "x$ac_cv_func__atan2f" = xyes; then :
31108 cat >>confdefs.h <<_ACEOF
31109 #define HAVE__ATAN2F 1
31110 _ACEOF
31113 done
31122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31123 $as_echo_n "checking for fabsf declaration... " >&6; }
31124 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31125 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31126 $as_echo_n "(cached) " >&6
31127 else
31130 ac_ext=cpp
31131 ac_cpp='$CXXCPP $CPPFLAGS'
31132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31137 /* end confdefs.h. */
31138 #include <math.h>
31139 #ifdef HAVE_IEEEFP_H
31140 #include <ieeefp.h>
31141 #endif
31144 main ()
31146 fabsf(0);
31148 return 0;
31150 _ACEOF
31151 if ac_fn_cxx_try_compile "$LINENO"; then :
31152 glibcxx_cv_func_fabsf_use=yes
31153 else
31154 glibcxx_cv_func_fabsf_use=no
31156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31157 ac_ext=c
31158 ac_cpp='$CPP $CPPFLAGS'
31159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31168 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31170 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31171 for ac_func in fabsf
31172 do :
31173 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31174 if test "x$ac_cv_func_fabsf" = xyes; then :
31175 cat >>confdefs.h <<_ACEOF
31176 #define HAVE_FABSF 1
31177 _ACEOF
31180 done
31182 else
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31185 $as_echo_n "checking for _fabsf declaration... " >&6; }
31186 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31187 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31188 $as_echo_n "(cached) " >&6
31189 else
31192 ac_ext=cpp
31193 ac_cpp='$CXXCPP $CPPFLAGS'
31194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31199 /* end confdefs.h. */
31200 #include <math.h>
31201 #ifdef HAVE_IEEEFP_H
31202 #include <ieeefp.h>
31203 #endif
31206 main ()
31208 _fabsf(0);
31210 return 0;
31212 _ACEOF
31213 if ac_fn_cxx_try_compile "$LINENO"; then :
31214 glibcxx_cv_func__fabsf_use=yes
31215 else
31216 glibcxx_cv_func__fabsf_use=no
31218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31219 ac_ext=c
31220 ac_cpp='$CPP $CPPFLAGS'
31221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31230 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31232 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31233 for ac_func in _fabsf
31234 do :
31235 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31236 if test "x$ac_cv_func__fabsf" = xyes; then :
31237 cat >>confdefs.h <<_ACEOF
31238 #define HAVE__FABSF 1
31239 _ACEOF
31242 done
31251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31252 $as_echo_n "checking for fmodf declaration... " >&6; }
31253 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31254 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31255 $as_echo_n "(cached) " >&6
31256 else
31259 ac_ext=cpp
31260 ac_cpp='$CXXCPP $CPPFLAGS'
31261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31266 /* end confdefs.h. */
31267 #include <math.h>
31269 main ()
31271 fmodf(0, 0);
31273 return 0;
31275 _ACEOF
31276 if ac_fn_cxx_try_compile "$LINENO"; then :
31277 glibcxx_cv_func_fmodf_use=yes
31278 else
31279 glibcxx_cv_func_fmodf_use=no
31281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31282 ac_ext=c
31283 ac_cpp='$CPP $CPPFLAGS'
31284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31293 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31295 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31296 for ac_func in fmodf
31297 do :
31298 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31299 if test "x$ac_cv_func_fmodf" = xyes; then :
31300 cat >>confdefs.h <<_ACEOF
31301 #define HAVE_FMODF 1
31302 _ACEOF
31305 done
31307 else
31309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31310 $as_echo_n "checking for _fmodf declaration... " >&6; }
31311 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31312 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31313 $as_echo_n "(cached) " >&6
31314 else
31317 ac_ext=cpp
31318 ac_cpp='$CXXCPP $CPPFLAGS'
31319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31324 /* end confdefs.h. */
31325 #include <math.h>
31327 main ()
31329 _fmodf(0, 0);
31331 return 0;
31333 _ACEOF
31334 if ac_fn_cxx_try_compile "$LINENO"; then :
31335 glibcxx_cv_func__fmodf_use=yes
31336 else
31337 glibcxx_cv_func__fmodf_use=no
31339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31340 ac_ext=c
31341 ac_cpp='$CPP $CPPFLAGS'
31342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31351 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31353 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31354 for ac_func in _fmodf
31355 do :
31356 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31357 if test "x$ac_cv_func__fmodf" = xyes; then :
31358 cat >>confdefs.h <<_ACEOF
31359 #define HAVE__FMODF 1
31360 _ACEOF
31363 done
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31373 $as_echo_n "checking for frexpf declaration... " >&6; }
31374 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31375 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31376 $as_echo_n "(cached) " >&6
31377 else
31380 ac_ext=cpp
31381 ac_cpp='$CXXCPP $CPPFLAGS'
31382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31387 /* end confdefs.h. */
31388 #include <math.h>
31390 main ()
31392 frexpf(0, 0);
31394 return 0;
31396 _ACEOF
31397 if ac_fn_cxx_try_compile "$LINENO"; then :
31398 glibcxx_cv_func_frexpf_use=yes
31399 else
31400 glibcxx_cv_func_frexpf_use=no
31402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31403 ac_ext=c
31404 ac_cpp='$CPP $CPPFLAGS'
31405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31414 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31416 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31417 for ac_func in frexpf
31418 do :
31419 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31420 if test "x$ac_cv_func_frexpf" = xyes; then :
31421 cat >>confdefs.h <<_ACEOF
31422 #define HAVE_FREXPF 1
31423 _ACEOF
31426 done
31428 else
31430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31431 $as_echo_n "checking for _frexpf declaration... " >&6; }
31432 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31433 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31434 $as_echo_n "(cached) " >&6
31435 else
31438 ac_ext=cpp
31439 ac_cpp='$CXXCPP $CPPFLAGS'
31440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31445 /* end confdefs.h. */
31446 #include <math.h>
31448 main ()
31450 _frexpf(0, 0);
31452 return 0;
31454 _ACEOF
31455 if ac_fn_cxx_try_compile "$LINENO"; then :
31456 glibcxx_cv_func__frexpf_use=yes
31457 else
31458 glibcxx_cv_func__frexpf_use=no
31460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31461 ac_ext=c
31462 ac_cpp='$CPP $CPPFLAGS'
31463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31472 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31474 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31475 for ac_func in _frexpf
31476 do :
31477 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31478 if test "x$ac_cv_func__frexpf" = xyes; then :
31479 cat >>confdefs.h <<_ACEOF
31480 #define HAVE__FREXPF 1
31481 _ACEOF
31484 done
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31494 $as_echo_n "checking for hypotf declaration... " >&6; }
31495 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31496 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31497 $as_echo_n "(cached) " >&6
31498 else
31501 ac_ext=cpp
31502 ac_cpp='$CXXCPP $CPPFLAGS'
31503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31508 /* end confdefs.h. */
31509 #include <math.h>
31511 main ()
31513 hypotf(0, 0);
31515 return 0;
31517 _ACEOF
31518 if ac_fn_cxx_try_compile "$LINENO"; then :
31519 glibcxx_cv_func_hypotf_use=yes
31520 else
31521 glibcxx_cv_func_hypotf_use=no
31523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31524 ac_ext=c
31525 ac_cpp='$CPP $CPPFLAGS'
31526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31535 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31537 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31538 for ac_func in hypotf
31539 do :
31540 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31541 if test "x$ac_cv_func_hypotf" = xyes; then :
31542 cat >>confdefs.h <<_ACEOF
31543 #define HAVE_HYPOTF 1
31544 _ACEOF
31547 done
31549 else
31551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31552 $as_echo_n "checking for _hypotf declaration... " >&6; }
31553 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31554 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31555 $as_echo_n "(cached) " >&6
31556 else
31559 ac_ext=cpp
31560 ac_cpp='$CXXCPP $CPPFLAGS'
31561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31566 /* end confdefs.h. */
31567 #include <math.h>
31569 main ()
31571 _hypotf(0, 0);
31573 return 0;
31575 _ACEOF
31576 if ac_fn_cxx_try_compile "$LINENO"; then :
31577 glibcxx_cv_func__hypotf_use=yes
31578 else
31579 glibcxx_cv_func__hypotf_use=no
31581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31582 ac_ext=c
31583 ac_cpp='$CPP $CPPFLAGS'
31584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31593 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31595 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31596 for ac_func in _hypotf
31597 do :
31598 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31599 if test "x$ac_cv_func__hypotf" = xyes; then :
31600 cat >>confdefs.h <<_ACEOF
31601 #define HAVE__HYPOTF 1
31602 _ACEOF
31605 done
31614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31615 $as_echo_n "checking for ldexpf declaration... " >&6; }
31616 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31617 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31618 $as_echo_n "(cached) " >&6
31619 else
31622 ac_ext=cpp
31623 ac_cpp='$CXXCPP $CPPFLAGS'
31624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31629 /* end confdefs.h. */
31630 #include <math.h>
31632 main ()
31634 ldexpf(0, 0);
31636 return 0;
31638 _ACEOF
31639 if ac_fn_cxx_try_compile "$LINENO"; then :
31640 glibcxx_cv_func_ldexpf_use=yes
31641 else
31642 glibcxx_cv_func_ldexpf_use=no
31644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31645 ac_ext=c
31646 ac_cpp='$CPP $CPPFLAGS'
31647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31656 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31658 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31659 for ac_func in ldexpf
31660 do :
31661 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31662 if test "x$ac_cv_func_ldexpf" = xyes; then :
31663 cat >>confdefs.h <<_ACEOF
31664 #define HAVE_LDEXPF 1
31665 _ACEOF
31668 done
31670 else
31672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31673 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31674 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31675 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31676 $as_echo_n "(cached) " >&6
31677 else
31680 ac_ext=cpp
31681 ac_cpp='$CXXCPP $CPPFLAGS'
31682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31687 /* end confdefs.h. */
31688 #include <math.h>
31690 main ()
31692 _ldexpf(0, 0);
31694 return 0;
31696 _ACEOF
31697 if ac_fn_cxx_try_compile "$LINENO"; then :
31698 glibcxx_cv_func__ldexpf_use=yes
31699 else
31700 glibcxx_cv_func__ldexpf_use=no
31702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31703 ac_ext=c
31704 ac_cpp='$CPP $CPPFLAGS'
31705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31714 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31716 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31717 for ac_func in _ldexpf
31718 do :
31719 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31720 if test "x$ac_cv_func__ldexpf" = xyes; then :
31721 cat >>confdefs.h <<_ACEOF
31722 #define HAVE__LDEXPF 1
31723 _ACEOF
31726 done
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31736 $as_echo_n "checking for logf declaration... " >&6; }
31737 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31738 if ${glibcxx_cv_func_logf_use+:} false; then :
31739 $as_echo_n "(cached) " >&6
31740 else
31743 ac_ext=cpp
31744 ac_cpp='$CXXCPP $CPPFLAGS'
31745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31750 /* end confdefs.h. */
31751 #include <math.h>
31752 #ifdef HAVE_IEEEFP_H
31753 #include <ieeefp.h>
31754 #endif
31757 main ()
31759 logf(0);
31761 return 0;
31763 _ACEOF
31764 if ac_fn_cxx_try_compile "$LINENO"; then :
31765 glibcxx_cv_func_logf_use=yes
31766 else
31767 glibcxx_cv_func_logf_use=no
31769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31770 ac_ext=c
31771 ac_cpp='$CPP $CPPFLAGS'
31772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31781 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31783 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31784 for ac_func in logf
31785 do :
31786 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31787 if test "x$ac_cv_func_logf" = xyes; then :
31788 cat >>confdefs.h <<_ACEOF
31789 #define HAVE_LOGF 1
31790 _ACEOF
31793 done
31795 else
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31798 $as_echo_n "checking for _logf declaration... " >&6; }
31799 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31800 if ${glibcxx_cv_func__logf_use+:} false; then :
31801 $as_echo_n "(cached) " >&6
31802 else
31805 ac_ext=cpp
31806 ac_cpp='$CXXCPP $CPPFLAGS'
31807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31812 /* end confdefs.h. */
31813 #include <math.h>
31814 #ifdef HAVE_IEEEFP_H
31815 #include <ieeefp.h>
31816 #endif
31819 main ()
31821 _logf(0);
31823 return 0;
31825 _ACEOF
31826 if ac_fn_cxx_try_compile "$LINENO"; then :
31827 glibcxx_cv_func__logf_use=yes
31828 else
31829 glibcxx_cv_func__logf_use=no
31831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31832 ac_ext=c
31833 ac_cpp='$CPP $CPPFLAGS'
31834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31843 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31845 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31846 for ac_func in _logf
31847 do :
31848 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31849 if test "x$ac_cv_func__logf" = xyes; then :
31850 cat >>confdefs.h <<_ACEOF
31851 #define HAVE__LOGF 1
31852 _ACEOF
31855 done
31864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31865 $as_echo_n "checking for log10f declaration... " >&6; }
31866 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31867 if ${glibcxx_cv_func_log10f_use+:} false; then :
31868 $as_echo_n "(cached) " >&6
31869 else
31872 ac_ext=cpp
31873 ac_cpp='$CXXCPP $CPPFLAGS'
31874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31879 /* end confdefs.h. */
31880 #include <math.h>
31881 #ifdef HAVE_IEEEFP_H
31882 #include <ieeefp.h>
31883 #endif
31886 main ()
31888 log10f(0);
31890 return 0;
31892 _ACEOF
31893 if ac_fn_cxx_try_compile "$LINENO"; then :
31894 glibcxx_cv_func_log10f_use=yes
31895 else
31896 glibcxx_cv_func_log10f_use=no
31898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31899 ac_ext=c
31900 ac_cpp='$CPP $CPPFLAGS'
31901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31910 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31912 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31913 for ac_func in log10f
31914 do :
31915 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31916 if test "x$ac_cv_func_log10f" = xyes; then :
31917 cat >>confdefs.h <<_ACEOF
31918 #define HAVE_LOG10F 1
31919 _ACEOF
31922 done
31924 else
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31927 $as_echo_n "checking for _log10f declaration... " >&6; }
31928 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31929 if ${glibcxx_cv_func__log10f_use+:} false; then :
31930 $as_echo_n "(cached) " >&6
31931 else
31934 ac_ext=cpp
31935 ac_cpp='$CXXCPP $CPPFLAGS'
31936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31941 /* end confdefs.h. */
31942 #include <math.h>
31943 #ifdef HAVE_IEEEFP_H
31944 #include <ieeefp.h>
31945 #endif
31948 main ()
31950 _log10f(0);
31952 return 0;
31954 _ACEOF
31955 if ac_fn_cxx_try_compile "$LINENO"; then :
31956 glibcxx_cv_func__log10f_use=yes
31957 else
31958 glibcxx_cv_func__log10f_use=no
31960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31961 ac_ext=c
31962 ac_cpp='$CPP $CPPFLAGS'
31963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31972 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31974 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31975 for ac_func in _log10f
31976 do :
31977 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31978 if test "x$ac_cv_func__log10f" = xyes; then :
31979 cat >>confdefs.h <<_ACEOF
31980 #define HAVE__LOG10F 1
31981 _ACEOF
31984 done
31993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31994 $as_echo_n "checking for modff declaration... " >&6; }
31995 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31996 if ${glibcxx_cv_func_modff_use+:} false; then :
31997 $as_echo_n "(cached) " >&6
31998 else
32001 ac_ext=cpp
32002 ac_cpp='$CXXCPP $CPPFLAGS'
32003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32008 /* end confdefs.h. */
32009 #include <math.h>
32011 main ()
32013 modff(0, 0);
32015 return 0;
32017 _ACEOF
32018 if ac_fn_cxx_try_compile "$LINENO"; then :
32019 glibcxx_cv_func_modff_use=yes
32020 else
32021 glibcxx_cv_func_modff_use=no
32023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32024 ac_ext=c
32025 ac_cpp='$CPP $CPPFLAGS'
32026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32035 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32037 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32038 for ac_func in modff
32039 do :
32040 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32041 if test "x$ac_cv_func_modff" = xyes; then :
32042 cat >>confdefs.h <<_ACEOF
32043 #define HAVE_MODFF 1
32044 _ACEOF
32047 done
32049 else
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32052 $as_echo_n "checking for _modff declaration... " >&6; }
32053 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32054 if ${glibcxx_cv_func__modff_use+:} false; then :
32055 $as_echo_n "(cached) " >&6
32056 else
32059 ac_ext=cpp
32060 ac_cpp='$CXXCPP $CPPFLAGS'
32061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32066 /* end confdefs.h. */
32067 #include <math.h>
32069 main ()
32071 _modff(0, 0);
32073 return 0;
32075 _ACEOF
32076 if ac_fn_cxx_try_compile "$LINENO"; then :
32077 glibcxx_cv_func__modff_use=yes
32078 else
32079 glibcxx_cv_func__modff_use=no
32081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32082 ac_ext=c
32083 ac_cpp='$CPP $CPPFLAGS'
32084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32093 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32095 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32096 for ac_func in _modff
32097 do :
32098 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32099 if test "x$ac_cv_func__modff" = xyes; then :
32100 cat >>confdefs.h <<_ACEOF
32101 #define HAVE__MODFF 1
32102 _ACEOF
32105 done
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32115 $as_echo_n "checking for modf declaration... " >&6; }
32116 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32117 if ${glibcxx_cv_func_modf_use+:} false; then :
32118 $as_echo_n "(cached) " >&6
32119 else
32122 ac_ext=cpp
32123 ac_cpp='$CXXCPP $CPPFLAGS'
32124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32129 /* end confdefs.h. */
32130 #include <math.h>
32132 main ()
32134 modf(0, 0);
32136 return 0;
32138 _ACEOF
32139 if ac_fn_cxx_try_compile "$LINENO"; then :
32140 glibcxx_cv_func_modf_use=yes
32141 else
32142 glibcxx_cv_func_modf_use=no
32144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32145 ac_ext=c
32146 ac_cpp='$CPP $CPPFLAGS'
32147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32156 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32158 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32159 for ac_func in modf
32160 do :
32161 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32162 if test "x$ac_cv_func_modf" = xyes; then :
32163 cat >>confdefs.h <<_ACEOF
32164 #define HAVE_MODF 1
32165 _ACEOF
32168 done
32170 else
32172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32173 $as_echo_n "checking for _modf declaration... " >&6; }
32174 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32175 if ${glibcxx_cv_func__modf_use+:} false; then :
32176 $as_echo_n "(cached) " >&6
32177 else
32180 ac_ext=cpp
32181 ac_cpp='$CXXCPP $CPPFLAGS'
32182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32187 /* end confdefs.h. */
32188 #include <math.h>
32190 main ()
32192 _modf(0, 0);
32194 return 0;
32196 _ACEOF
32197 if ac_fn_cxx_try_compile "$LINENO"; then :
32198 glibcxx_cv_func__modf_use=yes
32199 else
32200 glibcxx_cv_func__modf_use=no
32202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32203 ac_ext=c
32204 ac_cpp='$CPP $CPPFLAGS'
32205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32214 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32216 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32217 for ac_func in _modf
32218 do :
32219 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32220 if test "x$ac_cv_func__modf" = xyes; then :
32221 cat >>confdefs.h <<_ACEOF
32222 #define HAVE__MODF 1
32223 _ACEOF
32226 done
32235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32236 $as_echo_n "checking for powf declaration... " >&6; }
32237 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32238 if ${glibcxx_cv_func_powf_use+:} false; then :
32239 $as_echo_n "(cached) " >&6
32240 else
32243 ac_ext=cpp
32244 ac_cpp='$CXXCPP $CPPFLAGS'
32245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32250 /* end confdefs.h. */
32251 #include <math.h>
32253 main ()
32255 powf(0, 0);
32257 return 0;
32259 _ACEOF
32260 if ac_fn_cxx_try_compile "$LINENO"; then :
32261 glibcxx_cv_func_powf_use=yes
32262 else
32263 glibcxx_cv_func_powf_use=no
32265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32266 ac_ext=c
32267 ac_cpp='$CPP $CPPFLAGS'
32268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32277 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32279 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32280 for ac_func in powf
32281 do :
32282 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32283 if test "x$ac_cv_func_powf" = xyes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_POWF 1
32286 _ACEOF
32289 done
32291 else
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32294 $as_echo_n "checking for _powf declaration... " >&6; }
32295 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32296 if ${glibcxx_cv_func__powf_use+:} false; then :
32297 $as_echo_n "(cached) " >&6
32298 else
32301 ac_ext=cpp
32302 ac_cpp='$CXXCPP $CPPFLAGS'
32303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32308 /* end confdefs.h. */
32309 #include <math.h>
32311 main ()
32313 _powf(0, 0);
32315 return 0;
32317 _ACEOF
32318 if ac_fn_cxx_try_compile "$LINENO"; then :
32319 glibcxx_cv_func__powf_use=yes
32320 else
32321 glibcxx_cv_func__powf_use=no
32323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32324 ac_ext=c
32325 ac_cpp='$CPP $CPPFLAGS'
32326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32335 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32337 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32338 for ac_func in _powf
32339 do :
32340 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32341 if test "x$ac_cv_func__powf" = xyes; then :
32342 cat >>confdefs.h <<_ACEOF
32343 #define HAVE__POWF 1
32344 _ACEOF
32347 done
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32357 $as_echo_n "checking for sqrtf declaration... " >&6; }
32358 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32359 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32360 $as_echo_n "(cached) " >&6
32361 else
32364 ac_ext=cpp
32365 ac_cpp='$CXXCPP $CPPFLAGS'
32366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32371 /* end confdefs.h. */
32372 #include <math.h>
32373 #ifdef HAVE_IEEEFP_H
32374 #include <ieeefp.h>
32375 #endif
32378 main ()
32380 sqrtf(0);
32382 return 0;
32384 _ACEOF
32385 if ac_fn_cxx_try_compile "$LINENO"; then :
32386 glibcxx_cv_func_sqrtf_use=yes
32387 else
32388 glibcxx_cv_func_sqrtf_use=no
32390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32391 ac_ext=c
32392 ac_cpp='$CPP $CPPFLAGS'
32393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32402 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32404 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32405 for ac_func in sqrtf
32406 do :
32407 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32408 if test "x$ac_cv_func_sqrtf" = xyes; then :
32409 cat >>confdefs.h <<_ACEOF
32410 #define HAVE_SQRTF 1
32411 _ACEOF
32414 done
32416 else
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32419 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32420 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32421 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32422 $as_echo_n "(cached) " >&6
32423 else
32426 ac_ext=cpp
32427 ac_cpp='$CXXCPP $CPPFLAGS'
32428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32433 /* end confdefs.h. */
32434 #include <math.h>
32435 #ifdef HAVE_IEEEFP_H
32436 #include <ieeefp.h>
32437 #endif
32440 main ()
32442 _sqrtf(0);
32444 return 0;
32446 _ACEOF
32447 if ac_fn_cxx_try_compile "$LINENO"; then :
32448 glibcxx_cv_func__sqrtf_use=yes
32449 else
32450 glibcxx_cv_func__sqrtf_use=no
32452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32453 ac_ext=c
32454 ac_cpp='$CPP $CPPFLAGS'
32455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32464 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32466 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32467 for ac_func in _sqrtf
32468 do :
32469 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32470 if test "x$ac_cv_func__sqrtf" = xyes; then :
32471 cat >>confdefs.h <<_ACEOF
32472 #define HAVE__SQRTF 1
32473 _ACEOF
32476 done
32485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32486 $as_echo_n "checking for sincosf declaration... " >&6; }
32487 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32488 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32489 $as_echo_n "(cached) " >&6
32490 else
32493 ac_ext=cpp
32494 ac_cpp='$CXXCPP $CPPFLAGS'
32495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32500 /* end confdefs.h. */
32501 #include <math.h>
32503 main ()
32505 sincosf(0, 0, 0);
32507 return 0;
32509 _ACEOF
32510 if ac_fn_cxx_try_compile "$LINENO"; then :
32511 glibcxx_cv_func_sincosf_use=yes
32512 else
32513 glibcxx_cv_func_sincosf_use=no
32515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32516 ac_ext=c
32517 ac_cpp='$CPP $CPPFLAGS'
32518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32527 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32529 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32530 for ac_func in sincosf
32531 do :
32532 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32533 if test "x$ac_cv_func_sincosf" = xyes; then :
32534 cat >>confdefs.h <<_ACEOF
32535 #define HAVE_SINCOSF 1
32536 _ACEOF
32539 done
32541 else
32543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32544 $as_echo_n "checking for _sincosf declaration... " >&6; }
32545 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32546 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32547 $as_echo_n "(cached) " >&6
32548 else
32551 ac_ext=cpp
32552 ac_cpp='$CXXCPP $CPPFLAGS'
32553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32558 /* end confdefs.h. */
32559 #include <math.h>
32561 main ()
32563 _sincosf(0, 0, 0);
32565 return 0;
32567 _ACEOF
32568 if ac_fn_cxx_try_compile "$LINENO"; then :
32569 glibcxx_cv_func__sincosf_use=yes
32570 else
32571 glibcxx_cv_func__sincosf_use=no
32573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32574 ac_ext=c
32575 ac_cpp='$CPP $CPPFLAGS'
32576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32585 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32587 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32588 for ac_func in _sincosf
32589 do :
32590 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32591 if test "x$ac_cv_func__sincosf" = xyes; then :
32592 cat >>confdefs.h <<_ACEOF
32593 #define HAVE__SINCOSF 1
32594 _ACEOF
32597 done
32606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32607 $as_echo_n "checking for finitef declaration... " >&6; }
32608 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32609 if ${glibcxx_cv_func_finitef_use+:} false; then :
32610 $as_echo_n "(cached) " >&6
32611 else
32614 ac_ext=cpp
32615 ac_cpp='$CXXCPP $CPPFLAGS'
32616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32621 /* end confdefs.h. */
32622 #include <math.h>
32623 #ifdef HAVE_IEEEFP_H
32624 #include <ieeefp.h>
32625 #endif
32628 main ()
32630 finitef(0);
32632 return 0;
32634 _ACEOF
32635 if ac_fn_cxx_try_compile "$LINENO"; then :
32636 glibcxx_cv_func_finitef_use=yes
32637 else
32638 glibcxx_cv_func_finitef_use=no
32640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32641 ac_ext=c
32642 ac_cpp='$CPP $CPPFLAGS'
32643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32652 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32654 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32655 for ac_func in finitef
32656 do :
32657 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32658 if test "x$ac_cv_func_finitef" = xyes; then :
32659 cat >>confdefs.h <<_ACEOF
32660 #define HAVE_FINITEF 1
32661 _ACEOF
32664 done
32666 else
32668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32669 $as_echo_n "checking for _finitef declaration... " >&6; }
32670 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32671 if ${glibcxx_cv_func__finitef_use+:} false; then :
32672 $as_echo_n "(cached) " >&6
32673 else
32676 ac_ext=cpp
32677 ac_cpp='$CXXCPP $CPPFLAGS'
32678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32683 /* end confdefs.h. */
32684 #include <math.h>
32685 #ifdef HAVE_IEEEFP_H
32686 #include <ieeefp.h>
32687 #endif
32690 main ()
32692 _finitef(0);
32694 return 0;
32696 _ACEOF
32697 if ac_fn_cxx_try_compile "$LINENO"; then :
32698 glibcxx_cv_func__finitef_use=yes
32699 else
32700 glibcxx_cv_func__finitef_use=no
32702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32703 ac_ext=c
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32714 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32716 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32717 for ac_func in _finitef
32718 do :
32719 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32720 if test "x$ac_cv_func__finitef" = xyes; then :
32721 cat >>confdefs.h <<_ACEOF
32722 #define HAVE__FINITEF 1
32723 _ACEOF
32726 done
32735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32736 $as_echo_n "checking for long double trig functions... " >&6; }
32737 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32738 $as_echo_n "(cached) " >&6
32739 else
32742 ac_ext=cpp
32743 ac_cpp='$CXXCPP $CPPFLAGS'
32744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32749 /* end confdefs.h. */
32750 #include <math.h>
32752 main ()
32754 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32756 return 0;
32758 _ACEOF
32759 if ac_fn_cxx_try_compile "$LINENO"; then :
32760 glibcxx_cv_func_long_double_trig_use=yes
32761 else
32762 glibcxx_cv_func_long_double_trig_use=no
32764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32765 ac_ext=c
32766 ac_cpp='$CPP $CPPFLAGS'
32767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32774 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32775 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32776 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32777 do :
32778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32781 cat >>confdefs.h <<_ACEOF
32782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32783 _ACEOF
32786 done
32788 else
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32790 $as_echo_n "checking for _long double trig functions... " >&6; }
32791 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32792 $as_echo_n "(cached) " >&6
32793 else
32796 ac_ext=cpp
32797 ac_cpp='$CXXCPP $CPPFLAGS'
32798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32803 /* end confdefs.h. */
32804 #include <math.h>
32806 main ()
32808 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32810 return 0;
32812 _ACEOF
32813 if ac_fn_cxx_try_compile "$LINENO"; then :
32814 glibcxx_cv_func__long_double_trig_use=yes
32815 else
32816 glibcxx_cv_func__long_double_trig_use=no
32818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32819 ac_ext=c
32820 ac_cpp='$CPP $CPPFLAGS'
32821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32828 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32829 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32830 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32831 do :
32832 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32834 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32835 cat >>confdefs.h <<_ACEOF
32836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32837 _ACEOF
32840 done
32849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32850 $as_echo_n "checking for long double round functions... " >&6; }
32851 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32852 $as_echo_n "(cached) " >&6
32853 else
32856 ac_ext=cpp
32857 ac_cpp='$CXXCPP $CPPFLAGS'
32858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32863 /* end confdefs.h. */
32864 #include <math.h>
32866 main ()
32868 ceill (0); floorl (0);
32870 return 0;
32872 _ACEOF
32873 if ac_fn_cxx_try_compile "$LINENO"; then :
32874 glibcxx_cv_func_long_double_round_use=yes
32875 else
32876 glibcxx_cv_func_long_double_round_use=no
32878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32879 ac_ext=c
32880 ac_cpp='$CPP $CPPFLAGS'
32881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32888 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32889 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32890 for ac_func in ceill floorl
32891 do :
32892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32897 _ACEOF
32900 done
32902 else
32903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32904 $as_echo_n "checking for _long double round functions... " >&6; }
32905 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32906 $as_echo_n "(cached) " >&6
32907 else
32910 ac_ext=cpp
32911 ac_cpp='$CXXCPP $CPPFLAGS'
32912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32917 /* end confdefs.h. */
32918 #include <math.h>
32920 main ()
32922 _ceill (0); _floorl (0);
32924 return 0;
32926 _ACEOF
32927 if ac_fn_cxx_try_compile "$LINENO"; then :
32928 glibcxx_cv_func__long_double_round_use=yes
32929 else
32930 glibcxx_cv_func__long_double_round_use=no
32932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32933 ac_ext=c
32934 ac_cpp='$CPP $CPPFLAGS'
32935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32942 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32943 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32944 for ac_func in _ceill _floorl
32945 do :
32946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32948 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32949 cat >>confdefs.h <<_ACEOF
32950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32951 _ACEOF
32954 done
32964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32965 $as_echo_n "checking for isnanl declaration... " >&6; }
32966 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32967 if ${glibcxx_cv_func_isnanl_use+:} false; then :
32968 $as_echo_n "(cached) " >&6
32969 else
32972 ac_ext=cpp
32973 ac_cpp='$CXXCPP $CPPFLAGS'
32974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32979 /* end confdefs.h. */
32980 #include <math.h>
32981 #ifdef HAVE_IEEEFP_H
32982 #include <ieeefp.h>
32983 #endif
32986 main ()
32988 isnanl(0);
32990 return 0;
32992 _ACEOF
32993 if ac_fn_cxx_try_compile "$LINENO"; then :
32994 glibcxx_cv_func_isnanl_use=yes
32995 else
32996 glibcxx_cv_func_isnanl_use=no
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33010 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33012 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33013 for ac_func in isnanl
33014 do :
33015 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33016 if test "x$ac_cv_func_isnanl" = xyes; then :
33017 cat >>confdefs.h <<_ACEOF
33018 #define HAVE_ISNANL 1
33019 _ACEOF
33022 done
33024 else
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33027 $as_echo_n "checking for _isnanl declaration... " >&6; }
33028 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33029 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33030 $as_echo_n "(cached) " >&6
33031 else
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042 #include <math.h>
33043 #ifdef HAVE_IEEEFP_H
33044 #include <ieeefp.h>
33045 #endif
33048 main ()
33050 _isnanl(0);
33052 return 0;
33054 _ACEOF
33055 if ac_fn_cxx_try_compile "$LINENO"; then :
33056 glibcxx_cv_func__isnanl_use=yes
33057 else
33058 glibcxx_cv_func__isnanl_use=no
33060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33061 ac_ext=c
33062 ac_cpp='$CPP $CPPFLAGS'
33063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33072 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33074 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33075 for ac_func in _isnanl
33076 do :
33077 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33078 if test "x$ac_cv_func__isnanl" = xyes; then :
33079 cat >>confdefs.h <<_ACEOF
33080 #define HAVE__ISNANL 1
33081 _ACEOF
33084 done
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33094 $as_echo_n "checking for isinfl declaration... " >&6; }
33095 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33096 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33097 $as_echo_n "(cached) " >&6
33098 else
33101 ac_ext=cpp
33102 ac_cpp='$CXXCPP $CPPFLAGS'
33103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33108 /* end confdefs.h. */
33109 #include <math.h>
33110 #ifdef HAVE_IEEEFP_H
33111 #include <ieeefp.h>
33112 #endif
33115 main ()
33117 isinfl(0);
33119 return 0;
33121 _ACEOF
33122 if ac_fn_cxx_try_compile "$LINENO"; then :
33123 glibcxx_cv_func_isinfl_use=yes
33124 else
33125 glibcxx_cv_func_isinfl_use=no
33127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33128 ac_ext=c
33129 ac_cpp='$CPP $CPPFLAGS'
33130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33139 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33141 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33142 for ac_func in isinfl
33143 do :
33144 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33145 if test "x$ac_cv_func_isinfl" = xyes; then :
33146 cat >>confdefs.h <<_ACEOF
33147 #define HAVE_ISINFL 1
33148 _ACEOF
33151 done
33153 else
33155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33156 $as_echo_n "checking for _isinfl declaration... " >&6; }
33157 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33158 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33159 $as_echo_n "(cached) " >&6
33160 else
33163 ac_ext=cpp
33164 ac_cpp='$CXXCPP $CPPFLAGS'
33165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33170 /* end confdefs.h. */
33171 #include <math.h>
33172 #ifdef HAVE_IEEEFP_H
33173 #include <ieeefp.h>
33174 #endif
33177 main ()
33179 _isinfl(0);
33181 return 0;
33183 _ACEOF
33184 if ac_fn_cxx_try_compile "$LINENO"; then :
33185 glibcxx_cv_func__isinfl_use=yes
33186 else
33187 glibcxx_cv_func__isinfl_use=no
33189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33190 ac_ext=c
33191 ac_cpp='$CPP $CPPFLAGS'
33192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33201 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33203 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33204 for ac_func in _isinfl
33205 do :
33206 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33207 if test "x$ac_cv_func__isinfl" = xyes; then :
33208 cat >>confdefs.h <<_ACEOF
33209 #define HAVE__ISINFL 1
33210 _ACEOF
33213 done
33222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33223 $as_echo_n "checking for atan2l declaration... " >&6; }
33224 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33225 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33226 $as_echo_n "(cached) " >&6
33227 else
33230 ac_ext=cpp
33231 ac_cpp='$CXXCPP $CPPFLAGS'
33232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33237 /* end confdefs.h. */
33238 #include <math.h>
33240 main ()
33242 atan2l(0, 0);
33244 return 0;
33246 _ACEOF
33247 if ac_fn_cxx_try_compile "$LINENO"; then :
33248 glibcxx_cv_func_atan2l_use=yes
33249 else
33250 glibcxx_cv_func_atan2l_use=no
33252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33253 ac_ext=c
33254 ac_cpp='$CPP $CPPFLAGS'
33255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33264 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33266 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33267 for ac_func in atan2l
33268 do :
33269 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33270 if test "x$ac_cv_func_atan2l" = xyes; then :
33271 cat >>confdefs.h <<_ACEOF
33272 #define HAVE_ATAN2L 1
33273 _ACEOF
33276 done
33278 else
33280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33281 $as_echo_n "checking for _atan2l declaration... " >&6; }
33282 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33283 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33284 $as_echo_n "(cached) " >&6
33285 else
33288 ac_ext=cpp
33289 ac_cpp='$CXXCPP $CPPFLAGS'
33290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33295 /* end confdefs.h. */
33296 #include <math.h>
33298 main ()
33300 _atan2l(0, 0);
33302 return 0;
33304 _ACEOF
33305 if ac_fn_cxx_try_compile "$LINENO"; then :
33306 glibcxx_cv_func__atan2l_use=yes
33307 else
33308 glibcxx_cv_func__atan2l_use=no
33310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33311 ac_ext=c
33312 ac_cpp='$CPP $CPPFLAGS'
33313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33322 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33324 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33325 for ac_func in _atan2l
33326 do :
33327 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33328 if test "x$ac_cv_func__atan2l" = xyes; then :
33329 cat >>confdefs.h <<_ACEOF
33330 #define HAVE__ATAN2L 1
33331 _ACEOF
33334 done
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33344 $as_echo_n "checking for expl declaration... " >&6; }
33345 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33346 if ${glibcxx_cv_func_expl_use+:} false; then :
33347 $as_echo_n "(cached) " >&6
33348 else
33351 ac_ext=cpp
33352 ac_cpp='$CXXCPP $CPPFLAGS'
33353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33358 /* end confdefs.h. */
33359 #include <math.h>
33360 #ifdef HAVE_IEEEFP_H
33361 #include <ieeefp.h>
33362 #endif
33365 main ()
33367 expl(0);
33369 return 0;
33371 _ACEOF
33372 if ac_fn_cxx_try_compile "$LINENO"; then :
33373 glibcxx_cv_func_expl_use=yes
33374 else
33375 glibcxx_cv_func_expl_use=no
33377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33378 ac_ext=c
33379 ac_cpp='$CPP $CPPFLAGS'
33380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33389 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33391 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33392 for ac_func in expl
33393 do :
33394 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33395 if test "x$ac_cv_func_expl" = xyes; then :
33396 cat >>confdefs.h <<_ACEOF
33397 #define HAVE_EXPL 1
33398 _ACEOF
33401 done
33403 else
33405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33406 $as_echo_n "checking for _expl declaration... " >&6; }
33407 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33408 if ${glibcxx_cv_func__expl_use+:} false; then :
33409 $as_echo_n "(cached) " >&6
33410 else
33413 ac_ext=cpp
33414 ac_cpp='$CXXCPP $CPPFLAGS'
33415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33420 /* end confdefs.h. */
33421 #include <math.h>
33422 #ifdef HAVE_IEEEFP_H
33423 #include <ieeefp.h>
33424 #endif
33427 main ()
33429 _expl(0);
33431 return 0;
33433 _ACEOF
33434 if ac_fn_cxx_try_compile "$LINENO"; then :
33435 glibcxx_cv_func__expl_use=yes
33436 else
33437 glibcxx_cv_func__expl_use=no
33439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33440 ac_ext=c
33441 ac_cpp='$CPP $CPPFLAGS'
33442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33451 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33453 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33454 for ac_func in _expl
33455 do :
33456 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33457 if test "x$ac_cv_func__expl" = xyes; then :
33458 cat >>confdefs.h <<_ACEOF
33459 #define HAVE__EXPL 1
33460 _ACEOF
33463 done
33472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33473 $as_echo_n "checking for fabsl declaration... " >&6; }
33474 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33475 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33476 $as_echo_n "(cached) " >&6
33477 else
33480 ac_ext=cpp
33481 ac_cpp='$CXXCPP $CPPFLAGS'
33482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33487 /* end confdefs.h. */
33488 #include <math.h>
33489 #ifdef HAVE_IEEEFP_H
33490 #include <ieeefp.h>
33491 #endif
33494 main ()
33496 fabsl(0);
33498 return 0;
33500 _ACEOF
33501 if ac_fn_cxx_try_compile "$LINENO"; then :
33502 glibcxx_cv_func_fabsl_use=yes
33503 else
33504 glibcxx_cv_func_fabsl_use=no
33506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33507 ac_ext=c
33508 ac_cpp='$CPP $CPPFLAGS'
33509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33518 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33520 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33521 for ac_func in fabsl
33522 do :
33523 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33524 if test "x$ac_cv_func_fabsl" = xyes; then :
33525 cat >>confdefs.h <<_ACEOF
33526 #define HAVE_FABSL 1
33527 _ACEOF
33530 done
33532 else
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33535 $as_echo_n "checking for _fabsl declaration... " >&6; }
33536 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33537 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <math.h>
33551 #ifdef HAVE_IEEEFP_H
33552 #include <ieeefp.h>
33553 #endif
33556 main ()
33558 _fabsl(0);
33560 return 0;
33562 _ACEOF
33563 if ac_fn_cxx_try_compile "$LINENO"; then :
33564 glibcxx_cv_func__fabsl_use=yes
33565 else
33566 glibcxx_cv_func__fabsl_use=no
33568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33569 ac_ext=c
33570 ac_cpp='$CPP $CPPFLAGS'
33571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33580 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33582 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33583 for ac_func in _fabsl
33584 do :
33585 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33586 if test "x$ac_cv_func__fabsl" = xyes; then :
33587 cat >>confdefs.h <<_ACEOF
33588 #define HAVE__FABSL 1
33589 _ACEOF
33592 done
33601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33602 $as_echo_n "checking for fmodl declaration... " >&6; }
33603 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33604 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33605 $as_echo_n "(cached) " >&6
33606 else
33609 ac_ext=cpp
33610 ac_cpp='$CXXCPP $CPPFLAGS'
33611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33616 /* end confdefs.h. */
33617 #include <math.h>
33619 main ()
33621 fmodl(0, 0);
33623 return 0;
33625 _ACEOF
33626 if ac_fn_cxx_try_compile "$LINENO"; then :
33627 glibcxx_cv_func_fmodl_use=yes
33628 else
33629 glibcxx_cv_func_fmodl_use=no
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33632 ac_ext=c
33633 ac_cpp='$CPP $CPPFLAGS'
33634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33643 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33645 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33646 for ac_func in fmodl
33647 do :
33648 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33649 if test "x$ac_cv_func_fmodl" = xyes; then :
33650 cat >>confdefs.h <<_ACEOF
33651 #define HAVE_FMODL 1
33652 _ACEOF
33655 done
33657 else
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33660 $as_echo_n "checking for _fmodl declaration... " >&6; }
33661 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33662 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33663 $as_echo_n "(cached) " >&6
33664 else
33667 ac_ext=cpp
33668 ac_cpp='$CXXCPP $CPPFLAGS'
33669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33674 /* end confdefs.h. */
33675 #include <math.h>
33677 main ()
33679 _fmodl(0, 0);
33681 return 0;
33683 _ACEOF
33684 if ac_fn_cxx_try_compile "$LINENO"; then :
33685 glibcxx_cv_func__fmodl_use=yes
33686 else
33687 glibcxx_cv_func__fmodl_use=no
33689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33690 ac_ext=c
33691 ac_cpp='$CPP $CPPFLAGS'
33692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33701 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33703 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33704 for ac_func in _fmodl
33705 do :
33706 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33707 if test "x$ac_cv_func__fmodl" = xyes; then :
33708 cat >>confdefs.h <<_ACEOF
33709 #define HAVE__FMODL 1
33710 _ACEOF
33713 done
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33723 $as_echo_n "checking for frexpl declaration... " >&6; }
33724 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33725 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33726 $as_echo_n "(cached) " >&6
33727 else
33730 ac_ext=cpp
33731 ac_cpp='$CXXCPP $CPPFLAGS'
33732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33737 /* end confdefs.h. */
33738 #include <math.h>
33740 main ()
33742 frexpl(0, 0);
33744 return 0;
33746 _ACEOF
33747 if ac_fn_cxx_try_compile "$LINENO"; then :
33748 glibcxx_cv_func_frexpl_use=yes
33749 else
33750 glibcxx_cv_func_frexpl_use=no
33752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33753 ac_ext=c
33754 ac_cpp='$CPP $CPPFLAGS'
33755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33764 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33766 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33767 for ac_func in frexpl
33768 do :
33769 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33770 if test "x$ac_cv_func_frexpl" = xyes; then :
33771 cat >>confdefs.h <<_ACEOF
33772 #define HAVE_FREXPL 1
33773 _ACEOF
33776 done
33778 else
33780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33781 $as_echo_n "checking for _frexpl declaration... " >&6; }
33782 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33783 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33784 $as_echo_n "(cached) " >&6
33785 else
33788 ac_ext=cpp
33789 ac_cpp='$CXXCPP $CPPFLAGS'
33790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33795 /* end confdefs.h. */
33796 #include <math.h>
33798 main ()
33800 _frexpl(0, 0);
33802 return 0;
33804 _ACEOF
33805 if ac_fn_cxx_try_compile "$LINENO"; then :
33806 glibcxx_cv_func__frexpl_use=yes
33807 else
33808 glibcxx_cv_func__frexpl_use=no
33810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33811 ac_ext=c
33812 ac_cpp='$CPP $CPPFLAGS'
33813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33822 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33824 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33825 for ac_func in _frexpl
33826 do :
33827 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33828 if test "x$ac_cv_func__frexpl" = xyes; then :
33829 cat >>confdefs.h <<_ACEOF
33830 #define HAVE__FREXPL 1
33831 _ACEOF
33834 done
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33844 $as_echo_n "checking for hypotl declaration... " >&6; }
33845 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33846 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33847 $as_echo_n "(cached) " >&6
33848 else
33851 ac_ext=cpp
33852 ac_cpp='$CXXCPP $CPPFLAGS'
33853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33858 /* end confdefs.h. */
33859 #include <math.h>
33861 main ()
33863 hypotl(0, 0);
33865 return 0;
33867 _ACEOF
33868 if ac_fn_cxx_try_compile "$LINENO"; then :
33869 glibcxx_cv_func_hypotl_use=yes
33870 else
33871 glibcxx_cv_func_hypotl_use=no
33873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33874 ac_ext=c
33875 ac_cpp='$CPP $CPPFLAGS'
33876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33885 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33887 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33888 for ac_func in hypotl
33889 do :
33890 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33891 if test "x$ac_cv_func_hypotl" = xyes; then :
33892 cat >>confdefs.h <<_ACEOF
33893 #define HAVE_HYPOTL 1
33894 _ACEOF
33897 done
33899 else
33901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33902 $as_echo_n "checking for _hypotl declaration... " >&6; }
33903 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33904 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33905 $as_echo_n "(cached) " >&6
33906 else
33909 ac_ext=cpp
33910 ac_cpp='$CXXCPP $CPPFLAGS'
33911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33916 /* end confdefs.h. */
33917 #include <math.h>
33919 main ()
33921 _hypotl(0, 0);
33923 return 0;
33925 _ACEOF
33926 if ac_fn_cxx_try_compile "$LINENO"; then :
33927 glibcxx_cv_func__hypotl_use=yes
33928 else
33929 glibcxx_cv_func__hypotl_use=no
33931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33932 ac_ext=c
33933 ac_cpp='$CPP $CPPFLAGS'
33934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33943 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33945 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33946 for ac_func in _hypotl
33947 do :
33948 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33949 if test "x$ac_cv_func__hypotl" = xyes; then :
33950 cat >>confdefs.h <<_ACEOF
33951 #define HAVE__HYPOTL 1
33952 _ACEOF
33955 done
33964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33965 $as_echo_n "checking for ldexpl declaration... " >&6; }
33966 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33967 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33968 $as_echo_n "(cached) " >&6
33969 else
33972 ac_ext=cpp
33973 ac_cpp='$CXXCPP $CPPFLAGS'
33974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33979 /* end confdefs.h. */
33980 #include <math.h>
33982 main ()
33984 ldexpl(0, 0);
33986 return 0;
33988 _ACEOF
33989 if ac_fn_cxx_try_compile "$LINENO"; then :
33990 glibcxx_cv_func_ldexpl_use=yes
33991 else
33992 glibcxx_cv_func_ldexpl_use=no
33994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33995 ac_ext=c
33996 ac_cpp='$CPP $CPPFLAGS'
33997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34006 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34008 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34009 for ac_func in ldexpl
34010 do :
34011 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34012 if test "x$ac_cv_func_ldexpl" = xyes; then :
34013 cat >>confdefs.h <<_ACEOF
34014 #define HAVE_LDEXPL 1
34015 _ACEOF
34018 done
34020 else
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34023 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34024 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34025 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34026 $as_echo_n "(cached) " >&6
34027 else
34030 ac_ext=cpp
34031 ac_cpp='$CXXCPP $CPPFLAGS'
34032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34037 /* end confdefs.h. */
34038 #include <math.h>
34040 main ()
34042 _ldexpl(0, 0);
34044 return 0;
34046 _ACEOF
34047 if ac_fn_cxx_try_compile "$LINENO"; then :
34048 glibcxx_cv_func__ldexpl_use=yes
34049 else
34050 glibcxx_cv_func__ldexpl_use=no
34052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34053 ac_ext=c
34054 ac_cpp='$CPP $CPPFLAGS'
34055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34064 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34066 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34067 for ac_func in _ldexpl
34068 do :
34069 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34070 if test "x$ac_cv_func__ldexpl" = xyes; then :
34071 cat >>confdefs.h <<_ACEOF
34072 #define HAVE__LDEXPL 1
34073 _ACEOF
34076 done
34085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34086 $as_echo_n "checking for logl declaration... " >&6; }
34087 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34088 if ${glibcxx_cv_func_logl_use+:} false; then :
34089 $as_echo_n "(cached) " >&6
34090 else
34093 ac_ext=cpp
34094 ac_cpp='$CXXCPP $CPPFLAGS'
34095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34100 /* end confdefs.h. */
34101 #include <math.h>
34102 #ifdef HAVE_IEEEFP_H
34103 #include <ieeefp.h>
34104 #endif
34107 main ()
34109 logl(0);
34111 return 0;
34113 _ACEOF
34114 if ac_fn_cxx_try_compile "$LINENO"; then :
34115 glibcxx_cv_func_logl_use=yes
34116 else
34117 glibcxx_cv_func_logl_use=no
34119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34120 ac_ext=c
34121 ac_cpp='$CPP $CPPFLAGS'
34122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34131 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34133 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34134 for ac_func in logl
34135 do :
34136 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34137 if test "x$ac_cv_func_logl" = xyes; then :
34138 cat >>confdefs.h <<_ACEOF
34139 #define HAVE_LOGL 1
34140 _ACEOF
34143 done
34145 else
34147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34148 $as_echo_n "checking for _logl declaration... " >&6; }
34149 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34150 if ${glibcxx_cv_func__logl_use+:} false; then :
34151 $as_echo_n "(cached) " >&6
34152 else
34155 ac_ext=cpp
34156 ac_cpp='$CXXCPP $CPPFLAGS'
34157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34162 /* end confdefs.h. */
34163 #include <math.h>
34164 #ifdef HAVE_IEEEFP_H
34165 #include <ieeefp.h>
34166 #endif
34169 main ()
34171 _logl(0);
34173 return 0;
34175 _ACEOF
34176 if ac_fn_cxx_try_compile "$LINENO"; then :
34177 glibcxx_cv_func__logl_use=yes
34178 else
34179 glibcxx_cv_func__logl_use=no
34181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34182 ac_ext=c
34183 ac_cpp='$CPP $CPPFLAGS'
34184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34193 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34195 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34196 for ac_func in _logl
34197 do :
34198 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34199 if test "x$ac_cv_func__logl" = xyes; then :
34200 cat >>confdefs.h <<_ACEOF
34201 #define HAVE__LOGL 1
34202 _ACEOF
34205 done
34214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34215 $as_echo_n "checking for log10l declaration... " >&6; }
34216 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34217 if ${glibcxx_cv_func_log10l_use+:} false; then :
34218 $as_echo_n "(cached) " >&6
34219 else
34222 ac_ext=cpp
34223 ac_cpp='$CXXCPP $CPPFLAGS'
34224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34229 /* end confdefs.h. */
34230 #include <math.h>
34231 #ifdef HAVE_IEEEFP_H
34232 #include <ieeefp.h>
34233 #endif
34236 main ()
34238 log10l(0);
34240 return 0;
34242 _ACEOF
34243 if ac_fn_cxx_try_compile "$LINENO"; then :
34244 glibcxx_cv_func_log10l_use=yes
34245 else
34246 glibcxx_cv_func_log10l_use=no
34248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34249 ac_ext=c
34250 ac_cpp='$CPP $CPPFLAGS'
34251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34260 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34262 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34263 for ac_func in log10l
34264 do :
34265 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34266 if test "x$ac_cv_func_log10l" = xyes; then :
34267 cat >>confdefs.h <<_ACEOF
34268 #define HAVE_LOG10L 1
34269 _ACEOF
34272 done
34274 else
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34277 $as_echo_n "checking for _log10l declaration... " >&6; }
34278 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34279 if ${glibcxx_cv_func__log10l_use+:} false; then :
34280 $as_echo_n "(cached) " >&6
34281 else
34284 ac_ext=cpp
34285 ac_cpp='$CXXCPP $CPPFLAGS'
34286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34291 /* end confdefs.h. */
34292 #include <math.h>
34293 #ifdef HAVE_IEEEFP_H
34294 #include <ieeefp.h>
34295 #endif
34298 main ()
34300 _log10l(0);
34302 return 0;
34304 _ACEOF
34305 if ac_fn_cxx_try_compile "$LINENO"; then :
34306 glibcxx_cv_func__log10l_use=yes
34307 else
34308 glibcxx_cv_func__log10l_use=no
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34322 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34324 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34325 for ac_func in _log10l
34326 do :
34327 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34328 if test "x$ac_cv_func__log10l" = xyes; then :
34329 cat >>confdefs.h <<_ACEOF
34330 #define HAVE__LOG10L 1
34331 _ACEOF
34334 done
34343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34344 $as_echo_n "checking for modfl declaration... " >&6; }
34345 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34346 if ${glibcxx_cv_func_modfl_use+:} false; then :
34347 $as_echo_n "(cached) " >&6
34348 else
34351 ac_ext=cpp
34352 ac_cpp='$CXXCPP $CPPFLAGS'
34353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34358 /* end confdefs.h. */
34359 #include <math.h>
34361 main ()
34363 modfl(0, 0);
34365 return 0;
34367 _ACEOF
34368 if ac_fn_cxx_try_compile "$LINENO"; then :
34369 glibcxx_cv_func_modfl_use=yes
34370 else
34371 glibcxx_cv_func_modfl_use=no
34373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34374 ac_ext=c
34375 ac_cpp='$CPP $CPPFLAGS'
34376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34385 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34387 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34388 for ac_func in modfl
34389 do :
34390 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34391 if test "x$ac_cv_func_modfl" = xyes; then :
34392 cat >>confdefs.h <<_ACEOF
34393 #define HAVE_MODFL 1
34394 _ACEOF
34397 done
34399 else
34401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34402 $as_echo_n "checking for _modfl declaration... " >&6; }
34403 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34404 if ${glibcxx_cv_func__modfl_use+:} false; then :
34405 $as_echo_n "(cached) " >&6
34406 else
34409 ac_ext=cpp
34410 ac_cpp='$CXXCPP $CPPFLAGS'
34411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34416 /* end confdefs.h. */
34417 #include <math.h>
34419 main ()
34421 _modfl(0, 0);
34423 return 0;
34425 _ACEOF
34426 if ac_fn_cxx_try_compile "$LINENO"; then :
34427 glibcxx_cv_func__modfl_use=yes
34428 else
34429 glibcxx_cv_func__modfl_use=no
34431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34432 ac_ext=c
34433 ac_cpp='$CPP $CPPFLAGS'
34434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34443 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34445 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34446 for ac_func in _modfl
34447 do :
34448 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34449 if test "x$ac_cv_func__modfl" = xyes; then :
34450 cat >>confdefs.h <<_ACEOF
34451 #define HAVE__MODFL 1
34452 _ACEOF
34455 done
34464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34465 $as_echo_n "checking for powl declaration... " >&6; }
34466 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34467 if ${glibcxx_cv_func_powl_use+:} false; then :
34468 $as_echo_n "(cached) " >&6
34469 else
34472 ac_ext=cpp
34473 ac_cpp='$CXXCPP $CPPFLAGS'
34474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34479 /* end confdefs.h. */
34480 #include <math.h>
34482 main ()
34484 powl(0, 0);
34486 return 0;
34488 _ACEOF
34489 if ac_fn_cxx_try_compile "$LINENO"; then :
34490 glibcxx_cv_func_powl_use=yes
34491 else
34492 glibcxx_cv_func_powl_use=no
34494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34495 ac_ext=c
34496 ac_cpp='$CPP $CPPFLAGS'
34497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34506 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34508 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34509 for ac_func in powl
34510 do :
34511 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34512 if test "x$ac_cv_func_powl" = xyes; then :
34513 cat >>confdefs.h <<_ACEOF
34514 #define HAVE_POWL 1
34515 _ACEOF
34518 done
34520 else
34522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34523 $as_echo_n "checking for _powl declaration... " >&6; }
34524 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34525 if ${glibcxx_cv_func__powl_use+:} false; then :
34526 $as_echo_n "(cached) " >&6
34527 else
34530 ac_ext=cpp
34531 ac_cpp='$CXXCPP $CPPFLAGS'
34532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34537 /* end confdefs.h. */
34538 #include <math.h>
34540 main ()
34542 _powl(0, 0);
34544 return 0;
34546 _ACEOF
34547 if ac_fn_cxx_try_compile "$LINENO"; then :
34548 glibcxx_cv_func__powl_use=yes
34549 else
34550 glibcxx_cv_func__powl_use=no
34552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34553 ac_ext=c
34554 ac_cpp='$CPP $CPPFLAGS'
34555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34564 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34566 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34567 for ac_func in _powl
34568 do :
34569 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34570 if test "x$ac_cv_func__powl" = xyes; then :
34571 cat >>confdefs.h <<_ACEOF
34572 #define HAVE__POWL 1
34573 _ACEOF
34576 done
34585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34586 $as_echo_n "checking for sqrtl declaration... " >&6; }
34587 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34588 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34589 $as_echo_n "(cached) " >&6
34590 else
34593 ac_ext=cpp
34594 ac_cpp='$CXXCPP $CPPFLAGS'
34595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34600 /* end confdefs.h. */
34601 #include <math.h>
34602 #ifdef HAVE_IEEEFP_H
34603 #include <ieeefp.h>
34604 #endif
34607 main ()
34609 sqrtl(0);
34611 return 0;
34613 _ACEOF
34614 if ac_fn_cxx_try_compile "$LINENO"; then :
34615 glibcxx_cv_func_sqrtl_use=yes
34616 else
34617 glibcxx_cv_func_sqrtl_use=no
34619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34620 ac_ext=c
34621 ac_cpp='$CPP $CPPFLAGS'
34622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34631 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34633 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34634 for ac_func in sqrtl
34635 do :
34636 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34637 if test "x$ac_cv_func_sqrtl" = xyes; then :
34638 cat >>confdefs.h <<_ACEOF
34639 #define HAVE_SQRTL 1
34640 _ACEOF
34643 done
34645 else
34647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34648 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34649 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34650 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34651 $as_echo_n "(cached) " >&6
34652 else
34655 ac_ext=cpp
34656 ac_cpp='$CXXCPP $CPPFLAGS'
34657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34662 /* end confdefs.h. */
34663 #include <math.h>
34664 #ifdef HAVE_IEEEFP_H
34665 #include <ieeefp.h>
34666 #endif
34669 main ()
34671 _sqrtl(0);
34673 return 0;
34675 _ACEOF
34676 if ac_fn_cxx_try_compile "$LINENO"; then :
34677 glibcxx_cv_func__sqrtl_use=yes
34678 else
34679 glibcxx_cv_func__sqrtl_use=no
34681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34682 ac_ext=c
34683 ac_cpp='$CPP $CPPFLAGS'
34684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34693 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34695 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34696 for ac_func in _sqrtl
34697 do :
34698 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34699 if test "x$ac_cv_func__sqrtl" = xyes; then :
34700 cat >>confdefs.h <<_ACEOF
34701 #define HAVE__SQRTL 1
34702 _ACEOF
34705 done
34714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34715 $as_echo_n "checking for sincosl declaration... " >&6; }
34716 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34717 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34718 $as_echo_n "(cached) " >&6
34719 else
34722 ac_ext=cpp
34723 ac_cpp='$CXXCPP $CPPFLAGS'
34724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34729 /* end confdefs.h. */
34730 #include <math.h>
34732 main ()
34734 sincosl(0, 0, 0);
34736 return 0;
34738 _ACEOF
34739 if ac_fn_cxx_try_compile "$LINENO"; then :
34740 glibcxx_cv_func_sincosl_use=yes
34741 else
34742 glibcxx_cv_func_sincosl_use=no
34744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34745 ac_ext=c
34746 ac_cpp='$CPP $CPPFLAGS'
34747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34756 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34758 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34759 for ac_func in sincosl
34760 do :
34761 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34762 if test "x$ac_cv_func_sincosl" = xyes; then :
34763 cat >>confdefs.h <<_ACEOF
34764 #define HAVE_SINCOSL 1
34765 _ACEOF
34768 done
34770 else
34772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34773 $as_echo_n "checking for _sincosl declaration... " >&6; }
34774 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34775 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34776 $as_echo_n "(cached) " >&6
34777 else
34780 ac_ext=cpp
34781 ac_cpp='$CXXCPP $CPPFLAGS'
34782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34787 /* end confdefs.h. */
34788 #include <math.h>
34790 main ()
34792 _sincosl(0, 0, 0);
34794 return 0;
34796 _ACEOF
34797 if ac_fn_cxx_try_compile "$LINENO"; then :
34798 glibcxx_cv_func__sincosl_use=yes
34799 else
34800 glibcxx_cv_func__sincosl_use=no
34802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34803 ac_ext=c
34804 ac_cpp='$CPP $CPPFLAGS'
34805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34814 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34816 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34817 for ac_func in _sincosl
34818 do :
34819 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34820 if test "x$ac_cv_func__sincosl" = xyes; then :
34821 cat >>confdefs.h <<_ACEOF
34822 #define HAVE__SINCOSL 1
34823 _ACEOF
34826 done
34835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34836 $as_echo_n "checking for finitel declaration... " >&6; }
34837 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34838 if ${glibcxx_cv_func_finitel_use+:} false; then :
34839 $as_echo_n "(cached) " >&6
34840 else
34843 ac_ext=cpp
34844 ac_cpp='$CXXCPP $CPPFLAGS'
34845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34850 /* end confdefs.h. */
34851 #include <math.h>
34852 #ifdef HAVE_IEEEFP_H
34853 #include <ieeefp.h>
34854 #endif
34857 main ()
34859 finitel(0);
34861 return 0;
34863 _ACEOF
34864 if ac_fn_cxx_try_compile "$LINENO"; then :
34865 glibcxx_cv_func_finitel_use=yes
34866 else
34867 glibcxx_cv_func_finitel_use=no
34869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34870 ac_ext=c
34871 ac_cpp='$CPP $CPPFLAGS'
34872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34881 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34883 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34884 for ac_func in finitel
34885 do :
34886 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34887 if test "x$ac_cv_func_finitel" = xyes; then :
34888 cat >>confdefs.h <<_ACEOF
34889 #define HAVE_FINITEL 1
34890 _ACEOF
34893 done
34895 else
34897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34898 $as_echo_n "checking for _finitel declaration... " >&6; }
34899 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34900 if ${glibcxx_cv_func__finitel_use+:} false; then :
34901 $as_echo_n "(cached) " >&6
34902 else
34905 ac_ext=cpp
34906 ac_cpp='$CXXCPP $CPPFLAGS'
34907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34912 /* end confdefs.h. */
34913 #include <math.h>
34914 #ifdef HAVE_IEEEFP_H
34915 #include <ieeefp.h>
34916 #endif
34919 main ()
34921 _finitel(0);
34923 return 0;
34925 _ACEOF
34926 if ac_fn_cxx_try_compile "$LINENO"; then :
34927 glibcxx_cv_func__finitel_use=yes
34928 else
34929 glibcxx_cv_func__finitel_use=no
34931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34932 ac_ext=c
34933 ac_cpp='$CPP $CPPFLAGS'
34934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34943 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34945 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34946 for ac_func in _finitel
34947 do :
34948 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34949 if test "x$ac_cv_func__finitel" = xyes; then :
34950 cat >>confdefs.h <<_ACEOF
34951 #define HAVE__FINITEL 1
34952 _ACEOF
34955 done
34963 LIBS="$ac_save_LIBS"
34964 CXXFLAGS="$ac_save_CXXFLAGS"
34967 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34968 ac_save_CXXFLAGS="$CXXFLAGS"
34969 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34973 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34974 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34975 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
34976 $as_echo_n "(cached) " >&6
34977 else
34980 ac_ext=cpp
34981 ac_cpp='$CXXCPP $CPPFLAGS'
34982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34987 /* end confdefs.h. */
34988 #include <stdlib.h>
34990 main ()
34992 at_quick_exit(0);
34994 return 0;
34996 _ACEOF
34997 if ac_fn_cxx_try_compile "$LINENO"; then :
34998 glibcxx_cv_func_at_quick_exit_use=yes
34999 else
35000 glibcxx_cv_func_at_quick_exit_use=no
35002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35003 ac_ext=c
35004 ac_cpp='$CPP $CPPFLAGS'
35005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35014 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35015 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35016 for ac_func in at_quick_exit
35017 do :
35018 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35019 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35020 cat >>confdefs.h <<_ACEOF
35021 #define HAVE_AT_QUICK_EXIT 1
35022 _ACEOF
35025 done
35030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35031 $as_echo_n "checking for quick_exit declaration... " >&6; }
35032 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35033 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35034 $as_echo_n "(cached) " >&6
35035 else
35038 ac_ext=cpp
35039 ac_cpp='$CXXCPP $CPPFLAGS'
35040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35045 /* end confdefs.h. */
35046 #include <stdlib.h>
35048 main ()
35050 quick_exit(0);
35052 return 0;
35054 _ACEOF
35055 if ac_fn_cxx_try_compile "$LINENO"; then :
35056 glibcxx_cv_func_quick_exit_use=yes
35057 else
35058 glibcxx_cv_func_quick_exit_use=no
35060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35061 ac_ext=c
35062 ac_cpp='$CPP $CPPFLAGS'
35063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35072 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35073 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35074 for ac_func in quick_exit
35075 do :
35076 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35077 if test "x$ac_cv_func_quick_exit" = xyes; then :
35078 cat >>confdefs.h <<_ACEOF
35079 #define HAVE_QUICK_EXIT 1
35080 _ACEOF
35083 done
35088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35089 $as_echo_n "checking for strtold declaration... " >&6; }
35090 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35091 if ${glibcxx_cv_func_strtold_use+:} false; then :
35092 $as_echo_n "(cached) " >&6
35093 else
35096 ac_ext=cpp
35097 ac_cpp='$CXXCPP $CPPFLAGS'
35098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35103 /* end confdefs.h. */
35104 #include <stdlib.h>
35106 main ()
35108 strtold(0, 0);
35110 return 0;
35112 _ACEOF
35113 if ac_fn_cxx_try_compile "$LINENO"; then :
35114 glibcxx_cv_func_strtold_use=yes
35115 else
35116 glibcxx_cv_func_strtold_use=no
35118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35119 ac_ext=c
35120 ac_cpp='$CPP $CPPFLAGS'
35121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35130 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35131 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35132 for ac_func in strtold
35133 do :
35134 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35135 if test "x$ac_cv_func_strtold" = xyes; then :
35136 cat >>confdefs.h <<_ACEOF
35137 #define HAVE_STRTOLD 1
35138 _ACEOF
35141 done
35148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35149 $as_echo_n "checking for strtof declaration... " >&6; }
35150 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35151 if ${glibcxx_cv_func_strtof_use+:} false; then :
35152 $as_echo_n "(cached) " >&6
35153 else
35156 ac_ext=cpp
35157 ac_cpp='$CXXCPP $CPPFLAGS'
35158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35163 /* end confdefs.h. */
35164 #include <stdlib.h>
35166 main ()
35168 strtof(0, 0);
35170 return 0;
35172 _ACEOF
35173 if ac_fn_cxx_try_compile "$LINENO"; then :
35174 glibcxx_cv_func_strtof_use=yes
35175 else
35176 glibcxx_cv_func_strtof_use=no
35178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35179 ac_ext=c
35180 ac_cpp='$CPP $CPPFLAGS'
35181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35190 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35191 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35192 for ac_func in strtof
35193 do :
35194 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35195 if test "x$ac_cv_func_strtof" = xyes; then :
35196 cat >>confdefs.h <<_ACEOF
35197 #define HAVE_STRTOF 1
35198 _ACEOF
35201 done
35208 CXXFLAGS="$ac_save_CXXFLAGS"
35211 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35213 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35215 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35217 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35220 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35222 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35224 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35228 *-aix*)
35230 # If we're not using GNU ld, then there's no point in even trying these
35231 # tests. Check for that first. We should have already tested for gld
35232 # by now (in libtool), but require it now just to be safe...
35233 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35234 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35238 # The name set by libtool depends on the version of libtool. Shame on us
35239 # for depending on an impl detail, but c'est la vie. Older versions used
35240 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35241 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35242 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35243 # set (hence we're using an older libtool), then set it.
35244 if test x${with_gnu_ld+set} != xset; then
35245 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35246 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35247 with_gnu_ld=no
35248 else
35249 with_gnu_ld=$ac_cv_prog_gnu_ld
35253 # Start by getting the version number. I think the libtool test already
35254 # does some of this, but throws away the result.
35255 glibcxx_ld_is_gold=no
35256 if test x"$with_gnu_ld" = x"yes"; then
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35258 $as_echo_n "checking for ld version... " >&6; }
35260 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35261 glibcxx_ld_is_gold=yes
35263 ldver=`$LD --version 2>/dev/null |
35264 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35266 glibcxx_gnu_ld_version=`echo $ldver | \
35267 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35269 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35272 # Set --gc-sections.
35273 glibcxx_have_gc_sections=no
35274 if test "$glibcxx_ld_is_gold" = "yes"; then
35275 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35276 glibcxx_have_gc_sections=yes
35278 else
35279 glibcxx_gcsections_min_ld=21602
35280 if test x"$with_gnu_ld" = x"yes" &&
35281 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35282 glibcxx_have_gc_sections=yes
35285 if test "$glibcxx_have_gc_sections" = "yes"; then
35286 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35287 # NB: This flag only works reliably after 2.16.1. Configure tests
35288 # for this are difficult, so hard wire a value that should work.
35290 ac_test_CFLAGS="${CFLAGS+set}"
35291 ac_save_CFLAGS="$CFLAGS"
35292 CFLAGS='-Wl,--gc-sections'
35294 # Check for -Wl,--gc-sections
35295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35296 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35297 if test x$gcc_no_link = xyes; then
35298 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35301 /* end confdefs.h. */
35302 int one(void) { return 1; }
35303 int two(void) { return 2; }
35306 main ()
35308 two();
35310 return 0;
35312 _ACEOF
35313 if ac_fn_c_try_link "$LINENO"; then :
35314 ac_gcsections=yes
35315 else
35316 ac_gcsections=no
35318 rm -f core conftest.err conftest.$ac_objext \
35319 conftest$ac_exeext conftest.$ac_ext
35320 if test "$ac_gcsections" = "yes"; then
35321 rm -f conftest.c
35322 touch conftest.c
35323 if $CC -c conftest.c; then
35324 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35325 grep "Warning: gc-sections option ignored" > /dev/null; then
35326 ac_gcsections=no
35329 rm -f conftest.c conftest.o conftest
35331 if test "$ac_gcsections" = "yes"; then
35332 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35335 $as_echo "$ac_gcsections" >&6; }
35337 if test "$ac_test_CFLAGS" = set; then
35338 CFLAGS="$ac_save_CFLAGS"
35339 else
35340 # this is the suspicious part
35341 CFLAGS=''
35345 # Set -z,relro.
35346 # Note this is only for shared objects.
35347 ac_ld_relro=no
35348 if test x"$with_gnu_ld" = x"yes"; then
35349 # cygwin and mingw uses PE, which has no ELF relro support,
35350 # multi target ld may confuse configure machinery
35351 case "$host" in
35352 *-*-cygwin*)
35354 *-*-mingw*)
35357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35358 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35359 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35360 if test -n "$cxx_z_relo"; then
35361 OPT_LDFLAGS="-Wl,-z,relro"
35362 ac_ld_relro=yes
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35365 $as_echo "$ac_ld_relro" >&6; }
35366 esac
35369 # Set linker optimization flags.
35370 if test x"$with_gnu_ld" = x"yes"; then
35371 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35379 ac_save_CXXFLAGS="$CXXFLAGS"
35380 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35383 $as_echo_n "checking for sin in -lm... " >&6; }
35384 if ${ac_cv_lib_m_sin+:} false; then :
35385 $as_echo_n "(cached) " >&6
35386 else
35387 ac_check_lib_save_LIBS=$LIBS
35388 LIBS="-lm $LIBS"
35389 if test x$gcc_no_link = xyes; then
35390 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35393 /* end confdefs.h. */
35395 /* Override any GCC internal prototype to avoid an error.
35396 Use char because int might match the return type of a GCC
35397 builtin and then its argument prototype would still apply. */
35398 #ifdef __cplusplus
35399 extern "C"
35400 #endif
35401 char sin ();
35403 main ()
35405 return sin ();
35407 return 0;
35409 _ACEOF
35410 if ac_fn_c_try_link "$LINENO"; then :
35411 ac_cv_lib_m_sin=yes
35412 else
35413 ac_cv_lib_m_sin=no
35415 rm -f core conftest.err conftest.$ac_objext \
35416 conftest$ac_exeext conftest.$ac_ext
35417 LIBS=$ac_check_lib_save_LIBS
35419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35420 $as_echo "$ac_cv_lib_m_sin" >&6; }
35421 if test "x$ac_cv_lib_m_sin" = xyes; then :
35422 libm="-lm"
35425 ac_save_LIBS="$LIBS"
35426 LIBS="$LIBS $libm"
35430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35431 $as_echo_n "checking for isinf declaration... " >&6; }
35432 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35433 if ${glibcxx_cv_func_isinf_use+:} false; then :
35434 $as_echo_n "(cached) " >&6
35435 else
35438 ac_ext=cpp
35439 ac_cpp='$CXXCPP $CPPFLAGS'
35440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35445 /* end confdefs.h. */
35446 #include <math.h>
35447 #ifdef HAVE_IEEEFP_H
35448 #include <ieeefp.h>
35449 #endif
35452 main ()
35454 isinf(0);
35456 return 0;
35458 _ACEOF
35459 if ac_fn_cxx_try_compile "$LINENO"; then :
35460 glibcxx_cv_func_isinf_use=yes
35461 else
35462 glibcxx_cv_func_isinf_use=no
35464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35465 ac_ext=c
35466 ac_cpp='$CPP $CPPFLAGS'
35467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35476 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35478 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35479 for ac_func in isinf
35480 do :
35481 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35482 if test "x$ac_cv_func_isinf" = xyes; then :
35483 cat >>confdefs.h <<_ACEOF
35484 #define HAVE_ISINF 1
35485 _ACEOF
35488 done
35490 else
35492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35493 $as_echo_n "checking for _isinf declaration... " >&6; }
35494 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35495 if ${glibcxx_cv_func__isinf_use+:} false; then :
35496 $as_echo_n "(cached) " >&6
35497 else
35500 ac_ext=cpp
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35507 /* end confdefs.h. */
35508 #include <math.h>
35509 #ifdef HAVE_IEEEFP_H
35510 #include <ieeefp.h>
35511 #endif
35514 main ()
35516 _isinf(0);
35518 return 0;
35520 _ACEOF
35521 if ac_fn_cxx_try_compile "$LINENO"; then :
35522 glibcxx_cv_func__isinf_use=yes
35523 else
35524 glibcxx_cv_func__isinf_use=no
35526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35527 ac_ext=c
35528 ac_cpp='$CPP $CPPFLAGS'
35529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35538 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35540 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35541 for ac_func in _isinf
35542 do :
35543 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35544 if test "x$ac_cv_func__isinf" = xyes; then :
35545 cat >>confdefs.h <<_ACEOF
35546 #define HAVE__ISINF 1
35547 _ACEOF
35550 done
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35560 $as_echo_n "checking for isnan declaration... " >&6; }
35561 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35562 if ${glibcxx_cv_func_isnan_use+:} false; then :
35563 $as_echo_n "(cached) " >&6
35564 else
35567 ac_ext=cpp
35568 ac_cpp='$CXXCPP $CPPFLAGS'
35569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35574 /* end confdefs.h. */
35575 #include <math.h>
35576 #ifdef HAVE_IEEEFP_H
35577 #include <ieeefp.h>
35578 #endif
35581 main ()
35583 isnan(0);
35585 return 0;
35587 _ACEOF
35588 if ac_fn_cxx_try_compile "$LINENO"; then :
35589 glibcxx_cv_func_isnan_use=yes
35590 else
35591 glibcxx_cv_func_isnan_use=no
35593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35594 ac_ext=c
35595 ac_cpp='$CPP $CPPFLAGS'
35596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35605 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35607 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35608 for ac_func in isnan
35609 do :
35610 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35611 if test "x$ac_cv_func_isnan" = xyes; then :
35612 cat >>confdefs.h <<_ACEOF
35613 #define HAVE_ISNAN 1
35614 _ACEOF
35617 done
35619 else
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35622 $as_echo_n "checking for _isnan declaration... " >&6; }
35623 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35624 if ${glibcxx_cv_func__isnan_use+:} false; then :
35625 $as_echo_n "(cached) " >&6
35626 else
35629 ac_ext=cpp
35630 ac_cpp='$CXXCPP $CPPFLAGS'
35631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636 /* end confdefs.h. */
35637 #include <math.h>
35638 #ifdef HAVE_IEEEFP_H
35639 #include <ieeefp.h>
35640 #endif
35643 main ()
35645 _isnan(0);
35647 return 0;
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func__isnan_use=yes
35652 else
35653 glibcxx_cv_func__isnan_use=no
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656 ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35667 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35669 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35670 for ac_func in _isnan
35671 do :
35672 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35673 if test "x$ac_cv_func__isnan" = xyes; then :
35674 cat >>confdefs.h <<_ACEOF
35675 #define HAVE__ISNAN 1
35676 _ACEOF
35679 done
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35689 $as_echo_n "checking for finite declaration... " >&6; }
35690 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35691 if ${glibcxx_cv_func_finite_use+:} false; then :
35692 $as_echo_n "(cached) " >&6
35693 else
35696 ac_ext=cpp
35697 ac_cpp='$CXXCPP $CPPFLAGS'
35698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35703 /* end confdefs.h. */
35704 #include <math.h>
35705 #ifdef HAVE_IEEEFP_H
35706 #include <ieeefp.h>
35707 #endif
35710 main ()
35712 finite(0);
35714 return 0;
35716 _ACEOF
35717 if ac_fn_cxx_try_compile "$LINENO"; then :
35718 glibcxx_cv_func_finite_use=yes
35719 else
35720 glibcxx_cv_func_finite_use=no
35722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35723 ac_ext=c
35724 ac_cpp='$CPP $CPPFLAGS'
35725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35734 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35736 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35737 for ac_func in finite
35738 do :
35739 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35740 if test "x$ac_cv_func_finite" = xyes; then :
35741 cat >>confdefs.h <<_ACEOF
35742 #define HAVE_FINITE 1
35743 _ACEOF
35746 done
35748 else
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35751 $as_echo_n "checking for _finite declaration... " >&6; }
35752 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35753 if ${glibcxx_cv_func__finite_use+:} false; then :
35754 $as_echo_n "(cached) " >&6
35755 else
35758 ac_ext=cpp
35759 ac_cpp='$CXXCPP $CPPFLAGS'
35760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35765 /* end confdefs.h. */
35766 #include <math.h>
35767 #ifdef HAVE_IEEEFP_H
35768 #include <ieeefp.h>
35769 #endif
35772 main ()
35774 _finite(0);
35776 return 0;
35778 _ACEOF
35779 if ac_fn_cxx_try_compile "$LINENO"; then :
35780 glibcxx_cv_func__finite_use=yes
35781 else
35782 glibcxx_cv_func__finite_use=no
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35785 ac_ext=c
35786 ac_cpp='$CPP $CPPFLAGS'
35787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35796 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35798 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35799 for ac_func in _finite
35800 do :
35801 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35802 if test "x$ac_cv_func__finite" = xyes; then :
35803 cat >>confdefs.h <<_ACEOF
35804 #define HAVE__FINITE 1
35805 _ACEOF
35808 done
35817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35818 $as_echo_n "checking for sincos declaration... " >&6; }
35819 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35820 if ${glibcxx_cv_func_sincos_use+:} false; then :
35821 $as_echo_n "(cached) " >&6
35822 else
35825 ac_ext=cpp
35826 ac_cpp='$CXXCPP $CPPFLAGS'
35827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35832 /* end confdefs.h. */
35833 #include <math.h>
35835 main ()
35837 sincos(0, 0, 0);
35839 return 0;
35841 _ACEOF
35842 if ac_fn_cxx_try_compile "$LINENO"; then :
35843 glibcxx_cv_func_sincos_use=yes
35844 else
35845 glibcxx_cv_func_sincos_use=no
35847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35848 ac_ext=c
35849 ac_cpp='$CPP $CPPFLAGS'
35850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35859 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35861 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35862 for ac_func in sincos
35863 do :
35864 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35865 if test "x$ac_cv_func_sincos" = xyes; then :
35866 cat >>confdefs.h <<_ACEOF
35867 #define HAVE_SINCOS 1
35868 _ACEOF
35871 done
35873 else
35875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35876 $as_echo_n "checking for _sincos declaration... " >&6; }
35877 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35878 if ${glibcxx_cv_func__sincos_use+:} false; then :
35879 $as_echo_n "(cached) " >&6
35880 else
35883 ac_ext=cpp
35884 ac_cpp='$CXXCPP $CPPFLAGS'
35885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35890 /* end confdefs.h. */
35891 #include <math.h>
35893 main ()
35895 _sincos(0, 0, 0);
35897 return 0;
35899 _ACEOF
35900 if ac_fn_cxx_try_compile "$LINENO"; then :
35901 glibcxx_cv_func__sincos_use=yes
35902 else
35903 glibcxx_cv_func__sincos_use=no
35905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35906 ac_ext=c
35907 ac_cpp='$CPP $CPPFLAGS'
35908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35917 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35919 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35920 for ac_func in _sincos
35921 do :
35922 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35923 if test "x$ac_cv_func__sincos" = xyes; then :
35924 cat >>confdefs.h <<_ACEOF
35925 #define HAVE__SINCOS 1
35926 _ACEOF
35929 done
35938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35939 $as_echo_n "checking for fpclass declaration... " >&6; }
35940 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35941 if ${glibcxx_cv_func_fpclass_use+:} false; then :
35942 $as_echo_n "(cached) " >&6
35943 else
35946 ac_ext=cpp
35947 ac_cpp='$CXXCPP $CPPFLAGS'
35948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35953 /* end confdefs.h. */
35954 #include <math.h>
35955 #ifdef HAVE_IEEEFP_H
35956 #include <ieeefp.h>
35957 #endif
35960 main ()
35962 fpclass(0);
35964 return 0;
35966 _ACEOF
35967 if ac_fn_cxx_try_compile "$LINENO"; then :
35968 glibcxx_cv_func_fpclass_use=yes
35969 else
35970 glibcxx_cv_func_fpclass_use=no
35972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35973 ac_ext=c
35974 ac_cpp='$CPP $CPPFLAGS'
35975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35984 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35986 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35987 for ac_func in fpclass
35988 do :
35989 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35990 if test "x$ac_cv_func_fpclass" = xyes; then :
35991 cat >>confdefs.h <<_ACEOF
35992 #define HAVE_FPCLASS 1
35993 _ACEOF
35996 done
35998 else
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36001 $as_echo_n "checking for _fpclass declaration... " >&6; }
36002 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36003 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36004 $as_echo_n "(cached) " >&6
36005 else
36008 ac_ext=cpp
36009 ac_cpp='$CXXCPP $CPPFLAGS'
36010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36015 /* end confdefs.h. */
36016 #include <math.h>
36017 #ifdef HAVE_IEEEFP_H
36018 #include <ieeefp.h>
36019 #endif
36022 main ()
36024 _fpclass(0);
36026 return 0;
36028 _ACEOF
36029 if ac_fn_cxx_try_compile "$LINENO"; then :
36030 glibcxx_cv_func__fpclass_use=yes
36031 else
36032 glibcxx_cv_func__fpclass_use=no
36034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36035 ac_ext=c
36036 ac_cpp='$CPP $CPPFLAGS'
36037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36046 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36048 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36049 for ac_func in _fpclass
36050 do :
36051 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36052 if test "x$ac_cv_func__fpclass" = xyes; then :
36053 cat >>confdefs.h <<_ACEOF
36054 #define HAVE__FPCLASS 1
36055 _ACEOF
36058 done
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36068 $as_echo_n "checking for qfpclass declaration... " >&6; }
36069 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36070 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36071 $as_echo_n "(cached) " >&6
36072 else
36075 ac_ext=cpp
36076 ac_cpp='$CXXCPP $CPPFLAGS'
36077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36082 /* end confdefs.h. */
36083 #include <math.h>
36084 #ifdef HAVE_IEEEFP_H
36085 #include <ieeefp.h>
36086 #endif
36089 main ()
36091 qfpclass(0);
36093 return 0;
36095 _ACEOF
36096 if ac_fn_cxx_try_compile "$LINENO"; then :
36097 glibcxx_cv_func_qfpclass_use=yes
36098 else
36099 glibcxx_cv_func_qfpclass_use=no
36101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36102 ac_ext=c
36103 ac_cpp='$CPP $CPPFLAGS'
36104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36113 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36115 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36116 for ac_func in qfpclass
36117 do :
36118 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36119 if test "x$ac_cv_func_qfpclass" = xyes; then :
36120 cat >>confdefs.h <<_ACEOF
36121 #define HAVE_QFPCLASS 1
36122 _ACEOF
36125 done
36127 else
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36130 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36131 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36132 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36133 $as_echo_n "(cached) " >&6
36134 else
36137 ac_ext=cpp
36138 ac_cpp='$CXXCPP $CPPFLAGS'
36139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36144 /* end confdefs.h. */
36145 #include <math.h>
36146 #ifdef HAVE_IEEEFP_H
36147 #include <ieeefp.h>
36148 #endif
36151 main ()
36153 _qfpclass(0);
36155 return 0;
36157 _ACEOF
36158 if ac_fn_cxx_try_compile "$LINENO"; then :
36159 glibcxx_cv_func__qfpclass_use=yes
36160 else
36161 glibcxx_cv_func__qfpclass_use=no
36163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36164 ac_ext=c
36165 ac_cpp='$CPP $CPPFLAGS'
36166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36175 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36177 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36178 for ac_func in _qfpclass
36179 do :
36180 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36181 if test "x$ac_cv_func__qfpclass" = xyes; then :
36182 cat >>confdefs.h <<_ACEOF
36183 #define HAVE__QFPCLASS 1
36184 _ACEOF
36187 done
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36197 $as_echo_n "checking for hypot declaration... " >&6; }
36198 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36199 if ${glibcxx_cv_func_hypot_use+:} false; then :
36200 $as_echo_n "(cached) " >&6
36201 else
36204 ac_ext=cpp
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36211 /* end confdefs.h. */
36212 #include <math.h>
36214 main ()
36216 hypot(0, 0);
36218 return 0;
36220 _ACEOF
36221 if ac_fn_cxx_try_compile "$LINENO"; then :
36222 glibcxx_cv_func_hypot_use=yes
36223 else
36224 glibcxx_cv_func_hypot_use=no
36226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36227 ac_ext=c
36228 ac_cpp='$CPP $CPPFLAGS'
36229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36238 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36240 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36241 for ac_func in hypot
36242 do :
36243 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36244 if test "x$ac_cv_func_hypot" = xyes; then :
36245 cat >>confdefs.h <<_ACEOF
36246 #define HAVE_HYPOT 1
36247 _ACEOF
36250 done
36252 else
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36255 $as_echo_n "checking for _hypot declaration... " >&6; }
36256 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36257 if ${glibcxx_cv_func__hypot_use+:} false; then :
36258 $as_echo_n "(cached) " >&6
36259 else
36262 ac_ext=cpp
36263 ac_cpp='$CXXCPP $CPPFLAGS'
36264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36269 /* end confdefs.h. */
36270 #include <math.h>
36272 main ()
36274 _hypot(0, 0);
36276 return 0;
36278 _ACEOF
36279 if ac_fn_cxx_try_compile "$LINENO"; then :
36280 glibcxx_cv_func__hypot_use=yes
36281 else
36282 glibcxx_cv_func__hypot_use=no
36284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36285 ac_ext=c
36286 ac_cpp='$CPP $CPPFLAGS'
36287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36296 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36298 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36299 for ac_func in _hypot
36300 do :
36301 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36302 if test "x$ac_cv_func__hypot" = xyes; then :
36303 cat >>confdefs.h <<_ACEOF
36304 #define HAVE__HYPOT 1
36305 _ACEOF
36308 done
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36318 $as_echo_n "checking for float trig functions... " >&6; }
36319 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36320 $as_echo_n "(cached) " >&6
36321 else
36324 ac_ext=cpp
36325 ac_cpp='$CXXCPP $CPPFLAGS'
36326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36331 /* end confdefs.h. */
36332 #include <math.h>
36334 main ()
36336 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36338 return 0;
36340 _ACEOF
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342 glibcxx_cv_func_float_trig_use=yes
36343 else
36344 glibcxx_cv_func_float_trig_use=no
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36347 ac_ext=c
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36356 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36357 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36358 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36359 do :
36360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36362 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36363 cat >>confdefs.h <<_ACEOF
36364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36365 _ACEOF
36368 done
36370 else
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36372 $as_echo_n "checking for _float trig functions... " >&6; }
36373 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36374 $as_echo_n "(cached) " >&6
36375 else
36378 ac_ext=cpp
36379 ac_cpp='$CXXCPP $CPPFLAGS'
36380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36385 /* end confdefs.h. */
36386 #include <math.h>
36388 main ()
36390 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36392 return 0;
36394 _ACEOF
36395 if ac_fn_cxx_try_compile "$LINENO"; then :
36396 glibcxx_cv_func__float_trig_use=yes
36397 else
36398 glibcxx_cv_func__float_trig_use=no
36400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36401 ac_ext=c
36402 ac_cpp='$CPP $CPPFLAGS'
36403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36410 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36411 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36412 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36413 do :
36414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36416 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36417 cat >>confdefs.h <<_ACEOF
36418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36419 _ACEOF
36422 done
36431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36432 $as_echo_n "checking for float round functions... " >&6; }
36433 if ${glibcxx_cv_func_float_round_use+:} false; then :
36434 $as_echo_n "(cached) " >&6
36435 else
36438 ac_ext=cpp
36439 ac_cpp='$CXXCPP $CPPFLAGS'
36440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36445 /* end confdefs.h. */
36446 #include <math.h>
36448 main ()
36450 ceilf (0); floorf (0);
36452 return 0;
36454 _ACEOF
36455 if ac_fn_cxx_try_compile "$LINENO"; then :
36456 glibcxx_cv_func_float_round_use=yes
36457 else
36458 glibcxx_cv_func_float_round_use=no
36460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36461 ac_ext=c
36462 ac_cpp='$CPP $CPPFLAGS'
36463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36470 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36471 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36472 for ac_func in ceilf floorf
36473 do :
36474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36476 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36477 cat >>confdefs.h <<_ACEOF
36478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36479 _ACEOF
36482 done
36484 else
36485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36486 $as_echo_n "checking for _float round functions... " >&6; }
36487 if ${glibcxx_cv_func__float_round_use+:} false; then :
36488 $as_echo_n "(cached) " >&6
36489 else
36492 ac_ext=cpp
36493 ac_cpp='$CXXCPP $CPPFLAGS'
36494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36499 /* end confdefs.h. */
36500 #include <math.h>
36502 main ()
36504 _ceilf (0); _floorf (0);
36506 return 0;
36508 _ACEOF
36509 if ac_fn_cxx_try_compile "$LINENO"; then :
36510 glibcxx_cv_func__float_round_use=yes
36511 else
36512 glibcxx_cv_func__float_round_use=no
36514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36515 ac_ext=c
36516 ac_cpp='$CPP $CPPFLAGS'
36517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36524 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36525 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36526 for ac_func in _ceilf _floorf
36527 do :
36528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36530 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36531 cat >>confdefs.h <<_ACEOF
36532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36533 _ACEOF
36536 done
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36547 $as_echo_n "checking for expf declaration... " >&6; }
36548 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36549 if ${glibcxx_cv_func_expf_use+:} false; then :
36550 $as_echo_n "(cached) " >&6
36551 else
36554 ac_ext=cpp
36555 ac_cpp='$CXXCPP $CPPFLAGS'
36556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36561 /* end confdefs.h. */
36562 #include <math.h>
36563 #ifdef HAVE_IEEEFP_H
36564 #include <ieeefp.h>
36565 #endif
36568 main ()
36570 expf(0);
36572 return 0;
36574 _ACEOF
36575 if ac_fn_cxx_try_compile "$LINENO"; then :
36576 glibcxx_cv_func_expf_use=yes
36577 else
36578 glibcxx_cv_func_expf_use=no
36580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36581 ac_ext=c
36582 ac_cpp='$CPP $CPPFLAGS'
36583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36592 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36594 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36595 for ac_func in expf
36596 do :
36597 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36598 if test "x$ac_cv_func_expf" = xyes; then :
36599 cat >>confdefs.h <<_ACEOF
36600 #define HAVE_EXPF 1
36601 _ACEOF
36604 done
36606 else
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36609 $as_echo_n "checking for _expf declaration... " >&6; }
36610 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36611 if ${glibcxx_cv_func__expf_use+:} false; then :
36612 $as_echo_n "(cached) " >&6
36613 else
36616 ac_ext=cpp
36617 ac_cpp='$CXXCPP $CPPFLAGS'
36618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36623 /* end confdefs.h. */
36624 #include <math.h>
36625 #ifdef HAVE_IEEEFP_H
36626 #include <ieeefp.h>
36627 #endif
36630 main ()
36632 _expf(0);
36634 return 0;
36636 _ACEOF
36637 if ac_fn_cxx_try_compile "$LINENO"; then :
36638 glibcxx_cv_func__expf_use=yes
36639 else
36640 glibcxx_cv_func__expf_use=no
36642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36643 ac_ext=c
36644 ac_cpp='$CPP $CPPFLAGS'
36645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36654 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36656 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36657 for ac_func in _expf
36658 do :
36659 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36660 if test "x$ac_cv_func__expf" = xyes; then :
36661 cat >>confdefs.h <<_ACEOF
36662 #define HAVE__EXPF 1
36663 _ACEOF
36666 done
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36676 $as_echo_n "checking for isnanf declaration... " >&6; }
36677 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36678 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36679 $as_echo_n "(cached) " >&6
36680 else
36683 ac_ext=cpp
36684 ac_cpp='$CXXCPP $CPPFLAGS'
36685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36690 /* end confdefs.h. */
36691 #include <math.h>
36692 #ifdef HAVE_IEEEFP_H
36693 #include <ieeefp.h>
36694 #endif
36697 main ()
36699 isnanf(0);
36701 return 0;
36703 _ACEOF
36704 if ac_fn_cxx_try_compile "$LINENO"; then :
36705 glibcxx_cv_func_isnanf_use=yes
36706 else
36707 glibcxx_cv_func_isnanf_use=no
36709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36710 ac_ext=c
36711 ac_cpp='$CPP $CPPFLAGS'
36712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36721 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36723 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36724 for ac_func in isnanf
36725 do :
36726 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36727 if test "x$ac_cv_func_isnanf" = xyes; then :
36728 cat >>confdefs.h <<_ACEOF
36729 #define HAVE_ISNANF 1
36730 _ACEOF
36733 done
36735 else
36737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36738 $as_echo_n "checking for _isnanf declaration... " >&6; }
36739 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36740 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36741 $as_echo_n "(cached) " >&6
36742 else
36745 ac_ext=cpp
36746 ac_cpp='$CXXCPP $CPPFLAGS'
36747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36752 /* end confdefs.h. */
36753 #include <math.h>
36754 #ifdef HAVE_IEEEFP_H
36755 #include <ieeefp.h>
36756 #endif
36759 main ()
36761 _isnanf(0);
36763 return 0;
36765 _ACEOF
36766 if ac_fn_cxx_try_compile "$LINENO"; then :
36767 glibcxx_cv_func__isnanf_use=yes
36768 else
36769 glibcxx_cv_func__isnanf_use=no
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36772 ac_ext=c
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36783 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36785 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36786 for ac_func in _isnanf
36787 do :
36788 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36789 if test "x$ac_cv_func__isnanf" = xyes; then :
36790 cat >>confdefs.h <<_ACEOF
36791 #define HAVE__ISNANF 1
36792 _ACEOF
36795 done
36804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36805 $as_echo_n "checking for isinff declaration... " >&6; }
36806 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36807 if ${glibcxx_cv_func_isinff_use+:} false; then :
36808 $as_echo_n "(cached) " >&6
36809 else
36812 ac_ext=cpp
36813 ac_cpp='$CXXCPP $CPPFLAGS'
36814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36819 /* end confdefs.h. */
36820 #include <math.h>
36821 #ifdef HAVE_IEEEFP_H
36822 #include <ieeefp.h>
36823 #endif
36826 main ()
36828 isinff(0);
36830 return 0;
36832 _ACEOF
36833 if ac_fn_cxx_try_compile "$LINENO"; then :
36834 glibcxx_cv_func_isinff_use=yes
36835 else
36836 glibcxx_cv_func_isinff_use=no
36838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36839 ac_ext=c
36840 ac_cpp='$CPP $CPPFLAGS'
36841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36850 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36852 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36853 for ac_func in isinff
36854 do :
36855 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36856 if test "x$ac_cv_func_isinff" = xyes; then :
36857 cat >>confdefs.h <<_ACEOF
36858 #define HAVE_ISINFF 1
36859 _ACEOF
36862 done
36864 else
36866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36867 $as_echo_n "checking for _isinff declaration... " >&6; }
36868 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36869 if ${glibcxx_cv_func__isinff_use+:} false; then :
36870 $as_echo_n "(cached) " >&6
36871 else
36874 ac_ext=cpp
36875 ac_cpp='$CXXCPP $CPPFLAGS'
36876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36881 /* end confdefs.h. */
36882 #include <math.h>
36883 #ifdef HAVE_IEEEFP_H
36884 #include <ieeefp.h>
36885 #endif
36888 main ()
36890 _isinff(0);
36892 return 0;
36894 _ACEOF
36895 if ac_fn_cxx_try_compile "$LINENO"; then :
36896 glibcxx_cv_func__isinff_use=yes
36897 else
36898 glibcxx_cv_func__isinff_use=no
36900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36901 ac_ext=c
36902 ac_cpp='$CPP $CPPFLAGS'
36903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36912 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36914 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36915 for ac_func in _isinff
36916 do :
36917 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36918 if test "x$ac_cv_func__isinff" = xyes; then :
36919 cat >>confdefs.h <<_ACEOF
36920 #define HAVE__ISINFF 1
36921 _ACEOF
36924 done
36933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36934 $as_echo_n "checking for atan2f declaration... " >&6; }
36935 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36936 if ${glibcxx_cv_func_atan2f_use+:} false; then :
36937 $as_echo_n "(cached) " >&6
36938 else
36941 ac_ext=cpp
36942 ac_cpp='$CXXCPP $CPPFLAGS'
36943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36948 /* end confdefs.h. */
36949 #include <math.h>
36951 main ()
36953 atan2f(0, 0);
36955 return 0;
36957 _ACEOF
36958 if ac_fn_cxx_try_compile "$LINENO"; then :
36959 glibcxx_cv_func_atan2f_use=yes
36960 else
36961 glibcxx_cv_func_atan2f_use=no
36963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36964 ac_ext=c
36965 ac_cpp='$CPP $CPPFLAGS'
36966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36975 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36977 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36978 for ac_func in atan2f
36979 do :
36980 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36981 if test "x$ac_cv_func_atan2f" = xyes; then :
36982 cat >>confdefs.h <<_ACEOF
36983 #define HAVE_ATAN2F 1
36984 _ACEOF
36987 done
36989 else
36991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36992 $as_echo_n "checking for _atan2f declaration... " >&6; }
36993 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36994 if ${glibcxx_cv_func__atan2f_use+:} false; then :
36995 $as_echo_n "(cached) " >&6
36996 else
36999 ac_ext=cpp
37000 ac_cpp='$CXXCPP $CPPFLAGS'
37001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37006 /* end confdefs.h. */
37007 #include <math.h>
37009 main ()
37011 _atan2f(0, 0);
37013 return 0;
37015 _ACEOF
37016 if ac_fn_cxx_try_compile "$LINENO"; then :
37017 glibcxx_cv_func__atan2f_use=yes
37018 else
37019 glibcxx_cv_func__atan2f_use=no
37021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37022 ac_ext=c
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37033 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37035 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37036 for ac_func in _atan2f
37037 do :
37038 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37039 if test "x$ac_cv_func__atan2f" = xyes; then :
37040 cat >>confdefs.h <<_ACEOF
37041 #define HAVE__ATAN2F 1
37042 _ACEOF
37045 done
37054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37055 $as_echo_n "checking for fabsf declaration... " >&6; }
37056 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37057 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37058 $as_echo_n "(cached) " >&6
37059 else
37062 ac_ext=cpp
37063 ac_cpp='$CXXCPP $CPPFLAGS'
37064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37069 /* end confdefs.h. */
37070 #include <math.h>
37071 #ifdef HAVE_IEEEFP_H
37072 #include <ieeefp.h>
37073 #endif
37076 main ()
37078 fabsf(0);
37080 return 0;
37082 _ACEOF
37083 if ac_fn_cxx_try_compile "$LINENO"; then :
37084 glibcxx_cv_func_fabsf_use=yes
37085 else
37086 glibcxx_cv_func_fabsf_use=no
37088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37089 ac_ext=c
37090 ac_cpp='$CPP $CPPFLAGS'
37091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37100 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37102 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37103 for ac_func in fabsf
37104 do :
37105 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37106 if test "x$ac_cv_func_fabsf" = xyes; then :
37107 cat >>confdefs.h <<_ACEOF
37108 #define HAVE_FABSF 1
37109 _ACEOF
37112 done
37114 else
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37117 $as_echo_n "checking for _fabsf declaration... " >&6; }
37118 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37119 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37120 $as_echo_n "(cached) " >&6
37121 else
37124 ac_ext=cpp
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37131 /* end confdefs.h. */
37132 #include <math.h>
37133 #ifdef HAVE_IEEEFP_H
37134 #include <ieeefp.h>
37135 #endif
37138 main ()
37140 _fabsf(0);
37142 return 0;
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146 glibcxx_cv_func__fabsf_use=yes
37147 else
37148 glibcxx_cv_func__fabsf_use=no
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151 ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37162 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37164 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37165 for ac_func in _fabsf
37166 do :
37167 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37168 if test "x$ac_cv_func__fabsf" = xyes; then :
37169 cat >>confdefs.h <<_ACEOF
37170 #define HAVE__FABSF 1
37171 _ACEOF
37174 done
37183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37184 $as_echo_n "checking for fmodf declaration... " >&6; }
37185 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37186 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37187 $as_echo_n "(cached) " >&6
37188 else
37191 ac_ext=cpp
37192 ac_cpp='$CXXCPP $CPPFLAGS'
37193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37198 /* end confdefs.h. */
37199 #include <math.h>
37201 main ()
37203 fmodf(0, 0);
37205 return 0;
37207 _ACEOF
37208 if ac_fn_cxx_try_compile "$LINENO"; then :
37209 glibcxx_cv_func_fmodf_use=yes
37210 else
37211 glibcxx_cv_func_fmodf_use=no
37213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37214 ac_ext=c
37215 ac_cpp='$CPP $CPPFLAGS'
37216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37225 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37227 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37228 for ac_func in fmodf
37229 do :
37230 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37231 if test "x$ac_cv_func_fmodf" = xyes; then :
37232 cat >>confdefs.h <<_ACEOF
37233 #define HAVE_FMODF 1
37234 _ACEOF
37237 done
37239 else
37241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37242 $as_echo_n "checking for _fmodf declaration... " >&6; }
37243 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37244 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37245 $as_echo_n "(cached) " >&6
37246 else
37249 ac_ext=cpp
37250 ac_cpp='$CXXCPP $CPPFLAGS'
37251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37256 /* end confdefs.h. */
37257 #include <math.h>
37259 main ()
37261 _fmodf(0, 0);
37263 return 0;
37265 _ACEOF
37266 if ac_fn_cxx_try_compile "$LINENO"; then :
37267 glibcxx_cv_func__fmodf_use=yes
37268 else
37269 glibcxx_cv_func__fmodf_use=no
37271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37272 ac_ext=c
37273 ac_cpp='$CPP $CPPFLAGS'
37274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37283 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37285 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37286 for ac_func in _fmodf
37287 do :
37288 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37289 if test "x$ac_cv_func__fmodf" = xyes; then :
37290 cat >>confdefs.h <<_ACEOF
37291 #define HAVE__FMODF 1
37292 _ACEOF
37295 done
37304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37305 $as_echo_n "checking for frexpf declaration... " >&6; }
37306 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37307 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37308 $as_echo_n "(cached) " >&6
37309 else
37312 ac_ext=cpp
37313 ac_cpp='$CXXCPP $CPPFLAGS'
37314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37319 /* end confdefs.h. */
37320 #include <math.h>
37322 main ()
37324 frexpf(0, 0);
37326 return 0;
37328 _ACEOF
37329 if ac_fn_cxx_try_compile "$LINENO"; then :
37330 glibcxx_cv_func_frexpf_use=yes
37331 else
37332 glibcxx_cv_func_frexpf_use=no
37334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37335 ac_ext=c
37336 ac_cpp='$CPP $CPPFLAGS'
37337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37346 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37348 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37349 for ac_func in frexpf
37350 do :
37351 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37352 if test "x$ac_cv_func_frexpf" = xyes; then :
37353 cat >>confdefs.h <<_ACEOF
37354 #define HAVE_FREXPF 1
37355 _ACEOF
37358 done
37360 else
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37363 $as_echo_n "checking for _frexpf declaration... " >&6; }
37364 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37365 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37366 $as_echo_n "(cached) " >&6
37367 else
37370 ac_ext=cpp
37371 ac_cpp='$CXXCPP $CPPFLAGS'
37372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37377 /* end confdefs.h. */
37378 #include <math.h>
37380 main ()
37382 _frexpf(0, 0);
37384 return 0;
37386 _ACEOF
37387 if ac_fn_cxx_try_compile "$LINENO"; then :
37388 glibcxx_cv_func__frexpf_use=yes
37389 else
37390 glibcxx_cv_func__frexpf_use=no
37392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37393 ac_ext=c
37394 ac_cpp='$CPP $CPPFLAGS'
37395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37404 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37406 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37407 for ac_func in _frexpf
37408 do :
37409 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37410 if test "x$ac_cv_func__frexpf" = xyes; then :
37411 cat >>confdefs.h <<_ACEOF
37412 #define HAVE__FREXPF 1
37413 _ACEOF
37416 done
37425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37426 $as_echo_n "checking for hypotf declaration... " >&6; }
37427 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37428 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37429 $as_echo_n "(cached) " >&6
37430 else
37433 ac_ext=cpp
37434 ac_cpp='$CXXCPP $CPPFLAGS'
37435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37440 /* end confdefs.h. */
37441 #include <math.h>
37443 main ()
37445 hypotf(0, 0);
37447 return 0;
37449 _ACEOF
37450 if ac_fn_cxx_try_compile "$LINENO"; then :
37451 glibcxx_cv_func_hypotf_use=yes
37452 else
37453 glibcxx_cv_func_hypotf_use=no
37455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37456 ac_ext=c
37457 ac_cpp='$CPP $CPPFLAGS'
37458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37467 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37469 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37470 for ac_func in hypotf
37471 do :
37472 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37473 if test "x$ac_cv_func_hypotf" = xyes; then :
37474 cat >>confdefs.h <<_ACEOF
37475 #define HAVE_HYPOTF 1
37476 _ACEOF
37479 done
37481 else
37483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37484 $as_echo_n "checking for _hypotf declaration... " >&6; }
37485 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37486 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37487 $as_echo_n "(cached) " >&6
37488 else
37491 ac_ext=cpp
37492 ac_cpp='$CXXCPP $CPPFLAGS'
37493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37498 /* end confdefs.h. */
37499 #include <math.h>
37501 main ()
37503 _hypotf(0, 0);
37505 return 0;
37507 _ACEOF
37508 if ac_fn_cxx_try_compile "$LINENO"; then :
37509 glibcxx_cv_func__hypotf_use=yes
37510 else
37511 glibcxx_cv_func__hypotf_use=no
37513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37514 ac_ext=c
37515 ac_cpp='$CPP $CPPFLAGS'
37516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37525 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37527 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37528 for ac_func in _hypotf
37529 do :
37530 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37531 if test "x$ac_cv_func__hypotf" = xyes; then :
37532 cat >>confdefs.h <<_ACEOF
37533 #define HAVE__HYPOTF 1
37534 _ACEOF
37537 done
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37547 $as_echo_n "checking for ldexpf declaration... " >&6; }
37548 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37549 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37550 $as_echo_n "(cached) " >&6
37551 else
37554 ac_ext=cpp
37555 ac_cpp='$CXXCPP $CPPFLAGS'
37556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37561 /* end confdefs.h. */
37562 #include <math.h>
37564 main ()
37566 ldexpf(0, 0);
37568 return 0;
37570 _ACEOF
37571 if ac_fn_cxx_try_compile "$LINENO"; then :
37572 glibcxx_cv_func_ldexpf_use=yes
37573 else
37574 glibcxx_cv_func_ldexpf_use=no
37576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37577 ac_ext=c
37578 ac_cpp='$CPP $CPPFLAGS'
37579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37588 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37590 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37591 for ac_func in ldexpf
37592 do :
37593 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37594 if test "x$ac_cv_func_ldexpf" = xyes; then :
37595 cat >>confdefs.h <<_ACEOF
37596 #define HAVE_LDEXPF 1
37597 _ACEOF
37600 done
37602 else
37604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37605 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37606 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37607 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37608 $as_echo_n "(cached) " >&6
37609 else
37612 ac_ext=cpp
37613 ac_cpp='$CXXCPP $CPPFLAGS'
37614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37619 /* end confdefs.h. */
37620 #include <math.h>
37622 main ()
37624 _ldexpf(0, 0);
37626 return 0;
37628 _ACEOF
37629 if ac_fn_cxx_try_compile "$LINENO"; then :
37630 glibcxx_cv_func__ldexpf_use=yes
37631 else
37632 glibcxx_cv_func__ldexpf_use=no
37634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37635 ac_ext=c
37636 ac_cpp='$CPP $CPPFLAGS'
37637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37646 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37648 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37649 for ac_func in _ldexpf
37650 do :
37651 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37652 if test "x$ac_cv_func__ldexpf" = xyes; then :
37653 cat >>confdefs.h <<_ACEOF
37654 #define HAVE__LDEXPF 1
37655 _ACEOF
37658 done
37667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37668 $as_echo_n "checking for logf declaration... " >&6; }
37669 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37670 if ${glibcxx_cv_func_logf_use+:} false; then :
37671 $as_echo_n "(cached) " >&6
37672 else
37675 ac_ext=cpp
37676 ac_cpp='$CXXCPP $CPPFLAGS'
37677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37682 /* end confdefs.h. */
37683 #include <math.h>
37684 #ifdef HAVE_IEEEFP_H
37685 #include <ieeefp.h>
37686 #endif
37689 main ()
37691 logf(0);
37693 return 0;
37695 _ACEOF
37696 if ac_fn_cxx_try_compile "$LINENO"; then :
37697 glibcxx_cv_func_logf_use=yes
37698 else
37699 glibcxx_cv_func_logf_use=no
37701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37702 ac_ext=c
37703 ac_cpp='$CPP $CPPFLAGS'
37704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37713 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37715 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37716 for ac_func in logf
37717 do :
37718 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37719 if test "x$ac_cv_func_logf" = xyes; then :
37720 cat >>confdefs.h <<_ACEOF
37721 #define HAVE_LOGF 1
37722 _ACEOF
37725 done
37727 else
37729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37730 $as_echo_n "checking for _logf declaration... " >&6; }
37731 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37732 if ${glibcxx_cv_func__logf_use+:} false; then :
37733 $as_echo_n "(cached) " >&6
37734 else
37737 ac_ext=cpp
37738 ac_cpp='$CXXCPP $CPPFLAGS'
37739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37744 /* end confdefs.h. */
37745 #include <math.h>
37746 #ifdef HAVE_IEEEFP_H
37747 #include <ieeefp.h>
37748 #endif
37751 main ()
37753 _logf(0);
37755 return 0;
37757 _ACEOF
37758 if ac_fn_cxx_try_compile "$LINENO"; then :
37759 glibcxx_cv_func__logf_use=yes
37760 else
37761 glibcxx_cv_func__logf_use=no
37763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37764 ac_ext=c
37765 ac_cpp='$CPP $CPPFLAGS'
37766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37775 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37777 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37778 for ac_func in _logf
37779 do :
37780 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37781 if test "x$ac_cv_func__logf" = xyes; then :
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE__LOGF 1
37784 _ACEOF
37787 done
37796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37797 $as_echo_n "checking for log10f declaration... " >&6; }
37798 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37799 if ${glibcxx_cv_func_log10f_use+:} false; then :
37800 $as_echo_n "(cached) " >&6
37801 else
37804 ac_ext=cpp
37805 ac_cpp='$CXXCPP $CPPFLAGS'
37806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37811 /* end confdefs.h. */
37812 #include <math.h>
37813 #ifdef HAVE_IEEEFP_H
37814 #include <ieeefp.h>
37815 #endif
37818 main ()
37820 log10f(0);
37822 return 0;
37824 _ACEOF
37825 if ac_fn_cxx_try_compile "$LINENO"; then :
37826 glibcxx_cv_func_log10f_use=yes
37827 else
37828 glibcxx_cv_func_log10f_use=no
37830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37831 ac_ext=c
37832 ac_cpp='$CPP $CPPFLAGS'
37833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37842 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37844 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37845 for ac_func in log10f
37846 do :
37847 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37848 if test "x$ac_cv_func_log10f" = xyes; then :
37849 cat >>confdefs.h <<_ACEOF
37850 #define HAVE_LOG10F 1
37851 _ACEOF
37854 done
37856 else
37858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37859 $as_echo_n "checking for _log10f declaration... " >&6; }
37860 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37861 if ${glibcxx_cv_func__log10f_use+:} false; then :
37862 $as_echo_n "(cached) " >&6
37863 else
37866 ac_ext=cpp
37867 ac_cpp='$CXXCPP $CPPFLAGS'
37868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37873 /* end confdefs.h. */
37874 #include <math.h>
37875 #ifdef HAVE_IEEEFP_H
37876 #include <ieeefp.h>
37877 #endif
37880 main ()
37882 _log10f(0);
37884 return 0;
37886 _ACEOF
37887 if ac_fn_cxx_try_compile "$LINENO"; then :
37888 glibcxx_cv_func__log10f_use=yes
37889 else
37890 glibcxx_cv_func__log10f_use=no
37892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37893 ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37904 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37906 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37907 for ac_func in _log10f
37908 do :
37909 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37910 if test "x$ac_cv_func__log10f" = xyes; then :
37911 cat >>confdefs.h <<_ACEOF
37912 #define HAVE__LOG10F 1
37913 _ACEOF
37916 done
37925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37926 $as_echo_n "checking for modff declaration... " >&6; }
37927 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37928 if ${glibcxx_cv_func_modff_use+:} false; then :
37929 $as_echo_n "(cached) " >&6
37930 else
37933 ac_ext=cpp
37934 ac_cpp='$CXXCPP $CPPFLAGS'
37935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37940 /* end confdefs.h. */
37941 #include <math.h>
37943 main ()
37945 modff(0, 0);
37947 return 0;
37949 _ACEOF
37950 if ac_fn_cxx_try_compile "$LINENO"; then :
37951 glibcxx_cv_func_modff_use=yes
37952 else
37953 glibcxx_cv_func_modff_use=no
37955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37956 ac_ext=c
37957 ac_cpp='$CPP $CPPFLAGS'
37958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37967 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37969 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37970 for ac_func in modff
37971 do :
37972 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37973 if test "x$ac_cv_func_modff" = xyes; then :
37974 cat >>confdefs.h <<_ACEOF
37975 #define HAVE_MODFF 1
37976 _ACEOF
37979 done
37981 else
37983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37984 $as_echo_n "checking for _modff declaration... " >&6; }
37985 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37986 if ${glibcxx_cv_func__modff_use+:} false; then :
37987 $as_echo_n "(cached) " >&6
37988 else
37991 ac_ext=cpp
37992 ac_cpp='$CXXCPP $CPPFLAGS'
37993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37998 /* end confdefs.h. */
37999 #include <math.h>
38001 main ()
38003 _modff(0, 0);
38005 return 0;
38007 _ACEOF
38008 if ac_fn_cxx_try_compile "$LINENO"; then :
38009 glibcxx_cv_func__modff_use=yes
38010 else
38011 glibcxx_cv_func__modff_use=no
38013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38014 ac_ext=c
38015 ac_cpp='$CPP $CPPFLAGS'
38016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38025 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38027 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38028 for ac_func in _modff
38029 do :
38030 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38031 if test "x$ac_cv_func__modff" = xyes; then :
38032 cat >>confdefs.h <<_ACEOF
38033 #define HAVE__MODFF 1
38034 _ACEOF
38037 done
38046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38047 $as_echo_n "checking for modf declaration... " >&6; }
38048 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38049 if ${glibcxx_cv_func_modf_use+:} false; then :
38050 $as_echo_n "(cached) " >&6
38051 else
38054 ac_ext=cpp
38055 ac_cpp='$CXXCPP $CPPFLAGS'
38056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38061 /* end confdefs.h. */
38062 #include <math.h>
38064 main ()
38066 modf(0, 0);
38068 return 0;
38070 _ACEOF
38071 if ac_fn_cxx_try_compile "$LINENO"; then :
38072 glibcxx_cv_func_modf_use=yes
38073 else
38074 glibcxx_cv_func_modf_use=no
38076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38077 ac_ext=c
38078 ac_cpp='$CPP $CPPFLAGS'
38079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38088 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38090 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38091 for ac_func in modf
38092 do :
38093 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38094 if test "x$ac_cv_func_modf" = xyes; then :
38095 cat >>confdefs.h <<_ACEOF
38096 #define HAVE_MODF 1
38097 _ACEOF
38100 done
38102 else
38104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38105 $as_echo_n "checking for _modf declaration... " >&6; }
38106 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38107 if ${glibcxx_cv_func__modf_use+:} false; then :
38108 $as_echo_n "(cached) " >&6
38109 else
38112 ac_ext=cpp
38113 ac_cpp='$CXXCPP $CPPFLAGS'
38114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38119 /* end confdefs.h. */
38120 #include <math.h>
38122 main ()
38124 _modf(0, 0);
38126 return 0;
38128 _ACEOF
38129 if ac_fn_cxx_try_compile "$LINENO"; then :
38130 glibcxx_cv_func__modf_use=yes
38131 else
38132 glibcxx_cv_func__modf_use=no
38134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38135 ac_ext=c
38136 ac_cpp='$CPP $CPPFLAGS'
38137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38146 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38148 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38149 for ac_func in _modf
38150 do :
38151 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38152 if test "x$ac_cv_func__modf" = xyes; then :
38153 cat >>confdefs.h <<_ACEOF
38154 #define HAVE__MODF 1
38155 _ACEOF
38158 done
38167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38168 $as_echo_n "checking for powf declaration... " >&6; }
38169 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38170 if ${glibcxx_cv_func_powf_use+:} false; then :
38171 $as_echo_n "(cached) " >&6
38172 else
38175 ac_ext=cpp
38176 ac_cpp='$CXXCPP $CPPFLAGS'
38177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38182 /* end confdefs.h. */
38183 #include <math.h>
38185 main ()
38187 powf(0, 0);
38189 return 0;
38191 _ACEOF
38192 if ac_fn_cxx_try_compile "$LINENO"; then :
38193 glibcxx_cv_func_powf_use=yes
38194 else
38195 glibcxx_cv_func_powf_use=no
38197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38198 ac_ext=c
38199 ac_cpp='$CPP $CPPFLAGS'
38200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38209 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38211 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38212 for ac_func in powf
38213 do :
38214 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38215 if test "x$ac_cv_func_powf" = xyes; then :
38216 cat >>confdefs.h <<_ACEOF
38217 #define HAVE_POWF 1
38218 _ACEOF
38221 done
38223 else
38225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38226 $as_echo_n "checking for _powf declaration... " >&6; }
38227 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38228 if ${glibcxx_cv_func__powf_use+:} false; then :
38229 $as_echo_n "(cached) " >&6
38230 else
38233 ac_ext=cpp
38234 ac_cpp='$CXXCPP $CPPFLAGS'
38235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38240 /* end confdefs.h. */
38241 #include <math.h>
38243 main ()
38245 _powf(0, 0);
38247 return 0;
38249 _ACEOF
38250 if ac_fn_cxx_try_compile "$LINENO"; then :
38251 glibcxx_cv_func__powf_use=yes
38252 else
38253 glibcxx_cv_func__powf_use=no
38255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38256 ac_ext=c
38257 ac_cpp='$CPP $CPPFLAGS'
38258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38267 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38269 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38270 for ac_func in _powf
38271 do :
38272 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38273 if test "x$ac_cv_func__powf" = xyes; then :
38274 cat >>confdefs.h <<_ACEOF
38275 #define HAVE__POWF 1
38276 _ACEOF
38279 done
38288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38289 $as_echo_n "checking for sqrtf declaration... " >&6; }
38290 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38291 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38292 $as_echo_n "(cached) " >&6
38293 else
38296 ac_ext=cpp
38297 ac_cpp='$CXXCPP $CPPFLAGS'
38298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38303 /* end confdefs.h. */
38304 #include <math.h>
38305 #ifdef HAVE_IEEEFP_H
38306 #include <ieeefp.h>
38307 #endif
38310 main ()
38312 sqrtf(0);
38314 return 0;
38316 _ACEOF
38317 if ac_fn_cxx_try_compile "$LINENO"; then :
38318 glibcxx_cv_func_sqrtf_use=yes
38319 else
38320 glibcxx_cv_func_sqrtf_use=no
38322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38323 ac_ext=c
38324 ac_cpp='$CPP $CPPFLAGS'
38325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38334 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38336 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38337 for ac_func in sqrtf
38338 do :
38339 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38340 if test "x$ac_cv_func_sqrtf" = xyes; then :
38341 cat >>confdefs.h <<_ACEOF
38342 #define HAVE_SQRTF 1
38343 _ACEOF
38346 done
38348 else
38350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38351 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38352 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38353 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38354 $as_echo_n "(cached) " >&6
38355 else
38358 ac_ext=cpp
38359 ac_cpp='$CXXCPP $CPPFLAGS'
38360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38365 /* end confdefs.h. */
38366 #include <math.h>
38367 #ifdef HAVE_IEEEFP_H
38368 #include <ieeefp.h>
38369 #endif
38372 main ()
38374 _sqrtf(0);
38376 return 0;
38378 _ACEOF
38379 if ac_fn_cxx_try_compile "$LINENO"; then :
38380 glibcxx_cv_func__sqrtf_use=yes
38381 else
38382 glibcxx_cv_func__sqrtf_use=no
38384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38385 ac_ext=c
38386 ac_cpp='$CPP $CPPFLAGS'
38387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38396 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38398 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38399 for ac_func in _sqrtf
38400 do :
38401 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38402 if test "x$ac_cv_func__sqrtf" = xyes; then :
38403 cat >>confdefs.h <<_ACEOF
38404 #define HAVE__SQRTF 1
38405 _ACEOF
38408 done
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38418 $as_echo_n "checking for sincosf declaration... " >&6; }
38419 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38420 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38421 $as_echo_n "(cached) " >&6
38422 else
38425 ac_ext=cpp
38426 ac_cpp='$CXXCPP $CPPFLAGS'
38427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38432 /* end confdefs.h. */
38433 #include <math.h>
38435 main ()
38437 sincosf(0, 0, 0);
38439 return 0;
38441 _ACEOF
38442 if ac_fn_cxx_try_compile "$LINENO"; then :
38443 glibcxx_cv_func_sincosf_use=yes
38444 else
38445 glibcxx_cv_func_sincosf_use=no
38447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38448 ac_ext=c
38449 ac_cpp='$CPP $CPPFLAGS'
38450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38459 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38461 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38462 for ac_func in sincosf
38463 do :
38464 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38465 if test "x$ac_cv_func_sincosf" = xyes; then :
38466 cat >>confdefs.h <<_ACEOF
38467 #define HAVE_SINCOSF 1
38468 _ACEOF
38471 done
38473 else
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38476 $as_echo_n "checking for _sincosf declaration... " >&6; }
38477 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38478 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38479 $as_echo_n "(cached) " >&6
38480 else
38483 ac_ext=cpp
38484 ac_cpp='$CXXCPP $CPPFLAGS'
38485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38490 /* end confdefs.h. */
38491 #include <math.h>
38493 main ()
38495 _sincosf(0, 0, 0);
38497 return 0;
38499 _ACEOF
38500 if ac_fn_cxx_try_compile "$LINENO"; then :
38501 glibcxx_cv_func__sincosf_use=yes
38502 else
38503 glibcxx_cv_func__sincosf_use=no
38505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38506 ac_ext=c
38507 ac_cpp='$CPP $CPPFLAGS'
38508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38517 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38519 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38520 for ac_func in _sincosf
38521 do :
38522 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38523 if test "x$ac_cv_func__sincosf" = xyes; then :
38524 cat >>confdefs.h <<_ACEOF
38525 #define HAVE__SINCOSF 1
38526 _ACEOF
38529 done
38538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38539 $as_echo_n "checking for finitef declaration... " >&6; }
38540 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38541 if ${glibcxx_cv_func_finitef_use+:} false; then :
38542 $as_echo_n "(cached) " >&6
38543 else
38546 ac_ext=cpp
38547 ac_cpp='$CXXCPP $CPPFLAGS'
38548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38553 /* end confdefs.h. */
38554 #include <math.h>
38555 #ifdef HAVE_IEEEFP_H
38556 #include <ieeefp.h>
38557 #endif
38560 main ()
38562 finitef(0);
38564 return 0;
38566 _ACEOF
38567 if ac_fn_cxx_try_compile "$LINENO"; then :
38568 glibcxx_cv_func_finitef_use=yes
38569 else
38570 glibcxx_cv_func_finitef_use=no
38572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38573 ac_ext=c
38574 ac_cpp='$CPP $CPPFLAGS'
38575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38584 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38586 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38587 for ac_func in finitef
38588 do :
38589 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38590 if test "x$ac_cv_func_finitef" = xyes; then :
38591 cat >>confdefs.h <<_ACEOF
38592 #define HAVE_FINITEF 1
38593 _ACEOF
38596 done
38598 else
38600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38601 $as_echo_n "checking for _finitef declaration... " >&6; }
38602 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38603 if ${glibcxx_cv_func__finitef_use+:} false; then :
38604 $as_echo_n "(cached) " >&6
38605 else
38608 ac_ext=cpp
38609 ac_cpp='$CXXCPP $CPPFLAGS'
38610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38615 /* end confdefs.h. */
38616 #include <math.h>
38617 #ifdef HAVE_IEEEFP_H
38618 #include <ieeefp.h>
38619 #endif
38622 main ()
38624 _finitef(0);
38626 return 0;
38628 _ACEOF
38629 if ac_fn_cxx_try_compile "$LINENO"; then :
38630 glibcxx_cv_func__finitef_use=yes
38631 else
38632 glibcxx_cv_func__finitef_use=no
38634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38635 ac_ext=c
38636 ac_cpp='$CPP $CPPFLAGS'
38637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38646 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38648 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38649 for ac_func in _finitef
38650 do :
38651 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38652 if test "x$ac_cv_func__finitef" = xyes; then :
38653 cat >>confdefs.h <<_ACEOF
38654 #define HAVE__FINITEF 1
38655 _ACEOF
38658 done
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38668 $as_echo_n "checking for long double trig functions... " >&6; }
38669 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38670 $as_echo_n "(cached) " >&6
38671 else
38674 ac_ext=cpp
38675 ac_cpp='$CXXCPP $CPPFLAGS'
38676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38681 /* end confdefs.h. */
38682 #include <math.h>
38684 main ()
38686 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38688 return 0;
38690 _ACEOF
38691 if ac_fn_cxx_try_compile "$LINENO"; then :
38692 glibcxx_cv_func_long_double_trig_use=yes
38693 else
38694 glibcxx_cv_func_long_double_trig_use=no
38696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38697 ac_ext=c
38698 ac_cpp='$CPP $CPPFLAGS'
38699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38706 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38707 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38708 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38709 do :
38710 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38711 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38712 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38713 cat >>confdefs.h <<_ACEOF
38714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38715 _ACEOF
38718 done
38720 else
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38722 $as_echo_n "checking for _long double trig functions... " >&6; }
38723 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38724 $as_echo_n "(cached) " >&6
38725 else
38728 ac_ext=cpp
38729 ac_cpp='$CXXCPP $CPPFLAGS'
38730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38735 /* end confdefs.h. */
38736 #include <math.h>
38738 main ()
38740 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38742 return 0;
38744 _ACEOF
38745 if ac_fn_cxx_try_compile "$LINENO"; then :
38746 glibcxx_cv_func__long_double_trig_use=yes
38747 else
38748 glibcxx_cv_func__long_double_trig_use=no
38750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38751 ac_ext=c
38752 ac_cpp='$CPP $CPPFLAGS'
38753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38760 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38761 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38762 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38763 do :
38764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38766 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38767 cat >>confdefs.h <<_ACEOF
38768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38769 _ACEOF
38772 done
38781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38782 $as_echo_n "checking for long double round functions... " >&6; }
38783 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38784 $as_echo_n "(cached) " >&6
38785 else
38788 ac_ext=cpp
38789 ac_cpp='$CXXCPP $CPPFLAGS'
38790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38795 /* end confdefs.h. */
38796 #include <math.h>
38798 main ()
38800 ceill (0); floorl (0);
38802 return 0;
38804 _ACEOF
38805 if ac_fn_cxx_try_compile "$LINENO"; then :
38806 glibcxx_cv_func_long_double_round_use=yes
38807 else
38808 glibcxx_cv_func_long_double_round_use=no
38810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38811 ac_ext=c
38812 ac_cpp='$CPP $CPPFLAGS'
38813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38820 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38821 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38822 for ac_func in ceill floorl
38823 do :
38824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38826 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38827 cat >>confdefs.h <<_ACEOF
38828 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38829 _ACEOF
38832 done
38834 else
38835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38836 $as_echo_n "checking for _long double round functions... " >&6; }
38837 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38838 $as_echo_n "(cached) " >&6
38839 else
38842 ac_ext=cpp
38843 ac_cpp='$CXXCPP $CPPFLAGS'
38844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38849 /* end confdefs.h. */
38850 #include <math.h>
38852 main ()
38854 _ceill (0); _floorl (0);
38856 return 0;
38858 _ACEOF
38859 if ac_fn_cxx_try_compile "$LINENO"; then :
38860 glibcxx_cv_func__long_double_round_use=yes
38861 else
38862 glibcxx_cv_func__long_double_round_use=no
38864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38865 ac_ext=c
38866 ac_cpp='$CPP $CPPFLAGS'
38867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38874 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38875 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38876 for ac_func in _ceill _floorl
38877 do :
38878 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38879 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38880 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38881 cat >>confdefs.h <<_ACEOF
38882 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38883 _ACEOF
38886 done
38896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38897 $as_echo_n "checking for isnanl declaration... " >&6; }
38898 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38899 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38900 $as_echo_n "(cached) " >&6
38901 else
38904 ac_ext=cpp
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38911 /* end confdefs.h. */
38912 #include <math.h>
38913 #ifdef HAVE_IEEEFP_H
38914 #include <ieeefp.h>
38915 #endif
38918 main ()
38920 isnanl(0);
38922 return 0;
38924 _ACEOF
38925 if ac_fn_cxx_try_compile "$LINENO"; then :
38926 glibcxx_cv_func_isnanl_use=yes
38927 else
38928 glibcxx_cv_func_isnanl_use=no
38930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38931 ac_ext=c
38932 ac_cpp='$CPP $CPPFLAGS'
38933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38942 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38944 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38945 for ac_func in isnanl
38946 do :
38947 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38948 if test "x$ac_cv_func_isnanl" = xyes; then :
38949 cat >>confdefs.h <<_ACEOF
38950 #define HAVE_ISNANL 1
38951 _ACEOF
38954 done
38956 else
38958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38959 $as_echo_n "checking for _isnanl declaration... " >&6; }
38960 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38961 if ${glibcxx_cv_func__isnanl_use+:} false; then :
38962 $as_echo_n "(cached) " >&6
38963 else
38966 ac_ext=cpp
38967 ac_cpp='$CXXCPP $CPPFLAGS'
38968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38973 /* end confdefs.h. */
38974 #include <math.h>
38975 #ifdef HAVE_IEEEFP_H
38976 #include <ieeefp.h>
38977 #endif
38980 main ()
38982 _isnanl(0);
38984 return 0;
38986 _ACEOF
38987 if ac_fn_cxx_try_compile "$LINENO"; then :
38988 glibcxx_cv_func__isnanl_use=yes
38989 else
38990 glibcxx_cv_func__isnanl_use=no
38992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38993 ac_ext=c
38994 ac_cpp='$CPP $CPPFLAGS'
38995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39004 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39006 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39007 for ac_func in _isnanl
39008 do :
39009 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39010 if test "x$ac_cv_func__isnanl" = xyes; then :
39011 cat >>confdefs.h <<_ACEOF
39012 #define HAVE__ISNANL 1
39013 _ACEOF
39016 done
39025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39026 $as_echo_n "checking for isinfl declaration... " >&6; }
39027 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39028 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39029 $as_echo_n "(cached) " >&6
39030 else
39033 ac_ext=cpp
39034 ac_cpp='$CXXCPP $CPPFLAGS'
39035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39040 /* end confdefs.h. */
39041 #include <math.h>
39042 #ifdef HAVE_IEEEFP_H
39043 #include <ieeefp.h>
39044 #endif
39047 main ()
39049 isinfl(0);
39051 return 0;
39053 _ACEOF
39054 if ac_fn_cxx_try_compile "$LINENO"; then :
39055 glibcxx_cv_func_isinfl_use=yes
39056 else
39057 glibcxx_cv_func_isinfl_use=no
39059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39060 ac_ext=c
39061 ac_cpp='$CPP $CPPFLAGS'
39062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39071 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39073 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39074 for ac_func in isinfl
39075 do :
39076 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39077 if test "x$ac_cv_func_isinfl" = xyes; then :
39078 cat >>confdefs.h <<_ACEOF
39079 #define HAVE_ISINFL 1
39080 _ACEOF
39083 done
39085 else
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39088 $as_echo_n "checking for _isinfl declaration... " >&6; }
39089 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39090 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39091 $as_echo_n "(cached) " >&6
39092 else
39095 ac_ext=cpp
39096 ac_cpp='$CXXCPP $CPPFLAGS'
39097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39102 /* end confdefs.h. */
39103 #include <math.h>
39104 #ifdef HAVE_IEEEFP_H
39105 #include <ieeefp.h>
39106 #endif
39109 main ()
39111 _isinfl(0);
39113 return 0;
39115 _ACEOF
39116 if ac_fn_cxx_try_compile "$LINENO"; then :
39117 glibcxx_cv_func__isinfl_use=yes
39118 else
39119 glibcxx_cv_func__isinfl_use=no
39121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39122 ac_ext=c
39123 ac_cpp='$CPP $CPPFLAGS'
39124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39133 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39135 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39136 for ac_func in _isinfl
39137 do :
39138 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39139 if test "x$ac_cv_func__isinfl" = xyes; then :
39140 cat >>confdefs.h <<_ACEOF
39141 #define HAVE__ISINFL 1
39142 _ACEOF
39145 done
39154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39155 $as_echo_n "checking for atan2l declaration... " >&6; }
39156 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39157 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39158 $as_echo_n "(cached) " >&6
39159 else
39162 ac_ext=cpp
39163 ac_cpp='$CXXCPP $CPPFLAGS'
39164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39169 /* end confdefs.h. */
39170 #include <math.h>
39172 main ()
39174 atan2l(0, 0);
39176 return 0;
39178 _ACEOF
39179 if ac_fn_cxx_try_compile "$LINENO"; then :
39180 glibcxx_cv_func_atan2l_use=yes
39181 else
39182 glibcxx_cv_func_atan2l_use=no
39184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39185 ac_ext=c
39186 ac_cpp='$CPP $CPPFLAGS'
39187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39196 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39198 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39199 for ac_func in atan2l
39200 do :
39201 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39202 if test "x$ac_cv_func_atan2l" = xyes; then :
39203 cat >>confdefs.h <<_ACEOF
39204 #define HAVE_ATAN2L 1
39205 _ACEOF
39208 done
39210 else
39212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39213 $as_echo_n "checking for _atan2l declaration... " >&6; }
39214 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39215 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39216 $as_echo_n "(cached) " >&6
39217 else
39220 ac_ext=cpp
39221 ac_cpp='$CXXCPP $CPPFLAGS'
39222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39227 /* end confdefs.h. */
39228 #include <math.h>
39230 main ()
39232 _atan2l(0, 0);
39234 return 0;
39236 _ACEOF
39237 if ac_fn_cxx_try_compile "$LINENO"; then :
39238 glibcxx_cv_func__atan2l_use=yes
39239 else
39240 glibcxx_cv_func__atan2l_use=no
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243 ac_ext=c
39244 ac_cpp='$CPP $CPPFLAGS'
39245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39254 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39256 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39257 for ac_func in _atan2l
39258 do :
39259 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39260 if test "x$ac_cv_func__atan2l" = xyes; then :
39261 cat >>confdefs.h <<_ACEOF
39262 #define HAVE__ATAN2L 1
39263 _ACEOF
39266 done
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39276 $as_echo_n "checking for expl declaration... " >&6; }
39277 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39278 if ${glibcxx_cv_func_expl_use+:} false; then :
39279 $as_echo_n "(cached) " >&6
39280 else
39283 ac_ext=cpp
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39290 /* end confdefs.h. */
39291 #include <math.h>
39292 #ifdef HAVE_IEEEFP_H
39293 #include <ieeefp.h>
39294 #endif
39297 main ()
39299 expl(0);
39301 return 0;
39303 _ACEOF
39304 if ac_fn_cxx_try_compile "$LINENO"; then :
39305 glibcxx_cv_func_expl_use=yes
39306 else
39307 glibcxx_cv_func_expl_use=no
39309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39310 ac_ext=c
39311 ac_cpp='$CPP $CPPFLAGS'
39312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39321 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39323 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39324 for ac_func in expl
39325 do :
39326 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39327 if test "x$ac_cv_func_expl" = xyes; then :
39328 cat >>confdefs.h <<_ACEOF
39329 #define HAVE_EXPL 1
39330 _ACEOF
39333 done
39335 else
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39338 $as_echo_n "checking for _expl declaration... " >&6; }
39339 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39340 if ${glibcxx_cv_func__expl_use+:} false; then :
39341 $as_echo_n "(cached) " >&6
39342 else
39345 ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h. */
39353 #include <math.h>
39354 #ifdef HAVE_IEEEFP_H
39355 #include <ieeefp.h>
39356 #endif
39359 main ()
39361 _expl(0);
39363 return 0;
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func__expl_use=yes
39368 else
39369 glibcxx_cv_func__expl_use=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39383 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39385 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39386 for ac_func in _expl
39387 do :
39388 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39389 if test "x$ac_cv_func__expl" = xyes; then :
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE__EXPL 1
39392 _ACEOF
39395 done
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39405 $as_echo_n "checking for fabsl declaration... " >&6; }
39406 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39407 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39408 $as_echo_n "(cached) " >&6
39409 else
39412 ac_ext=cpp
39413 ac_cpp='$CXXCPP $CPPFLAGS'
39414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419 /* end confdefs.h. */
39420 #include <math.h>
39421 #ifdef HAVE_IEEEFP_H
39422 #include <ieeefp.h>
39423 #endif
39426 main ()
39428 fabsl(0);
39430 return 0;
39432 _ACEOF
39433 if ac_fn_cxx_try_compile "$LINENO"; then :
39434 glibcxx_cv_func_fabsl_use=yes
39435 else
39436 glibcxx_cv_func_fabsl_use=no
39438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39439 ac_ext=c
39440 ac_cpp='$CPP $CPPFLAGS'
39441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39450 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39452 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39453 for ac_func in fabsl
39454 do :
39455 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39456 if test "x$ac_cv_func_fabsl" = xyes; then :
39457 cat >>confdefs.h <<_ACEOF
39458 #define HAVE_FABSL 1
39459 _ACEOF
39462 done
39464 else
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39467 $as_echo_n "checking for _fabsl declaration... " >&6; }
39468 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39469 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39470 $as_echo_n "(cached) " >&6
39471 else
39474 ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h. */
39482 #include <math.h>
39483 #ifdef HAVE_IEEEFP_H
39484 #include <ieeefp.h>
39485 #endif
39488 main ()
39490 _fabsl(0);
39492 return 0;
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496 glibcxx_cv_func__fabsl_use=yes
39497 else
39498 glibcxx_cv_func__fabsl_use=no
39500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39501 ac_ext=c
39502 ac_cpp='$CPP $CPPFLAGS'
39503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39512 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39514 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39515 for ac_func in _fabsl
39516 do :
39517 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39518 if test "x$ac_cv_func__fabsl" = xyes; then :
39519 cat >>confdefs.h <<_ACEOF
39520 #define HAVE__FABSL 1
39521 _ACEOF
39524 done
39533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39534 $as_echo_n "checking for fmodl declaration... " >&6; }
39535 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39536 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39537 $as_echo_n "(cached) " >&6
39538 else
39541 ac_ext=cpp
39542 ac_cpp='$CXXCPP $CPPFLAGS'
39543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39548 /* end confdefs.h. */
39549 #include <math.h>
39551 main ()
39553 fmodl(0, 0);
39555 return 0;
39557 _ACEOF
39558 if ac_fn_cxx_try_compile "$LINENO"; then :
39559 glibcxx_cv_func_fmodl_use=yes
39560 else
39561 glibcxx_cv_func_fmodl_use=no
39563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39564 ac_ext=c
39565 ac_cpp='$CPP $CPPFLAGS'
39566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39575 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39577 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39578 for ac_func in fmodl
39579 do :
39580 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39581 if test "x$ac_cv_func_fmodl" = xyes; then :
39582 cat >>confdefs.h <<_ACEOF
39583 #define HAVE_FMODL 1
39584 _ACEOF
39587 done
39589 else
39591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39592 $as_echo_n "checking for _fmodl declaration... " >&6; }
39593 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39594 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39595 $as_echo_n "(cached) " >&6
39596 else
39599 ac_ext=cpp
39600 ac_cpp='$CXXCPP $CPPFLAGS'
39601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39606 /* end confdefs.h. */
39607 #include <math.h>
39609 main ()
39611 _fmodl(0, 0);
39613 return 0;
39615 _ACEOF
39616 if ac_fn_cxx_try_compile "$LINENO"; then :
39617 glibcxx_cv_func__fmodl_use=yes
39618 else
39619 glibcxx_cv_func__fmodl_use=no
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39622 ac_ext=c
39623 ac_cpp='$CPP $CPPFLAGS'
39624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39633 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39635 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39636 for ac_func in _fmodl
39637 do :
39638 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39639 if test "x$ac_cv_func__fmodl" = xyes; then :
39640 cat >>confdefs.h <<_ACEOF
39641 #define HAVE__FMODL 1
39642 _ACEOF
39645 done
39654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39655 $as_echo_n "checking for frexpl declaration... " >&6; }
39656 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39657 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39658 $as_echo_n "(cached) " >&6
39659 else
39662 ac_ext=cpp
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39669 /* end confdefs.h. */
39670 #include <math.h>
39672 main ()
39674 frexpl(0, 0);
39676 return 0;
39678 _ACEOF
39679 if ac_fn_cxx_try_compile "$LINENO"; then :
39680 glibcxx_cv_func_frexpl_use=yes
39681 else
39682 glibcxx_cv_func_frexpl_use=no
39684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39685 ac_ext=c
39686 ac_cpp='$CPP $CPPFLAGS'
39687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39696 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39698 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39699 for ac_func in frexpl
39700 do :
39701 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39702 if test "x$ac_cv_func_frexpl" = xyes; then :
39703 cat >>confdefs.h <<_ACEOF
39704 #define HAVE_FREXPL 1
39705 _ACEOF
39708 done
39710 else
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39713 $as_echo_n "checking for _frexpl declaration... " >&6; }
39714 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39715 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39716 $as_echo_n "(cached) " >&6
39717 else
39720 ac_ext=cpp
39721 ac_cpp='$CXXCPP $CPPFLAGS'
39722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39727 /* end confdefs.h. */
39728 #include <math.h>
39730 main ()
39732 _frexpl(0, 0);
39734 return 0;
39736 _ACEOF
39737 if ac_fn_cxx_try_compile "$LINENO"; then :
39738 glibcxx_cv_func__frexpl_use=yes
39739 else
39740 glibcxx_cv_func__frexpl_use=no
39742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39743 ac_ext=c
39744 ac_cpp='$CPP $CPPFLAGS'
39745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39754 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39756 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39757 for ac_func in _frexpl
39758 do :
39759 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39760 if test "x$ac_cv_func__frexpl" = xyes; then :
39761 cat >>confdefs.h <<_ACEOF
39762 #define HAVE__FREXPL 1
39763 _ACEOF
39766 done
39775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39776 $as_echo_n "checking for hypotl declaration... " >&6; }
39777 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39778 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39779 $as_echo_n "(cached) " >&6
39780 else
39783 ac_ext=cpp
39784 ac_cpp='$CXXCPP $CPPFLAGS'
39785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39790 /* end confdefs.h. */
39791 #include <math.h>
39793 main ()
39795 hypotl(0, 0);
39797 return 0;
39799 _ACEOF
39800 if ac_fn_cxx_try_compile "$LINENO"; then :
39801 glibcxx_cv_func_hypotl_use=yes
39802 else
39803 glibcxx_cv_func_hypotl_use=no
39805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39806 ac_ext=c
39807 ac_cpp='$CPP $CPPFLAGS'
39808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39817 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39819 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39820 for ac_func in hypotl
39821 do :
39822 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39823 if test "x$ac_cv_func_hypotl" = xyes; then :
39824 cat >>confdefs.h <<_ACEOF
39825 #define HAVE_HYPOTL 1
39826 _ACEOF
39829 done
39831 else
39833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39834 $as_echo_n "checking for _hypotl declaration... " >&6; }
39835 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39836 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39837 $as_echo_n "(cached) " >&6
39838 else
39841 ac_ext=cpp
39842 ac_cpp='$CXXCPP $CPPFLAGS'
39843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39848 /* end confdefs.h. */
39849 #include <math.h>
39851 main ()
39853 _hypotl(0, 0);
39855 return 0;
39857 _ACEOF
39858 if ac_fn_cxx_try_compile "$LINENO"; then :
39859 glibcxx_cv_func__hypotl_use=yes
39860 else
39861 glibcxx_cv_func__hypotl_use=no
39863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39864 ac_ext=c
39865 ac_cpp='$CPP $CPPFLAGS'
39866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39875 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39877 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39878 for ac_func in _hypotl
39879 do :
39880 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39881 if test "x$ac_cv_func__hypotl" = xyes; then :
39882 cat >>confdefs.h <<_ACEOF
39883 #define HAVE__HYPOTL 1
39884 _ACEOF
39887 done
39896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39897 $as_echo_n "checking for ldexpl declaration... " >&6; }
39898 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39899 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39900 $as_echo_n "(cached) " >&6
39901 else
39904 ac_ext=cpp
39905 ac_cpp='$CXXCPP $CPPFLAGS'
39906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39911 /* end confdefs.h. */
39912 #include <math.h>
39914 main ()
39916 ldexpl(0, 0);
39918 return 0;
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922 glibcxx_cv_func_ldexpl_use=yes
39923 else
39924 glibcxx_cv_func_ldexpl_use=no
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927 ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39938 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39940 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39941 for ac_func in ldexpl
39942 do :
39943 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39944 if test "x$ac_cv_func_ldexpl" = xyes; then :
39945 cat >>confdefs.h <<_ACEOF
39946 #define HAVE_LDEXPL 1
39947 _ACEOF
39950 done
39952 else
39954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39955 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39956 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39957 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
39958 $as_echo_n "(cached) " >&6
39959 else
39962 ac_ext=cpp
39963 ac_cpp='$CXXCPP $CPPFLAGS'
39964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39969 /* end confdefs.h. */
39970 #include <math.h>
39972 main ()
39974 _ldexpl(0, 0);
39976 return 0;
39978 _ACEOF
39979 if ac_fn_cxx_try_compile "$LINENO"; then :
39980 glibcxx_cv_func__ldexpl_use=yes
39981 else
39982 glibcxx_cv_func__ldexpl_use=no
39984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39985 ac_ext=c
39986 ac_cpp='$CPP $CPPFLAGS'
39987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39996 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39998 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39999 for ac_func in _ldexpl
40000 do :
40001 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40002 if test "x$ac_cv_func__ldexpl" = xyes; then :
40003 cat >>confdefs.h <<_ACEOF
40004 #define HAVE__LDEXPL 1
40005 _ACEOF
40008 done
40017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40018 $as_echo_n "checking for logl declaration... " >&6; }
40019 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40020 if ${glibcxx_cv_func_logl_use+:} false; then :
40021 $as_echo_n "(cached) " >&6
40022 else
40025 ac_ext=cpp
40026 ac_cpp='$CXXCPP $CPPFLAGS'
40027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40032 /* end confdefs.h. */
40033 #include <math.h>
40034 #ifdef HAVE_IEEEFP_H
40035 #include <ieeefp.h>
40036 #endif
40039 main ()
40041 logl(0);
40043 return 0;
40045 _ACEOF
40046 if ac_fn_cxx_try_compile "$LINENO"; then :
40047 glibcxx_cv_func_logl_use=yes
40048 else
40049 glibcxx_cv_func_logl_use=no
40051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40052 ac_ext=c
40053 ac_cpp='$CPP $CPPFLAGS'
40054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40063 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40065 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40066 for ac_func in logl
40067 do :
40068 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40069 if test "x$ac_cv_func_logl" = xyes; then :
40070 cat >>confdefs.h <<_ACEOF
40071 #define HAVE_LOGL 1
40072 _ACEOF
40075 done
40077 else
40079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40080 $as_echo_n "checking for _logl declaration... " >&6; }
40081 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40082 if ${glibcxx_cv_func__logl_use+:} false; then :
40083 $as_echo_n "(cached) " >&6
40084 else
40087 ac_ext=cpp
40088 ac_cpp='$CXXCPP $CPPFLAGS'
40089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 /* end confdefs.h. */
40095 #include <math.h>
40096 #ifdef HAVE_IEEEFP_H
40097 #include <ieeefp.h>
40098 #endif
40101 main ()
40103 _logl(0);
40105 return 0;
40107 _ACEOF
40108 if ac_fn_cxx_try_compile "$LINENO"; then :
40109 glibcxx_cv_func__logl_use=yes
40110 else
40111 glibcxx_cv_func__logl_use=no
40113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40114 ac_ext=c
40115 ac_cpp='$CPP $CPPFLAGS'
40116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40125 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40127 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40128 for ac_func in _logl
40129 do :
40130 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40131 if test "x$ac_cv_func__logl" = xyes; then :
40132 cat >>confdefs.h <<_ACEOF
40133 #define HAVE__LOGL 1
40134 _ACEOF
40137 done
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40147 $as_echo_n "checking for log10l declaration... " >&6; }
40148 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40149 if ${glibcxx_cv_func_log10l_use+:} false; then :
40150 $as_echo_n "(cached) " >&6
40151 else
40154 ac_ext=cpp
40155 ac_cpp='$CXXCPP $CPPFLAGS'
40156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40161 /* end confdefs.h. */
40162 #include <math.h>
40163 #ifdef HAVE_IEEEFP_H
40164 #include <ieeefp.h>
40165 #endif
40168 main ()
40170 log10l(0);
40172 return 0;
40174 _ACEOF
40175 if ac_fn_cxx_try_compile "$LINENO"; then :
40176 glibcxx_cv_func_log10l_use=yes
40177 else
40178 glibcxx_cv_func_log10l_use=no
40180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40181 ac_ext=c
40182 ac_cpp='$CPP $CPPFLAGS'
40183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40192 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40194 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40195 for ac_func in log10l
40196 do :
40197 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40198 if test "x$ac_cv_func_log10l" = xyes; then :
40199 cat >>confdefs.h <<_ACEOF
40200 #define HAVE_LOG10L 1
40201 _ACEOF
40204 done
40206 else
40208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40209 $as_echo_n "checking for _log10l declaration... " >&6; }
40210 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40211 if ${glibcxx_cv_func__log10l_use+:} false; then :
40212 $as_echo_n "(cached) " >&6
40213 else
40216 ac_ext=cpp
40217 ac_cpp='$CXXCPP $CPPFLAGS'
40218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40223 /* end confdefs.h. */
40224 #include <math.h>
40225 #ifdef HAVE_IEEEFP_H
40226 #include <ieeefp.h>
40227 #endif
40230 main ()
40232 _log10l(0);
40234 return 0;
40236 _ACEOF
40237 if ac_fn_cxx_try_compile "$LINENO"; then :
40238 glibcxx_cv_func__log10l_use=yes
40239 else
40240 glibcxx_cv_func__log10l_use=no
40242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40243 ac_ext=c
40244 ac_cpp='$CPP $CPPFLAGS'
40245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40254 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40256 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40257 for ac_func in _log10l
40258 do :
40259 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40260 if test "x$ac_cv_func__log10l" = xyes; then :
40261 cat >>confdefs.h <<_ACEOF
40262 #define HAVE__LOG10L 1
40263 _ACEOF
40266 done
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40276 $as_echo_n "checking for modfl declaration... " >&6; }
40277 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40278 if ${glibcxx_cv_func_modfl_use+:} false; then :
40279 $as_echo_n "(cached) " >&6
40280 else
40283 ac_ext=cpp
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40291 #include <math.h>
40293 main ()
40295 modfl(0, 0);
40297 return 0;
40299 _ACEOF
40300 if ac_fn_cxx_try_compile "$LINENO"; then :
40301 glibcxx_cv_func_modfl_use=yes
40302 else
40303 glibcxx_cv_func_modfl_use=no
40305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40306 ac_ext=c
40307 ac_cpp='$CPP $CPPFLAGS'
40308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40317 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40319 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40320 for ac_func in modfl
40321 do :
40322 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40323 if test "x$ac_cv_func_modfl" = xyes; then :
40324 cat >>confdefs.h <<_ACEOF
40325 #define HAVE_MODFL 1
40326 _ACEOF
40329 done
40331 else
40333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40334 $as_echo_n "checking for _modfl declaration... " >&6; }
40335 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40336 if ${glibcxx_cv_func__modfl_use+:} false; then :
40337 $as_echo_n "(cached) " >&6
40338 else
40341 ac_ext=cpp
40342 ac_cpp='$CXXCPP $CPPFLAGS'
40343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40348 /* end confdefs.h. */
40349 #include <math.h>
40351 main ()
40353 _modfl(0, 0);
40355 return 0;
40357 _ACEOF
40358 if ac_fn_cxx_try_compile "$LINENO"; then :
40359 glibcxx_cv_func__modfl_use=yes
40360 else
40361 glibcxx_cv_func__modfl_use=no
40363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40364 ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40375 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40377 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40378 for ac_func in _modfl
40379 do :
40380 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40381 if test "x$ac_cv_func__modfl" = xyes; then :
40382 cat >>confdefs.h <<_ACEOF
40383 #define HAVE__MODFL 1
40384 _ACEOF
40387 done
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40397 $as_echo_n "checking for powl declaration... " >&6; }
40398 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40399 if ${glibcxx_cv_func_powl_use+:} false; then :
40400 $as_echo_n "(cached) " >&6
40401 else
40404 ac_ext=cpp
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40411 /* end confdefs.h. */
40412 #include <math.h>
40414 main ()
40416 powl(0, 0);
40418 return 0;
40420 _ACEOF
40421 if ac_fn_cxx_try_compile "$LINENO"; then :
40422 glibcxx_cv_func_powl_use=yes
40423 else
40424 glibcxx_cv_func_powl_use=no
40426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40427 ac_ext=c
40428 ac_cpp='$CPP $CPPFLAGS'
40429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40438 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40440 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40441 for ac_func in powl
40442 do :
40443 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40444 if test "x$ac_cv_func_powl" = xyes; then :
40445 cat >>confdefs.h <<_ACEOF
40446 #define HAVE_POWL 1
40447 _ACEOF
40450 done
40452 else
40454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40455 $as_echo_n "checking for _powl declaration... " >&6; }
40456 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40457 if ${glibcxx_cv_func__powl_use+:} false; then :
40458 $as_echo_n "(cached) " >&6
40459 else
40462 ac_ext=cpp
40463 ac_cpp='$CXXCPP $CPPFLAGS'
40464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40469 /* end confdefs.h. */
40470 #include <math.h>
40472 main ()
40474 _powl(0, 0);
40476 return 0;
40478 _ACEOF
40479 if ac_fn_cxx_try_compile "$LINENO"; then :
40480 glibcxx_cv_func__powl_use=yes
40481 else
40482 glibcxx_cv_func__powl_use=no
40484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_ext=c
40486 ac_cpp='$CPP $CPPFLAGS'
40487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40496 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40498 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40499 for ac_func in _powl
40500 do :
40501 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40502 if test "x$ac_cv_func__powl" = xyes; then :
40503 cat >>confdefs.h <<_ACEOF
40504 #define HAVE__POWL 1
40505 _ACEOF
40508 done
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40518 $as_echo_n "checking for sqrtl declaration... " >&6; }
40519 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40520 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40521 $as_echo_n "(cached) " >&6
40522 else
40525 ac_ext=cpp
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h. */
40533 #include <math.h>
40534 #ifdef HAVE_IEEEFP_H
40535 #include <ieeefp.h>
40536 #endif
40539 main ()
40541 sqrtl(0);
40543 return 0;
40545 _ACEOF
40546 if ac_fn_cxx_try_compile "$LINENO"; then :
40547 glibcxx_cv_func_sqrtl_use=yes
40548 else
40549 glibcxx_cv_func_sqrtl_use=no
40551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40552 ac_ext=c
40553 ac_cpp='$CPP $CPPFLAGS'
40554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40563 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40565 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40566 for ac_func in sqrtl
40567 do :
40568 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40569 if test "x$ac_cv_func_sqrtl" = xyes; then :
40570 cat >>confdefs.h <<_ACEOF
40571 #define HAVE_SQRTL 1
40572 _ACEOF
40575 done
40577 else
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40580 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40581 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40582 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40583 $as_echo_n "(cached) " >&6
40584 else
40587 ac_ext=cpp
40588 ac_cpp='$CXXCPP $CPPFLAGS'
40589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40594 /* end confdefs.h. */
40595 #include <math.h>
40596 #ifdef HAVE_IEEEFP_H
40597 #include <ieeefp.h>
40598 #endif
40601 main ()
40603 _sqrtl(0);
40605 return 0;
40607 _ACEOF
40608 if ac_fn_cxx_try_compile "$LINENO"; then :
40609 glibcxx_cv_func__sqrtl_use=yes
40610 else
40611 glibcxx_cv_func__sqrtl_use=no
40613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40614 ac_ext=c
40615 ac_cpp='$CPP $CPPFLAGS'
40616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40625 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40627 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40628 for ac_func in _sqrtl
40629 do :
40630 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40631 if test "x$ac_cv_func__sqrtl" = xyes; then :
40632 cat >>confdefs.h <<_ACEOF
40633 #define HAVE__SQRTL 1
40634 _ACEOF
40637 done
40646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40647 $as_echo_n "checking for sincosl declaration... " >&6; }
40648 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40649 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40650 $as_echo_n "(cached) " >&6
40651 else
40654 ac_ext=cpp
40655 ac_cpp='$CXXCPP $CPPFLAGS'
40656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40661 /* end confdefs.h. */
40662 #include <math.h>
40664 main ()
40666 sincosl(0, 0, 0);
40668 return 0;
40670 _ACEOF
40671 if ac_fn_cxx_try_compile "$LINENO"; then :
40672 glibcxx_cv_func_sincosl_use=yes
40673 else
40674 glibcxx_cv_func_sincosl_use=no
40676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40677 ac_ext=c
40678 ac_cpp='$CPP $CPPFLAGS'
40679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40688 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40690 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40691 for ac_func in sincosl
40692 do :
40693 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40694 if test "x$ac_cv_func_sincosl" = xyes; then :
40695 cat >>confdefs.h <<_ACEOF
40696 #define HAVE_SINCOSL 1
40697 _ACEOF
40700 done
40702 else
40704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40705 $as_echo_n "checking for _sincosl declaration... " >&6; }
40706 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40707 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40708 $as_echo_n "(cached) " >&6
40709 else
40712 ac_ext=cpp
40713 ac_cpp='$CXXCPP $CPPFLAGS'
40714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40719 /* end confdefs.h. */
40720 #include <math.h>
40722 main ()
40724 _sincosl(0, 0, 0);
40726 return 0;
40728 _ACEOF
40729 if ac_fn_cxx_try_compile "$LINENO"; then :
40730 glibcxx_cv_func__sincosl_use=yes
40731 else
40732 glibcxx_cv_func__sincosl_use=no
40734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40735 ac_ext=c
40736 ac_cpp='$CPP $CPPFLAGS'
40737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40746 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40748 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40749 for ac_func in _sincosl
40750 do :
40751 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40752 if test "x$ac_cv_func__sincosl" = xyes; then :
40753 cat >>confdefs.h <<_ACEOF
40754 #define HAVE__SINCOSL 1
40755 _ACEOF
40758 done
40767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40768 $as_echo_n "checking for finitel declaration... " >&6; }
40769 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40770 if ${glibcxx_cv_func_finitel_use+:} false; then :
40771 $as_echo_n "(cached) " >&6
40772 else
40775 ac_ext=cpp
40776 ac_cpp='$CXXCPP $CPPFLAGS'
40777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40782 /* end confdefs.h. */
40783 #include <math.h>
40784 #ifdef HAVE_IEEEFP_H
40785 #include <ieeefp.h>
40786 #endif
40789 main ()
40791 finitel(0);
40793 return 0;
40795 _ACEOF
40796 if ac_fn_cxx_try_compile "$LINENO"; then :
40797 glibcxx_cv_func_finitel_use=yes
40798 else
40799 glibcxx_cv_func_finitel_use=no
40801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40802 ac_ext=c
40803 ac_cpp='$CPP $CPPFLAGS'
40804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40813 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40815 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40816 for ac_func in finitel
40817 do :
40818 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40819 if test "x$ac_cv_func_finitel" = xyes; then :
40820 cat >>confdefs.h <<_ACEOF
40821 #define HAVE_FINITEL 1
40822 _ACEOF
40825 done
40827 else
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40830 $as_echo_n "checking for _finitel declaration... " >&6; }
40831 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40832 if ${glibcxx_cv_func__finitel_use+:} false; then :
40833 $as_echo_n "(cached) " >&6
40834 else
40837 ac_ext=cpp
40838 ac_cpp='$CXXCPP $CPPFLAGS'
40839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40844 /* end confdefs.h. */
40845 #include <math.h>
40846 #ifdef HAVE_IEEEFP_H
40847 #include <ieeefp.h>
40848 #endif
40851 main ()
40853 _finitel(0);
40855 return 0;
40857 _ACEOF
40858 if ac_fn_cxx_try_compile "$LINENO"; then :
40859 glibcxx_cv_func__finitel_use=yes
40860 else
40861 glibcxx_cv_func__finitel_use=no
40863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40864 ac_ext=c
40865 ac_cpp='$CPP $CPPFLAGS'
40866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40875 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40877 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40878 for ac_func in _finitel
40879 do :
40880 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40881 if test "x$ac_cv_func__finitel" = xyes; then :
40882 cat >>confdefs.h <<_ACEOF
40883 #define HAVE__FINITEL 1
40884 _ACEOF
40887 done
40895 LIBS="$ac_save_LIBS"
40896 CXXFLAGS="$ac_save_CXXFLAGS"
40899 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40900 ac_save_CXXFLAGS="$CXXFLAGS"
40901 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40905 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40906 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40907 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40908 $as_echo_n "(cached) " >&6
40909 else
40912 ac_ext=cpp
40913 ac_cpp='$CXXCPP $CPPFLAGS'
40914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40919 /* end confdefs.h. */
40920 #include <stdlib.h>
40922 main ()
40924 at_quick_exit(0);
40926 return 0;
40928 _ACEOF
40929 if ac_fn_cxx_try_compile "$LINENO"; then :
40930 glibcxx_cv_func_at_quick_exit_use=yes
40931 else
40932 glibcxx_cv_func_at_quick_exit_use=no
40934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40935 ac_ext=c
40936 ac_cpp='$CPP $CPPFLAGS'
40937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40946 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40947 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40948 for ac_func in at_quick_exit
40949 do :
40950 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40951 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
40952 cat >>confdefs.h <<_ACEOF
40953 #define HAVE_AT_QUICK_EXIT 1
40954 _ACEOF
40957 done
40962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40963 $as_echo_n "checking for quick_exit declaration... " >&6; }
40964 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40965 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
40966 $as_echo_n "(cached) " >&6
40967 else
40970 ac_ext=cpp
40971 ac_cpp='$CXXCPP $CPPFLAGS'
40972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40977 /* end confdefs.h. */
40978 #include <stdlib.h>
40980 main ()
40982 quick_exit(0);
40984 return 0;
40986 _ACEOF
40987 if ac_fn_cxx_try_compile "$LINENO"; then :
40988 glibcxx_cv_func_quick_exit_use=yes
40989 else
40990 glibcxx_cv_func_quick_exit_use=no
40992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40993 ac_ext=c
40994 ac_cpp='$CPP $CPPFLAGS'
40995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41004 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41005 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41006 for ac_func in quick_exit
41007 do :
41008 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41009 if test "x$ac_cv_func_quick_exit" = xyes; then :
41010 cat >>confdefs.h <<_ACEOF
41011 #define HAVE_QUICK_EXIT 1
41012 _ACEOF
41015 done
41020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41021 $as_echo_n "checking for strtold declaration... " >&6; }
41022 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41023 if ${glibcxx_cv_func_strtold_use+:} false; then :
41024 $as_echo_n "(cached) " >&6
41025 else
41028 ac_ext=cpp
41029 ac_cpp='$CXXCPP $CPPFLAGS'
41030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41035 /* end confdefs.h. */
41036 #include <stdlib.h>
41038 main ()
41040 strtold(0, 0);
41042 return 0;
41044 _ACEOF
41045 if ac_fn_cxx_try_compile "$LINENO"; then :
41046 glibcxx_cv_func_strtold_use=yes
41047 else
41048 glibcxx_cv_func_strtold_use=no
41050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41051 ac_ext=c
41052 ac_cpp='$CPP $CPPFLAGS'
41053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41062 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41063 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41064 for ac_func in strtold
41065 do :
41066 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41067 if test "x$ac_cv_func_strtold" = xyes; then :
41068 cat >>confdefs.h <<_ACEOF
41069 #define HAVE_STRTOLD 1
41070 _ACEOF
41073 done
41080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41081 $as_echo_n "checking for strtof declaration... " >&6; }
41082 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41083 if ${glibcxx_cv_func_strtof_use+:} false; then :
41084 $as_echo_n "(cached) " >&6
41085 else
41088 ac_ext=cpp
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41095 /* end confdefs.h. */
41096 #include <stdlib.h>
41098 main ()
41100 strtof(0, 0);
41102 return 0;
41104 _ACEOF
41105 if ac_fn_cxx_try_compile "$LINENO"; then :
41106 glibcxx_cv_func_strtof_use=yes
41107 else
41108 glibcxx_cv_func_strtof_use=no
41110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41111 ac_ext=c
41112 ac_cpp='$CPP $CPPFLAGS'
41113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41122 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41123 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41124 for ac_func in strtof
41125 do :
41126 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41127 if test "x$ac_cv_func_strtof" = xyes; then :
41128 cat >>confdefs.h <<_ACEOF
41129 #define HAVE_STRTOF 1
41130 _ACEOF
41133 done
41140 CXXFLAGS="$ac_save_CXXFLAGS"
41142 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41144 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41146 # We don't yet support AIX's TLS ABI.
41147 #GCC_CHECK_TLS
41153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41154 $as_echo_n "checking for iconv... " >&6; }
41155 if ${am_cv_func_iconv+:} false; then :
41156 $as_echo_n "(cached) " >&6
41157 else
41159 am_cv_func_iconv="no, consider installing GNU libiconv"
41160 am_cv_lib_iconv=no
41161 am_save_CPPFLAGS="$CPPFLAGS"
41162 CPPFLAGS="$CPPFLAGS $INCICONV"
41163 if test x$gcc_no_link = xyes; then
41164 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41167 /* end confdefs.h. */
41168 #include <stdlib.h>
41169 #include <iconv.h>
41171 main ()
41173 iconv_t cd = iconv_open("","");
41174 iconv(cd,NULL,NULL,NULL,NULL);
41175 iconv_close(cd);
41177 return 0;
41179 _ACEOF
41180 if ac_fn_c_try_link "$LINENO"; then :
41181 am_cv_func_iconv=yes
41183 rm -f core conftest.err conftest.$ac_objext \
41184 conftest$ac_exeext conftest.$ac_ext
41185 CPPFLAGS="$am_save_CPPFLAGS"
41187 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41188 for _libs in .libs _libs; do
41189 am_save_CPPFLAGS="$CPPFLAGS"
41190 am_save_LIBS="$LIBS"
41191 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41192 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41193 if test x$gcc_no_link = xyes; then
41194 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41197 /* end confdefs.h. */
41198 #include <stdlib.h>
41199 #include <iconv.h>
41201 main ()
41203 iconv_t cd = iconv_open("","");
41204 iconv(cd,NULL,NULL,NULL,NULL);
41205 iconv_close(cd);
41207 return 0;
41209 _ACEOF
41210 if ac_fn_c_try_link "$LINENO"; then :
41211 INCICONV="-I../libiconv/include"
41212 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41213 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41214 am_cv_lib_iconv=yes
41215 am_cv_func_iconv=yes
41217 rm -f core conftest.err conftest.$ac_objext \
41218 conftest$ac_exeext conftest.$ac_ext
41219 CPPFLAGS="$am_save_CPPFLAGS"
41220 LIBS="$am_save_LIBS"
41221 if test "$am_cv_func_iconv" = "yes"; then
41222 break
41224 done
41227 if test "$am_cv_func_iconv" != yes; then
41228 am_save_CPPFLAGS="$CPPFLAGS"
41229 am_save_LIBS="$LIBS"
41230 CPPFLAGS="$CPPFLAGS $INCICONV"
41231 LIBS="$LIBS $LIBICONV"
41232 if test x$gcc_no_link = xyes; then
41233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41236 /* end confdefs.h. */
41237 #include <stdlib.h>
41238 #include <iconv.h>
41240 main ()
41242 iconv_t cd = iconv_open("","");
41243 iconv(cd,NULL,NULL,NULL,NULL);
41244 iconv_close(cd);
41246 return 0;
41248 _ACEOF
41249 if ac_fn_c_try_link "$LINENO"; then :
41250 am_cv_lib_iconv=yes
41251 am_cv_func_iconv=yes
41253 rm -f core conftest.err conftest.$ac_objext \
41254 conftest$ac_exeext conftest.$ac_ext
41255 CPPFLAGS="$am_save_CPPFLAGS"
41256 LIBS="$am_save_LIBS"
41260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41261 $as_echo "$am_cv_func_iconv" >&6; }
41262 if test "$am_cv_func_iconv" = yes; then
41264 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41267 if test "$am_cv_lib_iconv" = yes; then
41269 for element in $INCICONV; do
41270 haveit=
41271 for x in $CPPFLAGS; do
41273 acl_save_prefix="$prefix"
41274 prefix="$acl_final_prefix"
41275 acl_save_exec_prefix="$exec_prefix"
41276 exec_prefix="$acl_final_exec_prefix"
41277 eval x=\"$x\"
41278 exec_prefix="$acl_save_exec_prefix"
41279 prefix="$acl_save_prefix"
41281 if test "X$x" = "X$element"; then
41282 haveit=yes
41283 break
41285 done
41286 if test -z "$haveit"; then
41287 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41289 done
41291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41292 $as_echo_n "checking how to link with libiconv... " >&6; }
41293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41294 $as_echo "$LIBICONV" >&6; }
41295 else
41296 LIBICONV=
41297 LTLIBICONV=
41302 if test "$am_cv_func_iconv" = yes; then
41303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41304 $as_echo_n "checking for iconv declaration... " >&6; }
41305 if ${am_cv_proto_iconv+:} false; then :
41306 $as_echo_n "(cached) " >&6
41307 else
41309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41310 /* end confdefs.h. */
41312 #include <stdlib.h>
41313 #include <iconv.h>
41314 extern
41315 #ifdef __cplusplus
41317 #endif
41318 #if defined(__STDC__) || defined(__cplusplus)
41319 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41320 #else
41321 size_t iconv();
41322 #endif
41325 main ()
41329 return 0;
41331 _ACEOF
41332 if ac_fn_c_try_compile "$LINENO"; then :
41333 am_cv_proto_iconv_arg1=""
41334 else
41335 am_cv_proto_iconv_arg1="const"
41337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41338 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);"
41341 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41343 }$am_cv_proto_iconv" >&5
41344 $as_echo "${ac_t:-
41345 }$am_cv_proto_iconv" >&6; }
41347 cat >>confdefs.h <<_ACEOF
41348 #define ICONV_CONST $am_cv_proto_iconv_arg1
41349 _ACEOF
41354 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41358 *-darwin*)
41359 # Darwin versions vary, but the linker should work in a cross environment,
41360 # so we just check for all the features here.
41361 # Check for available headers.
41363 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41365 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41366 ac_save_CXXFLAGS="$CXXFLAGS"
41367 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41370 $as_echo_n "checking for sin in -lm... " >&6; }
41371 if ${ac_cv_lib_m_sin+:} false; then :
41372 $as_echo_n "(cached) " >&6
41373 else
41374 ac_check_lib_save_LIBS=$LIBS
41375 LIBS="-lm $LIBS"
41376 if test x$gcc_no_link = xyes; then
41377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41380 /* end confdefs.h. */
41382 /* Override any GCC internal prototype to avoid an error.
41383 Use char because int might match the return type of a GCC
41384 builtin and then its argument prototype would still apply. */
41385 #ifdef __cplusplus
41386 extern "C"
41387 #endif
41388 char sin ();
41390 main ()
41392 return sin ();
41394 return 0;
41396 _ACEOF
41397 if ac_fn_c_try_link "$LINENO"; then :
41398 ac_cv_lib_m_sin=yes
41399 else
41400 ac_cv_lib_m_sin=no
41402 rm -f core conftest.err conftest.$ac_objext \
41403 conftest$ac_exeext conftest.$ac_ext
41404 LIBS=$ac_check_lib_save_LIBS
41406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41407 $as_echo "$ac_cv_lib_m_sin" >&6; }
41408 if test "x$ac_cv_lib_m_sin" = xyes; then :
41409 libm="-lm"
41412 ac_save_LIBS="$LIBS"
41413 LIBS="$LIBS $libm"
41417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41418 $as_echo_n "checking for isinf declaration... " >&6; }
41419 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41420 if ${glibcxx_cv_func_isinf_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 isinf(0);
41443 return 0;
41445 _ACEOF
41446 if ac_fn_cxx_try_compile "$LINENO"; then :
41447 glibcxx_cv_func_isinf_use=yes
41448 else
41449 glibcxx_cv_func_isinf_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_isinf_use" >&5
41463 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41465 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41466 for ac_func in isinf
41467 do :
41468 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41469 if test "x$ac_cv_func_isinf" = xyes; then :
41470 cat >>confdefs.h <<_ACEOF
41471 #define HAVE_ISINF 1
41472 _ACEOF
41475 done
41477 else
41479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41480 $as_echo_n "checking for _isinf declaration... " >&6; }
41481 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41482 if ${glibcxx_cv_func__isinf_use+:} false; then :
41483 $as_echo_n "(cached) " >&6
41484 else
41487 ac_ext=cpp
41488 ac_cpp='$CXXCPP $CPPFLAGS'
41489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41494 /* end confdefs.h. */
41495 #include <math.h>
41496 #ifdef HAVE_IEEEFP_H
41497 #include <ieeefp.h>
41498 #endif
41501 main ()
41503 _isinf(0);
41505 return 0;
41507 _ACEOF
41508 if ac_fn_cxx_try_compile "$LINENO"; then :
41509 glibcxx_cv_func__isinf_use=yes
41510 else
41511 glibcxx_cv_func__isinf_use=no
41513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41514 ac_ext=c
41515 ac_cpp='$CPP $CPPFLAGS'
41516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41525 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41527 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41528 for ac_func in _isinf
41529 do :
41530 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41531 if test "x$ac_cv_func__isinf" = xyes; then :
41532 cat >>confdefs.h <<_ACEOF
41533 #define HAVE__ISINF 1
41534 _ACEOF
41537 done
41546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41547 $as_echo_n "checking for isnan declaration... " >&6; }
41548 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41549 if ${glibcxx_cv_func_isnan_use+:} false; then :
41550 $as_echo_n "(cached) " >&6
41551 else
41554 ac_ext=cpp
41555 ac_cpp='$CXXCPP $CPPFLAGS'
41556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41561 /* end confdefs.h. */
41562 #include <math.h>
41563 #ifdef HAVE_IEEEFP_H
41564 #include <ieeefp.h>
41565 #endif
41568 main ()
41570 isnan(0);
41572 return 0;
41574 _ACEOF
41575 if ac_fn_cxx_try_compile "$LINENO"; then :
41576 glibcxx_cv_func_isnan_use=yes
41577 else
41578 glibcxx_cv_func_isnan_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_isnan_use" >&5
41592 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41594 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41595 for ac_func in isnan
41596 do :
41597 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41598 if test "x$ac_cv_func_isnan" = xyes; then :
41599 cat >>confdefs.h <<_ACEOF
41600 #define HAVE_ISNAN 1
41601 _ACEOF
41604 done
41606 else
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41609 $as_echo_n "checking for _isnan declaration... " >&6; }
41610 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41611 if ${glibcxx_cv_func__isnan_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 <math.h>
41625 #ifdef HAVE_IEEEFP_H
41626 #include <ieeefp.h>
41627 #endif
41630 main ()
41632 _isnan(0);
41634 return 0;
41636 _ACEOF
41637 if ac_fn_cxx_try_compile "$LINENO"; then :
41638 glibcxx_cv_func__isnan_use=yes
41639 else
41640 glibcxx_cv_func__isnan_use=no
41642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41643 ac_ext=c
41644 ac_cpp='$CPP $CPPFLAGS'
41645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41654 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41656 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41657 for ac_func in _isnan
41658 do :
41659 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41660 if test "x$ac_cv_func__isnan" = xyes; then :
41661 cat >>confdefs.h <<_ACEOF
41662 #define HAVE__ISNAN 1
41663 _ACEOF
41666 done
41675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41676 $as_echo_n "checking for finite declaration... " >&6; }
41677 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41678 if ${glibcxx_cv_func_finite_use+:} false; then :
41679 $as_echo_n "(cached) " >&6
41680 else
41683 ac_ext=cpp
41684 ac_cpp='$CXXCPP $CPPFLAGS'
41685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41690 /* end confdefs.h. */
41691 #include <math.h>
41692 #ifdef HAVE_IEEEFP_H
41693 #include <ieeefp.h>
41694 #endif
41697 main ()
41699 finite(0);
41701 return 0;
41703 _ACEOF
41704 if ac_fn_cxx_try_compile "$LINENO"; then :
41705 glibcxx_cv_func_finite_use=yes
41706 else
41707 glibcxx_cv_func_finite_use=no
41709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41710 ac_ext=c
41711 ac_cpp='$CPP $CPPFLAGS'
41712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41721 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41723 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41724 for ac_func in finite
41725 do :
41726 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41727 if test "x$ac_cv_func_finite" = xyes; then :
41728 cat >>confdefs.h <<_ACEOF
41729 #define HAVE_FINITE 1
41730 _ACEOF
41733 done
41735 else
41737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41738 $as_echo_n "checking for _finite declaration... " >&6; }
41739 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41740 if ${glibcxx_cv_func__finite_use+:} false; then :
41741 $as_echo_n "(cached) " >&6
41742 else
41745 ac_ext=cpp
41746 ac_cpp='$CXXCPP $CPPFLAGS'
41747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41752 /* end confdefs.h. */
41753 #include <math.h>
41754 #ifdef HAVE_IEEEFP_H
41755 #include <ieeefp.h>
41756 #endif
41759 main ()
41761 _finite(0);
41763 return 0;
41765 _ACEOF
41766 if ac_fn_cxx_try_compile "$LINENO"; then :
41767 glibcxx_cv_func__finite_use=yes
41768 else
41769 glibcxx_cv_func__finite_use=no
41771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41772 ac_ext=c
41773 ac_cpp='$CPP $CPPFLAGS'
41774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41783 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41785 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41786 for ac_func in _finite
41787 do :
41788 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41789 if test "x$ac_cv_func__finite" = xyes; then :
41790 cat >>confdefs.h <<_ACEOF
41791 #define HAVE__FINITE 1
41792 _ACEOF
41795 done
41804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41805 $as_echo_n "checking for sincos declaration... " >&6; }
41806 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41807 if ${glibcxx_cv_func_sincos_use+:} false; then :
41808 $as_echo_n "(cached) " >&6
41809 else
41812 ac_ext=cpp
41813 ac_cpp='$CXXCPP $CPPFLAGS'
41814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41819 /* end confdefs.h. */
41820 #include <math.h>
41822 main ()
41824 sincos(0, 0, 0);
41826 return 0;
41828 _ACEOF
41829 if ac_fn_cxx_try_compile "$LINENO"; then :
41830 glibcxx_cv_func_sincos_use=yes
41831 else
41832 glibcxx_cv_func_sincos_use=no
41834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41835 ac_ext=c
41836 ac_cpp='$CPP $CPPFLAGS'
41837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41846 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41848 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41849 for ac_func in sincos
41850 do :
41851 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41852 if test "x$ac_cv_func_sincos" = xyes; then :
41853 cat >>confdefs.h <<_ACEOF
41854 #define HAVE_SINCOS 1
41855 _ACEOF
41858 done
41860 else
41862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41863 $as_echo_n "checking for _sincos declaration... " >&6; }
41864 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41865 if ${glibcxx_cv_func__sincos_use+:} false; then :
41866 $as_echo_n "(cached) " >&6
41867 else
41870 ac_ext=cpp
41871 ac_cpp='$CXXCPP $CPPFLAGS'
41872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41877 /* end confdefs.h. */
41878 #include <math.h>
41880 main ()
41882 _sincos(0, 0, 0);
41884 return 0;
41886 _ACEOF
41887 if ac_fn_cxx_try_compile "$LINENO"; then :
41888 glibcxx_cv_func__sincos_use=yes
41889 else
41890 glibcxx_cv_func__sincos_use=no
41892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41893 ac_ext=c
41894 ac_cpp='$CPP $CPPFLAGS'
41895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41904 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41906 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41907 for ac_func in _sincos
41908 do :
41909 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41910 if test "x$ac_cv_func__sincos" = xyes; then :
41911 cat >>confdefs.h <<_ACEOF
41912 #define HAVE__SINCOS 1
41913 _ACEOF
41916 done
41925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41926 $as_echo_n "checking for fpclass declaration... " >&6; }
41927 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41928 if ${glibcxx_cv_func_fpclass_use+:} false; then :
41929 $as_echo_n "(cached) " >&6
41930 else
41933 ac_ext=cpp
41934 ac_cpp='$CXXCPP $CPPFLAGS'
41935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41940 /* end confdefs.h. */
41941 #include <math.h>
41942 #ifdef HAVE_IEEEFP_H
41943 #include <ieeefp.h>
41944 #endif
41947 main ()
41949 fpclass(0);
41951 return 0;
41953 _ACEOF
41954 if ac_fn_cxx_try_compile "$LINENO"; then :
41955 glibcxx_cv_func_fpclass_use=yes
41956 else
41957 glibcxx_cv_func_fpclass_use=no
41959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41960 ac_ext=c
41961 ac_cpp='$CPP $CPPFLAGS'
41962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41971 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41973 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41974 for ac_func in fpclass
41975 do :
41976 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41977 if test "x$ac_cv_func_fpclass" = xyes; then :
41978 cat >>confdefs.h <<_ACEOF
41979 #define HAVE_FPCLASS 1
41980 _ACEOF
41983 done
41985 else
41987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41988 $as_echo_n "checking for _fpclass declaration... " >&6; }
41989 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41990 if ${glibcxx_cv_func__fpclass_use+:} false; then :
41991 $as_echo_n "(cached) " >&6
41992 else
41995 ac_ext=cpp
41996 ac_cpp='$CXXCPP $CPPFLAGS'
41997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42002 /* end confdefs.h. */
42003 #include <math.h>
42004 #ifdef HAVE_IEEEFP_H
42005 #include <ieeefp.h>
42006 #endif
42009 main ()
42011 _fpclass(0);
42013 return 0;
42015 _ACEOF
42016 if ac_fn_cxx_try_compile "$LINENO"; then :
42017 glibcxx_cv_func__fpclass_use=yes
42018 else
42019 glibcxx_cv_func__fpclass_use=no
42021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42022 ac_ext=c
42023 ac_cpp='$CPP $CPPFLAGS'
42024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42033 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42035 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42036 for ac_func in _fpclass
42037 do :
42038 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42039 if test "x$ac_cv_func__fpclass" = xyes; then :
42040 cat >>confdefs.h <<_ACEOF
42041 #define HAVE__FPCLASS 1
42042 _ACEOF
42045 done
42054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42055 $as_echo_n "checking for qfpclass declaration... " >&6; }
42056 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42057 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42058 $as_echo_n "(cached) " >&6
42059 else
42062 ac_ext=cpp
42063 ac_cpp='$CXXCPP $CPPFLAGS'
42064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42069 /* end confdefs.h. */
42070 #include <math.h>
42071 #ifdef HAVE_IEEEFP_H
42072 #include <ieeefp.h>
42073 #endif
42076 main ()
42078 qfpclass(0);
42080 return 0;
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084 glibcxx_cv_func_qfpclass_use=yes
42085 else
42086 glibcxx_cv_func_qfpclass_use=no
42088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42089 ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42100 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42102 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42103 for ac_func in qfpclass
42104 do :
42105 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42106 if test "x$ac_cv_func_qfpclass" = xyes; then :
42107 cat >>confdefs.h <<_ACEOF
42108 #define HAVE_QFPCLASS 1
42109 _ACEOF
42112 done
42114 else
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42117 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42118 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42119 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42138 main ()
42140 _qfpclass(0);
42142 return 0;
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func__qfpclass_use=yes
42147 else
42148 glibcxx_cv_func__qfpclass_use=no
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42162 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42164 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42165 for ac_func in _qfpclass
42166 do :
42167 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42168 if test "x$ac_cv_func__qfpclass" = xyes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE__QFPCLASS 1
42171 _ACEOF
42174 done
42183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42184 $as_echo_n "checking for hypot declaration... " >&6; }
42185 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42186 if ${glibcxx_cv_func_hypot_use+:} false; then :
42187 $as_echo_n "(cached) " >&6
42188 else
42191 ac_ext=cpp
42192 ac_cpp='$CXXCPP $CPPFLAGS'
42193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42198 /* end confdefs.h. */
42199 #include <math.h>
42201 main ()
42203 hypot(0, 0);
42205 return 0;
42207 _ACEOF
42208 if ac_fn_cxx_try_compile "$LINENO"; then :
42209 glibcxx_cv_func_hypot_use=yes
42210 else
42211 glibcxx_cv_func_hypot_use=no
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42214 ac_ext=c
42215 ac_cpp='$CPP $CPPFLAGS'
42216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42225 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42227 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42228 for ac_func in hypot
42229 do :
42230 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42231 if test "x$ac_cv_func_hypot" = xyes; then :
42232 cat >>confdefs.h <<_ACEOF
42233 #define HAVE_HYPOT 1
42234 _ACEOF
42237 done
42239 else
42241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42242 $as_echo_n "checking for _hypot declaration... " >&6; }
42243 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42244 if ${glibcxx_cv_func__hypot_use+:} false; then :
42245 $as_echo_n "(cached) " >&6
42246 else
42249 ac_ext=cpp
42250 ac_cpp='$CXXCPP $CPPFLAGS'
42251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42256 /* end confdefs.h. */
42257 #include <math.h>
42259 main ()
42261 _hypot(0, 0);
42263 return 0;
42265 _ACEOF
42266 if ac_fn_cxx_try_compile "$LINENO"; then :
42267 glibcxx_cv_func__hypot_use=yes
42268 else
42269 glibcxx_cv_func__hypot_use=no
42271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42272 ac_ext=c
42273 ac_cpp='$CPP $CPPFLAGS'
42274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42283 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42285 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42286 for ac_func in _hypot
42287 do :
42288 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42289 if test "x$ac_cv_func__hypot" = xyes; then :
42290 cat >>confdefs.h <<_ACEOF
42291 #define HAVE__HYPOT 1
42292 _ACEOF
42295 done
42304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42305 $as_echo_n "checking for float trig functions... " >&6; }
42306 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42307 $as_echo_n "(cached) " >&6
42308 else
42311 ac_ext=cpp
42312 ac_cpp='$CXXCPP $CPPFLAGS'
42313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42318 /* end confdefs.h. */
42319 #include <math.h>
42321 main ()
42323 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42325 return 0;
42327 _ACEOF
42328 if ac_fn_cxx_try_compile "$LINENO"; then :
42329 glibcxx_cv_func_float_trig_use=yes
42330 else
42331 glibcxx_cv_func_float_trig_use=no
42333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42334 ac_ext=c
42335 ac_cpp='$CPP $CPPFLAGS'
42336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42343 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42344 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42345 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42346 do :
42347 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42348 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42349 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42350 cat >>confdefs.h <<_ACEOF
42351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42352 _ACEOF
42355 done
42357 else
42358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42359 $as_echo_n "checking for _float trig functions... " >&6; }
42360 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42361 $as_echo_n "(cached) " >&6
42362 else
42365 ac_ext=cpp
42366 ac_cpp='$CXXCPP $CPPFLAGS'
42367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42372 /* end confdefs.h. */
42373 #include <math.h>
42375 main ()
42377 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42379 return 0;
42381 _ACEOF
42382 if ac_fn_cxx_try_compile "$LINENO"; then :
42383 glibcxx_cv_func__float_trig_use=yes
42384 else
42385 glibcxx_cv_func__float_trig_use=no
42387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42388 ac_ext=c
42389 ac_cpp='$CPP $CPPFLAGS'
42390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42397 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42398 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42399 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42400 do :
42401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42403 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42404 cat >>confdefs.h <<_ACEOF
42405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42406 _ACEOF
42409 done
42418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42419 $as_echo_n "checking for float round functions... " >&6; }
42420 if ${glibcxx_cv_func_float_round_use+:} false; then :
42421 $as_echo_n "(cached) " >&6
42422 else
42425 ac_ext=cpp
42426 ac_cpp='$CXXCPP $CPPFLAGS'
42427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42432 /* end confdefs.h. */
42433 #include <math.h>
42435 main ()
42437 ceilf (0); floorf (0);
42439 return 0;
42441 _ACEOF
42442 if ac_fn_cxx_try_compile "$LINENO"; then :
42443 glibcxx_cv_func_float_round_use=yes
42444 else
42445 glibcxx_cv_func_float_round_use=no
42447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42448 ac_ext=c
42449 ac_cpp='$CPP $CPPFLAGS'
42450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42457 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42458 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42459 for ac_func in ceilf floorf
42460 do :
42461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42463 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42464 cat >>confdefs.h <<_ACEOF
42465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42466 _ACEOF
42469 done
42471 else
42472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42473 $as_echo_n "checking for _float round functions... " >&6; }
42474 if ${glibcxx_cv_func__float_round_use+:} false; then :
42475 $as_echo_n "(cached) " >&6
42476 else
42479 ac_ext=cpp
42480 ac_cpp='$CXXCPP $CPPFLAGS'
42481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42486 /* end confdefs.h. */
42487 #include <math.h>
42489 main ()
42491 _ceilf (0); _floorf (0);
42493 return 0;
42495 _ACEOF
42496 if ac_fn_cxx_try_compile "$LINENO"; then :
42497 glibcxx_cv_func__float_round_use=yes
42498 else
42499 glibcxx_cv_func__float_round_use=no
42501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42502 ac_ext=c
42503 ac_cpp='$CPP $CPPFLAGS'
42504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42511 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42512 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42513 for ac_func in _ceilf _floorf
42514 do :
42515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42517 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42518 cat >>confdefs.h <<_ACEOF
42519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42520 _ACEOF
42523 done
42533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42534 $as_echo_n "checking for expf declaration... " >&6; }
42535 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42536 if ${glibcxx_cv_func_expf_use+:} false; then :
42537 $as_echo_n "(cached) " >&6
42538 else
42541 ac_ext=cpp
42542 ac_cpp='$CXXCPP $CPPFLAGS'
42543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42548 /* end confdefs.h. */
42549 #include <math.h>
42550 #ifdef HAVE_IEEEFP_H
42551 #include <ieeefp.h>
42552 #endif
42555 main ()
42557 expf(0);
42559 return 0;
42561 _ACEOF
42562 if ac_fn_cxx_try_compile "$LINENO"; then :
42563 glibcxx_cv_func_expf_use=yes
42564 else
42565 glibcxx_cv_func_expf_use=no
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42568 ac_ext=c
42569 ac_cpp='$CPP $CPPFLAGS'
42570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42579 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42581 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42582 for ac_func in expf
42583 do :
42584 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42585 if test "x$ac_cv_func_expf" = xyes; then :
42586 cat >>confdefs.h <<_ACEOF
42587 #define HAVE_EXPF 1
42588 _ACEOF
42591 done
42593 else
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42596 $as_echo_n "checking for _expf declaration... " >&6; }
42597 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42598 if ${glibcxx_cv_func__expf_use+:} false; then :
42599 $as_echo_n "(cached) " >&6
42600 else
42603 ac_ext=cpp
42604 ac_cpp='$CXXCPP $CPPFLAGS'
42605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42610 /* end confdefs.h. */
42611 #include <math.h>
42612 #ifdef HAVE_IEEEFP_H
42613 #include <ieeefp.h>
42614 #endif
42617 main ()
42619 _expf(0);
42621 return 0;
42623 _ACEOF
42624 if ac_fn_cxx_try_compile "$LINENO"; then :
42625 glibcxx_cv_func__expf_use=yes
42626 else
42627 glibcxx_cv_func__expf_use=no
42629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42630 ac_ext=c
42631 ac_cpp='$CPP $CPPFLAGS'
42632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42641 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42643 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42644 for ac_func in _expf
42645 do :
42646 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42647 if test "x$ac_cv_func__expf" = xyes; then :
42648 cat >>confdefs.h <<_ACEOF
42649 #define HAVE__EXPF 1
42650 _ACEOF
42653 done
42662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42663 $as_echo_n "checking for isnanf declaration... " >&6; }
42664 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42665 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42666 $as_echo_n "(cached) " >&6
42667 else
42670 ac_ext=cpp
42671 ac_cpp='$CXXCPP $CPPFLAGS'
42672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42677 /* end confdefs.h. */
42678 #include <math.h>
42679 #ifdef HAVE_IEEEFP_H
42680 #include <ieeefp.h>
42681 #endif
42684 main ()
42686 isnanf(0);
42688 return 0;
42690 _ACEOF
42691 if ac_fn_cxx_try_compile "$LINENO"; then :
42692 glibcxx_cv_func_isnanf_use=yes
42693 else
42694 glibcxx_cv_func_isnanf_use=no
42696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42697 ac_ext=c
42698 ac_cpp='$CPP $CPPFLAGS'
42699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42708 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42710 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42711 for ac_func in isnanf
42712 do :
42713 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42714 if test "x$ac_cv_func_isnanf" = xyes; then :
42715 cat >>confdefs.h <<_ACEOF
42716 #define HAVE_ISNANF 1
42717 _ACEOF
42720 done
42722 else
42724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42725 $as_echo_n "checking for _isnanf declaration... " >&6; }
42726 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42727 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42728 $as_echo_n "(cached) " >&6
42729 else
42732 ac_ext=cpp
42733 ac_cpp='$CXXCPP $CPPFLAGS'
42734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42739 /* end confdefs.h. */
42740 #include <math.h>
42741 #ifdef HAVE_IEEEFP_H
42742 #include <ieeefp.h>
42743 #endif
42746 main ()
42748 _isnanf(0);
42750 return 0;
42752 _ACEOF
42753 if ac_fn_cxx_try_compile "$LINENO"; then :
42754 glibcxx_cv_func__isnanf_use=yes
42755 else
42756 glibcxx_cv_func__isnanf_use=no
42758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42759 ac_ext=c
42760 ac_cpp='$CPP $CPPFLAGS'
42761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42770 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42772 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42773 for ac_func in _isnanf
42774 do :
42775 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42776 if test "x$ac_cv_func__isnanf" = xyes; then :
42777 cat >>confdefs.h <<_ACEOF
42778 #define HAVE__ISNANF 1
42779 _ACEOF
42782 done
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42792 $as_echo_n "checking for isinff declaration... " >&6; }
42793 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42794 if ${glibcxx_cv_func_isinff_use+:} false; then :
42795 $as_echo_n "(cached) " >&6
42796 else
42799 ac_ext=cpp
42800 ac_cpp='$CXXCPP $CPPFLAGS'
42801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42806 /* end confdefs.h. */
42807 #include <math.h>
42808 #ifdef HAVE_IEEEFP_H
42809 #include <ieeefp.h>
42810 #endif
42813 main ()
42815 isinff(0);
42817 return 0;
42819 _ACEOF
42820 if ac_fn_cxx_try_compile "$LINENO"; then :
42821 glibcxx_cv_func_isinff_use=yes
42822 else
42823 glibcxx_cv_func_isinff_use=no
42825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42826 ac_ext=c
42827 ac_cpp='$CPP $CPPFLAGS'
42828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42837 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42839 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42840 for ac_func in isinff
42841 do :
42842 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42843 if test "x$ac_cv_func_isinff" = xyes; then :
42844 cat >>confdefs.h <<_ACEOF
42845 #define HAVE_ISINFF 1
42846 _ACEOF
42849 done
42851 else
42853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42854 $as_echo_n "checking for _isinff declaration... " >&6; }
42855 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42856 if ${glibcxx_cv_func__isinff_use+:} false; then :
42857 $as_echo_n "(cached) " >&6
42858 else
42861 ac_ext=cpp
42862 ac_cpp='$CXXCPP $CPPFLAGS'
42863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42868 /* end confdefs.h. */
42869 #include <math.h>
42870 #ifdef HAVE_IEEEFP_H
42871 #include <ieeefp.h>
42872 #endif
42875 main ()
42877 _isinff(0);
42879 return 0;
42881 _ACEOF
42882 if ac_fn_cxx_try_compile "$LINENO"; then :
42883 glibcxx_cv_func__isinff_use=yes
42884 else
42885 glibcxx_cv_func__isinff_use=no
42887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42888 ac_ext=c
42889 ac_cpp='$CPP $CPPFLAGS'
42890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42899 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42901 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42902 for ac_func in _isinff
42903 do :
42904 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42905 if test "x$ac_cv_func__isinff" = xyes; then :
42906 cat >>confdefs.h <<_ACEOF
42907 #define HAVE__ISINFF 1
42908 _ACEOF
42911 done
42920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42921 $as_echo_n "checking for atan2f declaration... " >&6; }
42922 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42923 if ${glibcxx_cv_func_atan2f_use+:} false; then :
42924 $as_echo_n "(cached) " >&6
42925 else
42928 ac_ext=cpp
42929 ac_cpp='$CXXCPP $CPPFLAGS'
42930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42935 /* end confdefs.h. */
42936 #include <math.h>
42938 main ()
42940 atan2f(0, 0);
42942 return 0;
42944 _ACEOF
42945 if ac_fn_cxx_try_compile "$LINENO"; then :
42946 glibcxx_cv_func_atan2f_use=yes
42947 else
42948 glibcxx_cv_func_atan2f_use=no
42950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42951 ac_ext=c
42952 ac_cpp='$CPP $CPPFLAGS'
42953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42962 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42964 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42965 for ac_func in atan2f
42966 do :
42967 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42968 if test "x$ac_cv_func_atan2f" = xyes; then :
42969 cat >>confdefs.h <<_ACEOF
42970 #define HAVE_ATAN2F 1
42971 _ACEOF
42974 done
42976 else
42978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42979 $as_echo_n "checking for _atan2f declaration... " >&6; }
42980 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42981 if ${glibcxx_cv_func__atan2f_use+:} false; then :
42982 $as_echo_n "(cached) " >&6
42983 else
42986 ac_ext=cpp
42987 ac_cpp='$CXXCPP $CPPFLAGS'
42988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42993 /* end confdefs.h. */
42994 #include <math.h>
42996 main ()
42998 _atan2f(0, 0);
43000 return 0;
43002 _ACEOF
43003 if ac_fn_cxx_try_compile "$LINENO"; then :
43004 glibcxx_cv_func__atan2f_use=yes
43005 else
43006 glibcxx_cv_func__atan2f_use=no
43008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43009 ac_ext=c
43010 ac_cpp='$CPP $CPPFLAGS'
43011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43020 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43022 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43023 for ac_func in _atan2f
43024 do :
43025 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43026 if test "x$ac_cv_func__atan2f" = xyes; then :
43027 cat >>confdefs.h <<_ACEOF
43028 #define HAVE__ATAN2F 1
43029 _ACEOF
43032 done
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43042 $as_echo_n "checking for fabsf declaration... " >&6; }
43043 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43044 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43045 $as_echo_n "(cached) " >&6
43046 else
43049 ac_ext=cpp
43050 ac_cpp='$CXXCPP $CPPFLAGS'
43051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43056 /* end confdefs.h. */
43057 #include <math.h>
43058 #ifdef HAVE_IEEEFP_H
43059 #include <ieeefp.h>
43060 #endif
43063 main ()
43065 fabsf(0);
43067 return 0;
43069 _ACEOF
43070 if ac_fn_cxx_try_compile "$LINENO"; then :
43071 glibcxx_cv_func_fabsf_use=yes
43072 else
43073 glibcxx_cv_func_fabsf_use=no
43075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43076 ac_ext=c
43077 ac_cpp='$CPP $CPPFLAGS'
43078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43087 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43089 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43090 for ac_func in fabsf
43091 do :
43092 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43093 if test "x$ac_cv_func_fabsf" = xyes; then :
43094 cat >>confdefs.h <<_ACEOF
43095 #define HAVE_FABSF 1
43096 _ACEOF
43099 done
43101 else
43103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43104 $as_echo_n "checking for _fabsf declaration... " >&6; }
43105 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43106 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43107 $as_echo_n "(cached) " >&6
43108 else
43111 ac_ext=cpp
43112 ac_cpp='$CXXCPP $CPPFLAGS'
43113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43118 /* end confdefs.h. */
43119 #include <math.h>
43120 #ifdef HAVE_IEEEFP_H
43121 #include <ieeefp.h>
43122 #endif
43125 main ()
43127 _fabsf(0);
43129 return 0;
43131 _ACEOF
43132 if ac_fn_cxx_try_compile "$LINENO"; then :
43133 glibcxx_cv_func__fabsf_use=yes
43134 else
43135 glibcxx_cv_func__fabsf_use=no
43137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43138 ac_ext=c
43139 ac_cpp='$CPP $CPPFLAGS'
43140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43149 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43151 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43152 for ac_func in _fabsf
43153 do :
43154 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43155 if test "x$ac_cv_func__fabsf" = xyes; then :
43156 cat >>confdefs.h <<_ACEOF
43157 #define HAVE__FABSF 1
43158 _ACEOF
43161 done
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43171 $as_echo_n "checking for fmodf declaration... " >&6; }
43172 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43173 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43174 $as_echo_n "(cached) " >&6
43175 else
43178 ac_ext=cpp
43179 ac_cpp='$CXXCPP $CPPFLAGS'
43180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43185 /* end confdefs.h. */
43186 #include <math.h>
43188 main ()
43190 fmodf(0, 0);
43192 return 0;
43194 _ACEOF
43195 if ac_fn_cxx_try_compile "$LINENO"; then :
43196 glibcxx_cv_func_fmodf_use=yes
43197 else
43198 glibcxx_cv_func_fmodf_use=no
43200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43201 ac_ext=c
43202 ac_cpp='$CPP $CPPFLAGS'
43203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43212 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43214 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43215 for ac_func in fmodf
43216 do :
43217 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43218 if test "x$ac_cv_func_fmodf" = xyes; then :
43219 cat >>confdefs.h <<_ACEOF
43220 #define HAVE_FMODF 1
43221 _ACEOF
43224 done
43226 else
43228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43229 $as_echo_n "checking for _fmodf declaration... " >&6; }
43230 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43231 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43232 $as_echo_n "(cached) " >&6
43233 else
43236 ac_ext=cpp
43237 ac_cpp='$CXXCPP $CPPFLAGS'
43238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43243 /* end confdefs.h. */
43244 #include <math.h>
43246 main ()
43248 _fmodf(0, 0);
43250 return 0;
43252 _ACEOF
43253 if ac_fn_cxx_try_compile "$LINENO"; then :
43254 glibcxx_cv_func__fmodf_use=yes
43255 else
43256 glibcxx_cv_func__fmodf_use=no
43258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43259 ac_ext=c
43260 ac_cpp='$CPP $CPPFLAGS'
43261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43270 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43272 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43273 for ac_func in _fmodf
43274 do :
43275 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43276 if test "x$ac_cv_func__fmodf" = xyes; then :
43277 cat >>confdefs.h <<_ACEOF
43278 #define HAVE__FMODF 1
43279 _ACEOF
43282 done
43291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43292 $as_echo_n "checking for frexpf declaration... " >&6; }
43293 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43294 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43295 $as_echo_n "(cached) " >&6
43296 else
43299 ac_ext=cpp
43300 ac_cpp='$CXXCPP $CPPFLAGS'
43301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43306 /* end confdefs.h. */
43307 #include <math.h>
43309 main ()
43311 frexpf(0, 0);
43313 return 0;
43315 _ACEOF
43316 if ac_fn_cxx_try_compile "$LINENO"; then :
43317 glibcxx_cv_func_frexpf_use=yes
43318 else
43319 glibcxx_cv_func_frexpf_use=no
43321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43322 ac_ext=c
43323 ac_cpp='$CPP $CPPFLAGS'
43324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43333 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43335 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43336 for ac_func in frexpf
43337 do :
43338 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43339 if test "x$ac_cv_func_frexpf" = xyes; then :
43340 cat >>confdefs.h <<_ACEOF
43341 #define HAVE_FREXPF 1
43342 _ACEOF
43345 done
43347 else
43349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43350 $as_echo_n "checking for _frexpf declaration... " >&6; }
43351 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43352 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43353 $as_echo_n "(cached) " >&6
43354 else
43357 ac_ext=cpp
43358 ac_cpp='$CXXCPP $CPPFLAGS'
43359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43364 /* end confdefs.h. */
43365 #include <math.h>
43367 main ()
43369 _frexpf(0, 0);
43371 return 0;
43373 _ACEOF
43374 if ac_fn_cxx_try_compile "$LINENO"; then :
43375 glibcxx_cv_func__frexpf_use=yes
43376 else
43377 glibcxx_cv_func__frexpf_use=no
43379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43380 ac_ext=c
43381 ac_cpp='$CPP $CPPFLAGS'
43382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43391 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43393 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43394 for ac_func in _frexpf
43395 do :
43396 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43397 if test "x$ac_cv_func__frexpf" = xyes; then :
43398 cat >>confdefs.h <<_ACEOF
43399 #define HAVE__FREXPF 1
43400 _ACEOF
43403 done
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43413 $as_echo_n "checking for hypotf declaration... " >&6; }
43414 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43415 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43416 $as_echo_n "(cached) " >&6
43417 else
43420 ac_ext=cpp
43421 ac_cpp='$CXXCPP $CPPFLAGS'
43422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43427 /* end confdefs.h. */
43428 #include <math.h>
43430 main ()
43432 hypotf(0, 0);
43434 return 0;
43436 _ACEOF
43437 if ac_fn_cxx_try_compile "$LINENO"; then :
43438 glibcxx_cv_func_hypotf_use=yes
43439 else
43440 glibcxx_cv_func_hypotf_use=no
43442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43443 ac_ext=c
43444 ac_cpp='$CPP $CPPFLAGS'
43445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43454 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43456 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43457 for ac_func in hypotf
43458 do :
43459 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43460 if test "x$ac_cv_func_hypotf" = xyes; then :
43461 cat >>confdefs.h <<_ACEOF
43462 #define HAVE_HYPOTF 1
43463 _ACEOF
43466 done
43468 else
43470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43471 $as_echo_n "checking for _hypotf declaration... " >&6; }
43472 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43473 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43474 $as_echo_n "(cached) " >&6
43475 else
43478 ac_ext=cpp
43479 ac_cpp='$CXXCPP $CPPFLAGS'
43480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43485 /* end confdefs.h. */
43486 #include <math.h>
43488 main ()
43490 _hypotf(0, 0);
43492 return 0;
43494 _ACEOF
43495 if ac_fn_cxx_try_compile "$LINENO"; then :
43496 glibcxx_cv_func__hypotf_use=yes
43497 else
43498 glibcxx_cv_func__hypotf_use=no
43500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43501 ac_ext=c
43502 ac_cpp='$CPP $CPPFLAGS'
43503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43512 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43514 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43515 for ac_func in _hypotf
43516 do :
43517 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43518 if test "x$ac_cv_func__hypotf" = xyes; then :
43519 cat >>confdefs.h <<_ACEOF
43520 #define HAVE__HYPOTF 1
43521 _ACEOF
43524 done
43533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43534 $as_echo_n "checking for ldexpf declaration... " >&6; }
43535 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43536 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43537 $as_echo_n "(cached) " >&6
43538 else
43541 ac_ext=cpp
43542 ac_cpp='$CXXCPP $CPPFLAGS'
43543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43548 /* end confdefs.h. */
43549 #include <math.h>
43551 main ()
43553 ldexpf(0, 0);
43555 return 0;
43557 _ACEOF
43558 if ac_fn_cxx_try_compile "$LINENO"; then :
43559 glibcxx_cv_func_ldexpf_use=yes
43560 else
43561 glibcxx_cv_func_ldexpf_use=no
43563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43564 ac_ext=c
43565 ac_cpp='$CPP $CPPFLAGS'
43566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43575 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43577 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43578 for ac_func in ldexpf
43579 do :
43580 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43581 if test "x$ac_cv_func_ldexpf" = xyes; then :
43582 cat >>confdefs.h <<_ACEOF
43583 #define HAVE_LDEXPF 1
43584 _ACEOF
43587 done
43589 else
43591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43592 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43593 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43594 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43595 $as_echo_n "(cached) " >&6
43596 else
43599 ac_ext=cpp
43600 ac_cpp='$CXXCPP $CPPFLAGS'
43601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43606 /* end confdefs.h. */
43607 #include <math.h>
43609 main ()
43611 _ldexpf(0, 0);
43613 return 0;
43615 _ACEOF
43616 if ac_fn_cxx_try_compile "$LINENO"; then :
43617 glibcxx_cv_func__ldexpf_use=yes
43618 else
43619 glibcxx_cv_func__ldexpf_use=no
43621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43622 ac_ext=c
43623 ac_cpp='$CPP $CPPFLAGS'
43624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43633 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43635 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43636 for ac_func in _ldexpf
43637 do :
43638 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43639 if test "x$ac_cv_func__ldexpf" = xyes; then :
43640 cat >>confdefs.h <<_ACEOF
43641 #define HAVE__LDEXPF 1
43642 _ACEOF
43645 done
43654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43655 $as_echo_n "checking for logf declaration... " >&6; }
43656 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43657 if ${glibcxx_cv_func_logf_use+:} false; then :
43658 $as_echo_n "(cached) " >&6
43659 else
43662 ac_ext=cpp
43663 ac_cpp='$CXXCPP $CPPFLAGS'
43664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43669 /* end confdefs.h. */
43670 #include <math.h>
43671 #ifdef HAVE_IEEEFP_H
43672 #include <ieeefp.h>
43673 #endif
43676 main ()
43678 logf(0);
43680 return 0;
43682 _ACEOF
43683 if ac_fn_cxx_try_compile "$LINENO"; then :
43684 glibcxx_cv_func_logf_use=yes
43685 else
43686 glibcxx_cv_func_logf_use=no
43688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43689 ac_ext=c
43690 ac_cpp='$CPP $CPPFLAGS'
43691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43700 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43702 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43703 for ac_func in logf
43704 do :
43705 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43706 if test "x$ac_cv_func_logf" = xyes; then :
43707 cat >>confdefs.h <<_ACEOF
43708 #define HAVE_LOGF 1
43709 _ACEOF
43712 done
43714 else
43716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43717 $as_echo_n "checking for _logf declaration... " >&6; }
43718 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43719 if ${glibcxx_cv_func__logf_use+:} false; then :
43720 $as_echo_n "(cached) " >&6
43721 else
43724 ac_ext=cpp
43725 ac_cpp='$CXXCPP $CPPFLAGS'
43726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43731 /* end confdefs.h. */
43732 #include <math.h>
43733 #ifdef HAVE_IEEEFP_H
43734 #include <ieeefp.h>
43735 #endif
43738 main ()
43740 _logf(0);
43742 return 0;
43744 _ACEOF
43745 if ac_fn_cxx_try_compile "$LINENO"; then :
43746 glibcxx_cv_func__logf_use=yes
43747 else
43748 glibcxx_cv_func__logf_use=no
43750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43751 ac_ext=c
43752 ac_cpp='$CPP $CPPFLAGS'
43753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43762 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43764 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43765 for ac_func in _logf
43766 do :
43767 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43768 if test "x$ac_cv_func__logf" = xyes; then :
43769 cat >>confdefs.h <<_ACEOF
43770 #define HAVE__LOGF 1
43771 _ACEOF
43774 done
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43784 $as_echo_n "checking for log10f declaration... " >&6; }
43785 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43786 if ${glibcxx_cv_func_log10f_use+:} false; then :
43787 $as_echo_n "(cached) " >&6
43788 else
43791 ac_ext=cpp
43792 ac_cpp='$CXXCPP $CPPFLAGS'
43793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43798 /* end confdefs.h. */
43799 #include <math.h>
43800 #ifdef HAVE_IEEEFP_H
43801 #include <ieeefp.h>
43802 #endif
43805 main ()
43807 log10f(0);
43809 return 0;
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func_log10f_use=yes
43814 else
43815 glibcxx_cv_func_log10f_use=no
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43829 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43831 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43832 for ac_func in log10f
43833 do :
43834 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43835 if test "x$ac_cv_func_log10f" = xyes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE_LOG10F 1
43838 _ACEOF
43841 done
43843 else
43845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43846 $as_echo_n "checking for _log10f declaration... " >&6; }
43847 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43848 if ${glibcxx_cv_func__log10f_use+:} false; then :
43849 $as_echo_n "(cached) " >&6
43850 else
43853 ac_ext=cpp
43854 ac_cpp='$CXXCPP $CPPFLAGS'
43855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43860 /* end confdefs.h. */
43861 #include <math.h>
43862 #ifdef HAVE_IEEEFP_H
43863 #include <ieeefp.h>
43864 #endif
43867 main ()
43869 _log10f(0);
43871 return 0;
43873 _ACEOF
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func__log10f_use=yes
43876 else
43877 glibcxx_cv_func__log10f_use=no
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 ac_ext=c
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43891 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43893 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43894 for ac_func in _log10f
43895 do :
43896 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43897 if test "x$ac_cv_func__log10f" = xyes; then :
43898 cat >>confdefs.h <<_ACEOF
43899 #define HAVE__LOG10F 1
43900 _ACEOF
43903 done
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43913 $as_echo_n "checking for modff declaration... " >&6; }
43914 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43915 if ${glibcxx_cv_func_modff_use+:} false; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <math.h>
43930 main ()
43932 modff(0, 0);
43934 return 0;
43936 _ACEOF
43937 if ac_fn_cxx_try_compile "$LINENO"; then :
43938 glibcxx_cv_func_modff_use=yes
43939 else
43940 glibcxx_cv_func_modff_use=no
43942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43954 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43956 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43957 for ac_func in modff
43958 do :
43959 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43960 if test "x$ac_cv_func_modff" = xyes; then :
43961 cat >>confdefs.h <<_ACEOF
43962 #define HAVE_MODFF 1
43963 _ACEOF
43966 done
43968 else
43970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43971 $as_echo_n "checking for _modff declaration... " >&6; }
43972 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43973 if ${glibcxx_cv_func__modff_use+:} false; then :
43974 $as_echo_n "(cached) " >&6
43975 else
43978 ac_ext=cpp
43979 ac_cpp='$CXXCPP $CPPFLAGS'
43980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43985 /* end confdefs.h. */
43986 #include <math.h>
43988 main ()
43990 _modff(0, 0);
43992 return 0;
43994 _ACEOF
43995 if ac_fn_cxx_try_compile "$LINENO"; then :
43996 glibcxx_cv_func__modff_use=yes
43997 else
43998 glibcxx_cv_func__modff_use=no
44000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44001 ac_ext=c
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44012 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44014 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44015 for ac_func in _modff
44016 do :
44017 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44018 if test "x$ac_cv_func__modff" = xyes; then :
44019 cat >>confdefs.h <<_ACEOF
44020 #define HAVE__MODFF 1
44021 _ACEOF
44024 done
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44034 $as_echo_n "checking for modf declaration... " >&6; }
44035 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44036 if ${glibcxx_cv_func_modf_use+:} false; then :
44037 $as_echo_n "(cached) " >&6
44038 else
44041 ac_ext=cpp
44042 ac_cpp='$CXXCPP $CPPFLAGS'
44043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44048 /* end confdefs.h. */
44049 #include <math.h>
44051 main ()
44053 modf(0, 0);
44055 return 0;
44057 _ACEOF
44058 if ac_fn_cxx_try_compile "$LINENO"; then :
44059 glibcxx_cv_func_modf_use=yes
44060 else
44061 glibcxx_cv_func_modf_use=no
44063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44064 ac_ext=c
44065 ac_cpp='$CPP $CPPFLAGS'
44066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44075 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44077 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44078 for ac_func in modf
44079 do :
44080 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44081 if test "x$ac_cv_func_modf" = xyes; then :
44082 cat >>confdefs.h <<_ACEOF
44083 #define HAVE_MODF 1
44084 _ACEOF
44087 done
44089 else
44091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44092 $as_echo_n "checking for _modf declaration... " >&6; }
44093 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44094 if ${glibcxx_cv_func__modf_use+:} false; then :
44095 $as_echo_n "(cached) " >&6
44096 else
44099 ac_ext=cpp
44100 ac_cpp='$CXXCPP $CPPFLAGS'
44101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44106 /* end confdefs.h. */
44107 #include <math.h>
44109 main ()
44111 _modf(0, 0);
44113 return 0;
44115 _ACEOF
44116 if ac_fn_cxx_try_compile "$LINENO"; then :
44117 glibcxx_cv_func__modf_use=yes
44118 else
44119 glibcxx_cv_func__modf_use=no
44121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44122 ac_ext=c
44123 ac_cpp='$CPP $CPPFLAGS'
44124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44133 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44135 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44136 for ac_func in _modf
44137 do :
44138 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44139 if test "x$ac_cv_func__modf" = xyes; then :
44140 cat >>confdefs.h <<_ACEOF
44141 #define HAVE__MODF 1
44142 _ACEOF
44145 done
44154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44155 $as_echo_n "checking for powf declaration... " >&6; }
44156 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44157 if ${glibcxx_cv_func_powf_use+:} false; then :
44158 $as_echo_n "(cached) " >&6
44159 else
44162 ac_ext=cpp
44163 ac_cpp='$CXXCPP $CPPFLAGS'
44164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44169 /* end confdefs.h. */
44170 #include <math.h>
44172 main ()
44174 powf(0, 0);
44176 return 0;
44178 _ACEOF
44179 if ac_fn_cxx_try_compile "$LINENO"; then :
44180 glibcxx_cv_func_powf_use=yes
44181 else
44182 glibcxx_cv_func_powf_use=no
44184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44185 ac_ext=c
44186 ac_cpp='$CPP $CPPFLAGS'
44187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44196 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44198 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44199 for ac_func in powf
44200 do :
44201 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44202 if test "x$ac_cv_func_powf" = xyes; then :
44203 cat >>confdefs.h <<_ACEOF
44204 #define HAVE_POWF 1
44205 _ACEOF
44208 done
44210 else
44212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44213 $as_echo_n "checking for _powf declaration... " >&6; }
44214 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44215 if ${glibcxx_cv_func__powf_use+:} false; then :
44216 $as_echo_n "(cached) " >&6
44217 else
44220 ac_ext=cpp
44221 ac_cpp='$CXXCPP $CPPFLAGS'
44222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44227 /* end confdefs.h. */
44228 #include <math.h>
44230 main ()
44232 _powf(0, 0);
44234 return 0;
44236 _ACEOF
44237 if ac_fn_cxx_try_compile "$LINENO"; then :
44238 glibcxx_cv_func__powf_use=yes
44239 else
44240 glibcxx_cv_func__powf_use=no
44242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44243 ac_ext=c
44244 ac_cpp='$CPP $CPPFLAGS'
44245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44254 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44256 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44257 for ac_func in _powf
44258 do :
44259 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44260 if test "x$ac_cv_func__powf" = xyes; then :
44261 cat >>confdefs.h <<_ACEOF
44262 #define HAVE__POWF 1
44263 _ACEOF
44266 done
44275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44276 $as_echo_n "checking for sqrtf declaration... " >&6; }
44277 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44278 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44279 $as_echo_n "(cached) " >&6
44280 else
44283 ac_ext=cpp
44284 ac_cpp='$CXXCPP $CPPFLAGS'
44285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44290 /* end confdefs.h. */
44291 #include <math.h>
44292 #ifdef HAVE_IEEEFP_H
44293 #include <ieeefp.h>
44294 #endif
44297 main ()
44299 sqrtf(0);
44301 return 0;
44303 _ACEOF
44304 if ac_fn_cxx_try_compile "$LINENO"; then :
44305 glibcxx_cv_func_sqrtf_use=yes
44306 else
44307 glibcxx_cv_func_sqrtf_use=no
44309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44310 ac_ext=c
44311 ac_cpp='$CPP $CPPFLAGS'
44312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44321 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44323 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44324 for ac_func in sqrtf
44325 do :
44326 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44327 if test "x$ac_cv_func_sqrtf" = xyes; then :
44328 cat >>confdefs.h <<_ACEOF
44329 #define HAVE_SQRTF 1
44330 _ACEOF
44333 done
44335 else
44337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44338 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44339 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44340 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44341 $as_echo_n "(cached) " >&6
44342 else
44345 ac_ext=cpp
44346 ac_cpp='$CXXCPP $CPPFLAGS'
44347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44352 /* end confdefs.h. */
44353 #include <math.h>
44354 #ifdef HAVE_IEEEFP_H
44355 #include <ieeefp.h>
44356 #endif
44359 main ()
44361 _sqrtf(0);
44363 return 0;
44365 _ACEOF
44366 if ac_fn_cxx_try_compile "$LINENO"; then :
44367 glibcxx_cv_func__sqrtf_use=yes
44368 else
44369 glibcxx_cv_func__sqrtf_use=no
44371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44372 ac_ext=c
44373 ac_cpp='$CPP $CPPFLAGS'
44374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44383 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44385 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44386 for ac_func in _sqrtf
44387 do :
44388 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44389 if test "x$ac_cv_func__sqrtf" = xyes; then :
44390 cat >>confdefs.h <<_ACEOF
44391 #define HAVE__SQRTF 1
44392 _ACEOF
44395 done
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44405 $as_echo_n "checking for sincosf declaration... " >&6; }
44406 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44407 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44408 $as_echo_n "(cached) " >&6
44409 else
44412 ac_ext=cpp
44413 ac_cpp='$CXXCPP $CPPFLAGS'
44414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44419 /* end confdefs.h. */
44420 #include <math.h>
44422 main ()
44424 sincosf(0, 0, 0);
44426 return 0;
44428 _ACEOF
44429 if ac_fn_cxx_try_compile "$LINENO"; then :
44430 glibcxx_cv_func_sincosf_use=yes
44431 else
44432 glibcxx_cv_func_sincosf_use=no
44434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44435 ac_ext=c
44436 ac_cpp='$CPP $CPPFLAGS'
44437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44446 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44448 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44449 for ac_func in sincosf
44450 do :
44451 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44452 if test "x$ac_cv_func_sincosf" = xyes; then :
44453 cat >>confdefs.h <<_ACEOF
44454 #define HAVE_SINCOSF 1
44455 _ACEOF
44458 done
44460 else
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44463 $as_echo_n "checking for _sincosf declaration... " >&6; }
44464 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44465 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44466 $as_echo_n "(cached) " >&6
44467 else
44470 ac_ext=cpp
44471 ac_cpp='$CXXCPP $CPPFLAGS'
44472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44477 /* end confdefs.h. */
44478 #include <math.h>
44480 main ()
44482 _sincosf(0, 0, 0);
44484 return 0;
44486 _ACEOF
44487 if ac_fn_cxx_try_compile "$LINENO"; then :
44488 glibcxx_cv_func__sincosf_use=yes
44489 else
44490 glibcxx_cv_func__sincosf_use=no
44492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44493 ac_ext=c
44494 ac_cpp='$CPP $CPPFLAGS'
44495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44504 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44506 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44507 for ac_func in _sincosf
44508 do :
44509 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44510 if test "x$ac_cv_func__sincosf" = xyes; then :
44511 cat >>confdefs.h <<_ACEOF
44512 #define HAVE__SINCOSF 1
44513 _ACEOF
44516 done
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44526 $as_echo_n "checking for finitef declaration... " >&6; }
44527 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44528 if ${glibcxx_cv_func_finitef_use+:} false; then :
44529 $as_echo_n "(cached) " >&6
44530 else
44533 ac_ext=cpp
44534 ac_cpp='$CXXCPP $CPPFLAGS'
44535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44540 /* end confdefs.h. */
44541 #include <math.h>
44542 #ifdef HAVE_IEEEFP_H
44543 #include <ieeefp.h>
44544 #endif
44547 main ()
44549 finitef(0);
44551 return 0;
44553 _ACEOF
44554 if ac_fn_cxx_try_compile "$LINENO"; then :
44555 glibcxx_cv_func_finitef_use=yes
44556 else
44557 glibcxx_cv_func_finitef_use=no
44559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44560 ac_ext=c
44561 ac_cpp='$CPP $CPPFLAGS'
44562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44571 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44573 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44574 for ac_func in finitef
44575 do :
44576 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44577 if test "x$ac_cv_func_finitef" = xyes; then :
44578 cat >>confdefs.h <<_ACEOF
44579 #define HAVE_FINITEF 1
44580 _ACEOF
44583 done
44585 else
44587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44588 $as_echo_n "checking for _finitef declaration... " >&6; }
44589 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44590 if ${glibcxx_cv_func__finitef_use+:} false; then :
44591 $as_echo_n "(cached) " >&6
44592 else
44595 ac_ext=cpp
44596 ac_cpp='$CXXCPP $CPPFLAGS'
44597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44602 /* end confdefs.h. */
44603 #include <math.h>
44604 #ifdef HAVE_IEEEFP_H
44605 #include <ieeefp.h>
44606 #endif
44609 main ()
44611 _finitef(0);
44613 return 0;
44615 _ACEOF
44616 if ac_fn_cxx_try_compile "$LINENO"; then :
44617 glibcxx_cv_func__finitef_use=yes
44618 else
44619 glibcxx_cv_func__finitef_use=no
44621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44622 ac_ext=c
44623 ac_cpp='$CPP $CPPFLAGS'
44624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44633 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44635 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44636 for ac_func in _finitef
44637 do :
44638 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44639 if test "x$ac_cv_func__finitef" = xyes; then :
44640 cat >>confdefs.h <<_ACEOF
44641 #define HAVE__FINITEF 1
44642 _ACEOF
44645 done
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44655 $as_echo_n "checking for long double trig functions... " >&6; }
44656 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44657 $as_echo_n "(cached) " >&6
44658 else
44661 ac_ext=cpp
44662 ac_cpp='$CXXCPP $CPPFLAGS'
44663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44668 /* end confdefs.h. */
44669 #include <math.h>
44671 main ()
44673 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44675 return 0;
44677 _ACEOF
44678 if ac_fn_cxx_try_compile "$LINENO"; then :
44679 glibcxx_cv_func_long_double_trig_use=yes
44680 else
44681 glibcxx_cv_func_long_double_trig_use=no
44683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44684 ac_ext=c
44685 ac_cpp='$CPP $CPPFLAGS'
44686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44693 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44694 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44695 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44696 do :
44697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44699 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44700 cat >>confdefs.h <<_ACEOF
44701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44702 _ACEOF
44705 done
44707 else
44708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44709 $as_echo_n "checking for _long double trig functions... " >&6; }
44710 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44711 $as_echo_n "(cached) " >&6
44712 else
44715 ac_ext=cpp
44716 ac_cpp='$CXXCPP $CPPFLAGS'
44717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44722 /* end confdefs.h. */
44723 #include <math.h>
44725 main ()
44727 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44729 return 0;
44731 _ACEOF
44732 if ac_fn_cxx_try_compile "$LINENO"; then :
44733 glibcxx_cv_func__long_double_trig_use=yes
44734 else
44735 glibcxx_cv_func__long_double_trig_use=no
44737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44738 ac_ext=c
44739 ac_cpp='$CPP $CPPFLAGS'
44740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44747 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44748 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44749 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44750 do :
44751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44753 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44754 cat >>confdefs.h <<_ACEOF
44755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44756 _ACEOF
44759 done
44768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44769 $as_echo_n "checking for long double round functions... " >&6; }
44770 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44771 $as_echo_n "(cached) " >&6
44772 else
44775 ac_ext=cpp
44776 ac_cpp='$CXXCPP $CPPFLAGS'
44777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44782 /* end confdefs.h. */
44783 #include <math.h>
44785 main ()
44787 ceill (0); floorl (0);
44789 return 0;
44791 _ACEOF
44792 if ac_fn_cxx_try_compile "$LINENO"; then :
44793 glibcxx_cv_func_long_double_round_use=yes
44794 else
44795 glibcxx_cv_func_long_double_round_use=no
44797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44798 ac_ext=c
44799 ac_cpp='$CPP $CPPFLAGS'
44800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44807 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44808 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44809 for ac_func in ceill floorl
44810 do :
44811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44814 cat >>confdefs.h <<_ACEOF
44815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44816 _ACEOF
44819 done
44821 else
44822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44823 $as_echo_n "checking for _long double round functions... " >&6; }
44824 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44825 $as_echo_n "(cached) " >&6
44826 else
44829 ac_ext=cpp
44830 ac_cpp='$CXXCPP $CPPFLAGS'
44831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44836 /* end confdefs.h. */
44837 #include <math.h>
44839 main ()
44841 _ceill (0); _floorl (0);
44843 return 0;
44845 _ACEOF
44846 if ac_fn_cxx_try_compile "$LINENO"; then :
44847 glibcxx_cv_func__long_double_round_use=yes
44848 else
44849 glibcxx_cv_func__long_double_round_use=no
44851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44852 ac_ext=c
44853 ac_cpp='$CPP $CPPFLAGS'
44854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44861 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44862 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44863 for ac_func in _ceill _floorl
44864 do :
44865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44867 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44868 cat >>confdefs.h <<_ACEOF
44869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44870 _ACEOF
44873 done
44883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44884 $as_echo_n "checking for isnanl declaration... " >&6; }
44885 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44886 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44887 $as_echo_n "(cached) " >&6
44888 else
44891 ac_ext=cpp
44892 ac_cpp='$CXXCPP $CPPFLAGS'
44893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44898 /* end confdefs.h. */
44899 #include <math.h>
44900 #ifdef HAVE_IEEEFP_H
44901 #include <ieeefp.h>
44902 #endif
44905 main ()
44907 isnanl(0);
44909 return 0;
44911 _ACEOF
44912 if ac_fn_cxx_try_compile "$LINENO"; then :
44913 glibcxx_cv_func_isnanl_use=yes
44914 else
44915 glibcxx_cv_func_isnanl_use=no
44917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44918 ac_ext=c
44919 ac_cpp='$CPP $CPPFLAGS'
44920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44929 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44931 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44932 for ac_func in isnanl
44933 do :
44934 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44935 if test "x$ac_cv_func_isnanl" = xyes; then :
44936 cat >>confdefs.h <<_ACEOF
44937 #define HAVE_ISNANL 1
44938 _ACEOF
44941 done
44943 else
44945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44946 $as_echo_n "checking for _isnanl declaration... " >&6; }
44947 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44948 if ${glibcxx_cv_func__isnanl_use+:} false; then :
44949 $as_echo_n "(cached) " >&6
44950 else
44953 ac_ext=cpp
44954 ac_cpp='$CXXCPP $CPPFLAGS'
44955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44960 /* end confdefs.h. */
44961 #include <math.h>
44962 #ifdef HAVE_IEEEFP_H
44963 #include <ieeefp.h>
44964 #endif
44967 main ()
44969 _isnanl(0);
44971 return 0;
44973 _ACEOF
44974 if ac_fn_cxx_try_compile "$LINENO"; then :
44975 glibcxx_cv_func__isnanl_use=yes
44976 else
44977 glibcxx_cv_func__isnanl_use=no
44979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44980 ac_ext=c
44981 ac_cpp='$CPP $CPPFLAGS'
44982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44991 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44993 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44994 for ac_func in _isnanl
44995 do :
44996 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44997 if test "x$ac_cv_func__isnanl" = xyes; then :
44998 cat >>confdefs.h <<_ACEOF
44999 #define HAVE__ISNANL 1
45000 _ACEOF
45003 done
45012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45013 $as_echo_n "checking for isinfl declaration... " >&6; }
45014 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45015 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45016 $as_echo_n "(cached) " >&6
45017 else
45020 ac_ext=cpp
45021 ac_cpp='$CXXCPP $CPPFLAGS'
45022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45027 /* end confdefs.h. */
45028 #include <math.h>
45029 #ifdef HAVE_IEEEFP_H
45030 #include <ieeefp.h>
45031 #endif
45034 main ()
45036 isinfl(0);
45038 return 0;
45040 _ACEOF
45041 if ac_fn_cxx_try_compile "$LINENO"; then :
45042 glibcxx_cv_func_isinfl_use=yes
45043 else
45044 glibcxx_cv_func_isinfl_use=no
45046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45047 ac_ext=c
45048 ac_cpp='$CPP $CPPFLAGS'
45049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45058 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45060 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45061 for ac_func in isinfl
45062 do :
45063 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45064 if test "x$ac_cv_func_isinfl" = xyes; then :
45065 cat >>confdefs.h <<_ACEOF
45066 #define HAVE_ISINFL 1
45067 _ACEOF
45070 done
45072 else
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45075 $as_echo_n "checking for _isinfl declaration... " >&6; }
45076 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45077 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45078 $as_echo_n "(cached) " >&6
45079 else
45082 ac_ext=cpp
45083 ac_cpp='$CXXCPP $CPPFLAGS'
45084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45089 /* end confdefs.h. */
45090 #include <math.h>
45091 #ifdef HAVE_IEEEFP_H
45092 #include <ieeefp.h>
45093 #endif
45096 main ()
45098 _isinfl(0);
45100 return 0;
45102 _ACEOF
45103 if ac_fn_cxx_try_compile "$LINENO"; then :
45104 glibcxx_cv_func__isinfl_use=yes
45105 else
45106 glibcxx_cv_func__isinfl_use=no
45108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45109 ac_ext=c
45110 ac_cpp='$CPP $CPPFLAGS'
45111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45120 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45122 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45123 for ac_func in _isinfl
45124 do :
45125 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45126 if test "x$ac_cv_func__isinfl" = xyes; then :
45127 cat >>confdefs.h <<_ACEOF
45128 #define HAVE__ISINFL 1
45129 _ACEOF
45132 done
45141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45142 $as_echo_n "checking for atan2l declaration... " >&6; }
45143 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45144 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45145 $as_echo_n "(cached) " >&6
45146 else
45149 ac_ext=cpp
45150 ac_cpp='$CXXCPP $CPPFLAGS'
45151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45156 /* end confdefs.h. */
45157 #include <math.h>
45159 main ()
45161 atan2l(0, 0);
45163 return 0;
45165 _ACEOF
45166 if ac_fn_cxx_try_compile "$LINENO"; then :
45167 glibcxx_cv_func_atan2l_use=yes
45168 else
45169 glibcxx_cv_func_atan2l_use=no
45171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45172 ac_ext=c
45173 ac_cpp='$CPP $CPPFLAGS'
45174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45183 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45185 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45186 for ac_func in atan2l
45187 do :
45188 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45189 if test "x$ac_cv_func_atan2l" = xyes; then :
45190 cat >>confdefs.h <<_ACEOF
45191 #define HAVE_ATAN2L 1
45192 _ACEOF
45195 done
45197 else
45199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45200 $as_echo_n "checking for _atan2l declaration... " >&6; }
45201 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45202 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45203 $as_echo_n "(cached) " >&6
45204 else
45207 ac_ext=cpp
45208 ac_cpp='$CXXCPP $CPPFLAGS'
45209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45214 /* end confdefs.h. */
45215 #include <math.h>
45217 main ()
45219 _atan2l(0, 0);
45221 return 0;
45223 _ACEOF
45224 if ac_fn_cxx_try_compile "$LINENO"; then :
45225 glibcxx_cv_func__atan2l_use=yes
45226 else
45227 glibcxx_cv_func__atan2l_use=no
45229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45230 ac_ext=c
45231 ac_cpp='$CPP $CPPFLAGS'
45232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45241 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45243 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45244 for ac_func in _atan2l
45245 do :
45246 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45247 if test "x$ac_cv_func__atan2l" = xyes; then :
45248 cat >>confdefs.h <<_ACEOF
45249 #define HAVE__ATAN2L 1
45250 _ACEOF
45253 done
45262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45263 $as_echo_n "checking for expl declaration... " >&6; }
45264 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45265 if ${glibcxx_cv_func_expl_use+:} false; then :
45266 $as_echo_n "(cached) " >&6
45267 else
45270 ac_ext=cpp
45271 ac_cpp='$CXXCPP $CPPFLAGS'
45272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45277 /* end confdefs.h. */
45278 #include <math.h>
45279 #ifdef HAVE_IEEEFP_H
45280 #include <ieeefp.h>
45281 #endif
45284 main ()
45286 expl(0);
45288 return 0;
45290 _ACEOF
45291 if ac_fn_cxx_try_compile "$LINENO"; then :
45292 glibcxx_cv_func_expl_use=yes
45293 else
45294 glibcxx_cv_func_expl_use=no
45296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45297 ac_ext=c
45298 ac_cpp='$CPP $CPPFLAGS'
45299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45308 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45310 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45311 for ac_func in expl
45312 do :
45313 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45314 if test "x$ac_cv_func_expl" = xyes; then :
45315 cat >>confdefs.h <<_ACEOF
45316 #define HAVE_EXPL 1
45317 _ACEOF
45320 done
45322 else
45324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45325 $as_echo_n "checking for _expl declaration... " >&6; }
45326 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45327 if ${glibcxx_cv_func__expl_use+:} false; then :
45328 $as_echo_n "(cached) " >&6
45329 else
45332 ac_ext=cpp
45333 ac_cpp='$CXXCPP $CPPFLAGS'
45334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45339 /* end confdefs.h. */
45340 #include <math.h>
45341 #ifdef HAVE_IEEEFP_H
45342 #include <ieeefp.h>
45343 #endif
45346 main ()
45348 _expl(0);
45350 return 0;
45352 _ACEOF
45353 if ac_fn_cxx_try_compile "$LINENO"; then :
45354 glibcxx_cv_func__expl_use=yes
45355 else
45356 glibcxx_cv_func__expl_use=no
45358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45359 ac_ext=c
45360 ac_cpp='$CPP $CPPFLAGS'
45361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45370 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45372 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45373 for ac_func in _expl
45374 do :
45375 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45376 if test "x$ac_cv_func__expl" = xyes; then :
45377 cat >>confdefs.h <<_ACEOF
45378 #define HAVE__EXPL 1
45379 _ACEOF
45382 done
45391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45392 $as_echo_n "checking for fabsl declaration... " >&6; }
45393 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45394 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45395 $as_echo_n "(cached) " >&6
45396 else
45399 ac_ext=cpp
45400 ac_cpp='$CXXCPP $CPPFLAGS'
45401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45406 /* end confdefs.h. */
45407 #include <math.h>
45408 #ifdef HAVE_IEEEFP_H
45409 #include <ieeefp.h>
45410 #endif
45413 main ()
45415 fabsl(0);
45417 return 0;
45419 _ACEOF
45420 if ac_fn_cxx_try_compile "$LINENO"; then :
45421 glibcxx_cv_func_fabsl_use=yes
45422 else
45423 glibcxx_cv_func_fabsl_use=no
45425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45426 ac_ext=c
45427 ac_cpp='$CPP $CPPFLAGS'
45428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45437 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45439 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45440 for ac_func in fabsl
45441 do :
45442 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45443 if test "x$ac_cv_func_fabsl" = xyes; then :
45444 cat >>confdefs.h <<_ACEOF
45445 #define HAVE_FABSL 1
45446 _ACEOF
45449 done
45451 else
45453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45454 $as_echo_n "checking for _fabsl declaration... " >&6; }
45455 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45456 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45457 $as_echo_n "(cached) " >&6
45458 else
45461 ac_ext=cpp
45462 ac_cpp='$CXXCPP $CPPFLAGS'
45463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45468 /* end confdefs.h. */
45469 #include <math.h>
45470 #ifdef HAVE_IEEEFP_H
45471 #include <ieeefp.h>
45472 #endif
45475 main ()
45477 _fabsl(0);
45479 return 0;
45481 _ACEOF
45482 if ac_fn_cxx_try_compile "$LINENO"; then :
45483 glibcxx_cv_func__fabsl_use=yes
45484 else
45485 glibcxx_cv_func__fabsl_use=no
45487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45488 ac_ext=c
45489 ac_cpp='$CPP $CPPFLAGS'
45490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45499 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45501 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45502 for ac_func in _fabsl
45503 do :
45504 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45505 if test "x$ac_cv_func__fabsl" = xyes; then :
45506 cat >>confdefs.h <<_ACEOF
45507 #define HAVE__FABSL 1
45508 _ACEOF
45511 done
45520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45521 $as_echo_n "checking for fmodl declaration... " >&6; }
45522 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45523 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45524 $as_echo_n "(cached) " >&6
45525 else
45528 ac_ext=cpp
45529 ac_cpp='$CXXCPP $CPPFLAGS'
45530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45535 /* end confdefs.h. */
45536 #include <math.h>
45538 main ()
45540 fmodl(0, 0);
45542 return 0;
45544 _ACEOF
45545 if ac_fn_cxx_try_compile "$LINENO"; then :
45546 glibcxx_cv_func_fmodl_use=yes
45547 else
45548 glibcxx_cv_func_fmodl_use=no
45550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45551 ac_ext=c
45552 ac_cpp='$CPP $CPPFLAGS'
45553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45562 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45564 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45565 for ac_func in fmodl
45566 do :
45567 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45568 if test "x$ac_cv_func_fmodl" = xyes; then :
45569 cat >>confdefs.h <<_ACEOF
45570 #define HAVE_FMODL 1
45571 _ACEOF
45574 done
45576 else
45578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45579 $as_echo_n "checking for _fmodl declaration... " >&6; }
45580 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45581 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45582 $as_echo_n "(cached) " >&6
45583 else
45586 ac_ext=cpp
45587 ac_cpp='$CXXCPP $CPPFLAGS'
45588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45593 /* end confdefs.h. */
45594 #include <math.h>
45596 main ()
45598 _fmodl(0, 0);
45600 return 0;
45602 _ACEOF
45603 if ac_fn_cxx_try_compile "$LINENO"; then :
45604 glibcxx_cv_func__fmodl_use=yes
45605 else
45606 glibcxx_cv_func__fmodl_use=no
45608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45609 ac_ext=c
45610 ac_cpp='$CPP $CPPFLAGS'
45611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45620 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45622 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45623 for ac_func in _fmodl
45624 do :
45625 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45626 if test "x$ac_cv_func__fmodl" = xyes; then :
45627 cat >>confdefs.h <<_ACEOF
45628 #define HAVE__FMODL 1
45629 _ACEOF
45632 done
45641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45642 $as_echo_n "checking for frexpl declaration... " >&6; }
45643 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45644 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45645 $as_echo_n "(cached) " >&6
45646 else
45649 ac_ext=cpp
45650 ac_cpp='$CXXCPP $CPPFLAGS'
45651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45656 /* end confdefs.h. */
45657 #include <math.h>
45659 main ()
45661 frexpl(0, 0);
45663 return 0;
45665 _ACEOF
45666 if ac_fn_cxx_try_compile "$LINENO"; then :
45667 glibcxx_cv_func_frexpl_use=yes
45668 else
45669 glibcxx_cv_func_frexpl_use=no
45671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45672 ac_ext=c
45673 ac_cpp='$CPP $CPPFLAGS'
45674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45683 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45685 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45686 for ac_func in frexpl
45687 do :
45688 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45689 if test "x$ac_cv_func_frexpl" = xyes; then :
45690 cat >>confdefs.h <<_ACEOF
45691 #define HAVE_FREXPL 1
45692 _ACEOF
45695 done
45697 else
45699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45700 $as_echo_n "checking for _frexpl declaration... " >&6; }
45701 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45702 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45703 $as_echo_n "(cached) " >&6
45704 else
45707 ac_ext=cpp
45708 ac_cpp='$CXXCPP $CPPFLAGS'
45709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45714 /* end confdefs.h. */
45715 #include <math.h>
45717 main ()
45719 _frexpl(0, 0);
45721 return 0;
45723 _ACEOF
45724 if ac_fn_cxx_try_compile "$LINENO"; then :
45725 glibcxx_cv_func__frexpl_use=yes
45726 else
45727 glibcxx_cv_func__frexpl_use=no
45729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45730 ac_ext=c
45731 ac_cpp='$CPP $CPPFLAGS'
45732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45741 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45743 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45744 for ac_func in _frexpl
45745 do :
45746 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45747 if test "x$ac_cv_func__frexpl" = xyes; then :
45748 cat >>confdefs.h <<_ACEOF
45749 #define HAVE__FREXPL 1
45750 _ACEOF
45753 done
45762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45763 $as_echo_n "checking for hypotl declaration... " >&6; }
45764 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45765 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45766 $as_echo_n "(cached) " >&6
45767 else
45770 ac_ext=cpp
45771 ac_cpp='$CXXCPP $CPPFLAGS'
45772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45777 /* end confdefs.h. */
45778 #include <math.h>
45780 main ()
45782 hypotl(0, 0);
45784 return 0;
45786 _ACEOF
45787 if ac_fn_cxx_try_compile "$LINENO"; then :
45788 glibcxx_cv_func_hypotl_use=yes
45789 else
45790 glibcxx_cv_func_hypotl_use=no
45792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45793 ac_ext=c
45794 ac_cpp='$CPP $CPPFLAGS'
45795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45804 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45806 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45807 for ac_func in hypotl
45808 do :
45809 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45810 if test "x$ac_cv_func_hypotl" = xyes; then :
45811 cat >>confdefs.h <<_ACEOF
45812 #define HAVE_HYPOTL 1
45813 _ACEOF
45816 done
45818 else
45820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45821 $as_echo_n "checking for _hypotl declaration... " >&6; }
45822 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45823 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45824 $as_echo_n "(cached) " >&6
45825 else
45828 ac_ext=cpp
45829 ac_cpp='$CXXCPP $CPPFLAGS'
45830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45835 /* end confdefs.h. */
45836 #include <math.h>
45838 main ()
45840 _hypotl(0, 0);
45842 return 0;
45844 _ACEOF
45845 if ac_fn_cxx_try_compile "$LINENO"; then :
45846 glibcxx_cv_func__hypotl_use=yes
45847 else
45848 glibcxx_cv_func__hypotl_use=no
45850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45851 ac_ext=c
45852 ac_cpp='$CPP $CPPFLAGS'
45853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45862 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45864 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45865 for ac_func in _hypotl
45866 do :
45867 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45868 if test "x$ac_cv_func__hypotl" = xyes; then :
45869 cat >>confdefs.h <<_ACEOF
45870 #define HAVE__HYPOTL 1
45871 _ACEOF
45874 done
45883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45884 $as_echo_n "checking for ldexpl declaration... " >&6; }
45885 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45886 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45887 $as_echo_n "(cached) " >&6
45888 else
45891 ac_ext=cpp
45892 ac_cpp='$CXXCPP $CPPFLAGS'
45893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45898 /* end confdefs.h. */
45899 #include <math.h>
45901 main ()
45903 ldexpl(0, 0);
45905 return 0;
45907 _ACEOF
45908 if ac_fn_cxx_try_compile "$LINENO"; then :
45909 glibcxx_cv_func_ldexpl_use=yes
45910 else
45911 glibcxx_cv_func_ldexpl_use=no
45913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45914 ac_ext=c
45915 ac_cpp='$CPP $CPPFLAGS'
45916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45925 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45927 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45928 for ac_func in ldexpl
45929 do :
45930 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45931 if test "x$ac_cv_func_ldexpl" = xyes; then :
45932 cat >>confdefs.h <<_ACEOF
45933 #define HAVE_LDEXPL 1
45934 _ACEOF
45937 done
45939 else
45941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45942 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45943 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45944 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
45945 $as_echo_n "(cached) " >&6
45946 else
45949 ac_ext=cpp
45950 ac_cpp='$CXXCPP $CPPFLAGS'
45951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45956 /* end confdefs.h. */
45957 #include <math.h>
45959 main ()
45961 _ldexpl(0, 0);
45963 return 0;
45965 _ACEOF
45966 if ac_fn_cxx_try_compile "$LINENO"; then :
45967 glibcxx_cv_func__ldexpl_use=yes
45968 else
45969 glibcxx_cv_func__ldexpl_use=no
45971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45972 ac_ext=c
45973 ac_cpp='$CPP $CPPFLAGS'
45974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45983 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45985 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45986 for ac_func in _ldexpl
45987 do :
45988 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45989 if test "x$ac_cv_func__ldexpl" = xyes; then :
45990 cat >>confdefs.h <<_ACEOF
45991 #define HAVE__LDEXPL 1
45992 _ACEOF
45995 done
46004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46005 $as_echo_n "checking for logl declaration... " >&6; }
46006 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46007 if ${glibcxx_cv_func_logl_use+:} false; then :
46008 $as_echo_n "(cached) " >&6
46009 else
46012 ac_ext=cpp
46013 ac_cpp='$CXXCPP $CPPFLAGS'
46014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46019 /* end confdefs.h. */
46020 #include <math.h>
46021 #ifdef HAVE_IEEEFP_H
46022 #include <ieeefp.h>
46023 #endif
46026 main ()
46028 logl(0);
46030 return 0;
46032 _ACEOF
46033 if ac_fn_cxx_try_compile "$LINENO"; then :
46034 glibcxx_cv_func_logl_use=yes
46035 else
46036 glibcxx_cv_func_logl_use=no
46038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46039 ac_ext=c
46040 ac_cpp='$CPP $CPPFLAGS'
46041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46050 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46052 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46053 for ac_func in logl
46054 do :
46055 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46056 if test "x$ac_cv_func_logl" = xyes; then :
46057 cat >>confdefs.h <<_ACEOF
46058 #define HAVE_LOGL 1
46059 _ACEOF
46062 done
46064 else
46066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46067 $as_echo_n "checking for _logl declaration... " >&6; }
46068 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46069 if ${glibcxx_cv_func__logl_use+:} false; then :
46070 $as_echo_n "(cached) " >&6
46071 else
46074 ac_ext=cpp
46075 ac_cpp='$CXXCPP $CPPFLAGS'
46076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46081 /* end confdefs.h. */
46082 #include <math.h>
46083 #ifdef HAVE_IEEEFP_H
46084 #include <ieeefp.h>
46085 #endif
46088 main ()
46090 _logl(0);
46092 return 0;
46094 _ACEOF
46095 if ac_fn_cxx_try_compile "$LINENO"; then :
46096 glibcxx_cv_func__logl_use=yes
46097 else
46098 glibcxx_cv_func__logl_use=no
46100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46101 ac_ext=c
46102 ac_cpp='$CPP $CPPFLAGS'
46103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46112 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46114 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46115 for ac_func in _logl
46116 do :
46117 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46118 if test "x$ac_cv_func__logl" = xyes; then :
46119 cat >>confdefs.h <<_ACEOF
46120 #define HAVE__LOGL 1
46121 _ACEOF
46124 done
46133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46134 $as_echo_n "checking for log10l declaration... " >&6; }
46135 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46136 if ${glibcxx_cv_func_log10l_use+:} false; then :
46137 $as_echo_n "(cached) " >&6
46138 else
46141 ac_ext=cpp
46142 ac_cpp='$CXXCPP $CPPFLAGS'
46143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46148 /* end confdefs.h. */
46149 #include <math.h>
46150 #ifdef HAVE_IEEEFP_H
46151 #include <ieeefp.h>
46152 #endif
46155 main ()
46157 log10l(0);
46159 return 0;
46161 _ACEOF
46162 if ac_fn_cxx_try_compile "$LINENO"; then :
46163 glibcxx_cv_func_log10l_use=yes
46164 else
46165 glibcxx_cv_func_log10l_use=no
46167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46168 ac_ext=c
46169 ac_cpp='$CPP $CPPFLAGS'
46170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46179 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46181 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46182 for ac_func in log10l
46183 do :
46184 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46185 if test "x$ac_cv_func_log10l" = xyes; then :
46186 cat >>confdefs.h <<_ACEOF
46187 #define HAVE_LOG10L 1
46188 _ACEOF
46191 done
46193 else
46195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46196 $as_echo_n "checking for _log10l declaration... " >&6; }
46197 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46198 if ${glibcxx_cv_func__log10l_use+:} false; then :
46199 $as_echo_n "(cached) " >&6
46200 else
46203 ac_ext=cpp
46204 ac_cpp='$CXXCPP $CPPFLAGS'
46205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46210 /* end confdefs.h. */
46211 #include <math.h>
46212 #ifdef HAVE_IEEEFP_H
46213 #include <ieeefp.h>
46214 #endif
46217 main ()
46219 _log10l(0);
46221 return 0;
46223 _ACEOF
46224 if ac_fn_cxx_try_compile "$LINENO"; then :
46225 glibcxx_cv_func__log10l_use=yes
46226 else
46227 glibcxx_cv_func__log10l_use=no
46229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46230 ac_ext=c
46231 ac_cpp='$CPP $CPPFLAGS'
46232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46241 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46243 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46244 for ac_func in _log10l
46245 do :
46246 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46247 if test "x$ac_cv_func__log10l" = xyes; then :
46248 cat >>confdefs.h <<_ACEOF
46249 #define HAVE__LOG10L 1
46250 _ACEOF
46253 done
46262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46263 $as_echo_n "checking for modfl declaration... " >&6; }
46264 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46265 if ${glibcxx_cv_func_modfl_use+:} false; then :
46266 $as_echo_n "(cached) " >&6
46267 else
46270 ac_ext=cpp
46271 ac_cpp='$CXXCPP $CPPFLAGS'
46272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46277 /* end confdefs.h. */
46278 #include <math.h>
46280 main ()
46282 modfl(0, 0);
46284 return 0;
46286 _ACEOF
46287 if ac_fn_cxx_try_compile "$LINENO"; then :
46288 glibcxx_cv_func_modfl_use=yes
46289 else
46290 glibcxx_cv_func_modfl_use=no
46292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46293 ac_ext=c
46294 ac_cpp='$CPP $CPPFLAGS'
46295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46304 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46306 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46307 for ac_func in modfl
46308 do :
46309 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46310 if test "x$ac_cv_func_modfl" = xyes; then :
46311 cat >>confdefs.h <<_ACEOF
46312 #define HAVE_MODFL 1
46313 _ACEOF
46316 done
46318 else
46320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46321 $as_echo_n "checking for _modfl declaration... " >&6; }
46322 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46323 if ${glibcxx_cv_func__modfl_use+:} false; then :
46324 $as_echo_n "(cached) " >&6
46325 else
46328 ac_ext=cpp
46329 ac_cpp='$CXXCPP $CPPFLAGS'
46330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46335 /* end confdefs.h. */
46336 #include <math.h>
46338 main ()
46340 _modfl(0, 0);
46342 return 0;
46344 _ACEOF
46345 if ac_fn_cxx_try_compile "$LINENO"; then :
46346 glibcxx_cv_func__modfl_use=yes
46347 else
46348 glibcxx_cv_func__modfl_use=no
46350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46351 ac_ext=c
46352 ac_cpp='$CPP $CPPFLAGS'
46353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46362 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46364 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46365 for ac_func in _modfl
46366 do :
46367 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46368 if test "x$ac_cv_func__modfl" = xyes; then :
46369 cat >>confdefs.h <<_ACEOF
46370 #define HAVE__MODFL 1
46371 _ACEOF
46374 done
46383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46384 $as_echo_n "checking for powl declaration... " >&6; }
46385 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46386 if ${glibcxx_cv_func_powl_use+:} false; then :
46387 $as_echo_n "(cached) " >&6
46388 else
46391 ac_ext=cpp
46392 ac_cpp='$CXXCPP $CPPFLAGS'
46393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46398 /* end confdefs.h. */
46399 #include <math.h>
46401 main ()
46403 powl(0, 0);
46405 return 0;
46407 _ACEOF
46408 if ac_fn_cxx_try_compile "$LINENO"; then :
46409 glibcxx_cv_func_powl_use=yes
46410 else
46411 glibcxx_cv_func_powl_use=no
46413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46414 ac_ext=c
46415 ac_cpp='$CPP $CPPFLAGS'
46416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46425 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46427 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46428 for ac_func in powl
46429 do :
46430 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46431 if test "x$ac_cv_func_powl" = xyes; then :
46432 cat >>confdefs.h <<_ACEOF
46433 #define HAVE_POWL 1
46434 _ACEOF
46437 done
46439 else
46441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46442 $as_echo_n "checking for _powl declaration... " >&6; }
46443 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46444 if ${glibcxx_cv_func__powl_use+:} false; then :
46445 $as_echo_n "(cached) " >&6
46446 else
46449 ac_ext=cpp
46450 ac_cpp='$CXXCPP $CPPFLAGS'
46451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46456 /* end confdefs.h. */
46457 #include <math.h>
46459 main ()
46461 _powl(0, 0);
46463 return 0;
46465 _ACEOF
46466 if ac_fn_cxx_try_compile "$LINENO"; then :
46467 glibcxx_cv_func__powl_use=yes
46468 else
46469 glibcxx_cv_func__powl_use=no
46471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46472 ac_ext=c
46473 ac_cpp='$CPP $CPPFLAGS'
46474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46483 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46485 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46486 for ac_func in _powl
46487 do :
46488 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46489 if test "x$ac_cv_func__powl" = xyes; then :
46490 cat >>confdefs.h <<_ACEOF
46491 #define HAVE__POWL 1
46492 _ACEOF
46495 done
46504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46505 $as_echo_n "checking for sqrtl declaration... " >&6; }
46506 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46507 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46508 $as_echo_n "(cached) " >&6
46509 else
46512 ac_ext=cpp
46513 ac_cpp='$CXXCPP $CPPFLAGS'
46514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46519 /* end confdefs.h. */
46520 #include <math.h>
46521 #ifdef HAVE_IEEEFP_H
46522 #include <ieeefp.h>
46523 #endif
46526 main ()
46528 sqrtl(0);
46530 return 0;
46532 _ACEOF
46533 if ac_fn_cxx_try_compile "$LINENO"; then :
46534 glibcxx_cv_func_sqrtl_use=yes
46535 else
46536 glibcxx_cv_func_sqrtl_use=no
46538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46539 ac_ext=c
46540 ac_cpp='$CPP $CPPFLAGS'
46541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46550 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46552 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46553 for ac_func in sqrtl
46554 do :
46555 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46556 if test "x$ac_cv_func_sqrtl" = xyes; then :
46557 cat >>confdefs.h <<_ACEOF
46558 #define HAVE_SQRTL 1
46559 _ACEOF
46562 done
46564 else
46566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46567 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46568 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46569 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46570 $as_echo_n "(cached) " >&6
46571 else
46574 ac_ext=cpp
46575 ac_cpp='$CXXCPP $CPPFLAGS'
46576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46581 /* end confdefs.h. */
46582 #include <math.h>
46583 #ifdef HAVE_IEEEFP_H
46584 #include <ieeefp.h>
46585 #endif
46588 main ()
46590 _sqrtl(0);
46592 return 0;
46594 _ACEOF
46595 if ac_fn_cxx_try_compile "$LINENO"; then :
46596 glibcxx_cv_func__sqrtl_use=yes
46597 else
46598 glibcxx_cv_func__sqrtl_use=no
46600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46601 ac_ext=c
46602 ac_cpp='$CPP $CPPFLAGS'
46603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46612 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46614 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46615 for ac_func in _sqrtl
46616 do :
46617 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46618 if test "x$ac_cv_func__sqrtl" = xyes; then :
46619 cat >>confdefs.h <<_ACEOF
46620 #define HAVE__SQRTL 1
46621 _ACEOF
46624 done
46633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46634 $as_echo_n "checking for sincosl declaration... " >&6; }
46635 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46636 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46637 $as_echo_n "(cached) " >&6
46638 else
46641 ac_ext=cpp
46642 ac_cpp='$CXXCPP $CPPFLAGS'
46643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46648 /* end confdefs.h. */
46649 #include <math.h>
46651 main ()
46653 sincosl(0, 0, 0);
46655 return 0;
46657 _ACEOF
46658 if ac_fn_cxx_try_compile "$LINENO"; then :
46659 glibcxx_cv_func_sincosl_use=yes
46660 else
46661 glibcxx_cv_func_sincosl_use=no
46663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46664 ac_ext=c
46665 ac_cpp='$CPP $CPPFLAGS'
46666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46675 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46677 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46678 for ac_func in sincosl
46679 do :
46680 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46681 if test "x$ac_cv_func_sincosl" = xyes; then :
46682 cat >>confdefs.h <<_ACEOF
46683 #define HAVE_SINCOSL 1
46684 _ACEOF
46687 done
46689 else
46691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46692 $as_echo_n "checking for _sincosl declaration... " >&6; }
46693 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46694 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46695 $as_echo_n "(cached) " >&6
46696 else
46699 ac_ext=cpp
46700 ac_cpp='$CXXCPP $CPPFLAGS'
46701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46706 /* end confdefs.h. */
46707 #include <math.h>
46709 main ()
46711 _sincosl(0, 0, 0);
46713 return 0;
46715 _ACEOF
46716 if ac_fn_cxx_try_compile "$LINENO"; then :
46717 glibcxx_cv_func__sincosl_use=yes
46718 else
46719 glibcxx_cv_func__sincosl_use=no
46721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46722 ac_ext=c
46723 ac_cpp='$CPP $CPPFLAGS'
46724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46733 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46735 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46736 for ac_func in _sincosl
46737 do :
46738 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46739 if test "x$ac_cv_func__sincosl" = xyes; then :
46740 cat >>confdefs.h <<_ACEOF
46741 #define HAVE__SINCOSL 1
46742 _ACEOF
46745 done
46754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46755 $as_echo_n "checking for finitel declaration... " >&6; }
46756 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46757 if ${glibcxx_cv_func_finitel_use+:} false; then :
46758 $as_echo_n "(cached) " >&6
46759 else
46762 ac_ext=cpp
46763 ac_cpp='$CXXCPP $CPPFLAGS'
46764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46769 /* end confdefs.h. */
46770 #include <math.h>
46771 #ifdef HAVE_IEEEFP_H
46772 #include <ieeefp.h>
46773 #endif
46776 main ()
46778 finitel(0);
46780 return 0;
46782 _ACEOF
46783 if ac_fn_cxx_try_compile "$LINENO"; then :
46784 glibcxx_cv_func_finitel_use=yes
46785 else
46786 glibcxx_cv_func_finitel_use=no
46788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46789 ac_ext=c
46790 ac_cpp='$CPP $CPPFLAGS'
46791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46800 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46802 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46803 for ac_func in finitel
46804 do :
46805 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46806 if test "x$ac_cv_func_finitel" = xyes; then :
46807 cat >>confdefs.h <<_ACEOF
46808 #define HAVE_FINITEL 1
46809 _ACEOF
46812 done
46814 else
46816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46817 $as_echo_n "checking for _finitel declaration... " >&6; }
46818 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46819 if ${glibcxx_cv_func__finitel_use+:} false; then :
46820 $as_echo_n "(cached) " >&6
46821 else
46824 ac_ext=cpp
46825 ac_cpp='$CXXCPP $CPPFLAGS'
46826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46831 /* end confdefs.h. */
46832 #include <math.h>
46833 #ifdef HAVE_IEEEFP_H
46834 #include <ieeefp.h>
46835 #endif
46838 main ()
46840 _finitel(0);
46842 return 0;
46844 _ACEOF
46845 if ac_fn_cxx_try_compile "$LINENO"; then :
46846 glibcxx_cv_func__finitel_use=yes
46847 else
46848 glibcxx_cv_func__finitel_use=no
46850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46851 ac_ext=c
46852 ac_cpp='$CPP $CPPFLAGS'
46853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46862 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46864 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46865 for ac_func in _finitel
46866 do :
46867 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46868 if test "x$ac_cv_func__finitel" = xyes; then :
46869 cat >>confdefs.h <<_ACEOF
46870 #define HAVE__FINITEL 1
46871 _ACEOF
46874 done
46882 LIBS="$ac_save_LIBS"
46883 CXXFLAGS="$ac_save_CXXFLAGS"
46886 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46887 ac_save_CXXFLAGS="$CXXFLAGS"
46888 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46892 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46893 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46894 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46895 $as_echo_n "(cached) " >&6
46896 else
46899 ac_ext=cpp
46900 ac_cpp='$CXXCPP $CPPFLAGS'
46901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46906 /* end confdefs.h. */
46907 #include <stdlib.h>
46909 main ()
46911 at_quick_exit(0);
46913 return 0;
46915 _ACEOF
46916 if ac_fn_cxx_try_compile "$LINENO"; then :
46917 glibcxx_cv_func_at_quick_exit_use=yes
46918 else
46919 glibcxx_cv_func_at_quick_exit_use=no
46921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46922 ac_ext=c
46923 ac_cpp='$CPP $CPPFLAGS'
46924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46933 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46934 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46935 for ac_func in at_quick_exit
46936 do :
46937 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46938 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
46939 cat >>confdefs.h <<_ACEOF
46940 #define HAVE_AT_QUICK_EXIT 1
46941 _ACEOF
46944 done
46949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46950 $as_echo_n "checking for quick_exit declaration... " >&6; }
46951 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46952 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
46953 $as_echo_n "(cached) " >&6
46954 else
46957 ac_ext=cpp
46958 ac_cpp='$CXXCPP $CPPFLAGS'
46959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46964 /* end confdefs.h. */
46965 #include <stdlib.h>
46967 main ()
46969 quick_exit(0);
46971 return 0;
46973 _ACEOF
46974 if ac_fn_cxx_try_compile "$LINENO"; then :
46975 glibcxx_cv_func_quick_exit_use=yes
46976 else
46977 glibcxx_cv_func_quick_exit_use=no
46979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46980 ac_ext=c
46981 ac_cpp='$CPP $CPPFLAGS'
46982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46991 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46992 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46993 for ac_func in quick_exit
46994 do :
46995 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46996 if test "x$ac_cv_func_quick_exit" = xyes; then :
46997 cat >>confdefs.h <<_ACEOF
46998 #define HAVE_QUICK_EXIT 1
46999 _ACEOF
47002 done
47007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47008 $as_echo_n "checking for strtold declaration... " >&6; }
47009 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47010 if ${glibcxx_cv_func_strtold_use+:} false; then :
47011 $as_echo_n "(cached) " >&6
47012 else
47015 ac_ext=cpp
47016 ac_cpp='$CXXCPP $CPPFLAGS'
47017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47022 /* end confdefs.h. */
47023 #include <stdlib.h>
47025 main ()
47027 strtold(0, 0);
47029 return 0;
47031 _ACEOF
47032 if ac_fn_cxx_try_compile "$LINENO"; then :
47033 glibcxx_cv_func_strtold_use=yes
47034 else
47035 glibcxx_cv_func_strtold_use=no
47037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47038 ac_ext=c
47039 ac_cpp='$CPP $CPPFLAGS'
47040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47049 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47050 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47051 for ac_func in strtold
47052 do :
47053 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47054 if test "x$ac_cv_func_strtold" = xyes; then :
47055 cat >>confdefs.h <<_ACEOF
47056 #define HAVE_STRTOLD 1
47057 _ACEOF
47060 done
47067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47068 $as_echo_n "checking for strtof declaration... " >&6; }
47069 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47070 if ${glibcxx_cv_func_strtof_use+:} false; then :
47071 $as_echo_n "(cached) " >&6
47072 else
47075 ac_ext=cpp
47076 ac_cpp='$CXXCPP $CPPFLAGS'
47077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47082 /* end confdefs.h. */
47083 #include <stdlib.h>
47085 main ()
47087 strtof(0, 0);
47089 return 0;
47091 _ACEOF
47092 if ac_fn_cxx_try_compile "$LINENO"; then :
47093 glibcxx_cv_func_strtof_use=yes
47094 else
47095 glibcxx_cv_func_strtof_use=no
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47098 ac_ext=c
47099 ac_cpp='$CPP $CPPFLAGS'
47100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47109 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47110 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47111 for ac_func in strtof
47112 do :
47113 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47114 if test "x$ac_cv_func_strtof" = xyes; then :
47115 cat >>confdefs.h <<_ACEOF
47116 #define HAVE_STRTOF 1
47117 _ACEOF
47120 done
47127 CXXFLAGS="$ac_save_CXXFLAGS"
47130 for ac_func in uselocale
47131 do :
47132 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47133 if test "x$ac_cv_func_uselocale" = xyes; then :
47134 cat >>confdefs.h <<_ACEOF
47135 #define HAVE_USELOCALE 1
47136 _ACEOF
47139 done
47143 *djgpp)
47144 # GLIBCXX_CHECK_MATH_SUPPORT
47145 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47147 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47149 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47151 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47153 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47157 *-freebsd*)
47158 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47161 # If we're not using GNU ld, then there's no point in even trying these
47162 # tests. Check for that first. We should have already tested for gld
47163 # by now (in libtool), but require it now just to be safe...
47164 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47165 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47169 # The name set by libtool depends on the version of libtool. Shame on us
47170 # for depending on an impl detail, but c'est la vie. Older versions used
47171 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47172 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47173 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47174 # set (hence we're using an older libtool), then set it.
47175 if test x${with_gnu_ld+set} != xset; then
47176 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47177 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47178 with_gnu_ld=no
47179 else
47180 with_gnu_ld=$ac_cv_prog_gnu_ld
47184 # Start by getting the version number. I think the libtool test already
47185 # does some of this, but throws away the result.
47186 glibcxx_ld_is_gold=no
47187 if test x"$with_gnu_ld" = x"yes"; then
47188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47189 $as_echo_n "checking for ld version... " >&6; }
47191 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47192 glibcxx_ld_is_gold=yes
47194 ldver=`$LD --version 2>/dev/null |
47195 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47197 glibcxx_gnu_ld_version=`echo $ldver | \
47198 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47200 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47203 # Set --gc-sections.
47204 glibcxx_have_gc_sections=no
47205 if test "$glibcxx_ld_is_gold" = "yes"; then
47206 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47207 glibcxx_have_gc_sections=yes
47209 else
47210 glibcxx_gcsections_min_ld=21602
47211 if test x"$with_gnu_ld" = x"yes" &&
47212 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47213 glibcxx_have_gc_sections=yes
47216 if test "$glibcxx_have_gc_sections" = "yes"; then
47217 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47218 # NB: This flag only works reliably after 2.16.1. Configure tests
47219 # for this are difficult, so hard wire a value that should work.
47221 ac_test_CFLAGS="${CFLAGS+set}"
47222 ac_save_CFLAGS="$CFLAGS"
47223 CFLAGS='-Wl,--gc-sections'
47225 # Check for -Wl,--gc-sections
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47227 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47228 if test x$gcc_no_link = xyes; then
47229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47232 /* end confdefs.h. */
47233 int one(void) { return 1; }
47234 int two(void) { return 2; }
47237 main ()
47239 two();
47241 return 0;
47243 _ACEOF
47244 if ac_fn_c_try_link "$LINENO"; then :
47245 ac_gcsections=yes
47246 else
47247 ac_gcsections=no
47249 rm -f core conftest.err conftest.$ac_objext \
47250 conftest$ac_exeext conftest.$ac_ext
47251 if test "$ac_gcsections" = "yes"; then
47252 rm -f conftest.c
47253 touch conftest.c
47254 if $CC -c conftest.c; then
47255 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47256 grep "Warning: gc-sections option ignored" > /dev/null; then
47257 ac_gcsections=no
47260 rm -f conftest.c conftest.o conftest
47262 if test "$ac_gcsections" = "yes"; then
47263 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47266 $as_echo "$ac_gcsections" >&6; }
47268 if test "$ac_test_CFLAGS" = set; then
47269 CFLAGS="$ac_save_CFLAGS"
47270 else
47271 # this is the suspicious part
47272 CFLAGS=''
47276 # Set -z,relro.
47277 # Note this is only for shared objects.
47278 ac_ld_relro=no
47279 if test x"$with_gnu_ld" = x"yes"; then
47280 # cygwin and mingw uses PE, which has no ELF relro support,
47281 # multi target ld may confuse configure machinery
47282 case "$host" in
47283 *-*-cygwin*)
47285 *-*-mingw*)
47288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47289 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47290 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47291 if test -n "$cxx_z_relo"; then
47292 OPT_LDFLAGS="-Wl,-z,relro"
47293 ac_ld_relro=yes
47295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47296 $as_echo "$ac_ld_relro" >&6; }
47297 esac
47300 # Set linker optimization flags.
47301 if test x"$with_gnu_ld" = x"yes"; then
47302 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47308 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47310 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47312 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47314 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47316 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47318 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47320 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47322 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47324 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47327 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47329 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47331 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47333 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47335 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47337 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47339 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47341 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47343 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47345 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47347 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47349 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47351 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47353 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47355 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47357 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47359 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47361 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47363 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47365 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47367 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47369 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47371 if test x"long_double_math_on_this_cpu" = x"yes"; then
47372 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47374 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47376 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47379 for ac_func in __cxa_thread_atexit
47380 do :
47381 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47382 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47383 cat >>confdefs.h <<_ACEOF
47384 #define HAVE___CXA_THREAD_ATEXIT 1
47385 _ACEOF
47388 done
47390 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47391 do :
47392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47394 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47395 cat >>confdefs.h <<_ACEOF
47396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47397 _ACEOF
47400 done
47402 for ac_func in timespec_get
47403 do :
47404 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47405 if test "x$ac_cv_func_timespec_get" = xyes; then :
47406 cat >>confdefs.h <<_ACEOF
47407 #define HAVE_TIMESPEC_GET 1
47408 _ACEOF
47411 done
47413 for ac_func in sockatmark
47414 do :
47415 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47416 if test "x$ac_cv_func_sockatmark" = xyes; then :
47417 cat >>confdefs.h <<_ACEOF
47418 #define HAVE_SOCKATMARK 1
47419 _ACEOF
47422 done
47424 for ac_func in uselocale
47425 do :
47426 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47427 if test "x$ac_cv_func_uselocale" = xyes; then :
47428 cat >>confdefs.h <<_ACEOF
47429 #define HAVE_USELOCALE 1
47430 _ACEOF
47433 done
47437 *-fuchsia*)
47438 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47442 *-hpux*)
47443 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47446 # If we're not using GNU ld, then there's no point in even trying these
47447 # tests. Check for that first. We should have already tested for gld
47448 # by now (in libtool), but require it now just to be safe...
47449 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47450 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47454 # The name set by libtool depends on the version of libtool. Shame on us
47455 # for depending on an impl detail, but c'est la vie. Older versions used
47456 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47457 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47458 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47459 # set (hence we're using an older libtool), then set it.
47460 if test x${with_gnu_ld+set} != xset; then
47461 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47462 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47463 with_gnu_ld=no
47464 else
47465 with_gnu_ld=$ac_cv_prog_gnu_ld
47469 # Start by getting the version number. I think the libtool test already
47470 # does some of this, but throws away the result.
47471 glibcxx_ld_is_gold=no
47472 if test x"$with_gnu_ld" = x"yes"; then
47473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47474 $as_echo_n "checking for ld version... " >&6; }
47476 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47477 glibcxx_ld_is_gold=yes
47479 ldver=`$LD --version 2>/dev/null |
47480 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47482 glibcxx_gnu_ld_version=`echo $ldver | \
47483 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47485 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47488 # Set --gc-sections.
47489 glibcxx_have_gc_sections=no
47490 if test "$glibcxx_ld_is_gold" = "yes"; then
47491 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47492 glibcxx_have_gc_sections=yes
47494 else
47495 glibcxx_gcsections_min_ld=21602
47496 if test x"$with_gnu_ld" = x"yes" &&
47497 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47498 glibcxx_have_gc_sections=yes
47501 if test "$glibcxx_have_gc_sections" = "yes"; then
47502 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47503 # NB: This flag only works reliably after 2.16.1. Configure tests
47504 # for this are difficult, so hard wire a value that should work.
47506 ac_test_CFLAGS="${CFLAGS+set}"
47507 ac_save_CFLAGS="$CFLAGS"
47508 CFLAGS='-Wl,--gc-sections'
47510 # Check for -Wl,--gc-sections
47511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47512 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47513 if test x$gcc_no_link = xyes; then
47514 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47517 /* end confdefs.h. */
47518 int one(void) { return 1; }
47519 int two(void) { return 2; }
47522 main ()
47524 two();
47526 return 0;
47528 _ACEOF
47529 if ac_fn_c_try_link "$LINENO"; then :
47530 ac_gcsections=yes
47531 else
47532 ac_gcsections=no
47534 rm -f core conftest.err conftest.$ac_objext \
47535 conftest$ac_exeext conftest.$ac_ext
47536 if test "$ac_gcsections" = "yes"; then
47537 rm -f conftest.c
47538 touch conftest.c
47539 if $CC -c conftest.c; then
47540 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47541 grep "Warning: gc-sections option ignored" > /dev/null; then
47542 ac_gcsections=no
47545 rm -f conftest.c conftest.o conftest
47547 if test "$ac_gcsections" = "yes"; then
47548 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47551 $as_echo "$ac_gcsections" >&6; }
47553 if test "$ac_test_CFLAGS" = set; then
47554 CFLAGS="$ac_save_CFLAGS"
47555 else
47556 # this is the suspicious part
47557 CFLAGS=''
47561 # Set -z,relro.
47562 # Note this is only for shared objects.
47563 ac_ld_relro=no
47564 if test x"$with_gnu_ld" = x"yes"; then
47565 # cygwin and mingw uses PE, which has no ELF relro support,
47566 # multi target ld may confuse configure machinery
47567 case "$host" in
47568 *-*-cygwin*)
47570 *-*-mingw*)
47573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47574 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47575 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47576 if test -n "$cxx_z_relo"; then
47577 OPT_LDFLAGS="-Wl,-z,relro"
47578 ac_ld_relro=yes
47580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47581 $as_echo "$ac_ld_relro" >&6; }
47582 esac
47585 # Set linker optimization flags.
47586 if test x"$with_gnu_ld" = x"yes"; then
47587 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47594 # GLIBCXX_CHECK_MATH_SUPPORT
47595 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47597 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47599 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47601 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47603 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47605 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47607 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47609 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47611 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47613 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47615 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47617 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47619 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47621 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47623 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47625 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47627 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47629 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47631 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47633 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47635 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47638 # GLIBCXX_CHECK_STDLIB_SUPPORT
47639 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47644 # Check whether --enable-tls was given.
47645 if test "${enable_tls+set}" = set; then :
47646 enableval=$enable_tls;
47647 case "$enableval" in
47648 yes|no) ;;
47649 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47650 esac
47652 else
47653 enable_tls=yes
47657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47658 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47659 if ${gcc_cv_have_tls+:} false; then :
47660 $as_echo_n "(cached) " >&6
47661 else
47663 if test "$cross_compiling" = yes; then :
47664 if test x$gcc_no_link = xyes; then
47665 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47668 /* end confdefs.h. */
47669 __thread int a; int b; int main() { return a = b; }
47670 _ACEOF
47671 if ac_fn_c_try_link "$LINENO"; then :
47672 chktls_save_LDFLAGS="$LDFLAGS"
47673 case $host in
47674 *-*-linux* | -*-uclinuxfdpic*)
47675 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47677 esac
47678 chktls_save_CFLAGS="$CFLAGS"
47679 CFLAGS="-fPIC $CFLAGS"
47680 if test x$gcc_no_link = xyes; then
47681 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47684 /* end confdefs.h. */
47685 int f() { return 0; }
47686 _ACEOF
47687 if ac_fn_c_try_link "$LINENO"; then :
47688 if test x$gcc_no_link = xyes; then
47689 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47692 /* end confdefs.h. */
47693 __thread int a; int b; int f() { return a = b; }
47694 _ACEOF
47695 if ac_fn_c_try_link "$LINENO"; then :
47696 gcc_cv_have_tls=yes
47697 else
47698 gcc_cv_have_tls=no
47700 rm -f core conftest.err conftest.$ac_objext \
47701 conftest$ac_exeext conftest.$ac_ext
47702 else
47703 gcc_cv_have_tls=yes
47705 rm -f core conftest.err conftest.$ac_objext \
47706 conftest$ac_exeext conftest.$ac_ext
47707 CFLAGS="$chktls_save_CFLAGS"
47708 LDFLAGS="$chktls_save_LDFLAGS"
47709 else
47710 gcc_cv_have_tls=no
47712 rm -f core conftest.err conftest.$ac_objext \
47713 conftest$ac_exeext conftest.$ac_ext
47716 else
47717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47718 /* end confdefs.h. */
47719 __thread int a; int b; int main() { return a = b; }
47720 _ACEOF
47721 if ac_fn_c_try_run "$LINENO"; then :
47722 chktls_save_LDFLAGS="$LDFLAGS"
47723 LDFLAGS="-static $LDFLAGS"
47724 if test x$gcc_no_link = xyes; then
47725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47728 /* end confdefs.h. */
47729 int main() { return 0; }
47730 _ACEOF
47731 if ac_fn_c_try_link "$LINENO"; then :
47732 if test "$cross_compiling" = yes; then :
47733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47735 as_fn_error $? "cannot run test program while cross compiling
47736 See \`config.log' for more details" "$LINENO" 5; }
47737 else
47738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h. */
47740 __thread int a; int b; int main() { return a = b; }
47741 _ACEOF
47742 if ac_fn_c_try_run "$LINENO"; then :
47743 gcc_cv_have_tls=yes
47744 else
47745 gcc_cv_have_tls=no
47747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47748 conftest.$ac_objext conftest.beam conftest.$ac_ext
47751 else
47752 gcc_cv_have_tls=yes
47754 rm -f core conftest.err conftest.$ac_objext \
47755 conftest$ac_exeext conftest.$ac_ext
47756 LDFLAGS="$chktls_save_LDFLAGS"
47757 if test $gcc_cv_have_tls = yes; then
47758 chktls_save_CFLAGS="$CFLAGS"
47759 thread_CFLAGS=failed
47760 for flag in '' '-pthread' '-lpthread'; do
47761 CFLAGS="$flag $chktls_save_CFLAGS"
47762 if test x$gcc_no_link = xyes; then
47763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47766 /* end confdefs.h. */
47767 #include <pthread.h>
47768 void *g(void *d) { return NULL; }
47770 main ()
47772 pthread_t t; pthread_create(&t,NULL,g,NULL);
47774 return 0;
47776 _ACEOF
47777 if ac_fn_c_try_link "$LINENO"; then :
47778 thread_CFLAGS="$flag"
47780 rm -f core conftest.err conftest.$ac_objext \
47781 conftest$ac_exeext conftest.$ac_ext
47782 if test "X$thread_CFLAGS" != Xfailed; then
47783 break
47785 done
47786 CFLAGS="$chktls_save_CFLAGS"
47787 if test "X$thread_CFLAGS" != Xfailed; then
47788 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47789 if test "$cross_compiling" = yes; then :
47790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47792 as_fn_error $? "cannot run test program while cross compiling
47793 See \`config.log' for more details" "$LINENO" 5; }
47794 else
47795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47796 /* end confdefs.h. */
47797 #include <pthread.h>
47798 __thread int a;
47799 static int *volatile a_in_other_thread;
47800 static void *
47801 thread_func (void *arg)
47803 a_in_other_thread = &a;
47804 return (void *)0;
47807 main ()
47809 pthread_t thread;
47810 void *thread_retval;
47811 int *volatile a_in_main_thread;
47812 a_in_main_thread = &a;
47813 if (pthread_create (&thread, (pthread_attr_t *)0,
47814 thread_func, (void *)0))
47815 return 0;
47816 if (pthread_join (thread, &thread_retval))
47817 return 0;
47818 return (a_in_other_thread == a_in_main_thread);
47820 return 0;
47822 _ACEOF
47823 if ac_fn_c_try_run "$LINENO"; then :
47824 gcc_cv_have_tls=yes
47825 else
47826 gcc_cv_have_tls=no
47828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47829 conftest.$ac_objext conftest.beam conftest.$ac_ext
47832 CFLAGS="$chktls_save_CFLAGS"
47835 else
47836 gcc_cv_have_tls=no
47838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47839 conftest.$ac_objext conftest.beam conftest.$ac_ext
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47844 $as_echo "$gcc_cv_have_tls" >&6; }
47845 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47847 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47850 case "$target" in
47851 *-hpux10*)
47852 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47854 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47856 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47858 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47860 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47863 esac
47865 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47867 # All these tests are for C++; save the language and the compiler flags.
47868 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47869 # found in GLIBCXX_CONFIGURE.
47871 ac_ext=cpp
47872 ac_cpp='$CXXCPP $CPPFLAGS'
47873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47877 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47878 ac_save_CXXFLAGS="$CXXFLAGS"
47880 # Check for -ffunction-sections -fdata-sections
47881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47882 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47883 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47885 /* end confdefs.h. */
47886 int foo; void bar() { };
47888 main ()
47892 return 0;
47894 _ACEOF
47895 if ac_fn_cxx_try_compile "$LINENO"; then :
47896 ac_fdsections=yes
47897 else
47898 ac_fdsections=no
47900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47901 if test "$ac_test_CXXFLAGS" = set; then
47902 CXXFLAGS="$ac_save_CXXFLAGS"
47903 else
47904 # this is the suspicious part
47905 CXXFLAGS=''
47907 if test x"$ac_fdsections" = x"yes"; then
47908 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47911 $as_echo "$ac_fdsections" >&6; }
47913 ac_ext=c
47914 ac_cpp='$CPP $CPPFLAGS'
47915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47922 # If we're not using GNU ld, then there's no point in even trying these
47923 # tests. Check for that first. We should have already tested for gld
47924 # by now (in libtool), but require it now just to be safe...
47925 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47926 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47930 # The name set by libtool depends on the version of libtool. Shame on us
47931 # for depending on an impl detail, but c'est la vie. Older versions used
47932 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47933 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47934 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47935 # set (hence we're using an older libtool), then set it.
47936 if test x${with_gnu_ld+set} != xset; then
47937 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47938 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47939 with_gnu_ld=no
47940 else
47941 with_gnu_ld=$ac_cv_prog_gnu_ld
47945 # Start by getting the version number. I think the libtool test already
47946 # does some of this, but throws away the result.
47947 glibcxx_ld_is_gold=no
47948 if test x"$with_gnu_ld" = x"yes"; then
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47950 $as_echo_n "checking for ld version... " >&6; }
47952 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47953 glibcxx_ld_is_gold=yes
47955 ldver=`$LD --version 2>/dev/null |
47956 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47958 glibcxx_gnu_ld_version=`echo $ldver | \
47959 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47961 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47964 # Set --gc-sections.
47965 glibcxx_have_gc_sections=no
47966 if test "$glibcxx_ld_is_gold" = "yes"; then
47967 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47968 glibcxx_have_gc_sections=yes
47970 else
47971 glibcxx_gcsections_min_ld=21602
47972 if test x"$with_gnu_ld" = x"yes" &&
47973 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47974 glibcxx_have_gc_sections=yes
47977 if test "$glibcxx_have_gc_sections" = "yes"; then
47978 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47979 # NB: This flag only works reliably after 2.16.1. Configure tests
47980 # for this are difficult, so hard wire a value that should work.
47982 ac_test_CFLAGS="${CFLAGS+set}"
47983 ac_save_CFLAGS="$CFLAGS"
47984 CFLAGS='-Wl,--gc-sections'
47986 # Check for -Wl,--gc-sections
47987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47988 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47989 if test x$gcc_no_link = xyes; then
47990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47993 /* end confdefs.h. */
47994 int one(void) { return 1; }
47995 int two(void) { return 2; }
47998 main ()
48000 two();
48002 return 0;
48004 _ACEOF
48005 if ac_fn_c_try_link "$LINENO"; then :
48006 ac_gcsections=yes
48007 else
48008 ac_gcsections=no
48010 rm -f core conftest.err conftest.$ac_objext \
48011 conftest$ac_exeext conftest.$ac_ext
48012 if test "$ac_gcsections" = "yes"; then
48013 rm -f conftest.c
48014 touch conftest.c
48015 if $CC -c conftest.c; then
48016 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48017 grep "Warning: gc-sections option ignored" > /dev/null; then
48018 ac_gcsections=no
48021 rm -f conftest.c conftest.o conftest
48023 if test "$ac_gcsections" = "yes"; then
48024 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48027 $as_echo "$ac_gcsections" >&6; }
48029 if test "$ac_test_CFLAGS" = set; then
48030 CFLAGS="$ac_save_CFLAGS"
48031 else
48032 # this is the suspicious part
48033 CFLAGS=''
48037 # Set -z,relro.
48038 # Note this is only for shared objects.
48039 ac_ld_relro=no
48040 if test x"$with_gnu_ld" = x"yes"; then
48041 # cygwin and mingw uses PE, which has no ELF relro support,
48042 # multi target ld may confuse configure machinery
48043 case "$host" in
48044 *-*-cygwin*)
48046 *-*-mingw*)
48049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48050 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48051 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48052 if test -n "$cxx_z_relo"; then
48053 OPT_LDFLAGS="-Wl,-z,relro"
48054 ac_ld_relro=yes
48056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48057 $as_echo "$ac_ld_relro" >&6; }
48058 esac
48061 # Set linker optimization flags.
48062 if test x"$with_gnu_ld" = x"yes"; then
48063 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48070 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48071 ac_save_CXXFLAGS="$CXXFLAGS"
48072 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48075 $as_echo_n "checking for sin in -lm... " >&6; }
48076 if ${ac_cv_lib_m_sin+:} false; then :
48077 $as_echo_n "(cached) " >&6
48078 else
48079 ac_check_lib_save_LIBS=$LIBS
48080 LIBS="-lm $LIBS"
48081 if test x$gcc_no_link = xyes; then
48082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48085 /* end confdefs.h. */
48087 /* Override any GCC internal prototype to avoid an error.
48088 Use char because int might match the return type of a GCC
48089 builtin and then its argument prototype would still apply. */
48090 #ifdef __cplusplus
48091 extern "C"
48092 #endif
48093 char sin ();
48095 main ()
48097 return sin ();
48099 return 0;
48101 _ACEOF
48102 if ac_fn_c_try_link "$LINENO"; then :
48103 ac_cv_lib_m_sin=yes
48104 else
48105 ac_cv_lib_m_sin=no
48107 rm -f core conftest.err conftest.$ac_objext \
48108 conftest$ac_exeext conftest.$ac_ext
48109 LIBS=$ac_check_lib_save_LIBS
48111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48112 $as_echo "$ac_cv_lib_m_sin" >&6; }
48113 if test "x$ac_cv_lib_m_sin" = xyes; then :
48114 libm="-lm"
48117 ac_save_LIBS="$LIBS"
48118 LIBS="$LIBS $libm"
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48123 $as_echo_n "checking for isinf declaration... " >&6; }
48124 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48125 if ${glibcxx_cv_func_isinf_use+:} false; then :
48126 $as_echo_n "(cached) " >&6
48127 else
48130 ac_ext=cpp
48131 ac_cpp='$CXXCPP $CPPFLAGS'
48132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48137 /* end confdefs.h. */
48138 #include <math.h>
48139 #ifdef HAVE_IEEEFP_H
48140 #include <ieeefp.h>
48141 #endif
48144 main ()
48146 isinf(0);
48148 return 0;
48150 _ACEOF
48151 if ac_fn_cxx_try_compile "$LINENO"; then :
48152 glibcxx_cv_func_isinf_use=yes
48153 else
48154 glibcxx_cv_func_isinf_use=no
48156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48157 ac_ext=c
48158 ac_cpp='$CPP $CPPFLAGS'
48159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48168 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48170 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48171 for ac_func in isinf
48172 do :
48173 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48174 if test "x$ac_cv_func_isinf" = xyes; then :
48175 cat >>confdefs.h <<_ACEOF
48176 #define HAVE_ISINF 1
48177 _ACEOF
48180 done
48182 else
48184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48185 $as_echo_n "checking for _isinf declaration... " >&6; }
48186 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48187 if ${glibcxx_cv_func__isinf_use+:} false; then :
48188 $as_echo_n "(cached) " >&6
48189 else
48192 ac_ext=cpp
48193 ac_cpp='$CXXCPP $CPPFLAGS'
48194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48199 /* end confdefs.h. */
48200 #include <math.h>
48201 #ifdef HAVE_IEEEFP_H
48202 #include <ieeefp.h>
48203 #endif
48206 main ()
48208 _isinf(0);
48210 return 0;
48212 _ACEOF
48213 if ac_fn_cxx_try_compile "$LINENO"; then :
48214 glibcxx_cv_func__isinf_use=yes
48215 else
48216 glibcxx_cv_func__isinf_use=no
48218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48219 ac_ext=c
48220 ac_cpp='$CPP $CPPFLAGS'
48221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48230 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48232 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48233 for ac_func in _isinf
48234 do :
48235 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48236 if test "x$ac_cv_func__isinf" = xyes; then :
48237 cat >>confdefs.h <<_ACEOF
48238 #define HAVE__ISINF 1
48239 _ACEOF
48242 done
48251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48252 $as_echo_n "checking for isnan declaration... " >&6; }
48253 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48254 if ${glibcxx_cv_func_isnan_use+:} false; then :
48255 $as_echo_n "(cached) " >&6
48256 else
48259 ac_ext=cpp
48260 ac_cpp='$CXXCPP $CPPFLAGS'
48261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48266 /* end confdefs.h. */
48267 #include <math.h>
48268 #ifdef HAVE_IEEEFP_H
48269 #include <ieeefp.h>
48270 #endif
48273 main ()
48275 isnan(0);
48277 return 0;
48279 _ACEOF
48280 if ac_fn_cxx_try_compile "$LINENO"; then :
48281 glibcxx_cv_func_isnan_use=yes
48282 else
48283 glibcxx_cv_func_isnan_use=no
48285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48286 ac_ext=c
48287 ac_cpp='$CPP $CPPFLAGS'
48288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48297 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48299 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48300 for ac_func in isnan
48301 do :
48302 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48303 if test "x$ac_cv_func_isnan" = xyes; then :
48304 cat >>confdefs.h <<_ACEOF
48305 #define HAVE_ISNAN 1
48306 _ACEOF
48309 done
48311 else
48313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48314 $as_echo_n "checking for _isnan declaration... " >&6; }
48315 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48316 if ${glibcxx_cv_func__isnan_use+:} false; then :
48317 $as_echo_n "(cached) " >&6
48318 else
48321 ac_ext=cpp
48322 ac_cpp='$CXXCPP $CPPFLAGS'
48323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48328 /* end confdefs.h. */
48329 #include <math.h>
48330 #ifdef HAVE_IEEEFP_H
48331 #include <ieeefp.h>
48332 #endif
48335 main ()
48337 _isnan(0);
48339 return 0;
48341 _ACEOF
48342 if ac_fn_cxx_try_compile "$LINENO"; then :
48343 glibcxx_cv_func__isnan_use=yes
48344 else
48345 glibcxx_cv_func__isnan_use=no
48347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48348 ac_ext=c
48349 ac_cpp='$CPP $CPPFLAGS'
48350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48359 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48361 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48362 for ac_func in _isnan
48363 do :
48364 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48365 if test "x$ac_cv_func__isnan" = xyes; then :
48366 cat >>confdefs.h <<_ACEOF
48367 #define HAVE__ISNAN 1
48368 _ACEOF
48371 done
48380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48381 $as_echo_n "checking for finite declaration... " >&6; }
48382 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48383 if ${glibcxx_cv_func_finite_use+:} false; then :
48384 $as_echo_n "(cached) " >&6
48385 else
48388 ac_ext=cpp
48389 ac_cpp='$CXXCPP $CPPFLAGS'
48390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48395 /* end confdefs.h. */
48396 #include <math.h>
48397 #ifdef HAVE_IEEEFP_H
48398 #include <ieeefp.h>
48399 #endif
48402 main ()
48404 finite(0);
48406 return 0;
48408 _ACEOF
48409 if ac_fn_cxx_try_compile "$LINENO"; then :
48410 glibcxx_cv_func_finite_use=yes
48411 else
48412 glibcxx_cv_func_finite_use=no
48414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48415 ac_ext=c
48416 ac_cpp='$CPP $CPPFLAGS'
48417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48426 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48428 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48429 for ac_func in finite
48430 do :
48431 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48432 if test "x$ac_cv_func_finite" = xyes; then :
48433 cat >>confdefs.h <<_ACEOF
48434 #define HAVE_FINITE 1
48435 _ACEOF
48438 done
48440 else
48442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48443 $as_echo_n "checking for _finite declaration... " >&6; }
48444 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48445 if ${glibcxx_cv_func__finite_use+:} false; then :
48446 $as_echo_n "(cached) " >&6
48447 else
48450 ac_ext=cpp
48451 ac_cpp='$CXXCPP $CPPFLAGS'
48452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48457 /* end confdefs.h. */
48458 #include <math.h>
48459 #ifdef HAVE_IEEEFP_H
48460 #include <ieeefp.h>
48461 #endif
48464 main ()
48466 _finite(0);
48468 return 0;
48470 _ACEOF
48471 if ac_fn_cxx_try_compile "$LINENO"; then :
48472 glibcxx_cv_func__finite_use=yes
48473 else
48474 glibcxx_cv_func__finite_use=no
48476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48477 ac_ext=c
48478 ac_cpp='$CPP $CPPFLAGS'
48479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48488 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48490 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48491 for ac_func in _finite
48492 do :
48493 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48494 if test "x$ac_cv_func__finite" = xyes; then :
48495 cat >>confdefs.h <<_ACEOF
48496 #define HAVE__FINITE 1
48497 _ACEOF
48500 done
48509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48510 $as_echo_n "checking for sincos declaration... " >&6; }
48511 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48512 if ${glibcxx_cv_func_sincos_use+:} false; then :
48513 $as_echo_n "(cached) " >&6
48514 else
48517 ac_ext=cpp
48518 ac_cpp='$CXXCPP $CPPFLAGS'
48519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48524 /* end confdefs.h. */
48525 #include <math.h>
48527 main ()
48529 sincos(0, 0, 0);
48531 return 0;
48533 _ACEOF
48534 if ac_fn_cxx_try_compile "$LINENO"; then :
48535 glibcxx_cv_func_sincos_use=yes
48536 else
48537 glibcxx_cv_func_sincos_use=no
48539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48540 ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48551 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48553 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48554 for ac_func in sincos
48555 do :
48556 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48557 if test "x$ac_cv_func_sincos" = xyes; then :
48558 cat >>confdefs.h <<_ACEOF
48559 #define HAVE_SINCOS 1
48560 _ACEOF
48563 done
48565 else
48567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48568 $as_echo_n "checking for _sincos declaration... " >&6; }
48569 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48570 if ${glibcxx_cv_func__sincos_use+:} false; then :
48571 $as_echo_n "(cached) " >&6
48572 else
48575 ac_ext=cpp
48576 ac_cpp='$CXXCPP $CPPFLAGS'
48577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48582 /* end confdefs.h. */
48583 #include <math.h>
48585 main ()
48587 _sincos(0, 0, 0);
48589 return 0;
48591 _ACEOF
48592 if ac_fn_cxx_try_compile "$LINENO"; then :
48593 glibcxx_cv_func__sincos_use=yes
48594 else
48595 glibcxx_cv_func__sincos_use=no
48597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48598 ac_ext=c
48599 ac_cpp='$CPP $CPPFLAGS'
48600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48609 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48611 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48612 for ac_func in _sincos
48613 do :
48614 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48615 if test "x$ac_cv_func__sincos" = xyes; then :
48616 cat >>confdefs.h <<_ACEOF
48617 #define HAVE__SINCOS 1
48618 _ACEOF
48621 done
48630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48631 $as_echo_n "checking for fpclass declaration... " >&6; }
48632 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48633 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48634 $as_echo_n "(cached) " >&6
48635 else
48638 ac_ext=cpp
48639 ac_cpp='$CXXCPP $CPPFLAGS'
48640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48645 /* end confdefs.h. */
48646 #include <math.h>
48647 #ifdef HAVE_IEEEFP_H
48648 #include <ieeefp.h>
48649 #endif
48652 main ()
48654 fpclass(0);
48656 return 0;
48658 _ACEOF
48659 if ac_fn_cxx_try_compile "$LINENO"; then :
48660 glibcxx_cv_func_fpclass_use=yes
48661 else
48662 glibcxx_cv_func_fpclass_use=no
48664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48665 ac_ext=c
48666 ac_cpp='$CPP $CPPFLAGS'
48667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48676 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48678 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48679 for ac_func in fpclass
48680 do :
48681 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48682 if test "x$ac_cv_func_fpclass" = xyes; then :
48683 cat >>confdefs.h <<_ACEOF
48684 #define HAVE_FPCLASS 1
48685 _ACEOF
48688 done
48690 else
48692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48693 $as_echo_n "checking for _fpclass declaration... " >&6; }
48694 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48695 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48696 $as_echo_n "(cached) " >&6
48697 else
48700 ac_ext=cpp
48701 ac_cpp='$CXXCPP $CPPFLAGS'
48702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48707 /* end confdefs.h. */
48708 #include <math.h>
48709 #ifdef HAVE_IEEEFP_H
48710 #include <ieeefp.h>
48711 #endif
48714 main ()
48716 _fpclass(0);
48718 return 0;
48720 _ACEOF
48721 if ac_fn_cxx_try_compile "$LINENO"; then :
48722 glibcxx_cv_func__fpclass_use=yes
48723 else
48724 glibcxx_cv_func__fpclass_use=no
48726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48727 ac_ext=c
48728 ac_cpp='$CPP $CPPFLAGS'
48729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48738 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48740 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48741 for ac_func in _fpclass
48742 do :
48743 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48744 if test "x$ac_cv_func__fpclass" = xyes; then :
48745 cat >>confdefs.h <<_ACEOF
48746 #define HAVE__FPCLASS 1
48747 _ACEOF
48750 done
48759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48760 $as_echo_n "checking for qfpclass declaration... " >&6; }
48761 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48762 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48763 $as_echo_n "(cached) " >&6
48764 else
48767 ac_ext=cpp
48768 ac_cpp='$CXXCPP $CPPFLAGS'
48769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48774 /* end confdefs.h. */
48775 #include <math.h>
48776 #ifdef HAVE_IEEEFP_H
48777 #include <ieeefp.h>
48778 #endif
48781 main ()
48783 qfpclass(0);
48785 return 0;
48787 _ACEOF
48788 if ac_fn_cxx_try_compile "$LINENO"; then :
48789 glibcxx_cv_func_qfpclass_use=yes
48790 else
48791 glibcxx_cv_func_qfpclass_use=no
48793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48794 ac_ext=c
48795 ac_cpp='$CPP $CPPFLAGS'
48796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48805 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48807 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48808 for ac_func in qfpclass
48809 do :
48810 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48811 if test "x$ac_cv_func_qfpclass" = xyes; then :
48812 cat >>confdefs.h <<_ACEOF
48813 #define HAVE_QFPCLASS 1
48814 _ACEOF
48817 done
48819 else
48821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48822 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48823 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48824 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48825 $as_echo_n "(cached) " >&6
48826 else
48829 ac_ext=cpp
48830 ac_cpp='$CXXCPP $CPPFLAGS'
48831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48836 /* end confdefs.h. */
48837 #include <math.h>
48838 #ifdef HAVE_IEEEFP_H
48839 #include <ieeefp.h>
48840 #endif
48843 main ()
48845 _qfpclass(0);
48847 return 0;
48849 _ACEOF
48850 if ac_fn_cxx_try_compile "$LINENO"; then :
48851 glibcxx_cv_func__qfpclass_use=yes
48852 else
48853 glibcxx_cv_func__qfpclass_use=no
48855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48856 ac_ext=c
48857 ac_cpp='$CPP $CPPFLAGS'
48858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48867 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48869 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48870 for ac_func in _qfpclass
48871 do :
48872 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48873 if test "x$ac_cv_func__qfpclass" = xyes; then :
48874 cat >>confdefs.h <<_ACEOF
48875 #define HAVE__QFPCLASS 1
48876 _ACEOF
48879 done
48888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48889 $as_echo_n "checking for hypot declaration... " >&6; }
48890 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48891 if ${glibcxx_cv_func_hypot_use+:} false; then :
48892 $as_echo_n "(cached) " >&6
48893 else
48896 ac_ext=cpp
48897 ac_cpp='$CXXCPP $CPPFLAGS'
48898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48903 /* end confdefs.h. */
48904 #include <math.h>
48906 main ()
48908 hypot(0, 0);
48910 return 0;
48912 _ACEOF
48913 if ac_fn_cxx_try_compile "$LINENO"; then :
48914 glibcxx_cv_func_hypot_use=yes
48915 else
48916 glibcxx_cv_func_hypot_use=no
48918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48919 ac_ext=c
48920 ac_cpp='$CPP $CPPFLAGS'
48921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48930 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48932 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48933 for ac_func in hypot
48934 do :
48935 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48936 if test "x$ac_cv_func_hypot" = xyes; then :
48937 cat >>confdefs.h <<_ACEOF
48938 #define HAVE_HYPOT 1
48939 _ACEOF
48942 done
48944 else
48946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48947 $as_echo_n "checking for _hypot declaration... " >&6; }
48948 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48949 if ${glibcxx_cv_func__hypot_use+:} false; then :
48950 $as_echo_n "(cached) " >&6
48951 else
48954 ac_ext=cpp
48955 ac_cpp='$CXXCPP $CPPFLAGS'
48956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48961 /* end confdefs.h. */
48962 #include <math.h>
48964 main ()
48966 _hypot(0, 0);
48968 return 0;
48970 _ACEOF
48971 if ac_fn_cxx_try_compile "$LINENO"; then :
48972 glibcxx_cv_func__hypot_use=yes
48973 else
48974 glibcxx_cv_func__hypot_use=no
48976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48977 ac_ext=c
48978 ac_cpp='$CPP $CPPFLAGS'
48979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48988 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48990 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48991 for ac_func in _hypot
48992 do :
48993 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48994 if test "x$ac_cv_func__hypot" = xyes; then :
48995 cat >>confdefs.h <<_ACEOF
48996 #define HAVE__HYPOT 1
48997 _ACEOF
49000 done
49009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49010 $as_echo_n "checking for float trig functions... " >&6; }
49011 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49012 $as_echo_n "(cached) " >&6
49013 else
49016 ac_ext=cpp
49017 ac_cpp='$CXXCPP $CPPFLAGS'
49018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49023 /* end confdefs.h. */
49024 #include <math.h>
49026 main ()
49028 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49030 return 0;
49032 _ACEOF
49033 if ac_fn_cxx_try_compile "$LINENO"; then :
49034 glibcxx_cv_func_float_trig_use=yes
49035 else
49036 glibcxx_cv_func_float_trig_use=no
49038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49039 ac_ext=c
49040 ac_cpp='$CPP $CPPFLAGS'
49041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49048 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49049 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49050 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49051 do :
49052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49057 _ACEOF
49060 done
49062 else
49063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49064 $as_echo_n "checking for _float trig functions... " >&6; }
49065 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49066 $as_echo_n "(cached) " >&6
49067 else
49070 ac_ext=cpp
49071 ac_cpp='$CXXCPP $CPPFLAGS'
49072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49077 /* end confdefs.h. */
49078 #include <math.h>
49080 main ()
49082 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49084 return 0;
49086 _ACEOF
49087 if ac_fn_cxx_try_compile "$LINENO"; then :
49088 glibcxx_cv_func__float_trig_use=yes
49089 else
49090 glibcxx_cv_func__float_trig_use=no
49092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49093 ac_ext=c
49094 ac_cpp='$CPP $CPPFLAGS'
49095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49102 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49103 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49104 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49105 do :
49106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49109 cat >>confdefs.h <<_ACEOF
49110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49111 _ACEOF
49114 done
49123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49124 $as_echo_n "checking for float round functions... " >&6; }
49125 if ${glibcxx_cv_func_float_round_use+:} false; then :
49126 $as_echo_n "(cached) " >&6
49127 else
49130 ac_ext=cpp
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49137 /* end confdefs.h. */
49138 #include <math.h>
49140 main ()
49142 ceilf (0); floorf (0);
49144 return 0;
49146 _ACEOF
49147 if ac_fn_cxx_try_compile "$LINENO"; then :
49148 glibcxx_cv_func_float_round_use=yes
49149 else
49150 glibcxx_cv_func_float_round_use=no
49152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49153 ac_ext=c
49154 ac_cpp='$CPP $CPPFLAGS'
49155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49162 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49163 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49164 for ac_func in ceilf floorf
49165 do :
49166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49169 cat >>confdefs.h <<_ACEOF
49170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49171 _ACEOF
49174 done
49176 else
49177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49178 $as_echo_n "checking for _float round functions... " >&6; }
49179 if ${glibcxx_cv_func__float_round_use+:} false; then :
49180 $as_echo_n "(cached) " >&6
49181 else
49184 ac_ext=cpp
49185 ac_cpp='$CXXCPP $CPPFLAGS'
49186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49191 /* end confdefs.h. */
49192 #include <math.h>
49194 main ()
49196 _ceilf (0); _floorf (0);
49198 return 0;
49200 _ACEOF
49201 if ac_fn_cxx_try_compile "$LINENO"; then :
49202 glibcxx_cv_func__float_round_use=yes
49203 else
49204 glibcxx_cv_func__float_round_use=no
49206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49207 ac_ext=c
49208 ac_cpp='$CPP $CPPFLAGS'
49209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49216 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49217 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49218 for ac_func in _ceilf _floorf
49219 do :
49220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49222 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49223 cat >>confdefs.h <<_ACEOF
49224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49225 _ACEOF
49228 done
49238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49239 $as_echo_n "checking for expf declaration... " >&6; }
49240 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49241 if ${glibcxx_cv_func_expf_use+:} false; then :
49242 $as_echo_n "(cached) " >&6
49243 else
49246 ac_ext=cpp
49247 ac_cpp='$CXXCPP $CPPFLAGS'
49248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49253 /* end confdefs.h. */
49254 #include <math.h>
49255 #ifdef HAVE_IEEEFP_H
49256 #include <ieeefp.h>
49257 #endif
49260 main ()
49262 expf(0);
49264 return 0;
49266 _ACEOF
49267 if ac_fn_cxx_try_compile "$LINENO"; then :
49268 glibcxx_cv_func_expf_use=yes
49269 else
49270 glibcxx_cv_func_expf_use=no
49272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49273 ac_ext=c
49274 ac_cpp='$CPP $CPPFLAGS'
49275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49284 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49286 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49287 for ac_func in expf
49288 do :
49289 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49290 if test "x$ac_cv_func_expf" = xyes; then :
49291 cat >>confdefs.h <<_ACEOF
49292 #define HAVE_EXPF 1
49293 _ACEOF
49296 done
49298 else
49300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49301 $as_echo_n "checking for _expf declaration... " >&6; }
49302 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49303 if ${glibcxx_cv_func__expf_use+:} false; then :
49304 $as_echo_n "(cached) " >&6
49305 else
49308 ac_ext=cpp
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49315 /* end confdefs.h. */
49316 #include <math.h>
49317 #ifdef HAVE_IEEEFP_H
49318 #include <ieeefp.h>
49319 #endif
49322 main ()
49324 _expf(0);
49326 return 0;
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330 glibcxx_cv_func__expf_use=yes
49331 else
49332 glibcxx_cv_func__expf_use=no
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335 ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49346 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49348 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49349 for ac_func in _expf
49350 do :
49351 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49352 if test "x$ac_cv_func__expf" = xyes; then :
49353 cat >>confdefs.h <<_ACEOF
49354 #define HAVE__EXPF 1
49355 _ACEOF
49358 done
49367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49368 $as_echo_n "checking for isnanf declaration... " >&6; }
49369 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49370 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49371 $as_echo_n "(cached) " >&6
49372 else
49375 ac_ext=cpp
49376 ac_cpp='$CXXCPP $CPPFLAGS'
49377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49382 /* end confdefs.h. */
49383 #include <math.h>
49384 #ifdef HAVE_IEEEFP_H
49385 #include <ieeefp.h>
49386 #endif
49389 main ()
49391 isnanf(0);
49393 return 0;
49395 _ACEOF
49396 if ac_fn_cxx_try_compile "$LINENO"; then :
49397 glibcxx_cv_func_isnanf_use=yes
49398 else
49399 glibcxx_cv_func_isnanf_use=no
49401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49402 ac_ext=c
49403 ac_cpp='$CPP $CPPFLAGS'
49404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49413 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49415 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49416 for ac_func in isnanf
49417 do :
49418 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49419 if test "x$ac_cv_func_isnanf" = xyes; then :
49420 cat >>confdefs.h <<_ACEOF
49421 #define HAVE_ISNANF 1
49422 _ACEOF
49425 done
49427 else
49429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49430 $as_echo_n "checking for _isnanf declaration... " >&6; }
49431 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49432 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49433 $as_echo_n "(cached) " >&6
49434 else
49437 ac_ext=cpp
49438 ac_cpp='$CXXCPP $CPPFLAGS'
49439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49444 /* end confdefs.h. */
49445 #include <math.h>
49446 #ifdef HAVE_IEEEFP_H
49447 #include <ieeefp.h>
49448 #endif
49451 main ()
49453 _isnanf(0);
49455 return 0;
49457 _ACEOF
49458 if ac_fn_cxx_try_compile "$LINENO"; then :
49459 glibcxx_cv_func__isnanf_use=yes
49460 else
49461 glibcxx_cv_func__isnanf_use=no
49463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49464 ac_ext=c
49465 ac_cpp='$CPP $CPPFLAGS'
49466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49475 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49477 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49478 for ac_func in _isnanf
49479 do :
49480 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49481 if test "x$ac_cv_func__isnanf" = xyes; then :
49482 cat >>confdefs.h <<_ACEOF
49483 #define HAVE__ISNANF 1
49484 _ACEOF
49487 done
49496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49497 $as_echo_n "checking for isinff declaration... " >&6; }
49498 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49499 if ${glibcxx_cv_func_isinff_use+:} false; then :
49500 $as_echo_n "(cached) " >&6
49501 else
49504 ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h. */
49512 #include <math.h>
49513 #ifdef HAVE_IEEEFP_H
49514 #include <ieeefp.h>
49515 #endif
49518 main ()
49520 isinff(0);
49522 return 0;
49524 _ACEOF
49525 if ac_fn_cxx_try_compile "$LINENO"; then :
49526 glibcxx_cv_func_isinff_use=yes
49527 else
49528 glibcxx_cv_func_isinff_use=no
49530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49531 ac_ext=c
49532 ac_cpp='$CPP $CPPFLAGS'
49533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49542 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49544 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49545 for ac_func in isinff
49546 do :
49547 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49548 if test "x$ac_cv_func_isinff" = xyes; then :
49549 cat >>confdefs.h <<_ACEOF
49550 #define HAVE_ISINFF 1
49551 _ACEOF
49554 done
49556 else
49558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49559 $as_echo_n "checking for _isinff declaration... " >&6; }
49560 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49561 if ${glibcxx_cv_func__isinff_use+:} false; then :
49562 $as_echo_n "(cached) " >&6
49563 else
49566 ac_ext=cpp
49567 ac_cpp='$CXXCPP $CPPFLAGS'
49568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49573 /* end confdefs.h. */
49574 #include <math.h>
49575 #ifdef HAVE_IEEEFP_H
49576 #include <ieeefp.h>
49577 #endif
49580 main ()
49582 _isinff(0);
49584 return 0;
49586 _ACEOF
49587 if ac_fn_cxx_try_compile "$LINENO"; then :
49588 glibcxx_cv_func__isinff_use=yes
49589 else
49590 glibcxx_cv_func__isinff_use=no
49592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49593 ac_ext=c
49594 ac_cpp='$CPP $CPPFLAGS'
49595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49604 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49606 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49607 for ac_func in _isinff
49608 do :
49609 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49610 if test "x$ac_cv_func__isinff" = xyes; then :
49611 cat >>confdefs.h <<_ACEOF
49612 #define HAVE__ISINFF 1
49613 _ACEOF
49616 done
49625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49626 $as_echo_n "checking for atan2f declaration... " >&6; }
49627 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49628 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49629 $as_echo_n "(cached) " >&6
49630 else
49633 ac_ext=cpp
49634 ac_cpp='$CXXCPP $CPPFLAGS'
49635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49640 /* end confdefs.h. */
49641 #include <math.h>
49643 main ()
49645 atan2f(0, 0);
49647 return 0;
49649 _ACEOF
49650 if ac_fn_cxx_try_compile "$LINENO"; then :
49651 glibcxx_cv_func_atan2f_use=yes
49652 else
49653 glibcxx_cv_func_atan2f_use=no
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656 ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49667 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49669 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49670 for ac_func in atan2f
49671 do :
49672 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49673 if test "x$ac_cv_func_atan2f" = xyes; then :
49674 cat >>confdefs.h <<_ACEOF
49675 #define HAVE_ATAN2F 1
49676 _ACEOF
49679 done
49681 else
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49684 $as_echo_n "checking for _atan2f declaration... " >&6; }
49685 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49686 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49687 $as_echo_n "(cached) " >&6
49688 else
49691 ac_ext=cpp
49692 ac_cpp='$CXXCPP $CPPFLAGS'
49693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49698 /* end confdefs.h. */
49699 #include <math.h>
49701 main ()
49703 _atan2f(0, 0);
49705 return 0;
49707 _ACEOF
49708 if ac_fn_cxx_try_compile "$LINENO"; then :
49709 glibcxx_cv_func__atan2f_use=yes
49710 else
49711 glibcxx_cv_func__atan2f_use=no
49713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49714 ac_ext=c
49715 ac_cpp='$CPP $CPPFLAGS'
49716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49725 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49727 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49728 for ac_func in _atan2f
49729 do :
49730 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49731 if test "x$ac_cv_func__atan2f" = xyes; then :
49732 cat >>confdefs.h <<_ACEOF
49733 #define HAVE__ATAN2F 1
49734 _ACEOF
49737 done
49746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49747 $as_echo_n "checking for fabsf declaration... " >&6; }
49748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49749 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49750 $as_echo_n "(cached) " >&6
49751 else
49754 ac_ext=cpp
49755 ac_cpp='$CXXCPP $CPPFLAGS'
49756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49761 /* end confdefs.h. */
49762 #include <math.h>
49763 #ifdef HAVE_IEEEFP_H
49764 #include <ieeefp.h>
49765 #endif
49768 main ()
49770 fabsf(0);
49772 return 0;
49774 _ACEOF
49775 if ac_fn_cxx_try_compile "$LINENO"; then :
49776 glibcxx_cv_func_fabsf_use=yes
49777 else
49778 glibcxx_cv_func_fabsf_use=no
49780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49781 ac_ext=c
49782 ac_cpp='$CPP $CPPFLAGS'
49783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49792 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49794 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49795 for ac_func in fabsf
49796 do :
49797 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49798 if test "x$ac_cv_func_fabsf" = xyes; then :
49799 cat >>confdefs.h <<_ACEOF
49800 #define HAVE_FABSF 1
49801 _ACEOF
49804 done
49806 else
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49809 $as_echo_n "checking for _fabsf declaration... " >&6; }
49810 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49811 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49812 $as_echo_n "(cached) " >&6
49813 else
49816 ac_ext=cpp
49817 ac_cpp='$CXXCPP $CPPFLAGS'
49818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49823 /* end confdefs.h. */
49824 #include <math.h>
49825 #ifdef HAVE_IEEEFP_H
49826 #include <ieeefp.h>
49827 #endif
49830 main ()
49832 _fabsf(0);
49834 return 0;
49836 _ACEOF
49837 if ac_fn_cxx_try_compile "$LINENO"; then :
49838 glibcxx_cv_func__fabsf_use=yes
49839 else
49840 glibcxx_cv_func__fabsf_use=no
49842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49843 ac_ext=c
49844 ac_cpp='$CPP $CPPFLAGS'
49845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49854 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49856 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49857 for ac_func in _fabsf
49858 do :
49859 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49860 if test "x$ac_cv_func__fabsf" = xyes; then :
49861 cat >>confdefs.h <<_ACEOF
49862 #define HAVE__FABSF 1
49863 _ACEOF
49866 done
49875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49876 $as_echo_n "checking for fmodf declaration... " >&6; }
49877 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49878 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49879 $as_echo_n "(cached) " >&6
49880 else
49883 ac_ext=cpp
49884 ac_cpp='$CXXCPP $CPPFLAGS'
49885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49890 /* end confdefs.h. */
49891 #include <math.h>
49893 main ()
49895 fmodf(0, 0);
49897 return 0;
49899 _ACEOF
49900 if ac_fn_cxx_try_compile "$LINENO"; then :
49901 glibcxx_cv_func_fmodf_use=yes
49902 else
49903 glibcxx_cv_func_fmodf_use=no
49905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49906 ac_ext=c
49907 ac_cpp='$CPP $CPPFLAGS'
49908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49917 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49919 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49920 for ac_func in fmodf
49921 do :
49922 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49923 if test "x$ac_cv_func_fmodf" = xyes; then :
49924 cat >>confdefs.h <<_ACEOF
49925 #define HAVE_FMODF 1
49926 _ACEOF
49929 done
49931 else
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49934 $as_echo_n "checking for _fmodf declaration... " >&6; }
49935 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49936 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49937 $as_echo_n "(cached) " >&6
49938 else
49941 ac_ext=cpp
49942 ac_cpp='$CXXCPP $CPPFLAGS'
49943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49948 /* end confdefs.h. */
49949 #include <math.h>
49951 main ()
49953 _fmodf(0, 0);
49955 return 0;
49957 _ACEOF
49958 if ac_fn_cxx_try_compile "$LINENO"; then :
49959 glibcxx_cv_func__fmodf_use=yes
49960 else
49961 glibcxx_cv_func__fmodf_use=no
49963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49964 ac_ext=c
49965 ac_cpp='$CPP $CPPFLAGS'
49966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49975 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49977 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49978 for ac_func in _fmodf
49979 do :
49980 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49981 if test "x$ac_cv_func__fmodf" = xyes; then :
49982 cat >>confdefs.h <<_ACEOF
49983 #define HAVE__FMODF 1
49984 _ACEOF
49987 done
49996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49997 $as_echo_n "checking for frexpf declaration... " >&6; }
49998 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49999 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50000 $as_echo_n "(cached) " >&6
50001 else
50004 ac_ext=cpp
50005 ac_cpp='$CXXCPP $CPPFLAGS'
50006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50011 /* end confdefs.h. */
50012 #include <math.h>
50014 main ()
50016 frexpf(0, 0);
50018 return 0;
50020 _ACEOF
50021 if ac_fn_cxx_try_compile "$LINENO"; then :
50022 glibcxx_cv_func_frexpf_use=yes
50023 else
50024 glibcxx_cv_func_frexpf_use=no
50026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50027 ac_ext=c
50028 ac_cpp='$CPP $CPPFLAGS'
50029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50038 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50040 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50041 for ac_func in frexpf
50042 do :
50043 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50044 if test "x$ac_cv_func_frexpf" = xyes; then :
50045 cat >>confdefs.h <<_ACEOF
50046 #define HAVE_FREXPF 1
50047 _ACEOF
50050 done
50052 else
50054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50055 $as_echo_n "checking for _frexpf declaration... " >&6; }
50056 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50057 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50058 $as_echo_n "(cached) " >&6
50059 else
50062 ac_ext=cpp
50063 ac_cpp='$CXXCPP $CPPFLAGS'
50064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50069 /* end confdefs.h. */
50070 #include <math.h>
50072 main ()
50074 _frexpf(0, 0);
50076 return 0;
50078 _ACEOF
50079 if ac_fn_cxx_try_compile "$LINENO"; then :
50080 glibcxx_cv_func__frexpf_use=yes
50081 else
50082 glibcxx_cv_func__frexpf_use=no
50084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50085 ac_ext=c
50086 ac_cpp='$CPP $CPPFLAGS'
50087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50096 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50098 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50099 for ac_func in _frexpf
50100 do :
50101 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50102 if test "x$ac_cv_func__frexpf" = xyes; then :
50103 cat >>confdefs.h <<_ACEOF
50104 #define HAVE__FREXPF 1
50105 _ACEOF
50108 done
50117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50118 $as_echo_n "checking for hypotf declaration... " >&6; }
50119 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50120 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50121 $as_echo_n "(cached) " >&6
50122 else
50125 ac_ext=cpp
50126 ac_cpp='$CXXCPP $CPPFLAGS'
50127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50132 /* end confdefs.h. */
50133 #include <math.h>
50135 main ()
50137 hypotf(0, 0);
50139 return 0;
50141 _ACEOF
50142 if ac_fn_cxx_try_compile "$LINENO"; then :
50143 glibcxx_cv_func_hypotf_use=yes
50144 else
50145 glibcxx_cv_func_hypotf_use=no
50147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50148 ac_ext=c
50149 ac_cpp='$CPP $CPPFLAGS'
50150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50161 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50162 for ac_func in hypotf
50163 do :
50164 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50165 if test "x$ac_cv_func_hypotf" = xyes; then :
50166 cat >>confdefs.h <<_ACEOF
50167 #define HAVE_HYPOTF 1
50168 _ACEOF
50171 done
50173 else
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50176 $as_echo_n "checking for _hypotf declaration... " >&6; }
50177 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50178 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50179 $as_echo_n "(cached) " >&6
50180 else
50183 ac_ext=cpp
50184 ac_cpp='$CXXCPP $CPPFLAGS'
50185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50190 /* end confdefs.h. */
50191 #include <math.h>
50193 main ()
50195 _hypotf(0, 0);
50197 return 0;
50199 _ACEOF
50200 if ac_fn_cxx_try_compile "$LINENO"; then :
50201 glibcxx_cv_func__hypotf_use=yes
50202 else
50203 glibcxx_cv_func__hypotf_use=no
50205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50206 ac_ext=c
50207 ac_cpp='$CPP $CPPFLAGS'
50208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50217 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50219 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50220 for ac_func in _hypotf
50221 do :
50222 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50223 if test "x$ac_cv_func__hypotf" = xyes; then :
50224 cat >>confdefs.h <<_ACEOF
50225 #define HAVE__HYPOTF 1
50226 _ACEOF
50229 done
50238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50239 $as_echo_n "checking for ldexpf declaration... " >&6; }
50240 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50241 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50242 $as_echo_n "(cached) " >&6
50243 else
50246 ac_ext=cpp
50247 ac_cpp='$CXXCPP $CPPFLAGS'
50248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50253 /* end confdefs.h. */
50254 #include <math.h>
50256 main ()
50258 ldexpf(0, 0);
50260 return 0;
50262 _ACEOF
50263 if ac_fn_cxx_try_compile "$LINENO"; then :
50264 glibcxx_cv_func_ldexpf_use=yes
50265 else
50266 glibcxx_cv_func_ldexpf_use=no
50268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50269 ac_ext=c
50270 ac_cpp='$CPP $CPPFLAGS'
50271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50280 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50282 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50283 for ac_func in ldexpf
50284 do :
50285 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50286 if test "x$ac_cv_func_ldexpf" = xyes; then :
50287 cat >>confdefs.h <<_ACEOF
50288 #define HAVE_LDEXPF 1
50289 _ACEOF
50292 done
50294 else
50296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50297 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50298 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50299 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50300 $as_echo_n "(cached) " >&6
50301 else
50304 ac_ext=cpp
50305 ac_cpp='$CXXCPP $CPPFLAGS'
50306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50311 /* end confdefs.h. */
50312 #include <math.h>
50314 main ()
50316 _ldexpf(0, 0);
50318 return 0;
50320 _ACEOF
50321 if ac_fn_cxx_try_compile "$LINENO"; then :
50322 glibcxx_cv_func__ldexpf_use=yes
50323 else
50324 glibcxx_cv_func__ldexpf_use=no
50326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50327 ac_ext=c
50328 ac_cpp='$CPP $CPPFLAGS'
50329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50338 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50340 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50341 for ac_func in _ldexpf
50342 do :
50343 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50344 if test "x$ac_cv_func__ldexpf" = xyes; then :
50345 cat >>confdefs.h <<_ACEOF
50346 #define HAVE__LDEXPF 1
50347 _ACEOF
50350 done
50359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50360 $as_echo_n "checking for logf declaration... " >&6; }
50361 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50362 if ${glibcxx_cv_func_logf_use+:} false; then :
50363 $as_echo_n "(cached) " >&6
50364 else
50367 ac_ext=cpp
50368 ac_cpp='$CXXCPP $CPPFLAGS'
50369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50374 /* end confdefs.h. */
50375 #include <math.h>
50376 #ifdef HAVE_IEEEFP_H
50377 #include <ieeefp.h>
50378 #endif
50381 main ()
50383 logf(0);
50385 return 0;
50387 _ACEOF
50388 if ac_fn_cxx_try_compile "$LINENO"; then :
50389 glibcxx_cv_func_logf_use=yes
50390 else
50391 glibcxx_cv_func_logf_use=no
50393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50394 ac_ext=c
50395 ac_cpp='$CPP $CPPFLAGS'
50396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50405 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50407 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50408 for ac_func in logf
50409 do :
50410 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50411 if test "x$ac_cv_func_logf" = xyes; then :
50412 cat >>confdefs.h <<_ACEOF
50413 #define HAVE_LOGF 1
50414 _ACEOF
50417 done
50419 else
50421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50422 $as_echo_n "checking for _logf declaration... " >&6; }
50423 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50424 if ${glibcxx_cv_func__logf_use+:} false; then :
50425 $as_echo_n "(cached) " >&6
50426 else
50429 ac_ext=cpp
50430 ac_cpp='$CXXCPP $CPPFLAGS'
50431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50436 /* end confdefs.h. */
50437 #include <math.h>
50438 #ifdef HAVE_IEEEFP_H
50439 #include <ieeefp.h>
50440 #endif
50443 main ()
50445 _logf(0);
50447 return 0;
50449 _ACEOF
50450 if ac_fn_cxx_try_compile "$LINENO"; then :
50451 glibcxx_cv_func__logf_use=yes
50452 else
50453 glibcxx_cv_func__logf_use=no
50455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50456 ac_ext=c
50457 ac_cpp='$CPP $CPPFLAGS'
50458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50467 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50469 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50470 for ac_func in _logf
50471 do :
50472 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50473 if test "x$ac_cv_func__logf" = xyes; then :
50474 cat >>confdefs.h <<_ACEOF
50475 #define HAVE__LOGF 1
50476 _ACEOF
50479 done
50488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50489 $as_echo_n "checking for log10f declaration... " >&6; }
50490 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50491 if ${glibcxx_cv_func_log10f_use+:} false; then :
50492 $as_echo_n "(cached) " >&6
50493 else
50496 ac_ext=cpp
50497 ac_cpp='$CXXCPP $CPPFLAGS'
50498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50503 /* end confdefs.h. */
50504 #include <math.h>
50505 #ifdef HAVE_IEEEFP_H
50506 #include <ieeefp.h>
50507 #endif
50510 main ()
50512 log10f(0);
50514 return 0;
50516 _ACEOF
50517 if ac_fn_cxx_try_compile "$LINENO"; then :
50518 glibcxx_cv_func_log10f_use=yes
50519 else
50520 glibcxx_cv_func_log10f_use=no
50522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50523 ac_ext=c
50524 ac_cpp='$CPP $CPPFLAGS'
50525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50534 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50537 for ac_func in log10f
50538 do :
50539 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50540 if test "x$ac_cv_func_log10f" = xyes; then :
50541 cat >>confdefs.h <<_ACEOF
50542 #define HAVE_LOG10F 1
50543 _ACEOF
50546 done
50548 else
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50551 $as_echo_n "checking for _log10f declaration... " >&6; }
50552 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50553 if ${glibcxx_cv_func__log10f_use+:} false; then :
50554 $as_echo_n "(cached) " >&6
50555 else
50558 ac_ext=cpp
50559 ac_cpp='$CXXCPP $CPPFLAGS'
50560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50565 /* end confdefs.h. */
50566 #include <math.h>
50567 #ifdef HAVE_IEEEFP_H
50568 #include <ieeefp.h>
50569 #endif
50572 main ()
50574 _log10f(0);
50576 return 0;
50578 _ACEOF
50579 if ac_fn_cxx_try_compile "$LINENO"; then :
50580 glibcxx_cv_func__log10f_use=yes
50581 else
50582 glibcxx_cv_func__log10f_use=no
50584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50585 ac_ext=c
50586 ac_cpp='$CPP $CPPFLAGS'
50587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50596 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50598 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50599 for ac_func in _log10f
50600 do :
50601 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50602 if test "x$ac_cv_func__log10f" = xyes; then :
50603 cat >>confdefs.h <<_ACEOF
50604 #define HAVE__LOG10F 1
50605 _ACEOF
50608 done
50617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50618 $as_echo_n "checking for modff declaration... " >&6; }
50619 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50620 if ${glibcxx_cv_func_modff_use+:} false; then :
50621 $as_echo_n "(cached) " >&6
50622 else
50625 ac_ext=cpp
50626 ac_cpp='$CXXCPP $CPPFLAGS'
50627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50632 /* end confdefs.h. */
50633 #include <math.h>
50635 main ()
50637 modff(0, 0);
50639 return 0;
50641 _ACEOF
50642 if ac_fn_cxx_try_compile "$LINENO"; then :
50643 glibcxx_cv_func_modff_use=yes
50644 else
50645 glibcxx_cv_func_modff_use=no
50647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50648 ac_ext=c
50649 ac_cpp='$CPP $CPPFLAGS'
50650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50661 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50662 for ac_func in modff
50663 do :
50664 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50665 if test "x$ac_cv_func_modff" = xyes; then :
50666 cat >>confdefs.h <<_ACEOF
50667 #define HAVE_MODFF 1
50668 _ACEOF
50671 done
50673 else
50675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50676 $as_echo_n "checking for _modff declaration... " >&6; }
50677 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50678 if ${glibcxx_cv_func__modff_use+:} false; then :
50679 $as_echo_n "(cached) " >&6
50680 else
50683 ac_ext=cpp
50684 ac_cpp='$CXXCPP $CPPFLAGS'
50685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50690 /* end confdefs.h. */
50691 #include <math.h>
50693 main ()
50695 _modff(0, 0);
50697 return 0;
50699 _ACEOF
50700 if ac_fn_cxx_try_compile "$LINENO"; then :
50701 glibcxx_cv_func__modff_use=yes
50702 else
50703 glibcxx_cv_func__modff_use=no
50705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50706 ac_ext=c
50707 ac_cpp='$CPP $CPPFLAGS'
50708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50717 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50719 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50720 for ac_func in _modff
50721 do :
50722 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50723 if test "x$ac_cv_func__modff" = xyes; then :
50724 cat >>confdefs.h <<_ACEOF
50725 #define HAVE__MODFF 1
50726 _ACEOF
50729 done
50738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50739 $as_echo_n "checking for modf declaration... " >&6; }
50740 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50741 if ${glibcxx_cv_func_modf_use+:} false; then :
50742 $as_echo_n "(cached) " >&6
50743 else
50746 ac_ext=cpp
50747 ac_cpp='$CXXCPP $CPPFLAGS'
50748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50753 /* end confdefs.h. */
50754 #include <math.h>
50756 main ()
50758 modf(0, 0);
50760 return 0;
50762 _ACEOF
50763 if ac_fn_cxx_try_compile "$LINENO"; then :
50764 glibcxx_cv_func_modf_use=yes
50765 else
50766 glibcxx_cv_func_modf_use=no
50768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50769 ac_ext=c
50770 ac_cpp='$CPP $CPPFLAGS'
50771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50780 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50782 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50783 for ac_func in modf
50784 do :
50785 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50786 if test "x$ac_cv_func_modf" = xyes; then :
50787 cat >>confdefs.h <<_ACEOF
50788 #define HAVE_MODF 1
50789 _ACEOF
50792 done
50794 else
50796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50797 $as_echo_n "checking for _modf declaration... " >&6; }
50798 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50799 if ${glibcxx_cv_func__modf_use+:} false; then :
50800 $as_echo_n "(cached) " >&6
50801 else
50804 ac_ext=cpp
50805 ac_cpp='$CXXCPP $CPPFLAGS'
50806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50811 /* end confdefs.h. */
50812 #include <math.h>
50814 main ()
50816 _modf(0, 0);
50818 return 0;
50820 _ACEOF
50821 if ac_fn_cxx_try_compile "$LINENO"; then :
50822 glibcxx_cv_func__modf_use=yes
50823 else
50824 glibcxx_cv_func__modf_use=no
50826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50827 ac_ext=c
50828 ac_cpp='$CPP $CPPFLAGS'
50829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50838 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50840 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50841 for ac_func in _modf
50842 do :
50843 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50844 if test "x$ac_cv_func__modf" = xyes; then :
50845 cat >>confdefs.h <<_ACEOF
50846 #define HAVE__MODF 1
50847 _ACEOF
50850 done
50859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50860 $as_echo_n "checking for powf declaration... " >&6; }
50861 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50862 if ${glibcxx_cv_func_powf_use+:} false; then :
50863 $as_echo_n "(cached) " >&6
50864 else
50867 ac_ext=cpp
50868 ac_cpp='$CXXCPP $CPPFLAGS'
50869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50874 /* end confdefs.h. */
50875 #include <math.h>
50877 main ()
50879 powf(0, 0);
50881 return 0;
50883 _ACEOF
50884 if ac_fn_cxx_try_compile "$LINENO"; then :
50885 glibcxx_cv_func_powf_use=yes
50886 else
50887 glibcxx_cv_func_powf_use=no
50889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50890 ac_ext=c
50891 ac_cpp='$CPP $CPPFLAGS'
50892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50901 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50903 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50904 for ac_func in powf
50905 do :
50906 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50907 if test "x$ac_cv_func_powf" = xyes; then :
50908 cat >>confdefs.h <<_ACEOF
50909 #define HAVE_POWF 1
50910 _ACEOF
50913 done
50915 else
50917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50918 $as_echo_n "checking for _powf declaration... " >&6; }
50919 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50920 if ${glibcxx_cv_func__powf_use+:} false; then :
50921 $as_echo_n "(cached) " >&6
50922 else
50925 ac_ext=cpp
50926 ac_cpp='$CXXCPP $CPPFLAGS'
50927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50932 /* end confdefs.h. */
50933 #include <math.h>
50935 main ()
50937 _powf(0, 0);
50939 return 0;
50941 _ACEOF
50942 if ac_fn_cxx_try_compile "$LINENO"; then :
50943 glibcxx_cv_func__powf_use=yes
50944 else
50945 glibcxx_cv_func__powf_use=no
50947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50948 ac_ext=c
50949 ac_cpp='$CPP $CPPFLAGS'
50950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50959 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50961 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50962 for ac_func in _powf
50963 do :
50964 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50965 if test "x$ac_cv_func__powf" = xyes; then :
50966 cat >>confdefs.h <<_ACEOF
50967 #define HAVE__POWF 1
50968 _ACEOF
50971 done
50980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50981 $as_echo_n "checking for sqrtf declaration... " >&6; }
50982 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50983 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50984 $as_echo_n "(cached) " >&6
50985 else
50988 ac_ext=cpp
50989 ac_cpp='$CXXCPP $CPPFLAGS'
50990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50995 /* end confdefs.h. */
50996 #include <math.h>
50997 #ifdef HAVE_IEEEFP_H
50998 #include <ieeefp.h>
50999 #endif
51002 main ()
51004 sqrtf(0);
51006 return 0;
51008 _ACEOF
51009 if ac_fn_cxx_try_compile "$LINENO"; then :
51010 glibcxx_cv_func_sqrtf_use=yes
51011 else
51012 glibcxx_cv_func_sqrtf_use=no
51014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51015 ac_ext=c
51016 ac_cpp='$CPP $CPPFLAGS'
51017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51026 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51028 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51029 for ac_func in sqrtf
51030 do :
51031 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51032 if test "x$ac_cv_func_sqrtf" = xyes; then :
51033 cat >>confdefs.h <<_ACEOF
51034 #define HAVE_SQRTF 1
51035 _ACEOF
51038 done
51040 else
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51043 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51044 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51045 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51046 $as_echo_n "(cached) " >&6
51047 else
51050 ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51058 #include <math.h>
51059 #ifdef HAVE_IEEEFP_H
51060 #include <ieeefp.h>
51061 #endif
51064 main ()
51066 _sqrtf(0);
51068 return 0;
51070 _ACEOF
51071 if ac_fn_cxx_try_compile "$LINENO"; then :
51072 glibcxx_cv_func__sqrtf_use=yes
51073 else
51074 glibcxx_cv_func__sqrtf_use=no
51076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51077 ac_ext=c
51078 ac_cpp='$CPP $CPPFLAGS'
51079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51088 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51090 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51091 for ac_func in _sqrtf
51092 do :
51093 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51094 if test "x$ac_cv_func__sqrtf" = xyes; then :
51095 cat >>confdefs.h <<_ACEOF
51096 #define HAVE__SQRTF 1
51097 _ACEOF
51100 done
51109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51110 $as_echo_n "checking for sincosf declaration... " >&6; }
51111 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51112 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51113 $as_echo_n "(cached) " >&6
51114 else
51117 ac_ext=cpp
51118 ac_cpp='$CXXCPP $CPPFLAGS'
51119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51124 /* end confdefs.h. */
51125 #include <math.h>
51127 main ()
51129 sincosf(0, 0, 0);
51131 return 0;
51133 _ACEOF
51134 if ac_fn_cxx_try_compile "$LINENO"; then :
51135 glibcxx_cv_func_sincosf_use=yes
51136 else
51137 glibcxx_cv_func_sincosf_use=no
51139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51140 ac_ext=c
51141 ac_cpp='$CPP $CPPFLAGS'
51142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51151 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51153 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51154 for ac_func in sincosf
51155 do :
51156 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51157 if test "x$ac_cv_func_sincosf" = xyes; then :
51158 cat >>confdefs.h <<_ACEOF
51159 #define HAVE_SINCOSF 1
51160 _ACEOF
51163 done
51165 else
51167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51168 $as_echo_n "checking for _sincosf declaration... " >&6; }
51169 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51170 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51171 $as_echo_n "(cached) " >&6
51172 else
51175 ac_ext=cpp
51176 ac_cpp='$CXXCPP $CPPFLAGS'
51177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51182 /* end confdefs.h. */
51183 #include <math.h>
51185 main ()
51187 _sincosf(0, 0, 0);
51189 return 0;
51191 _ACEOF
51192 if ac_fn_cxx_try_compile "$LINENO"; then :
51193 glibcxx_cv_func__sincosf_use=yes
51194 else
51195 glibcxx_cv_func__sincosf_use=no
51197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51198 ac_ext=c
51199 ac_cpp='$CPP $CPPFLAGS'
51200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51209 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51211 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51212 for ac_func in _sincosf
51213 do :
51214 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51215 if test "x$ac_cv_func__sincosf" = xyes; then :
51216 cat >>confdefs.h <<_ACEOF
51217 #define HAVE__SINCOSF 1
51218 _ACEOF
51221 done
51230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51231 $as_echo_n "checking for finitef declaration... " >&6; }
51232 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51233 if ${glibcxx_cv_func_finitef_use+:} false; then :
51234 $as_echo_n "(cached) " >&6
51235 else
51238 ac_ext=cpp
51239 ac_cpp='$CXXCPP $CPPFLAGS'
51240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51245 /* end confdefs.h. */
51246 #include <math.h>
51247 #ifdef HAVE_IEEEFP_H
51248 #include <ieeefp.h>
51249 #endif
51252 main ()
51254 finitef(0);
51256 return 0;
51258 _ACEOF
51259 if ac_fn_cxx_try_compile "$LINENO"; then :
51260 glibcxx_cv_func_finitef_use=yes
51261 else
51262 glibcxx_cv_func_finitef_use=no
51264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51265 ac_ext=c
51266 ac_cpp='$CPP $CPPFLAGS'
51267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51276 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51278 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51279 for ac_func in finitef
51280 do :
51281 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51282 if test "x$ac_cv_func_finitef" = xyes; then :
51283 cat >>confdefs.h <<_ACEOF
51284 #define HAVE_FINITEF 1
51285 _ACEOF
51288 done
51290 else
51292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51293 $as_echo_n "checking for _finitef declaration... " >&6; }
51294 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51295 if ${glibcxx_cv_func__finitef_use+:} false; then :
51296 $as_echo_n "(cached) " >&6
51297 else
51300 ac_ext=cpp
51301 ac_cpp='$CXXCPP $CPPFLAGS'
51302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51307 /* end confdefs.h. */
51308 #include <math.h>
51309 #ifdef HAVE_IEEEFP_H
51310 #include <ieeefp.h>
51311 #endif
51314 main ()
51316 _finitef(0);
51318 return 0;
51320 _ACEOF
51321 if ac_fn_cxx_try_compile "$LINENO"; then :
51322 glibcxx_cv_func__finitef_use=yes
51323 else
51324 glibcxx_cv_func__finitef_use=no
51326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51327 ac_ext=c
51328 ac_cpp='$CPP $CPPFLAGS'
51329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51338 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51340 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51341 for ac_func in _finitef
51342 do :
51343 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51344 if test "x$ac_cv_func__finitef" = xyes; then :
51345 cat >>confdefs.h <<_ACEOF
51346 #define HAVE__FINITEF 1
51347 _ACEOF
51350 done
51359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51360 $as_echo_n "checking for long double trig functions... " >&6; }
51361 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51362 $as_echo_n "(cached) " >&6
51363 else
51366 ac_ext=cpp
51367 ac_cpp='$CXXCPP $CPPFLAGS'
51368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51373 /* end confdefs.h. */
51374 #include <math.h>
51376 main ()
51378 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51380 return 0;
51382 _ACEOF
51383 if ac_fn_cxx_try_compile "$LINENO"; then :
51384 glibcxx_cv_func_long_double_trig_use=yes
51385 else
51386 glibcxx_cv_func_long_double_trig_use=no
51388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51389 ac_ext=c
51390 ac_cpp='$CPP $CPPFLAGS'
51391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51398 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51399 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51400 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51401 do :
51402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51404 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51405 cat >>confdefs.h <<_ACEOF
51406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51407 _ACEOF
51410 done
51412 else
51413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51414 $as_echo_n "checking for _long double trig functions... " >&6; }
51415 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51416 $as_echo_n "(cached) " >&6
51417 else
51420 ac_ext=cpp
51421 ac_cpp='$CXXCPP $CPPFLAGS'
51422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h. */
51428 #include <math.h>
51430 main ()
51432 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51434 return 0;
51436 _ACEOF
51437 if ac_fn_cxx_try_compile "$LINENO"; then :
51438 glibcxx_cv_func__long_double_trig_use=yes
51439 else
51440 glibcxx_cv_func__long_double_trig_use=no
51442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51443 ac_ext=c
51444 ac_cpp='$CPP $CPPFLAGS'
51445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51452 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51453 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51454 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51455 do :
51456 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51457 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51459 cat >>confdefs.h <<_ACEOF
51460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51461 _ACEOF
51464 done
51473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51474 $as_echo_n "checking for long double round functions... " >&6; }
51475 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51476 $as_echo_n "(cached) " >&6
51477 else
51480 ac_ext=cpp
51481 ac_cpp='$CXXCPP $CPPFLAGS'
51482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51487 /* end confdefs.h. */
51488 #include <math.h>
51490 main ()
51492 ceill (0); floorl (0);
51494 return 0;
51496 _ACEOF
51497 if ac_fn_cxx_try_compile "$LINENO"; then :
51498 glibcxx_cv_func_long_double_round_use=yes
51499 else
51500 glibcxx_cv_func_long_double_round_use=no
51502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51503 ac_ext=c
51504 ac_cpp='$CPP $CPPFLAGS'
51505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51512 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51513 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51514 for ac_func in ceill floorl
51515 do :
51516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51519 cat >>confdefs.h <<_ACEOF
51520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51521 _ACEOF
51524 done
51526 else
51527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51528 $as_echo_n "checking for _long double round functions... " >&6; }
51529 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51530 $as_echo_n "(cached) " >&6
51531 else
51534 ac_ext=cpp
51535 ac_cpp='$CXXCPP $CPPFLAGS'
51536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51541 /* end confdefs.h. */
51542 #include <math.h>
51544 main ()
51546 _ceill (0); _floorl (0);
51548 return 0;
51550 _ACEOF
51551 if ac_fn_cxx_try_compile "$LINENO"; then :
51552 glibcxx_cv_func__long_double_round_use=yes
51553 else
51554 glibcxx_cv_func__long_double_round_use=no
51556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51557 ac_ext=c
51558 ac_cpp='$CPP $CPPFLAGS'
51559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51566 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51567 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51568 for ac_func in _ceill _floorl
51569 do :
51570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51572 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51573 cat >>confdefs.h <<_ACEOF
51574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51575 _ACEOF
51578 done
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51589 $as_echo_n "checking for isnanl declaration... " >&6; }
51590 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51591 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51592 $as_echo_n "(cached) " >&6
51593 else
51596 ac_ext=cpp
51597 ac_cpp='$CXXCPP $CPPFLAGS'
51598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51603 /* end confdefs.h. */
51604 #include <math.h>
51605 #ifdef HAVE_IEEEFP_H
51606 #include <ieeefp.h>
51607 #endif
51610 main ()
51612 isnanl(0);
51614 return 0;
51616 _ACEOF
51617 if ac_fn_cxx_try_compile "$LINENO"; then :
51618 glibcxx_cv_func_isnanl_use=yes
51619 else
51620 glibcxx_cv_func_isnanl_use=no
51622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51623 ac_ext=c
51624 ac_cpp='$CPP $CPPFLAGS'
51625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51634 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51636 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51637 for ac_func in isnanl
51638 do :
51639 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51640 if test "x$ac_cv_func_isnanl" = xyes; then :
51641 cat >>confdefs.h <<_ACEOF
51642 #define HAVE_ISNANL 1
51643 _ACEOF
51646 done
51648 else
51650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51651 $as_echo_n "checking for _isnanl declaration... " >&6; }
51652 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51653 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51654 $as_echo_n "(cached) " >&6
51655 else
51658 ac_ext=cpp
51659 ac_cpp='$CXXCPP $CPPFLAGS'
51660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51665 /* end confdefs.h. */
51666 #include <math.h>
51667 #ifdef HAVE_IEEEFP_H
51668 #include <ieeefp.h>
51669 #endif
51672 main ()
51674 _isnanl(0);
51676 return 0;
51678 _ACEOF
51679 if ac_fn_cxx_try_compile "$LINENO"; then :
51680 glibcxx_cv_func__isnanl_use=yes
51681 else
51682 glibcxx_cv_func__isnanl_use=no
51684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51685 ac_ext=c
51686 ac_cpp='$CPP $CPPFLAGS'
51687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51696 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51698 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51699 for ac_func in _isnanl
51700 do :
51701 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51702 if test "x$ac_cv_func__isnanl" = xyes; then :
51703 cat >>confdefs.h <<_ACEOF
51704 #define HAVE__ISNANL 1
51705 _ACEOF
51708 done
51717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51718 $as_echo_n "checking for isinfl declaration... " >&6; }
51719 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51720 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51721 $as_echo_n "(cached) " >&6
51722 else
51725 ac_ext=cpp
51726 ac_cpp='$CXXCPP $CPPFLAGS'
51727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51732 /* end confdefs.h. */
51733 #include <math.h>
51734 #ifdef HAVE_IEEEFP_H
51735 #include <ieeefp.h>
51736 #endif
51739 main ()
51741 isinfl(0);
51743 return 0;
51745 _ACEOF
51746 if ac_fn_cxx_try_compile "$LINENO"; then :
51747 glibcxx_cv_func_isinfl_use=yes
51748 else
51749 glibcxx_cv_func_isinfl_use=no
51751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51752 ac_ext=c
51753 ac_cpp='$CPP $CPPFLAGS'
51754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51763 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51765 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51766 for ac_func in isinfl
51767 do :
51768 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51769 if test "x$ac_cv_func_isinfl" = xyes; then :
51770 cat >>confdefs.h <<_ACEOF
51771 #define HAVE_ISINFL 1
51772 _ACEOF
51775 done
51777 else
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51780 $as_echo_n "checking for _isinfl declaration... " >&6; }
51781 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51782 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51783 $as_echo_n "(cached) " >&6
51784 else
51787 ac_ext=cpp
51788 ac_cpp='$CXXCPP $CPPFLAGS'
51789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51794 /* end confdefs.h. */
51795 #include <math.h>
51796 #ifdef HAVE_IEEEFP_H
51797 #include <ieeefp.h>
51798 #endif
51801 main ()
51803 _isinfl(0);
51805 return 0;
51807 _ACEOF
51808 if ac_fn_cxx_try_compile "$LINENO"; then :
51809 glibcxx_cv_func__isinfl_use=yes
51810 else
51811 glibcxx_cv_func__isinfl_use=no
51813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51814 ac_ext=c
51815 ac_cpp='$CPP $CPPFLAGS'
51816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51825 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51827 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51828 for ac_func in _isinfl
51829 do :
51830 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51831 if test "x$ac_cv_func__isinfl" = xyes; then :
51832 cat >>confdefs.h <<_ACEOF
51833 #define HAVE__ISINFL 1
51834 _ACEOF
51837 done
51846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51847 $as_echo_n "checking for atan2l declaration... " >&6; }
51848 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51849 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51850 $as_echo_n "(cached) " >&6
51851 else
51854 ac_ext=cpp
51855 ac_cpp='$CXXCPP $CPPFLAGS'
51856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51861 /* end confdefs.h. */
51862 #include <math.h>
51864 main ()
51866 atan2l(0, 0);
51868 return 0;
51870 _ACEOF
51871 if ac_fn_cxx_try_compile "$LINENO"; then :
51872 glibcxx_cv_func_atan2l_use=yes
51873 else
51874 glibcxx_cv_func_atan2l_use=no
51876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51877 ac_ext=c
51878 ac_cpp='$CPP $CPPFLAGS'
51879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51888 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51890 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51891 for ac_func in atan2l
51892 do :
51893 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51894 if test "x$ac_cv_func_atan2l" = xyes; then :
51895 cat >>confdefs.h <<_ACEOF
51896 #define HAVE_ATAN2L 1
51897 _ACEOF
51900 done
51902 else
51904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51905 $as_echo_n "checking for _atan2l declaration... " >&6; }
51906 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51907 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51908 $as_echo_n "(cached) " >&6
51909 else
51912 ac_ext=cpp
51913 ac_cpp='$CXXCPP $CPPFLAGS'
51914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51919 /* end confdefs.h. */
51920 #include <math.h>
51922 main ()
51924 _atan2l(0, 0);
51926 return 0;
51928 _ACEOF
51929 if ac_fn_cxx_try_compile "$LINENO"; then :
51930 glibcxx_cv_func__atan2l_use=yes
51931 else
51932 glibcxx_cv_func__atan2l_use=no
51934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51935 ac_ext=c
51936 ac_cpp='$CPP $CPPFLAGS'
51937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51946 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51948 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51949 for ac_func in _atan2l
51950 do :
51951 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51952 if test "x$ac_cv_func__atan2l" = xyes; then :
51953 cat >>confdefs.h <<_ACEOF
51954 #define HAVE__ATAN2L 1
51955 _ACEOF
51958 done
51967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51968 $as_echo_n "checking for expl declaration... " >&6; }
51969 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51970 if ${glibcxx_cv_func_expl_use+:} false; then :
51971 $as_echo_n "(cached) " >&6
51972 else
51975 ac_ext=cpp
51976 ac_cpp='$CXXCPP $CPPFLAGS'
51977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51982 /* end confdefs.h. */
51983 #include <math.h>
51984 #ifdef HAVE_IEEEFP_H
51985 #include <ieeefp.h>
51986 #endif
51989 main ()
51991 expl(0);
51993 return 0;
51995 _ACEOF
51996 if ac_fn_cxx_try_compile "$LINENO"; then :
51997 glibcxx_cv_func_expl_use=yes
51998 else
51999 glibcxx_cv_func_expl_use=no
52001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52002 ac_ext=c
52003 ac_cpp='$CPP $CPPFLAGS'
52004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52013 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52015 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52016 for ac_func in expl
52017 do :
52018 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52019 if test "x$ac_cv_func_expl" = xyes; then :
52020 cat >>confdefs.h <<_ACEOF
52021 #define HAVE_EXPL 1
52022 _ACEOF
52025 done
52027 else
52029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52030 $as_echo_n "checking for _expl declaration... " >&6; }
52031 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52032 if ${glibcxx_cv_func__expl_use+:} false; then :
52033 $as_echo_n "(cached) " >&6
52034 else
52037 ac_ext=cpp
52038 ac_cpp='$CXXCPP $CPPFLAGS'
52039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52044 /* end confdefs.h. */
52045 #include <math.h>
52046 #ifdef HAVE_IEEEFP_H
52047 #include <ieeefp.h>
52048 #endif
52051 main ()
52053 _expl(0);
52055 return 0;
52057 _ACEOF
52058 if ac_fn_cxx_try_compile "$LINENO"; then :
52059 glibcxx_cv_func__expl_use=yes
52060 else
52061 glibcxx_cv_func__expl_use=no
52063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52064 ac_ext=c
52065 ac_cpp='$CPP $CPPFLAGS'
52066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52075 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52077 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52078 for ac_func in _expl
52079 do :
52080 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52081 if test "x$ac_cv_func__expl" = xyes; then :
52082 cat >>confdefs.h <<_ACEOF
52083 #define HAVE__EXPL 1
52084 _ACEOF
52087 done
52096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52097 $as_echo_n "checking for fabsl declaration... " >&6; }
52098 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52099 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52100 $as_echo_n "(cached) " >&6
52101 else
52104 ac_ext=cpp
52105 ac_cpp='$CXXCPP $CPPFLAGS'
52106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52111 /* end confdefs.h. */
52112 #include <math.h>
52113 #ifdef HAVE_IEEEFP_H
52114 #include <ieeefp.h>
52115 #endif
52118 main ()
52120 fabsl(0);
52122 return 0;
52124 _ACEOF
52125 if ac_fn_cxx_try_compile "$LINENO"; then :
52126 glibcxx_cv_func_fabsl_use=yes
52127 else
52128 glibcxx_cv_func_fabsl_use=no
52130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52131 ac_ext=c
52132 ac_cpp='$CPP $CPPFLAGS'
52133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52142 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52144 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52145 for ac_func in fabsl
52146 do :
52147 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52148 if test "x$ac_cv_func_fabsl" = xyes; then :
52149 cat >>confdefs.h <<_ACEOF
52150 #define HAVE_FABSL 1
52151 _ACEOF
52154 done
52156 else
52158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52159 $as_echo_n "checking for _fabsl declaration... " >&6; }
52160 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52161 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52162 $as_echo_n "(cached) " >&6
52163 else
52166 ac_ext=cpp
52167 ac_cpp='$CXXCPP $CPPFLAGS'
52168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52173 /* end confdefs.h. */
52174 #include <math.h>
52175 #ifdef HAVE_IEEEFP_H
52176 #include <ieeefp.h>
52177 #endif
52180 main ()
52182 _fabsl(0);
52184 return 0;
52186 _ACEOF
52187 if ac_fn_cxx_try_compile "$LINENO"; then :
52188 glibcxx_cv_func__fabsl_use=yes
52189 else
52190 glibcxx_cv_func__fabsl_use=no
52192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52193 ac_ext=c
52194 ac_cpp='$CPP $CPPFLAGS'
52195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52204 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52206 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52207 for ac_func in _fabsl
52208 do :
52209 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52210 if test "x$ac_cv_func__fabsl" = xyes; then :
52211 cat >>confdefs.h <<_ACEOF
52212 #define HAVE__FABSL 1
52213 _ACEOF
52216 done
52225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52226 $as_echo_n "checking for fmodl declaration... " >&6; }
52227 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52228 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52229 $as_echo_n "(cached) " >&6
52230 else
52233 ac_ext=cpp
52234 ac_cpp='$CXXCPP $CPPFLAGS'
52235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52240 /* end confdefs.h. */
52241 #include <math.h>
52243 main ()
52245 fmodl(0, 0);
52247 return 0;
52249 _ACEOF
52250 if ac_fn_cxx_try_compile "$LINENO"; then :
52251 glibcxx_cv_func_fmodl_use=yes
52252 else
52253 glibcxx_cv_func_fmodl_use=no
52255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52256 ac_ext=c
52257 ac_cpp='$CPP $CPPFLAGS'
52258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52267 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52269 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52270 for ac_func in fmodl
52271 do :
52272 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52273 if test "x$ac_cv_func_fmodl" = xyes; then :
52274 cat >>confdefs.h <<_ACEOF
52275 #define HAVE_FMODL 1
52276 _ACEOF
52279 done
52281 else
52283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52284 $as_echo_n "checking for _fmodl declaration... " >&6; }
52285 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52286 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52287 $as_echo_n "(cached) " >&6
52288 else
52291 ac_ext=cpp
52292 ac_cpp='$CXXCPP $CPPFLAGS'
52293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52298 /* end confdefs.h. */
52299 #include <math.h>
52301 main ()
52303 _fmodl(0, 0);
52305 return 0;
52307 _ACEOF
52308 if ac_fn_cxx_try_compile "$LINENO"; then :
52309 glibcxx_cv_func__fmodl_use=yes
52310 else
52311 glibcxx_cv_func__fmodl_use=no
52313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52314 ac_ext=c
52315 ac_cpp='$CPP $CPPFLAGS'
52316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52325 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52327 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52328 for ac_func in _fmodl
52329 do :
52330 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52331 if test "x$ac_cv_func__fmodl" = xyes; then :
52332 cat >>confdefs.h <<_ACEOF
52333 #define HAVE__FMODL 1
52334 _ACEOF
52337 done
52346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52347 $as_echo_n "checking for frexpl declaration... " >&6; }
52348 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52349 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52350 $as_echo_n "(cached) " >&6
52351 else
52354 ac_ext=cpp
52355 ac_cpp='$CXXCPP $CPPFLAGS'
52356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52361 /* end confdefs.h. */
52362 #include <math.h>
52364 main ()
52366 frexpl(0, 0);
52368 return 0;
52370 _ACEOF
52371 if ac_fn_cxx_try_compile "$LINENO"; then :
52372 glibcxx_cv_func_frexpl_use=yes
52373 else
52374 glibcxx_cv_func_frexpl_use=no
52376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52377 ac_ext=c
52378 ac_cpp='$CPP $CPPFLAGS'
52379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52388 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52390 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52391 for ac_func in frexpl
52392 do :
52393 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52394 if test "x$ac_cv_func_frexpl" = xyes; then :
52395 cat >>confdefs.h <<_ACEOF
52396 #define HAVE_FREXPL 1
52397 _ACEOF
52400 done
52402 else
52404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52405 $as_echo_n "checking for _frexpl declaration... " >&6; }
52406 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52407 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52408 $as_echo_n "(cached) " >&6
52409 else
52412 ac_ext=cpp
52413 ac_cpp='$CXXCPP $CPPFLAGS'
52414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52419 /* end confdefs.h. */
52420 #include <math.h>
52422 main ()
52424 _frexpl(0, 0);
52426 return 0;
52428 _ACEOF
52429 if ac_fn_cxx_try_compile "$LINENO"; then :
52430 glibcxx_cv_func__frexpl_use=yes
52431 else
52432 glibcxx_cv_func__frexpl_use=no
52434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52435 ac_ext=c
52436 ac_cpp='$CPP $CPPFLAGS'
52437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52446 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52448 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52449 for ac_func in _frexpl
52450 do :
52451 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52452 if test "x$ac_cv_func__frexpl" = xyes; then :
52453 cat >>confdefs.h <<_ACEOF
52454 #define HAVE__FREXPL 1
52455 _ACEOF
52458 done
52467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52468 $as_echo_n "checking for hypotl declaration... " >&6; }
52469 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52470 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52471 $as_echo_n "(cached) " >&6
52472 else
52475 ac_ext=cpp
52476 ac_cpp='$CXXCPP $CPPFLAGS'
52477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52482 /* end confdefs.h. */
52483 #include <math.h>
52485 main ()
52487 hypotl(0, 0);
52489 return 0;
52491 _ACEOF
52492 if ac_fn_cxx_try_compile "$LINENO"; then :
52493 glibcxx_cv_func_hypotl_use=yes
52494 else
52495 glibcxx_cv_func_hypotl_use=no
52497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52498 ac_ext=c
52499 ac_cpp='$CPP $CPPFLAGS'
52500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52509 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52511 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52512 for ac_func in hypotl
52513 do :
52514 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52515 if test "x$ac_cv_func_hypotl" = xyes; then :
52516 cat >>confdefs.h <<_ACEOF
52517 #define HAVE_HYPOTL 1
52518 _ACEOF
52521 done
52523 else
52525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52526 $as_echo_n "checking for _hypotl declaration... " >&6; }
52527 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52528 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52529 $as_echo_n "(cached) " >&6
52530 else
52533 ac_ext=cpp
52534 ac_cpp='$CXXCPP $CPPFLAGS'
52535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52540 /* end confdefs.h. */
52541 #include <math.h>
52543 main ()
52545 _hypotl(0, 0);
52547 return 0;
52549 _ACEOF
52550 if ac_fn_cxx_try_compile "$LINENO"; then :
52551 glibcxx_cv_func__hypotl_use=yes
52552 else
52553 glibcxx_cv_func__hypotl_use=no
52555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52556 ac_ext=c
52557 ac_cpp='$CPP $CPPFLAGS'
52558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52567 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52569 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52570 for ac_func in _hypotl
52571 do :
52572 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52573 if test "x$ac_cv_func__hypotl" = xyes; then :
52574 cat >>confdefs.h <<_ACEOF
52575 #define HAVE__HYPOTL 1
52576 _ACEOF
52579 done
52588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52589 $as_echo_n "checking for ldexpl declaration... " >&6; }
52590 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52591 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52592 $as_echo_n "(cached) " >&6
52593 else
52596 ac_ext=cpp
52597 ac_cpp='$CXXCPP $CPPFLAGS'
52598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52603 /* end confdefs.h. */
52604 #include <math.h>
52606 main ()
52608 ldexpl(0, 0);
52610 return 0;
52612 _ACEOF
52613 if ac_fn_cxx_try_compile "$LINENO"; then :
52614 glibcxx_cv_func_ldexpl_use=yes
52615 else
52616 glibcxx_cv_func_ldexpl_use=no
52618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52619 ac_ext=c
52620 ac_cpp='$CPP $CPPFLAGS'
52621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52630 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52632 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52633 for ac_func in ldexpl
52634 do :
52635 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52636 if test "x$ac_cv_func_ldexpl" = xyes; then :
52637 cat >>confdefs.h <<_ACEOF
52638 #define HAVE_LDEXPL 1
52639 _ACEOF
52642 done
52644 else
52646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52647 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52648 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52649 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52650 $as_echo_n "(cached) " >&6
52651 else
52654 ac_ext=cpp
52655 ac_cpp='$CXXCPP $CPPFLAGS'
52656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52661 /* end confdefs.h. */
52662 #include <math.h>
52664 main ()
52666 _ldexpl(0, 0);
52668 return 0;
52670 _ACEOF
52671 if ac_fn_cxx_try_compile "$LINENO"; then :
52672 glibcxx_cv_func__ldexpl_use=yes
52673 else
52674 glibcxx_cv_func__ldexpl_use=no
52676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52677 ac_ext=c
52678 ac_cpp='$CPP $CPPFLAGS'
52679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52688 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52690 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52691 for ac_func in _ldexpl
52692 do :
52693 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52694 if test "x$ac_cv_func__ldexpl" = xyes; then :
52695 cat >>confdefs.h <<_ACEOF
52696 #define HAVE__LDEXPL 1
52697 _ACEOF
52700 done
52709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52710 $as_echo_n "checking for logl declaration... " >&6; }
52711 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52712 if ${glibcxx_cv_func_logl_use+:} false; then :
52713 $as_echo_n "(cached) " >&6
52714 else
52717 ac_ext=cpp
52718 ac_cpp='$CXXCPP $CPPFLAGS'
52719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52724 /* end confdefs.h. */
52725 #include <math.h>
52726 #ifdef HAVE_IEEEFP_H
52727 #include <ieeefp.h>
52728 #endif
52731 main ()
52733 logl(0);
52735 return 0;
52737 _ACEOF
52738 if ac_fn_cxx_try_compile "$LINENO"; then :
52739 glibcxx_cv_func_logl_use=yes
52740 else
52741 glibcxx_cv_func_logl_use=no
52743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52744 ac_ext=c
52745 ac_cpp='$CPP $CPPFLAGS'
52746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52755 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52757 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52758 for ac_func in logl
52759 do :
52760 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52761 if test "x$ac_cv_func_logl" = xyes; then :
52762 cat >>confdefs.h <<_ACEOF
52763 #define HAVE_LOGL 1
52764 _ACEOF
52767 done
52769 else
52771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52772 $as_echo_n "checking for _logl declaration... " >&6; }
52773 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52774 if ${glibcxx_cv_func__logl_use+:} false; then :
52775 $as_echo_n "(cached) " >&6
52776 else
52779 ac_ext=cpp
52780 ac_cpp='$CXXCPP $CPPFLAGS'
52781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52786 /* end confdefs.h. */
52787 #include <math.h>
52788 #ifdef HAVE_IEEEFP_H
52789 #include <ieeefp.h>
52790 #endif
52793 main ()
52795 _logl(0);
52797 return 0;
52799 _ACEOF
52800 if ac_fn_cxx_try_compile "$LINENO"; then :
52801 glibcxx_cv_func__logl_use=yes
52802 else
52803 glibcxx_cv_func__logl_use=no
52805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52806 ac_ext=c
52807 ac_cpp='$CPP $CPPFLAGS'
52808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52817 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52819 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52820 for ac_func in _logl
52821 do :
52822 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52823 if test "x$ac_cv_func__logl" = xyes; then :
52824 cat >>confdefs.h <<_ACEOF
52825 #define HAVE__LOGL 1
52826 _ACEOF
52829 done
52838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52839 $as_echo_n "checking for log10l declaration... " >&6; }
52840 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52841 if ${glibcxx_cv_func_log10l_use+:} false; then :
52842 $as_echo_n "(cached) " >&6
52843 else
52846 ac_ext=cpp
52847 ac_cpp='$CXXCPP $CPPFLAGS'
52848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52853 /* end confdefs.h. */
52854 #include <math.h>
52855 #ifdef HAVE_IEEEFP_H
52856 #include <ieeefp.h>
52857 #endif
52860 main ()
52862 log10l(0);
52864 return 0;
52866 _ACEOF
52867 if ac_fn_cxx_try_compile "$LINENO"; then :
52868 glibcxx_cv_func_log10l_use=yes
52869 else
52870 glibcxx_cv_func_log10l_use=no
52872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52873 ac_ext=c
52874 ac_cpp='$CPP $CPPFLAGS'
52875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52884 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52886 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52887 for ac_func in log10l
52888 do :
52889 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52890 if test "x$ac_cv_func_log10l" = xyes; then :
52891 cat >>confdefs.h <<_ACEOF
52892 #define HAVE_LOG10L 1
52893 _ACEOF
52896 done
52898 else
52900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52901 $as_echo_n "checking for _log10l declaration... " >&6; }
52902 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52903 if ${glibcxx_cv_func__log10l_use+:} false; then :
52904 $as_echo_n "(cached) " >&6
52905 else
52908 ac_ext=cpp
52909 ac_cpp='$CXXCPP $CPPFLAGS'
52910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52915 /* end confdefs.h. */
52916 #include <math.h>
52917 #ifdef HAVE_IEEEFP_H
52918 #include <ieeefp.h>
52919 #endif
52922 main ()
52924 _log10l(0);
52926 return 0;
52928 _ACEOF
52929 if ac_fn_cxx_try_compile "$LINENO"; then :
52930 glibcxx_cv_func__log10l_use=yes
52931 else
52932 glibcxx_cv_func__log10l_use=no
52934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52935 ac_ext=c
52936 ac_cpp='$CPP $CPPFLAGS'
52937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52946 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52948 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52949 for ac_func in _log10l
52950 do :
52951 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52952 if test "x$ac_cv_func__log10l" = xyes; then :
52953 cat >>confdefs.h <<_ACEOF
52954 #define HAVE__LOG10L 1
52955 _ACEOF
52958 done
52967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52968 $as_echo_n "checking for modfl declaration... " >&6; }
52969 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52970 if ${glibcxx_cv_func_modfl_use+:} false; then :
52971 $as_echo_n "(cached) " >&6
52972 else
52975 ac_ext=cpp
52976 ac_cpp='$CXXCPP $CPPFLAGS'
52977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52982 /* end confdefs.h. */
52983 #include <math.h>
52985 main ()
52987 modfl(0, 0);
52989 return 0;
52991 _ACEOF
52992 if ac_fn_cxx_try_compile "$LINENO"; then :
52993 glibcxx_cv_func_modfl_use=yes
52994 else
52995 glibcxx_cv_func_modfl_use=no
52997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52998 ac_ext=c
52999 ac_cpp='$CPP $CPPFLAGS'
53000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53009 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53011 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53012 for ac_func in modfl
53013 do :
53014 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53015 if test "x$ac_cv_func_modfl" = xyes; then :
53016 cat >>confdefs.h <<_ACEOF
53017 #define HAVE_MODFL 1
53018 _ACEOF
53021 done
53023 else
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53026 $as_echo_n "checking for _modfl declaration... " >&6; }
53027 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53028 if ${glibcxx_cv_func__modfl_use+:} false; then :
53029 $as_echo_n "(cached) " >&6
53030 else
53033 ac_ext=cpp
53034 ac_cpp='$CXXCPP $CPPFLAGS'
53035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53040 /* end confdefs.h. */
53041 #include <math.h>
53043 main ()
53045 _modfl(0, 0);
53047 return 0;
53049 _ACEOF
53050 if ac_fn_cxx_try_compile "$LINENO"; then :
53051 glibcxx_cv_func__modfl_use=yes
53052 else
53053 glibcxx_cv_func__modfl_use=no
53055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53056 ac_ext=c
53057 ac_cpp='$CPP $CPPFLAGS'
53058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53067 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53069 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53070 for ac_func in _modfl
53071 do :
53072 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53073 if test "x$ac_cv_func__modfl" = xyes; then :
53074 cat >>confdefs.h <<_ACEOF
53075 #define HAVE__MODFL 1
53076 _ACEOF
53079 done
53088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53089 $as_echo_n "checking for powl declaration... " >&6; }
53090 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53091 if ${glibcxx_cv_func_powl_use+:} false; then :
53092 $as_echo_n "(cached) " >&6
53093 else
53096 ac_ext=cpp
53097 ac_cpp='$CXXCPP $CPPFLAGS'
53098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53103 /* end confdefs.h. */
53104 #include <math.h>
53106 main ()
53108 powl(0, 0);
53110 return 0;
53112 _ACEOF
53113 if ac_fn_cxx_try_compile "$LINENO"; then :
53114 glibcxx_cv_func_powl_use=yes
53115 else
53116 glibcxx_cv_func_powl_use=no
53118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53119 ac_ext=c
53120 ac_cpp='$CPP $CPPFLAGS'
53121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53130 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53132 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53133 for ac_func in powl
53134 do :
53135 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53136 if test "x$ac_cv_func_powl" = xyes; then :
53137 cat >>confdefs.h <<_ACEOF
53138 #define HAVE_POWL 1
53139 _ACEOF
53142 done
53144 else
53146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53147 $as_echo_n "checking for _powl declaration... " >&6; }
53148 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53149 if ${glibcxx_cv_func__powl_use+:} false; then :
53150 $as_echo_n "(cached) " >&6
53151 else
53154 ac_ext=cpp
53155 ac_cpp='$CXXCPP $CPPFLAGS'
53156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53161 /* end confdefs.h. */
53162 #include <math.h>
53164 main ()
53166 _powl(0, 0);
53168 return 0;
53170 _ACEOF
53171 if ac_fn_cxx_try_compile "$LINENO"; then :
53172 glibcxx_cv_func__powl_use=yes
53173 else
53174 glibcxx_cv_func__powl_use=no
53176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53177 ac_ext=c
53178 ac_cpp='$CPP $CPPFLAGS'
53179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53188 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53190 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53191 for ac_func in _powl
53192 do :
53193 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53194 if test "x$ac_cv_func__powl" = xyes; then :
53195 cat >>confdefs.h <<_ACEOF
53196 #define HAVE__POWL 1
53197 _ACEOF
53200 done
53209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53210 $as_echo_n "checking for sqrtl declaration... " >&6; }
53211 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53212 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53213 $as_echo_n "(cached) " >&6
53214 else
53217 ac_ext=cpp
53218 ac_cpp='$CXXCPP $CPPFLAGS'
53219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53224 /* end confdefs.h. */
53225 #include <math.h>
53226 #ifdef HAVE_IEEEFP_H
53227 #include <ieeefp.h>
53228 #endif
53231 main ()
53233 sqrtl(0);
53235 return 0;
53237 _ACEOF
53238 if ac_fn_cxx_try_compile "$LINENO"; then :
53239 glibcxx_cv_func_sqrtl_use=yes
53240 else
53241 glibcxx_cv_func_sqrtl_use=no
53243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53244 ac_ext=c
53245 ac_cpp='$CPP $CPPFLAGS'
53246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53255 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53257 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53258 for ac_func in sqrtl
53259 do :
53260 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53261 if test "x$ac_cv_func_sqrtl" = xyes; then :
53262 cat >>confdefs.h <<_ACEOF
53263 #define HAVE_SQRTL 1
53264 _ACEOF
53267 done
53269 else
53271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53272 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53273 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53274 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53275 $as_echo_n "(cached) " >&6
53276 else
53279 ac_ext=cpp
53280 ac_cpp='$CXXCPP $CPPFLAGS'
53281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53286 /* end confdefs.h. */
53287 #include <math.h>
53288 #ifdef HAVE_IEEEFP_H
53289 #include <ieeefp.h>
53290 #endif
53293 main ()
53295 _sqrtl(0);
53297 return 0;
53299 _ACEOF
53300 if ac_fn_cxx_try_compile "$LINENO"; then :
53301 glibcxx_cv_func__sqrtl_use=yes
53302 else
53303 glibcxx_cv_func__sqrtl_use=no
53305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53306 ac_ext=c
53307 ac_cpp='$CPP $CPPFLAGS'
53308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53317 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53319 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53320 for ac_func in _sqrtl
53321 do :
53322 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53323 if test "x$ac_cv_func__sqrtl" = xyes; then :
53324 cat >>confdefs.h <<_ACEOF
53325 #define HAVE__SQRTL 1
53326 _ACEOF
53329 done
53338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53339 $as_echo_n "checking for sincosl declaration... " >&6; }
53340 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53341 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53342 $as_echo_n "(cached) " >&6
53343 else
53346 ac_ext=cpp
53347 ac_cpp='$CXXCPP $CPPFLAGS'
53348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53353 /* end confdefs.h. */
53354 #include <math.h>
53356 main ()
53358 sincosl(0, 0, 0);
53360 return 0;
53362 _ACEOF
53363 if ac_fn_cxx_try_compile "$LINENO"; then :
53364 glibcxx_cv_func_sincosl_use=yes
53365 else
53366 glibcxx_cv_func_sincosl_use=no
53368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53369 ac_ext=c
53370 ac_cpp='$CPP $CPPFLAGS'
53371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53380 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53382 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53383 for ac_func in sincosl
53384 do :
53385 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53386 if test "x$ac_cv_func_sincosl" = xyes; then :
53387 cat >>confdefs.h <<_ACEOF
53388 #define HAVE_SINCOSL 1
53389 _ACEOF
53392 done
53394 else
53396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53397 $as_echo_n "checking for _sincosl declaration... " >&6; }
53398 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53399 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53400 $as_echo_n "(cached) " >&6
53401 else
53404 ac_ext=cpp
53405 ac_cpp='$CXXCPP $CPPFLAGS'
53406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53411 /* end confdefs.h. */
53412 #include <math.h>
53414 main ()
53416 _sincosl(0, 0, 0);
53418 return 0;
53420 _ACEOF
53421 if ac_fn_cxx_try_compile "$LINENO"; then :
53422 glibcxx_cv_func__sincosl_use=yes
53423 else
53424 glibcxx_cv_func__sincosl_use=no
53426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53427 ac_ext=c
53428 ac_cpp='$CPP $CPPFLAGS'
53429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53438 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53440 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53441 for ac_func in _sincosl
53442 do :
53443 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53444 if test "x$ac_cv_func__sincosl" = xyes; then :
53445 cat >>confdefs.h <<_ACEOF
53446 #define HAVE__SINCOSL 1
53447 _ACEOF
53450 done
53459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53460 $as_echo_n "checking for finitel declaration... " >&6; }
53461 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53462 if ${glibcxx_cv_func_finitel_use+:} false; then :
53463 $as_echo_n "(cached) " >&6
53464 else
53467 ac_ext=cpp
53468 ac_cpp='$CXXCPP $CPPFLAGS'
53469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53474 /* end confdefs.h. */
53475 #include <math.h>
53476 #ifdef HAVE_IEEEFP_H
53477 #include <ieeefp.h>
53478 #endif
53481 main ()
53483 finitel(0);
53485 return 0;
53487 _ACEOF
53488 if ac_fn_cxx_try_compile "$LINENO"; then :
53489 glibcxx_cv_func_finitel_use=yes
53490 else
53491 glibcxx_cv_func_finitel_use=no
53493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53494 ac_ext=c
53495 ac_cpp='$CPP $CPPFLAGS'
53496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53505 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53507 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53508 for ac_func in finitel
53509 do :
53510 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53511 if test "x$ac_cv_func_finitel" = xyes; then :
53512 cat >>confdefs.h <<_ACEOF
53513 #define HAVE_FINITEL 1
53514 _ACEOF
53517 done
53519 else
53521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53522 $as_echo_n "checking for _finitel declaration... " >&6; }
53523 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53524 if ${glibcxx_cv_func__finitel_use+:} false; then :
53525 $as_echo_n "(cached) " >&6
53526 else
53529 ac_ext=cpp
53530 ac_cpp='$CXXCPP $CPPFLAGS'
53531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53536 /* end confdefs.h. */
53537 #include <math.h>
53538 #ifdef HAVE_IEEEFP_H
53539 #include <ieeefp.h>
53540 #endif
53543 main ()
53545 _finitel(0);
53547 return 0;
53549 _ACEOF
53550 if ac_fn_cxx_try_compile "$LINENO"; then :
53551 glibcxx_cv_func__finitel_use=yes
53552 else
53553 glibcxx_cv_func__finitel_use=no
53555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53556 ac_ext=c
53557 ac_cpp='$CPP $CPPFLAGS'
53558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53567 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53569 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53570 for ac_func in _finitel
53571 do :
53572 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53573 if test "x$ac_cv_func__finitel" = xyes; then :
53574 cat >>confdefs.h <<_ACEOF
53575 #define HAVE__FINITEL 1
53576 _ACEOF
53579 done
53587 LIBS="$ac_save_LIBS"
53588 CXXFLAGS="$ac_save_CXXFLAGS"
53591 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53592 ac_save_CXXFLAGS="$CXXFLAGS"
53593 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53597 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53598 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53599 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53600 $as_echo_n "(cached) " >&6
53601 else
53604 ac_ext=cpp
53605 ac_cpp='$CXXCPP $CPPFLAGS'
53606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53611 /* end confdefs.h. */
53612 #include <stdlib.h>
53614 main ()
53616 at_quick_exit(0);
53618 return 0;
53620 _ACEOF
53621 if ac_fn_cxx_try_compile "$LINENO"; then :
53622 glibcxx_cv_func_at_quick_exit_use=yes
53623 else
53624 glibcxx_cv_func_at_quick_exit_use=no
53626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53627 ac_ext=c
53628 ac_cpp='$CPP $CPPFLAGS'
53629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53638 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53639 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53640 for ac_func in at_quick_exit
53641 do :
53642 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53643 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53644 cat >>confdefs.h <<_ACEOF
53645 #define HAVE_AT_QUICK_EXIT 1
53646 _ACEOF
53649 done
53654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53655 $as_echo_n "checking for quick_exit declaration... " >&6; }
53656 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53657 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53658 $as_echo_n "(cached) " >&6
53659 else
53662 ac_ext=cpp
53663 ac_cpp='$CXXCPP $CPPFLAGS'
53664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53669 /* end confdefs.h. */
53670 #include <stdlib.h>
53672 main ()
53674 quick_exit(0);
53676 return 0;
53678 _ACEOF
53679 if ac_fn_cxx_try_compile "$LINENO"; then :
53680 glibcxx_cv_func_quick_exit_use=yes
53681 else
53682 glibcxx_cv_func_quick_exit_use=no
53684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53685 ac_ext=c
53686 ac_cpp='$CPP $CPPFLAGS'
53687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53696 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53697 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53698 for ac_func in quick_exit
53699 do :
53700 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53701 if test "x$ac_cv_func_quick_exit" = xyes; then :
53702 cat >>confdefs.h <<_ACEOF
53703 #define HAVE_QUICK_EXIT 1
53704 _ACEOF
53707 done
53712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53713 $as_echo_n "checking for strtold declaration... " >&6; }
53714 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53715 if ${glibcxx_cv_func_strtold_use+:} false; then :
53716 $as_echo_n "(cached) " >&6
53717 else
53720 ac_ext=cpp
53721 ac_cpp='$CXXCPP $CPPFLAGS'
53722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53727 /* end confdefs.h. */
53728 #include <stdlib.h>
53730 main ()
53732 strtold(0, 0);
53734 return 0;
53736 _ACEOF
53737 if ac_fn_cxx_try_compile "$LINENO"; then :
53738 glibcxx_cv_func_strtold_use=yes
53739 else
53740 glibcxx_cv_func_strtold_use=no
53742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53743 ac_ext=c
53744 ac_cpp='$CPP $CPPFLAGS'
53745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53754 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53755 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53756 for ac_func in strtold
53757 do :
53758 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53759 if test "x$ac_cv_func_strtold" = xyes; then :
53760 cat >>confdefs.h <<_ACEOF
53761 #define HAVE_STRTOLD 1
53762 _ACEOF
53765 done
53772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53773 $as_echo_n "checking for strtof declaration... " >&6; }
53774 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53775 if ${glibcxx_cv_func_strtof_use+:} false; then :
53776 $as_echo_n "(cached) " >&6
53777 else
53780 ac_ext=cpp
53781 ac_cpp='$CXXCPP $CPPFLAGS'
53782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53787 /* end confdefs.h. */
53788 #include <stdlib.h>
53790 main ()
53792 strtof(0, 0);
53794 return 0;
53796 _ACEOF
53797 if ac_fn_cxx_try_compile "$LINENO"; then :
53798 glibcxx_cv_func_strtof_use=yes
53799 else
53800 glibcxx_cv_func_strtof_use=no
53802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53803 ac_ext=c
53804 ac_cpp='$CPP $CPPFLAGS'
53805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53814 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53815 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53816 for ac_func in strtof
53817 do :
53818 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53819 if test "x$ac_cv_func_strtof" = xyes; then :
53820 cat >>confdefs.h <<_ACEOF
53821 #define HAVE_STRTOF 1
53822 _ACEOF
53825 done
53832 CXXFLAGS="$ac_save_CXXFLAGS"
53834 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53836 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53840 # Check whether --enable-tls was given.
53841 if test "${enable_tls+set}" = set; then :
53842 enableval=$enable_tls;
53843 case "$enableval" in
53844 yes|no) ;;
53845 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53846 esac
53848 else
53849 enable_tls=yes
53853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53854 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53855 if ${gcc_cv_have_tls+:} false; then :
53856 $as_echo_n "(cached) " >&6
53857 else
53859 if test "$cross_compiling" = yes; then :
53860 if test x$gcc_no_link = xyes; then
53861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53864 /* end confdefs.h. */
53865 __thread int a; int b; int main() { return a = b; }
53866 _ACEOF
53867 if ac_fn_c_try_link "$LINENO"; then :
53868 chktls_save_LDFLAGS="$LDFLAGS"
53869 case $host in
53870 *-*-linux* | -*-uclinuxfdpic*)
53871 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53873 esac
53874 chktls_save_CFLAGS="$CFLAGS"
53875 CFLAGS="-fPIC $CFLAGS"
53876 if test x$gcc_no_link = xyes; then
53877 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53880 /* end confdefs.h. */
53881 int f() { return 0; }
53882 _ACEOF
53883 if ac_fn_c_try_link "$LINENO"; then :
53884 if test x$gcc_no_link = xyes; then
53885 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53888 /* end confdefs.h. */
53889 __thread int a; int b; int f() { return a = b; }
53890 _ACEOF
53891 if ac_fn_c_try_link "$LINENO"; then :
53892 gcc_cv_have_tls=yes
53893 else
53894 gcc_cv_have_tls=no
53896 rm -f core conftest.err conftest.$ac_objext \
53897 conftest$ac_exeext conftest.$ac_ext
53898 else
53899 gcc_cv_have_tls=yes
53901 rm -f core conftest.err conftest.$ac_objext \
53902 conftest$ac_exeext conftest.$ac_ext
53903 CFLAGS="$chktls_save_CFLAGS"
53904 LDFLAGS="$chktls_save_LDFLAGS"
53905 else
53906 gcc_cv_have_tls=no
53908 rm -f core conftest.err conftest.$ac_objext \
53909 conftest$ac_exeext conftest.$ac_ext
53912 else
53913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53914 /* end confdefs.h. */
53915 __thread int a; int b; int main() { return a = b; }
53916 _ACEOF
53917 if ac_fn_c_try_run "$LINENO"; then :
53918 chktls_save_LDFLAGS="$LDFLAGS"
53919 LDFLAGS="-static $LDFLAGS"
53920 if test x$gcc_no_link = xyes; then
53921 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53924 /* end confdefs.h. */
53925 int main() { return 0; }
53926 _ACEOF
53927 if ac_fn_c_try_link "$LINENO"; then :
53928 if test "$cross_compiling" = yes; then :
53929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53931 as_fn_error $? "cannot run test program while cross compiling
53932 See \`config.log' for more details" "$LINENO" 5; }
53933 else
53934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53935 /* end confdefs.h. */
53936 __thread int a; int b; int main() { return a = b; }
53937 _ACEOF
53938 if ac_fn_c_try_run "$LINENO"; then :
53939 gcc_cv_have_tls=yes
53940 else
53941 gcc_cv_have_tls=no
53943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53944 conftest.$ac_objext conftest.beam conftest.$ac_ext
53947 else
53948 gcc_cv_have_tls=yes
53950 rm -f core conftest.err conftest.$ac_objext \
53951 conftest$ac_exeext conftest.$ac_ext
53952 LDFLAGS="$chktls_save_LDFLAGS"
53953 if test $gcc_cv_have_tls = yes; then
53954 chktls_save_CFLAGS="$CFLAGS"
53955 thread_CFLAGS=failed
53956 for flag in '' '-pthread' '-lpthread'; do
53957 CFLAGS="$flag $chktls_save_CFLAGS"
53958 if test x$gcc_no_link = xyes; then
53959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53962 /* end confdefs.h. */
53963 #include <pthread.h>
53964 void *g(void *d) { return NULL; }
53966 main ()
53968 pthread_t t; pthread_create(&t,NULL,g,NULL);
53970 return 0;
53972 _ACEOF
53973 if ac_fn_c_try_link "$LINENO"; then :
53974 thread_CFLAGS="$flag"
53976 rm -f core conftest.err conftest.$ac_objext \
53977 conftest$ac_exeext conftest.$ac_ext
53978 if test "X$thread_CFLAGS" != Xfailed; then
53979 break
53981 done
53982 CFLAGS="$chktls_save_CFLAGS"
53983 if test "X$thread_CFLAGS" != Xfailed; then
53984 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53985 if test "$cross_compiling" = yes; then :
53986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53988 as_fn_error $? "cannot run test program while cross compiling
53989 See \`config.log' for more details" "$LINENO" 5; }
53990 else
53991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53992 /* end confdefs.h. */
53993 #include <pthread.h>
53994 __thread int a;
53995 static int *volatile a_in_other_thread;
53996 static void *
53997 thread_func (void *arg)
53999 a_in_other_thread = &a;
54000 return (void *)0;
54003 main ()
54005 pthread_t thread;
54006 void *thread_retval;
54007 int *volatile a_in_main_thread;
54008 a_in_main_thread = &a;
54009 if (pthread_create (&thread, (pthread_attr_t *)0,
54010 thread_func, (void *)0))
54011 return 0;
54012 if (pthread_join (thread, &thread_retval))
54013 return 0;
54014 return (a_in_other_thread == a_in_main_thread);
54016 return 0;
54018 _ACEOF
54019 if ac_fn_c_try_run "$LINENO"; then :
54020 gcc_cv_have_tls=yes
54021 else
54022 gcc_cv_have_tls=no
54024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54025 conftest.$ac_objext conftest.beam conftest.$ac_ext
54028 CFLAGS="$chktls_save_CFLAGS"
54031 else
54032 gcc_cv_have_tls=no
54034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54035 conftest.$ac_objext conftest.beam conftest.$ac_ext
54039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54040 $as_echo "$gcc_cv_have_tls" >&6; }
54041 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54043 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54046 for ac_func in __cxa_thread_atexit_impl
54047 do :
54048 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54049 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54050 cat >>confdefs.h <<_ACEOF
54051 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54052 _ACEOF
54055 done
54057 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54058 do :
54059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54061 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54062 cat >>confdefs.h <<_ACEOF
54063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54064 _ACEOF
54067 done
54069 for ac_func in timespec_get
54070 do :
54071 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54072 if test "x$ac_cv_func_timespec_get" = xyes; then :
54073 cat >>confdefs.h <<_ACEOF
54074 #define HAVE_TIMESPEC_GET 1
54075 _ACEOF
54078 done
54080 for ac_func in sockatmark
54081 do :
54082 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54083 if test "x$ac_cv_func_sockatmark" = xyes; then :
54084 cat >>confdefs.h <<_ACEOF
54085 #define HAVE_SOCKATMARK 1
54086 _ACEOF
54089 done
54091 for ac_func in uselocale
54092 do :
54093 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54094 if test "x$ac_cv_func_uselocale" = xyes; then :
54095 cat >>confdefs.h <<_ACEOF
54096 #define HAVE_USELOCALE 1
54097 _ACEOF
54100 done
54107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54108 $as_echo_n "checking for iconv... " >&6; }
54109 if ${am_cv_func_iconv+:} false; then :
54110 $as_echo_n "(cached) " >&6
54111 else
54113 am_cv_func_iconv="no, consider installing GNU libiconv"
54114 am_cv_lib_iconv=no
54115 am_save_CPPFLAGS="$CPPFLAGS"
54116 CPPFLAGS="$CPPFLAGS $INCICONV"
54117 if test x$gcc_no_link = xyes; then
54118 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54121 /* end confdefs.h. */
54122 #include <stdlib.h>
54123 #include <iconv.h>
54125 main ()
54127 iconv_t cd = iconv_open("","");
54128 iconv(cd,NULL,NULL,NULL,NULL);
54129 iconv_close(cd);
54131 return 0;
54133 _ACEOF
54134 if ac_fn_c_try_link "$LINENO"; then :
54135 am_cv_func_iconv=yes
54137 rm -f core conftest.err conftest.$ac_objext \
54138 conftest$ac_exeext conftest.$ac_ext
54139 CPPFLAGS="$am_save_CPPFLAGS"
54141 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54142 for _libs in .libs _libs; do
54143 am_save_CPPFLAGS="$CPPFLAGS"
54144 am_save_LIBS="$LIBS"
54145 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54146 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54147 if test x$gcc_no_link = xyes; then
54148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54151 /* end confdefs.h. */
54152 #include <stdlib.h>
54153 #include <iconv.h>
54155 main ()
54157 iconv_t cd = iconv_open("","");
54158 iconv(cd,NULL,NULL,NULL,NULL);
54159 iconv_close(cd);
54161 return 0;
54163 _ACEOF
54164 if ac_fn_c_try_link "$LINENO"; then :
54165 INCICONV="-I../libiconv/include"
54166 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54167 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54168 am_cv_lib_iconv=yes
54169 am_cv_func_iconv=yes
54171 rm -f core conftest.err conftest.$ac_objext \
54172 conftest$ac_exeext conftest.$ac_ext
54173 CPPFLAGS="$am_save_CPPFLAGS"
54174 LIBS="$am_save_LIBS"
54175 if test "$am_cv_func_iconv" = "yes"; then
54176 break
54178 done
54181 if test "$am_cv_func_iconv" != yes; then
54182 am_save_CPPFLAGS="$CPPFLAGS"
54183 am_save_LIBS="$LIBS"
54184 CPPFLAGS="$CPPFLAGS $INCICONV"
54185 LIBS="$LIBS $LIBICONV"
54186 if test x$gcc_no_link = xyes; then
54187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54190 /* end confdefs.h. */
54191 #include <stdlib.h>
54192 #include <iconv.h>
54194 main ()
54196 iconv_t cd = iconv_open("","");
54197 iconv(cd,NULL,NULL,NULL,NULL);
54198 iconv_close(cd);
54200 return 0;
54202 _ACEOF
54203 if ac_fn_c_try_link "$LINENO"; then :
54204 am_cv_lib_iconv=yes
54205 am_cv_func_iconv=yes
54207 rm -f core conftest.err conftest.$ac_objext \
54208 conftest$ac_exeext conftest.$ac_ext
54209 CPPFLAGS="$am_save_CPPFLAGS"
54210 LIBS="$am_save_LIBS"
54214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54215 $as_echo "$am_cv_func_iconv" >&6; }
54216 if test "$am_cv_func_iconv" = yes; then
54218 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54221 if test "$am_cv_lib_iconv" = yes; then
54223 for element in $INCICONV; do
54224 haveit=
54225 for x in $CPPFLAGS; do
54227 acl_save_prefix="$prefix"
54228 prefix="$acl_final_prefix"
54229 acl_save_exec_prefix="$exec_prefix"
54230 exec_prefix="$acl_final_exec_prefix"
54231 eval x=\"$x\"
54232 exec_prefix="$acl_save_exec_prefix"
54233 prefix="$acl_save_prefix"
54235 if test "X$x" = "X$element"; then
54236 haveit=yes
54237 break
54239 done
54240 if test -z "$haveit"; then
54241 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54243 done
54245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54246 $as_echo_n "checking how to link with libiconv... " >&6; }
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54248 $as_echo "$LIBICONV" >&6; }
54249 else
54250 LIBICONV=
54251 LTLIBICONV=
54256 if test "$am_cv_func_iconv" = yes; then
54257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54258 $as_echo_n "checking for iconv declaration... " >&6; }
54259 if ${am_cv_proto_iconv+:} false; then :
54260 $as_echo_n "(cached) " >&6
54261 else
54263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54264 /* end confdefs.h. */
54266 #include <stdlib.h>
54267 #include <iconv.h>
54268 extern
54269 #ifdef __cplusplus
54271 #endif
54272 #if defined(__STDC__) || defined(__cplusplus)
54273 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54274 #else
54275 size_t iconv();
54276 #endif
54279 main ()
54283 return 0;
54285 _ACEOF
54286 if ac_fn_c_try_compile "$LINENO"; then :
54287 am_cv_proto_iconv_arg1=""
54288 else
54289 am_cv_proto_iconv_arg1="const"
54291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54292 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);"
54295 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54297 }$am_cv_proto_iconv" >&5
54298 $as_echo "${ac_t:-
54299 }$am_cv_proto_iconv" >&6; }
54301 cat >>confdefs.h <<_ACEOF
54302 #define ICONV_CONST $am_cv_proto_iconv_arg1
54303 _ACEOF
54308 *-mingw32*)
54310 # If we're not using GNU ld, then there's no point in even trying these
54311 # tests. Check for that first. We should have already tested for gld
54312 # by now (in libtool), but require it now just to be safe...
54313 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54314 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54318 # The name set by libtool depends on the version of libtool. Shame on us
54319 # for depending on an impl detail, but c'est la vie. Older versions used
54320 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54321 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54322 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54323 # set (hence we're using an older libtool), then set it.
54324 if test x${with_gnu_ld+set} != xset; then
54325 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54326 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54327 with_gnu_ld=no
54328 else
54329 with_gnu_ld=$ac_cv_prog_gnu_ld
54333 # Start by getting the version number. I think the libtool test already
54334 # does some of this, but throws away the result.
54335 glibcxx_ld_is_gold=no
54336 if test x"$with_gnu_ld" = x"yes"; then
54337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54338 $as_echo_n "checking for ld version... " >&6; }
54340 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54341 glibcxx_ld_is_gold=yes
54343 ldver=`$LD --version 2>/dev/null |
54344 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54346 glibcxx_gnu_ld_version=`echo $ldver | \
54347 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54349 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54352 # Set --gc-sections.
54353 glibcxx_have_gc_sections=no
54354 if test "$glibcxx_ld_is_gold" = "yes"; then
54355 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54356 glibcxx_have_gc_sections=yes
54358 else
54359 glibcxx_gcsections_min_ld=21602
54360 if test x"$with_gnu_ld" = x"yes" &&
54361 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54362 glibcxx_have_gc_sections=yes
54365 if test "$glibcxx_have_gc_sections" = "yes"; then
54366 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54367 # NB: This flag only works reliably after 2.16.1. Configure tests
54368 # for this are difficult, so hard wire a value that should work.
54370 ac_test_CFLAGS="${CFLAGS+set}"
54371 ac_save_CFLAGS="$CFLAGS"
54372 CFLAGS='-Wl,--gc-sections'
54374 # Check for -Wl,--gc-sections
54375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54376 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54377 if test x$gcc_no_link = xyes; then
54378 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h. */
54382 int one(void) { return 1; }
54383 int two(void) { return 2; }
54386 main ()
54388 two();
54390 return 0;
54392 _ACEOF
54393 if ac_fn_c_try_link "$LINENO"; then :
54394 ac_gcsections=yes
54395 else
54396 ac_gcsections=no
54398 rm -f core conftest.err conftest.$ac_objext \
54399 conftest$ac_exeext conftest.$ac_ext
54400 if test "$ac_gcsections" = "yes"; then
54401 rm -f conftest.c
54402 touch conftest.c
54403 if $CC -c conftest.c; then
54404 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54405 grep "Warning: gc-sections option ignored" > /dev/null; then
54406 ac_gcsections=no
54409 rm -f conftest.c conftest.o conftest
54411 if test "$ac_gcsections" = "yes"; then
54412 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54415 $as_echo "$ac_gcsections" >&6; }
54417 if test "$ac_test_CFLAGS" = set; then
54418 CFLAGS="$ac_save_CFLAGS"
54419 else
54420 # this is the suspicious part
54421 CFLAGS=''
54425 # Set -z,relro.
54426 # Note this is only for shared objects.
54427 ac_ld_relro=no
54428 if test x"$with_gnu_ld" = x"yes"; then
54429 # cygwin and mingw uses PE, which has no ELF relro support,
54430 # multi target ld may confuse configure machinery
54431 case "$host" in
54432 *-*-cygwin*)
54434 *-*-mingw*)
54437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54438 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54439 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54440 if test -n "$cxx_z_relo"; then
54441 OPT_LDFLAGS="-Wl,-z,relro"
54442 ac_ld_relro=yes
54444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54445 $as_echo "$ac_ld_relro" >&6; }
54446 esac
54449 # Set linker optimization flags.
54450 if test x"$with_gnu_ld" = x"yes"; then
54451 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54458 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54459 ac_save_CXXFLAGS="$CXXFLAGS"
54460 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54463 $as_echo_n "checking for sin in -lm... " >&6; }
54464 if ${ac_cv_lib_m_sin+:} false; then :
54465 $as_echo_n "(cached) " >&6
54466 else
54467 ac_check_lib_save_LIBS=$LIBS
54468 LIBS="-lm $LIBS"
54469 if test x$gcc_no_link = xyes; then
54470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54473 /* end confdefs.h. */
54475 /* Override any GCC internal prototype to avoid an error.
54476 Use char because int might match the return type of a GCC
54477 builtin and then its argument prototype would still apply. */
54478 #ifdef __cplusplus
54479 extern "C"
54480 #endif
54481 char sin ();
54483 main ()
54485 return sin ();
54487 return 0;
54489 _ACEOF
54490 if ac_fn_c_try_link "$LINENO"; then :
54491 ac_cv_lib_m_sin=yes
54492 else
54493 ac_cv_lib_m_sin=no
54495 rm -f core conftest.err conftest.$ac_objext \
54496 conftest$ac_exeext conftest.$ac_ext
54497 LIBS=$ac_check_lib_save_LIBS
54499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54500 $as_echo "$ac_cv_lib_m_sin" >&6; }
54501 if test "x$ac_cv_lib_m_sin" = xyes; then :
54502 libm="-lm"
54505 ac_save_LIBS="$LIBS"
54506 LIBS="$LIBS $libm"
54510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54511 $as_echo_n "checking for isinf declaration... " >&6; }
54512 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54513 if ${glibcxx_cv_func_isinf_use+:} false; then :
54514 $as_echo_n "(cached) " >&6
54515 else
54518 ac_ext=cpp
54519 ac_cpp='$CXXCPP $CPPFLAGS'
54520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54525 /* end confdefs.h. */
54526 #include <math.h>
54527 #ifdef HAVE_IEEEFP_H
54528 #include <ieeefp.h>
54529 #endif
54532 main ()
54534 isinf(0);
54536 return 0;
54538 _ACEOF
54539 if ac_fn_cxx_try_compile "$LINENO"; then :
54540 glibcxx_cv_func_isinf_use=yes
54541 else
54542 glibcxx_cv_func_isinf_use=no
54544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54545 ac_ext=c
54546 ac_cpp='$CPP $CPPFLAGS'
54547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54556 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54558 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54559 for ac_func in isinf
54560 do :
54561 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54562 if test "x$ac_cv_func_isinf" = xyes; then :
54563 cat >>confdefs.h <<_ACEOF
54564 #define HAVE_ISINF 1
54565 _ACEOF
54568 done
54570 else
54572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54573 $as_echo_n "checking for _isinf declaration... " >&6; }
54574 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54575 if ${glibcxx_cv_func__isinf_use+:} false; then :
54576 $as_echo_n "(cached) " >&6
54577 else
54580 ac_ext=cpp
54581 ac_cpp='$CXXCPP $CPPFLAGS'
54582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54587 /* end confdefs.h. */
54588 #include <math.h>
54589 #ifdef HAVE_IEEEFP_H
54590 #include <ieeefp.h>
54591 #endif
54594 main ()
54596 _isinf(0);
54598 return 0;
54600 _ACEOF
54601 if ac_fn_cxx_try_compile "$LINENO"; then :
54602 glibcxx_cv_func__isinf_use=yes
54603 else
54604 glibcxx_cv_func__isinf_use=no
54606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54607 ac_ext=c
54608 ac_cpp='$CPP $CPPFLAGS'
54609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54618 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54620 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54621 for ac_func in _isinf
54622 do :
54623 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54624 if test "x$ac_cv_func__isinf" = xyes; then :
54625 cat >>confdefs.h <<_ACEOF
54626 #define HAVE__ISINF 1
54627 _ACEOF
54630 done
54639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54640 $as_echo_n "checking for isnan declaration... " >&6; }
54641 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54642 if ${glibcxx_cv_func_isnan_use+:} false; then :
54643 $as_echo_n "(cached) " >&6
54644 else
54647 ac_ext=cpp
54648 ac_cpp='$CXXCPP $CPPFLAGS'
54649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54654 /* end confdefs.h. */
54655 #include <math.h>
54656 #ifdef HAVE_IEEEFP_H
54657 #include <ieeefp.h>
54658 #endif
54661 main ()
54663 isnan(0);
54665 return 0;
54667 _ACEOF
54668 if ac_fn_cxx_try_compile "$LINENO"; then :
54669 glibcxx_cv_func_isnan_use=yes
54670 else
54671 glibcxx_cv_func_isnan_use=no
54673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54674 ac_ext=c
54675 ac_cpp='$CPP $CPPFLAGS'
54676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54685 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54687 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54688 for ac_func in isnan
54689 do :
54690 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54691 if test "x$ac_cv_func_isnan" = xyes; then :
54692 cat >>confdefs.h <<_ACEOF
54693 #define HAVE_ISNAN 1
54694 _ACEOF
54697 done
54699 else
54701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54702 $as_echo_n "checking for _isnan declaration... " >&6; }
54703 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54704 if ${glibcxx_cv_func__isnan_use+:} false; then :
54705 $as_echo_n "(cached) " >&6
54706 else
54709 ac_ext=cpp
54710 ac_cpp='$CXXCPP $CPPFLAGS'
54711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54716 /* end confdefs.h. */
54717 #include <math.h>
54718 #ifdef HAVE_IEEEFP_H
54719 #include <ieeefp.h>
54720 #endif
54723 main ()
54725 _isnan(0);
54727 return 0;
54729 _ACEOF
54730 if ac_fn_cxx_try_compile "$LINENO"; then :
54731 glibcxx_cv_func__isnan_use=yes
54732 else
54733 glibcxx_cv_func__isnan_use=no
54735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54736 ac_ext=c
54737 ac_cpp='$CPP $CPPFLAGS'
54738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54747 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54749 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54750 for ac_func in _isnan
54751 do :
54752 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54753 if test "x$ac_cv_func__isnan" = xyes; then :
54754 cat >>confdefs.h <<_ACEOF
54755 #define HAVE__ISNAN 1
54756 _ACEOF
54759 done
54768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54769 $as_echo_n "checking for finite declaration... " >&6; }
54770 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54771 if ${glibcxx_cv_func_finite_use+:} false; then :
54772 $as_echo_n "(cached) " >&6
54773 else
54776 ac_ext=cpp
54777 ac_cpp='$CXXCPP $CPPFLAGS'
54778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54783 /* end confdefs.h. */
54784 #include <math.h>
54785 #ifdef HAVE_IEEEFP_H
54786 #include <ieeefp.h>
54787 #endif
54790 main ()
54792 finite(0);
54794 return 0;
54796 _ACEOF
54797 if ac_fn_cxx_try_compile "$LINENO"; then :
54798 glibcxx_cv_func_finite_use=yes
54799 else
54800 glibcxx_cv_func_finite_use=no
54802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54803 ac_ext=c
54804 ac_cpp='$CPP $CPPFLAGS'
54805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54814 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54816 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54817 for ac_func in finite
54818 do :
54819 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54820 if test "x$ac_cv_func_finite" = xyes; then :
54821 cat >>confdefs.h <<_ACEOF
54822 #define HAVE_FINITE 1
54823 _ACEOF
54826 done
54828 else
54830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54831 $as_echo_n "checking for _finite declaration... " >&6; }
54832 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54833 if ${glibcxx_cv_func__finite_use+:} false; then :
54834 $as_echo_n "(cached) " >&6
54835 else
54838 ac_ext=cpp
54839 ac_cpp='$CXXCPP $CPPFLAGS'
54840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54845 /* end confdefs.h. */
54846 #include <math.h>
54847 #ifdef HAVE_IEEEFP_H
54848 #include <ieeefp.h>
54849 #endif
54852 main ()
54854 _finite(0);
54856 return 0;
54858 _ACEOF
54859 if ac_fn_cxx_try_compile "$LINENO"; then :
54860 glibcxx_cv_func__finite_use=yes
54861 else
54862 glibcxx_cv_func__finite_use=no
54864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54865 ac_ext=c
54866 ac_cpp='$CPP $CPPFLAGS'
54867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54876 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54878 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54879 for ac_func in _finite
54880 do :
54881 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54882 if test "x$ac_cv_func__finite" = xyes; then :
54883 cat >>confdefs.h <<_ACEOF
54884 #define HAVE__FINITE 1
54885 _ACEOF
54888 done
54897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54898 $as_echo_n "checking for sincos declaration... " >&6; }
54899 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54900 if ${glibcxx_cv_func_sincos_use+:} false; then :
54901 $as_echo_n "(cached) " >&6
54902 else
54905 ac_ext=cpp
54906 ac_cpp='$CXXCPP $CPPFLAGS'
54907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54912 /* end confdefs.h. */
54913 #include <math.h>
54915 main ()
54917 sincos(0, 0, 0);
54919 return 0;
54921 _ACEOF
54922 if ac_fn_cxx_try_compile "$LINENO"; then :
54923 glibcxx_cv_func_sincos_use=yes
54924 else
54925 glibcxx_cv_func_sincos_use=no
54927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54928 ac_ext=c
54929 ac_cpp='$CPP $CPPFLAGS'
54930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54939 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54941 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54942 for ac_func in sincos
54943 do :
54944 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54945 if test "x$ac_cv_func_sincos" = xyes; then :
54946 cat >>confdefs.h <<_ACEOF
54947 #define HAVE_SINCOS 1
54948 _ACEOF
54951 done
54953 else
54955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54956 $as_echo_n "checking for _sincos declaration... " >&6; }
54957 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54958 if ${glibcxx_cv_func__sincos_use+:} false; then :
54959 $as_echo_n "(cached) " >&6
54960 else
54963 ac_ext=cpp
54964 ac_cpp='$CXXCPP $CPPFLAGS'
54965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54970 /* end confdefs.h. */
54971 #include <math.h>
54973 main ()
54975 _sincos(0, 0, 0);
54977 return 0;
54979 _ACEOF
54980 if ac_fn_cxx_try_compile "$LINENO"; then :
54981 glibcxx_cv_func__sincos_use=yes
54982 else
54983 glibcxx_cv_func__sincos_use=no
54985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54986 ac_ext=c
54987 ac_cpp='$CPP $CPPFLAGS'
54988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54997 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54999 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55000 for ac_func in _sincos
55001 do :
55002 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55003 if test "x$ac_cv_func__sincos" = xyes; then :
55004 cat >>confdefs.h <<_ACEOF
55005 #define HAVE__SINCOS 1
55006 _ACEOF
55009 done
55018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55019 $as_echo_n "checking for fpclass declaration... " >&6; }
55020 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55021 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55022 $as_echo_n "(cached) " >&6
55023 else
55026 ac_ext=cpp
55027 ac_cpp='$CXXCPP $CPPFLAGS'
55028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55033 /* end confdefs.h. */
55034 #include <math.h>
55035 #ifdef HAVE_IEEEFP_H
55036 #include <ieeefp.h>
55037 #endif
55040 main ()
55042 fpclass(0);
55044 return 0;
55046 _ACEOF
55047 if ac_fn_cxx_try_compile "$LINENO"; then :
55048 glibcxx_cv_func_fpclass_use=yes
55049 else
55050 glibcxx_cv_func_fpclass_use=no
55052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55053 ac_ext=c
55054 ac_cpp='$CPP $CPPFLAGS'
55055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55064 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55066 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55067 for ac_func in fpclass
55068 do :
55069 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55070 if test "x$ac_cv_func_fpclass" = xyes; then :
55071 cat >>confdefs.h <<_ACEOF
55072 #define HAVE_FPCLASS 1
55073 _ACEOF
55076 done
55078 else
55080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55081 $as_echo_n "checking for _fpclass declaration... " >&6; }
55082 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55083 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55084 $as_echo_n "(cached) " >&6
55085 else
55088 ac_ext=cpp
55089 ac_cpp='$CXXCPP $CPPFLAGS'
55090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55095 /* end confdefs.h. */
55096 #include <math.h>
55097 #ifdef HAVE_IEEEFP_H
55098 #include <ieeefp.h>
55099 #endif
55102 main ()
55104 _fpclass(0);
55106 return 0;
55108 _ACEOF
55109 if ac_fn_cxx_try_compile "$LINENO"; then :
55110 glibcxx_cv_func__fpclass_use=yes
55111 else
55112 glibcxx_cv_func__fpclass_use=no
55114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55115 ac_ext=c
55116 ac_cpp='$CPP $CPPFLAGS'
55117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55126 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55128 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55129 for ac_func in _fpclass
55130 do :
55131 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55132 if test "x$ac_cv_func__fpclass" = xyes; then :
55133 cat >>confdefs.h <<_ACEOF
55134 #define HAVE__FPCLASS 1
55135 _ACEOF
55138 done
55147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55148 $as_echo_n "checking for qfpclass declaration... " >&6; }
55149 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55150 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55151 $as_echo_n "(cached) " >&6
55152 else
55155 ac_ext=cpp
55156 ac_cpp='$CXXCPP $CPPFLAGS'
55157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55162 /* end confdefs.h. */
55163 #include <math.h>
55164 #ifdef HAVE_IEEEFP_H
55165 #include <ieeefp.h>
55166 #endif
55169 main ()
55171 qfpclass(0);
55173 return 0;
55175 _ACEOF
55176 if ac_fn_cxx_try_compile "$LINENO"; then :
55177 glibcxx_cv_func_qfpclass_use=yes
55178 else
55179 glibcxx_cv_func_qfpclass_use=no
55181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55182 ac_ext=c
55183 ac_cpp='$CPP $CPPFLAGS'
55184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55193 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55195 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55196 for ac_func in qfpclass
55197 do :
55198 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55199 if test "x$ac_cv_func_qfpclass" = xyes; then :
55200 cat >>confdefs.h <<_ACEOF
55201 #define HAVE_QFPCLASS 1
55202 _ACEOF
55205 done
55207 else
55209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55210 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55211 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55212 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55213 $as_echo_n "(cached) " >&6
55214 else
55217 ac_ext=cpp
55218 ac_cpp='$CXXCPP $CPPFLAGS'
55219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55224 /* end confdefs.h. */
55225 #include <math.h>
55226 #ifdef HAVE_IEEEFP_H
55227 #include <ieeefp.h>
55228 #endif
55231 main ()
55233 _qfpclass(0);
55235 return 0;
55237 _ACEOF
55238 if ac_fn_cxx_try_compile "$LINENO"; then :
55239 glibcxx_cv_func__qfpclass_use=yes
55240 else
55241 glibcxx_cv_func__qfpclass_use=no
55243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55244 ac_ext=c
55245 ac_cpp='$CPP $CPPFLAGS'
55246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55255 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55257 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55258 for ac_func in _qfpclass
55259 do :
55260 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55261 if test "x$ac_cv_func__qfpclass" = xyes; then :
55262 cat >>confdefs.h <<_ACEOF
55263 #define HAVE__QFPCLASS 1
55264 _ACEOF
55267 done
55276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55277 $as_echo_n "checking for hypot declaration... " >&6; }
55278 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55279 if ${glibcxx_cv_func_hypot_use+:} false; then :
55280 $as_echo_n "(cached) " >&6
55281 else
55284 ac_ext=cpp
55285 ac_cpp='$CXXCPP $CPPFLAGS'
55286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55291 /* end confdefs.h. */
55292 #include <math.h>
55294 main ()
55296 hypot(0, 0);
55298 return 0;
55300 _ACEOF
55301 if ac_fn_cxx_try_compile "$LINENO"; then :
55302 glibcxx_cv_func_hypot_use=yes
55303 else
55304 glibcxx_cv_func_hypot_use=no
55306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55307 ac_ext=c
55308 ac_cpp='$CPP $CPPFLAGS'
55309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55318 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55320 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55321 for ac_func in hypot
55322 do :
55323 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55324 if test "x$ac_cv_func_hypot" = xyes; then :
55325 cat >>confdefs.h <<_ACEOF
55326 #define HAVE_HYPOT 1
55327 _ACEOF
55330 done
55332 else
55334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55335 $as_echo_n "checking for _hypot declaration... " >&6; }
55336 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55337 if ${glibcxx_cv_func__hypot_use+:} false; then :
55338 $as_echo_n "(cached) " >&6
55339 else
55342 ac_ext=cpp
55343 ac_cpp='$CXXCPP $CPPFLAGS'
55344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55349 /* end confdefs.h. */
55350 #include <math.h>
55352 main ()
55354 _hypot(0, 0);
55356 return 0;
55358 _ACEOF
55359 if ac_fn_cxx_try_compile "$LINENO"; then :
55360 glibcxx_cv_func__hypot_use=yes
55361 else
55362 glibcxx_cv_func__hypot_use=no
55364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55365 ac_ext=c
55366 ac_cpp='$CPP $CPPFLAGS'
55367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55376 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55378 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55379 for ac_func in _hypot
55380 do :
55381 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55382 if test "x$ac_cv_func__hypot" = xyes; then :
55383 cat >>confdefs.h <<_ACEOF
55384 #define HAVE__HYPOT 1
55385 _ACEOF
55388 done
55397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55398 $as_echo_n "checking for float trig functions... " >&6; }
55399 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55400 $as_echo_n "(cached) " >&6
55401 else
55404 ac_ext=cpp
55405 ac_cpp='$CXXCPP $CPPFLAGS'
55406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h. */
55412 #include <math.h>
55414 main ()
55416 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55418 return 0;
55420 _ACEOF
55421 if ac_fn_cxx_try_compile "$LINENO"; then :
55422 glibcxx_cv_func_float_trig_use=yes
55423 else
55424 glibcxx_cv_func_float_trig_use=no
55426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55427 ac_ext=c
55428 ac_cpp='$CPP $CPPFLAGS'
55429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55436 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55437 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55438 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55439 do :
55440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55443 cat >>confdefs.h <<_ACEOF
55444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55445 _ACEOF
55448 done
55450 else
55451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55452 $as_echo_n "checking for _float trig functions... " >&6; }
55453 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55454 $as_echo_n "(cached) " >&6
55455 else
55458 ac_ext=cpp
55459 ac_cpp='$CXXCPP $CPPFLAGS'
55460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55465 /* end confdefs.h. */
55466 #include <math.h>
55468 main ()
55470 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55472 return 0;
55474 _ACEOF
55475 if ac_fn_cxx_try_compile "$LINENO"; then :
55476 glibcxx_cv_func__float_trig_use=yes
55477 else
55478 glibcxx_cv_func__float_trig_use=no
55480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55481 ac_ext=c
55482 ac_cpp='$CPP $CPPFLAGS'
55483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55490 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55491 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55492 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55493 do :
55494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55497 cat >>confdefs.h <<_ACEOF
55498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55499 _ACEOF
55502 done
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55512 $as_echo_n "checking for float round functions... " >&6; }
55513 if ${glibcxx_cv_func_float_round_use+:} false; then :
55514 $as_echo_n "(cached) " >&6
55515 else
55518 ac_ext=cpp
55519 ac_cpp='$CXXCPP $CPPFLAGS'
55520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55525 /* end confdefs.h. */
55526 #include <math.h>
55528 main ()
55530 ceilf (0); floorf (0);
55532 return 0;
55534 _ACEOF
55535 if ac_fn_cxx_try_compile "$LINENO"; then :
55536 glibcxx_cv_func_float_round_use=yes
55537 else
55538 glibcxx_cv_func_float_round_use=no
55540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55541 ac_ext=c
55542 ac_cpp='$CPP $CPPFLAGS'
55543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55550 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55551 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55552 for ac_func in ceilf floorf
55553 do :
55554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55557 cat >>confdefs.h <<_ACEOF
55558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55559 _ACEOF
55562 done
55564 else
55565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55566 $as_echo_n "checking for _float round functions... " >&6; }
55567 if ${glibcxx_cv_func__float_round_use+:} false; then :
55568 $as_echo_n "(cached) " >&6
55569 else
55572 ac_ext=cpp
55573 ac_cpp='$CXXCPP $CPPFLAGS'
55574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55579 /* end confdefs.h. */
55580 #include <math.h>
55582 main ()
55584 _ceilf (0); _floorf (0);
55586 return 0;
55588 _ACEOF
55589 if ac_fn_cxx_try_compile "$LINENO"; then :
55590 glibcxx_cv_func__float_round_use=yes
55591 else
55592 glibcxx_cv_func__float_round_use=no
55594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55595 ac_ext=c
55596 ac_cpp='$CPP $CPPFLAGS'
55597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55604 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55605 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55606 for ac_func in _ceilf _floorf
55607 do :
55608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55609 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55610 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55611 cat >>confdefs.h <<_ACEOF
55612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55613 _ACEOF
55616 done
55626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55627 $as_echo_n "checking for expf declaration... " >&6; }
55628 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55629 if ${glibcxx_cv_func_expf_use+:} false; then :
55630 $as_echo_n "(cached) " >&6
55631 else
55634 ac_ext=cpp
55635 ac_cpp='$CXXCPP $CPPFLAGS'
55636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55641 /* end confdefs.h. */
55642 #include <math.h>
55643 #ifdef HAVE_IEEEFP_H
55644 #include <ieeefp.h>
55645 #endif
55648 main ()
55650 expf(0);
55652 return 0;
55654 _ACEOF
55655 if ac_fn_cxx_try_compile "$LINENO"; then :
55656 glibcxx_cv_func_expf_use=yes
55657 else
55658 glibcxx_cv_func_expf_use=no
55660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55661 ac_ext=c
55662 ac_cpp='$CPP $CPPFLAGS'
55663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55672 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55674 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55675 for ac_func in expf
55676 do :
55677 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55678 if test "x$ac_cv_func_expf" = xyes; then :
55679 cat >>confdefs.h <<_ACEOF
55680 #define HAVE_EXPF 1
55681 _ACEOF
55684 done
55686 else
55688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55689 $as_echo_n "checking for _expf declaration... " >&6; }
55690 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55691 if ${glibcxx_cv_func__expf_use+:} false; then :
55692 $as_echo_n "(cached) " >&6
55693 else
55696 ac_ext=cpp
55697 ac_cpp='$CXXCPP $CPPFLAGS'
55698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55703 /* end confdefs.h. */
55704 #include <math.h>
55705 #ifdef HAVE_IEEEFP_H
55706 #include <ieeefp.h>
55707 #endif
55710 main ()
55712 _expf(0);
55714 return 0;
55716 _ACEOF
55717 if ac_fn_cxx_try_compile "$LINENO"; then :
55718 glibcxx_cv_func__expf_use=yes
55719 else
55720 glibcxx_cv_func__expf_use=no
55722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55723 ac_ext=c
55724 ac_cpp='$CPP $CPPFLAGS'
55725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55734 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55736 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55737 for ac_func in _expf
55738 do :
55739 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55740 if test "x$ac_cv_func__expf" = xyes; then :
55741 cat >>confdefs.h <<_ACEOF
55742 #define HAVE__EXPF 1
55743 _ACEOF
55746 done
55755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55756 $as_echo_n "checking for isnanf declaration... " >&6; }
55757 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55758 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55759 $as_echo_n "(cached) " >&6
55760 else
55763 ac_ext=cpp
55764 ac_cpp='$CXXCPP $CPPFLAGS'
55765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55770 /* end confdefs.h. */
55771 #include <math.h>
55772 #ifdef HAVE_IEEEFP_H
55773 #include <ieeefp.h>
55774 #endif
55777 main ()
55779 isnanf(0);
55781 return 0;
55783 _ACEOF
55784 if ac_fn_cxx_try_compile "$LINENO"; then :
55785 glibcxx_cv_func_isnanf_use=yes
55786 else
55787 glibcxx_cv_func_isnanf_use=no
55789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55790 ac_ext=c
55791 ac_cpp='$CPP $CPPFLAGS'
55792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55801 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55803 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55804 for ac_func in isnanf
55805 do :
55806 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55807 if test "x$ac_cv_func_isnanf" = xyes; then :
55808 cat >>confdefs.h <<_ACEOF
55809 #define HAVE_ISNANF 1
55810 _ACEOF
55813 done
55815 else
55817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55818 $as_echo_n "checking for _isnanf declaration... " >&6; }
55819 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55820 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55821 $as_echo_n "(cached) " >&6
55822 else
55825 ac_ext=cpp
55826 ac_cpp='$CXXCPP $CPPFLAGS'
55827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55832 /* end confdefs.h. */
55833 #include <math.h>
55834 #ifdef HAVE_IEEEFP_H
55835 #include <ieeefp.h>
55836 #endif
55839 main ()
55841 _isnanf(0);
55843 return 0;
55845 _ACEOF
55846 if ac_fn_cxx_try_compile "$LINENO"; then :
55847 glibcxx_cv_func__isnanf_use=yes
55848 else
55849 glibcxx_cv_func__isnanf_use=no
55851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55852 ac_ext=c
55853 ac_cpp='$CPP $CPPFLAGS'
55854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55863 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55865 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55866 for ac_func in _isnanf
55867 do :
55868 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55869 if test "x$ac_cv_func__isnanf" = xyes; then :
55870 cat >>confdefs.h <<_ACEOF
55871 #define HAVE__ISNANF 1
55872 _ACEOF
55875 done
55884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55885 $as_echo_n "checking for isinff declaration... " >&6; }
55886 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55887 if ${glibcxx_cv_func_isinff_use+:} false; then :
55888 $as_echo_n "(cached) " >&6
55889 else
55892 ac_ext=cpp
55893 ac_cpp='$CXXCPP $CPPFLAGS'
55894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55899 /* end confdefs.h. */
55900 #include <math.h>
55901 #ifdef HAVE_IEEEFP_H
55902 #include <ieeefp.h>
55903 #endif
55906 main ()
55908 isinff(0);
55910 return 0;
55912 _ACEOF
55913 if ac_fn_cxx_try_compile "$LINENO"; then :
55914 glibcxx_cv_func_isinff_use=yes
55915 else
55916 glibcxx_cv_func_isinff_use=no
55918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55919 ac_ext=c
55920 ac_cpp='$CPP $CPPFLAGS'
55921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55930 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55932 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55933 for ac_func in isinff
55934 do :
55935 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55936 if test "x$ac_cv_func_isinff" = xyes; then :
55937 cat >>confdefs.h <<_ACEOF
55938 #define HAVE_ISINFF 1
55939 _ACEOF
55942 done
55944 else
55946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55947 $as_echo_n "checking for _isinff declaration... " >&6; }
55948 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55949 if ${glibcxx_cv_func__isinff_use+:} false; then :
55950 $as_echo_n "(cached) " >&6
55951 else
55954 ac_ext=cpp
55955 ac_cpp='$CXXCPP $CPPFLAGS'
55956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55961 /* end confdefs.h. */
55962 #include <math.h>
55963 #ifdef HAVE_IEEEFP_H
55964 #include <ieeefp.h>
55965 #endif
55968 main ()
55970 _isinff(0);
55972 return 0;
55974 _ACEOF
55975 if ac_fn_cxx_try_compile "$LINENO"; then :
55976 glibcxx_cv_func__isinff_use=yes
55977 else
55978 glibcxx_cv_func__isinff_use=no
55980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55981 ac_ext=c
55982 ac_cpp='$CPP $CPPFLAGS'
55983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55992 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55994 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55995 for ac_func in _isinff
55996 do :
55997 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55998 if test "x$ac_cv_func__isinff" = xyes; then :
55999 cat >>confdefs.h <<_ACEOF
56000 #define HAVE__ISINFF 1
56001 _ACEOF
56004 done
56013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56014 $as_echo_n "checking for atan2f declaration... " >&6; }
56015 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56016 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56017 $as_echo_n "(cached) " >&6
56018 else
56021 ac_ext=cpp
56022 ac_cpp='$CXXCPP $CPPFLAGS'
56023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56028 /* end confdefs.h. */
56029 #include <math.h>
56031 main ()
56033 atan2f(0, 0);
56035 return 0;
56037 _ACEOF
56038 if ac_fn_cxx_try_compile "$LINENO"; then :
56039 glibcxx_cv_func_atan2f_use=yes
56040 else
56041 glibcxx_cv_func_atan2f_use=no
56043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56044 ac_ext=c
56045 ac_cpp='$CPP $CPPFLAGS'
56046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56055 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56057 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56058 for ac_func in atan2f
56059 do :
56060 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56061 if test "x$ac_cv_func_atan2f" = xyes; then :
56062 cat >>confdefs.h <<_ACEOF
56063 #define HAVE_ATAN2F 1
56064 _ACEOF
56067 done
56069 else
56071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56072 $as_echo_n "checking for _atan2f declaration... " >&6; }
56073 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56074 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56075 $as_echo_n "(cached) " >&6
56076 else
56079 ac_ext=cpp
56080 ac_cpp='$CXXCPP $CPPFLAGS'
56081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56086 /* end confdefs.h. */
56087 #include <math.h>
56089 main ()
56091 _atan2f(0, 0);
56093 return 0;
56095 _ACEOF
56096 if ac_fn_cxx_try_compile "$LINENO"; then :
56097 glibcxx_cv_func__atan2f_use=yes
56098 else
56099 glibcxx_cv_func__atan2f_use=no
56101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56102 ac_ext=c
56103 ac_cpp='$CPP $CPPFLAGS'
56104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56113 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56115 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56116 for ac_func in _atan2f
56117 do :
56118 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56119 if test "x$ac_cv_func__atan2f" = xyes; then :
56120 cat >>confdefs.h <<_ACEOF
56121 #define HAVE__ATAN2F 1
56122 _ACEOF
56125 done
56134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56135 $as_echo_n "checking for fabsf declaration... " >&6; }
56136 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56137 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56138 $as_echo_n "(cached) " >&6
56139 else
56142 ac_ext=cpp
56143 ac_cpp='$CXXCPP $CPPFLAGS'
56144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56149 /* end confdefs.h. */
56150 #include <math.h>
56151 #ifdef HAVE_IEEEFP_H
56152 #include <ieeefp.h>
56153 #endif
56156 main ()
56158 fabsf(0);
56160 return 0;
56162 _ACEOF
56163 if ac_fn_cxx_try_compile "$LINENO"; then :
56164 glibcxx_cv_func_fabsf_use=yes
56165 else
56166 glibcxx_cv_func_fabsf_use=no
56168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56169 ac_ext=c
56170 ac_cpp='$CPP $CPPFLAGS'
56171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56180 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56182 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56183 for ac_func in fabsf
56184 do :
56185 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56186 if test "x$ac_cv_func_fabsf" = xyes; then :
56187 cat >>confdefs.h <<_ACEOF
56188 #define HAVE_FABSF 1
56189 _ACEOF
56192 done
56194 else
56196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56197 $as_echo_n "checking for _fabsf declaration... " >&6; }
56198 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56199 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56200 $as_echo_n "(cached) " >&6
56201 else
56204 ac_ext=cpp
56205 ac_cpp='$CXXCPP $CPPFLAGS'
56206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56211 /* end confdefs.h. */
56212 #include <math.h>
56213 #ifdef HAVE_IEEEFP_H
56214 #include <ieeefp.h>
56215 #endif
56218 main ()
56220 _fabsf(0);
56222 return 0;
56224 _ACEOF
56225 if ac_fn_cxx_try_compile "$LINENO"; then :
56226 glibcxx_cv_func__fabsf_use=yes
56227 else
56228 glibcxx_cv_func__fabsf_use=no
56230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56231 ac_ext=c
56232 ac_cpp='$CPP $CPPFLAGS'
56233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56242 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56244 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56245 for ac_func in _fabsf
56246 do :
56247 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56248 if test "x$ac_cv_func__fabsf" = xyes; then :
56249 cat >>confdefs.h <<_ACEOF
56250 #define HAVE__FABSF 1
56251 _ACEOF
56254 done
56263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56264 $as_echo_n "checking for fmodf declaration... " >&6; }
56265 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56266 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56267 $as_echo_n "(cached) " >&6
56268 else
56271 ac_ext=cpp
56272 ac_cpp='$CXXCPP $CPPFLAGS'
56273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56278 /* end confdefs.h. */
56279 #include <math.h>
56281 main ()
56283 fmodf(0, 0);
56285 return 0;
56287 _ACEOF
56288 if ac_fn_cxx_try_compile "$LINENO"; then :
56289 glibcxx_cv_func_fmodf_use=yes
56290 else
56291 glibcxx_cv_func_fmodf_use=no
56293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56294 ac_ext=c
56295 ac_cpp='$CPP $CPPFLAGS'
56296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56305 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56307 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56308 for ac_func in fmodf
56309 do :
56310 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56311 if test "x$ac_cv_func_fmodf" = xyes; then :
56312 cat >>confdefs.h <<_ACEOF
56313 #define HAVE_FMODF 1
56314 _ACEOF
56317 done
56319 else
56321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56322 $as_echo_n "checking for _fmodf declaration... " >&6; }
56323 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56324 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56325 $as_echo_n "(cached) " >&6
56326 else
56329 ac_ext=cpp
56330 ac_cpp='$CXXCPP $CPPFLAGS'
56331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56336 /* end confdefs.h. */
56337 #include <math.h>
56339 main ()
56341 _fmodf(0, 0);
56343 return 0;
56345 _ACEOF
56346 if ac_fn_cxx_try_compile "$LINENO"; then :
56347 glibcxx_cv_func__fmodf_use=yes
56348 else
56349 glibcxx_cv_func__fmodf_use=no
56351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56352 ac_ext=c
56353 ac_cpp='$CPP $CPPFLAGS'
56354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56363 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56365 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56366 for ac_func in _fmodf
56367 do :
56368 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56369 if test "x$ac_cv_func__fmodf" = xyes; then :
56370 cat >>confdefs.h <<_ACEOF
56371 #define HAVE__FMODF 1
56372 _ACEOF
56375 done
56384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56385 $as_echo_n "checking for frexpf declaration... " >&6; }
56386 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56387 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56388 $as_echo_n "(cached) " >&6
56389 else
56392 ac_ext=cpp
56393 ac_cpp='$CXXCPP $CPPFLAGS'
56394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56399 /* end confdefs.h. */
56400 #include <math.h>
56402 main ()
56404 frexpf(0, 0);
56406 return 0;
56408 _ACEOF
56409 if ac_fn_cxx_try_compile "$LINENO"; then :
56410 glibcxx_cv_func_frexpf_use=yes
56411 else
56412 glibcxx_cv_func_frexpf_use=no
56414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56415 ac_ext=c
56416 ac_cpp='$CPP $CPPFLAGS'
56417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56426 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56428 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56429 for ac_func in frexpf
56430 do :
56431 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56432 if test "x$ac_cv_func_frexpf" = xyes; then :
56433 cat >>confdefs.h <<_ACEOF
56434 #define HAVE_FREXPF 1
56435 _ACEOF
56438 done
56440 else
56442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56443 $as_echo_n "checking for _frexpf declaration... " >&6; }
56444 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56445 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56446 $as_echo_n "(cached) " >&6
56447 else
56450 ac_ext=cpp
56451 ac_cpp='$CXXCPP $CPPFLAGS'
56452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56457 /* end confdefs.h. */
56458 #include <math.h>
56460 main ()
56462 _frexpf(0, 0);
56464 return 0;
56466 _ACEOF
56467 if ac_fn_cxx_try_compile "$LINENO"; then :
56468 glibcxx_cv_func__frexpf_use=yes
56469 else
56470 glibcxx_cv_func__frexpf_use=no
56472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56473 ac_ext=c
56474 ac_cpp='$CPP $CPPFLAGS'
56475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56484 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56486 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56487 for ac_func in _frexpf
56488 do :
56489 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56490 if test "x$ac_cv_func__frexpf" = xyes; then :
56491 cat >>confdefs.h <<_ACEOF
56492 #define HAVE__FREXPF 1
56493 _ACEOF
56496 done
56505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56506 $as_echo_n "checking for hypotf declaration... " >&6; }
56507 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56508 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56509 $as_echo_n "(cached) " >&6
56510 else
56513 ac_ext=cpp
56514 ac_cpp='$CXXCPP $CPPFLAGS'
56515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56520 /* end confdefs.h. */
56521 #include <math.h>
56523 main ()
56525 hypotf(0, 0);
56527 return 0;
56529 _ACEOF
56530 if ac_fn_cxx_try_compile "$LINENO"; then :
56531 glibcxx_cv_func_hypotf_use=yes
56532 else
56533 glibcxx_cv_func_hypotf_use=no
56535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56536 ac_ext=c
56537 ac_cpp='$CPP $CPPFLAGS'
56538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56547 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56549 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56550 for ac_func in hypotf
56551 do :
56552 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56553 if test "x$ac_cv_func_hypotf" = xyes; then :
56554 cat >>confdefs.h <<_ACEOF
56555 #define HAVE_HYPOTF 1
56556 _ACEOF
56559 done
56561 else
56563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56564 $as_echo_n "checking for _hypotf declaration... " >&6; }
56565 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56566 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56567 $as_echo_n "(cached) " >&6
56568 else
56571 ac_ext=cpp
56572 ac_cpp='$CXXCPP $CPPFLAGS'
56573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56578 /* end confdefs.h. */
56579 #include <math.h>
56581 main ()
56583 _hypotf(0, 0);
56585 return 0;
56587 _ACEOF
56588 if ac_fn_cxx_try_compile "$LINENO"; then :
56589 glibcxx_cv_func__hypotf_use=yes
56590 else
56591 glibcxx_cv_func__hypotf_use=no
56593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56594 ac_ext=c
56595 ac_cpp='$CPP $CPPFLAGS'
56596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56605 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56607 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56608 for ac_func in _hypotf
56609 do :
56610 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56611 if test "x$ac_cv_func__hypotf" = xyes; then :
56612 cat >>confdefs.h <<_ACEOF
56613 #define HAVE__HYPOTF 1
56614 _ACEOF
56617 done
56626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56627 $as_echo_n "checking for ldexpf declaration... " >&6; }
56628 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56629 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56630 $as_echo_n "(cached) " >&6
56631 else
56634 ac_ext=cpp
56635 ac_cpp='$CXXCPP $CPPFLAGS'
56636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56641 /* end confdefs.h. */
56642 #include <math.h>
56644 main ()
56646 ldexpf(0, 0);
56648 return 0;
56650 _ACEOF
56651 if ac_fn_cxx_try_compile "$LINENO"; then :
56652 glibcxx_cv_func_ldexpf_use=yes
56653 else
56654 glibcxx_cv_func_ldexpf_use=no
56656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56657 ac_ext=c
56658 ac_cpp='$CPP $CPPFLAGS'
56659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56668 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56670 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56671 for ac_func in ldexpf
56672 do :
56673 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56674 if test "x$ac_cv_func_ldexpf" = xyes; then :
56675 cat >>confdefs.h <<_ACEOF
56676 #define HAVE_LDEXPF 1
56677 _ACEOF
56680 done
56682 else
56684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56685 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56686 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56687 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56688 $as_echo_n "(cached) " >&6
56689 else
56692 ac_ext=cpp
56693 ac_cpp='$CXXCPP $CPPFLAGS'
56694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56699 /* end confdefs.h. */
56700 #include <math.h>
56702 main ()
56704 _ldexpf(0, 0);
56706 return 0;
56708 _ACEOF
56709 if ac_fn_cxx_try_compile "$LINENO"; then :
56710 glibcxx_cv_func__ldexpf_use=yes
56711 else
56712 glibcxx_cv_func__ldexpf_use=no
56714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56715 ac_ext=c
56716 ac_cpp='$CPP $CPPFLAGS'
56717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56726 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56728 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56729 for ac_func in _ldexpf
56730 do :
56731 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56732 if test "x$ac_cv_func__ldexpf" = xyes; then :
56733 cat >>confdefs.h <<_ACEOF
56734 #define HAVE__LDEXPF 1
56735 _ACEOF
56738 done
56747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56748 $as_echo_n "checking for logf declaration... " >&6; }
56749 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56750 if ${glibcxx_cv_func_logf_use+:} false; then :
56751 $as_echo_n "(cached) " >&6
56752 else
56755 ac_ext=cpp
56756 ac_cpp='$CXXCPP $CPPFLAGS'
56757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56762 /* end confdefs.h. */
56763 #include <math.h>
56764 #ifdef HAVE_IEEEFP_H
56765 #include <ieeefp.h>
56766 #endif
56769 main ()
56771 logf(0);
56773 return 0;
56775 _ACEOF
56776 if ac_fn_cxx_try_compile "$LINENO"; then :
56777 glibcxx_cv_func_logf_use=yes
56778 else
56779 glibcxx_cv_func_logf_use=no
56781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56782 ac_ext=c
56783 ac_cpp='$CPP $CPPFLAGS'
56784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56793 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56795 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56796 for ac_func in logf
56797 do :
56798 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56799 if test "x$ac_cv_func_logf" = xyes; then :
56800 cat >>confdefs.h <<_ACEOF
56801 #define HAVE_LOGF 1
56802 _ACEOF
56805 done
56807 else
56809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56810 $as_echo_n "checking for _logf declaration... " >&6; }
56811 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56812 if ${glibcxx_cv_func__logf_use+:} false; then :
56813 $as_echo_n "(cached) " >&6
56814 else
56817 ac_ext=cpp
56818 ac_cpp='$CXXCPP $CPPFLAGS'
56819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56824 /* end confdefs.h. */
56825 #include <math.h>
56826 #ifdef HAVE_IEEEFP_H
56827 #include <ieeefp.h>
56828 #endif
56831 main ()
56833 _logf(0);
56835 return 0;
56837 _ACEOF
56838 if ac_fn_cxx_try_compile "$LINENO"; then :
56839 glibcxx_cv_func__logf_use=yes
56840 else
56841 glibcxx_cv_func__logf_use=no
56843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56844 ac_ext=c
56845 ac_cpp='$CPP $CPPFLAGS'
56846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56855 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56857 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56858 for ac_func in _logf
56859 do :
56860 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56861 if test "x$ac_cv_func__logf" = xyes; then :
56862 cat >>confdefs.h <<_ACEOF
56863 #define HAVE__LOGF 1
56864 _ACEOF
56867 done
56876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56877 $as_echo_n "checking for log10f declaration... " >&6; }
56878 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56879 if ${glibcxx_cv_func_log10f_use+:} false; then :
56880 $as_echo_n "(cached) " >&6
56881 else
56884 ac_ext=cpp
56885 ac_cpp='$CXXCPP $CPPFLAGS'
56886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56891 /* end confdefs.h. */
56892 #include <math.h>
56893 #ifdef HAVE_IEEEFP_H
56894 #include <ieeefp.h>
56895 #endif
56898 main ()
56900 log10f(0);
56902 return 0;
56904 _ACEOF
56905 if ac_fn_cxx_try_compile "$LINENO"; then :
56906 glibcxx_cv_func_log10f_use=yes
56907 else
56908 glibcxx_cv_func_log10f_use=no
56910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56911 ac_ext=c
56912 ac_cpp='$CPP $CPPFLAGS'
56913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56922 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56924 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56925 for ac_func in log10f
56926 do :
56927 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56928 if test "x$ac_cv_func_log10f" = xyes; then :
56929 cat >>confdefs.h <<_ACEOF
56930 #define HAVE_LOG10F 1
56931 _ACEOF
56934 done
56936 else
56938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56939 $as_echo_n "checking for _log10f declaration... " >&6; }
56940 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56941 if ${glibcxx_cv_func__log10f_use+:} false; then :
56942 $as_echo_n "(cached) " >&6
56943 else
56946 ac_ext=cpp
56947 ac_cpp='$CXXCPP $CPPFLAGS'
56948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56953 /* end confdefs.h. */
56954 #include <math.h>
56955 #ifdef HAVE_IEEEFP_H
56956 #include <ieeefp.h>
56957 #endif
56960 main ()
56962 _log10f(0);
56964 return 0;
56966 _ACEOF
56967 if ac_fn_cxx_try_compile "$LINENO"; then :
56968 glibcxx_cv_func__log10f_use=yes
56969 else
56970 glibcxx_cv_func__log10f_use=no
56972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56973 ac_ext=c
56974 ac_cpp='$CPP $CPPFLAGS'
56975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56984 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56986 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56987 for ac_func in _log10f
56988 do :
56989 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56990 if test "x$ac_cv_func__log10f" = xyes; then :
56991 cat >>confdefs.h <<_ACEOF
56992 #define HAVE__LOG10F 1
56993 _ACEOF
56996 done
57005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57006 $as_echo_n "checking for modff declaration... " >&6; }
57007 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57008 if ${glibcxx_cv_func_modff_use+:} false; then :
57009 $as_echo_n "(cached) " >&6
57010 else
57013 ac_ext=cpp
57014 ac_cpp='$CXXCPP $CPPFLAGS'
57015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57020 /* end confdefs.h. */
57021 #include <math.h>
57023 main ()
57025 modff(0, 0);
57027 return 0;
57029 _ACEOF
57030 if ac_fn_cxx_try_compile "$LINENO"; then :
57031 glibcxx_cv_func_modff_use=yes
57032 else
57033 glibcxx_cv_func_modff_use=no
57035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57036 ac_ext=c
57037 ac_cpp='$CPP $CPPFLAGS'
57038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57047 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57049 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57050 for ac_func in modff
57051 do :
57052 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57053 if test "x$ac_cv_func_modff" = xyes; then :
57054 cat >>confdefs.h <<_ACEOF
57055 #define HAVE_MODFF 1
57056 _ACEOF
57059 done
57061 else
57063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57064 $as_echo_n "checking for _modff declaration... " >&6; }
57065 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57066 if ${glibcxx_cv_func__modff_use+:} false; then :
57067 $as_echo_n "(cached) " >&6
57068 else
57071 ac_ext=cpp
57072 ac_cpp='$CXXCPP $CPPFLAGS'
57073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57078 /* end confdefs.h. */
57079 #include <math.h>
57081 main ()
57083 _modff(0, 0);
57085 return 0;
57087 _ACEOF
57088 if ac_fn_cxx_try_compile "$LINENO"; then :
57089 glibcxx_cv_func__modff_use=yes
57090 else
57091 glibcxx_cv_func__modff_use=no
57093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57094 ac_ext=c
57095 ac_cpp='$CPP $CPPFLAGS'
57096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57105 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57107 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57108 for ac_func in _modff
57109 do :
57110 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57111 if test "x$ac_cv_func__modff" = xyes; then :
57112 cat >>confdefs.h <<_ACEOF
57113 #define HAVE__MODFF 1
57114 _ACEOF
57117 done
57126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57127 $as_echo_n "checking for modf declaration... " >&6; }
57128 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57129 if ${glibcxx_cv_func_modf_use+:} false; then :
57130 $as_echo_n "(cached) " >&6
57131 else
57134 ac_ext=cpp
57135 ac_cpp='$CXXCPP $CPPFLAGS'
57136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57141 /* end confdefs.h. */
57142 #include <math.h>
57144 main ()
57146 modf(0, 0);
57148 return 0;
57150 _ACEOF
57151 if ac_fn_cxx_try_compile "$LINENO"; then :
57152 glibcxx_cv_func_modf_use=yes
57153 else
57154 glibcxx_cv_func_modf_use=no
57156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57157 ac_ext=c
57158 ac_cpp='$CPP $CPPFLAGS'
57159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57168 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57170 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57171 for ac_func in modf
57172 do :
57173 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57174 if test "x$ac_cv_func_modf" = xyes; then :
57175 cat >>confdefs.h <<_ACEOF
57176 #define HAVE_MODF 1
57177 _ACEOF
57180 done
57182 else
57184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57185 $as_echo_n "checking for _modf declaration... " >&6; }
57186 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57187 if ${glibcxx_cv_func__modf_use+:} false; then :
57188 $as_echo_n "(cached) " >&6
57189 else
57192 ac_ext=cpp
57193 ac_cpp='$CXXCPP $CPPFLAGS'
57194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57199 /* end confdefs.h. */
57200 #include <math.h>
57202 main ()
57204 _modf(0, 0);
57206 return 0;
57208 _ACEOF
57209 if ac_fn_cxx_try_compile "$LINENO"; then :
57210 glibcxx_cv_func__modf_use=yes
57211 else
57212 glibcxx_cv_func__modf_use=no
57214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57215 ac_ext=c
57216 ac_cpp='$CPP $CPPFLAGS'
57217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57226 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57228 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57229 for ac_func in _modf
57230 do :
57231 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57232 if test "x$ac_cv_func__modf" = xyes; then :
57233 cat >>confdefs.h <<_ACEOF
57234 #define HAVE__MODF 1
57235 _ACEOF
57238 done
57247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57248 $as_echo_n "checking for powf declaration... " >&6; }
57249 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57250 if ${glibcxx_cv_func_powf_use+:} false; then :
57251 $as_echo_n "(cached) " >&6
57252 else
57255 ac_ext=cpp
57256 ac_cpp='$CXXCPP $CPPFLAGS'
57257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57262 /* end confdefs.h. */
57263 #include <math.h>
57265 main ()
57267 powf(0, 0);
57269 return 0;
57271 _ACEOF
57272 if ac_fn_cxx_try_compile "$LINENO"; then :
57273 glibcxx_cv_func_powf_use=yes
57274 else
57275 glibcxx_cv_func_powf_use=no
57277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57278 ac_ext=c
57279 ac_cpp='$CPP $CPPFLAGS'
57280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57289 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57291 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57292 for ac_func in powf
57293 do :
57294 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57295 if test "x$ac_cv_func_powf" = xyes; then :
57296 cat >>confdefs.h <<_ACEOF
57297 #define HAVE_POWF 1
57298 _ACEOF
57301 done
57303 else
57305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57306 $as_echo_n "checking for _powf declaration... " >&6; }
57307 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57308 if ${glibcxx_cv_func__powf_use+:} false; then :
57309 $as_echo_n "(cached) " >&6
57310 else
57313 ac_ext=cpp
57314 ac_cpp='$CXXCPP $CPPFLAGS'
57315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57320 /* end confdefs.h. */
57321 #include <math.h>
57323 main ()
57325 _powf(0, 0);
57327 return 0;
57329 _ACEOF
57330 if ac_fn_cxx_try_compile "$LINENO"; then :
57331 glibcxx_cv_func__powf_use=yes
57332 else
57333 glibcxx_cv_func__powf_use=no
57335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57336 ac_ext=c
57337 ac_cpp='$CPP $CPPFLAGS'
57338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57347 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57349 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57350 for ac_func in _powf
57351 do :
57352 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57353 if test "x$ac_cv_func__powf" = xyes; then :
57354 cat >>confdefs.h <<_ACEOF
57355 #define HAVE__POWF 1
57356 _ACEOF
57359 done
57368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57369 $as_echo_n "checking for sqrtf declaration... " >&6; }
57370 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57371 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57372 $as_echo_n "(cached) " >&6
57373 else
57376 ac_ext=cpp
57377 ac_cpp='$CXXCPP $CPPFLAGS'
57378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57383 /* end confdefs.h. */
57384 #include <math.h>
57385 #ifdef HAVE_IEEEFP_H
57386 #include <ieeefp.h>
57387 #endif
57390 main ()
57392 sqrtf(0);
57394 return 0;
57396 _ACEOF
57397 if ac_fn_cxx_try_compile "$LINENO"; then :
57398 glibcxx_cv_func_sqrtf_use=yes
57399 else
57400 glibcxx_cv_func_sqrtf_use=no
57402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57403 ac_ext=c
57404 ac_cpp='$CPP $CPPFLAGS'
57405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57414 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57416 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57417 for ac_func in sqrtf
57418 do :
57419 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57420 if test "x$ac_cv_func_sqrtf" = xyes; then :
57421 cat >>confdefs.h <<_ACEOF
57422 #define HAVE_SQRTF 1
57423 _ACEOF
57426 done
57428 else
57430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57431 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57432 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57433 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57434 $as_echo_n "(cached) " >&6
57435 else
57438 ac_ext=cpp
57439 ac_cpp='$CXXCPP $CPPFLAGS'
57440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57445 /* end confdefs.h. */
57446 #include <math.h>
57447 #ifdef HAVE_IEEEFP_H
57448 #include <ieeefp.h>
57449 #endif
57452 main ()
57454 _sqrtf(0);
57456 return 0;
57458 _ACEOF
57459 if ac_fn_cxx_try_compile "$LINENO"; then :
57460 glibcxx_cv_func__sqrtf_use=yes
57461 else
57462 glibcxx_cv_func__sqrtf_use=no
57464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57465 ac_ext=c
57466 ac_cpp='$CPP $CPPFLAGS'
57467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57476 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57478 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57479 for ac_func in _sqrtf
57480 do :
57481 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57482 if test "x$ac_cv_func__sqrtf" = xyes; then :
57483 cat >>confdefs.h <<_ACEOF
57484 #define HAVE__SQRTF 1
57485 _ACEOF
57488 done
57497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57498 $as_echo_n "checking for sincosf declaration... " >&6; }
57499 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57500 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57501 $as_echo_n "(cached) " >&6
57502 else
57505 ac_ext=cpp
57506 ac_cpp='$CXXCPP $CPPFLAGS'
57507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57512 /* end confdefs.h. */
57513 #include <math.h>
57515 main ()
57517 sincosf(0, 0, 0);
57519 return 0;
57521 _ACEOF
57522 if ac_fn_cxx_try_compile "$LINENO"; then :
57523 glibcxx_cv_func_sincosf_use=yes
57524 else
57525 glibcxx_cv_func_sincosf_use=no
57527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57528 ac_ext=c
57529 ac_cpp='$CPP $CPPFLAGS'
57530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57539 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57541 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57542 for ac_func in sincosf
57543 do :
57544 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57545 if test "x$ac_cv_func_sincosf" = xyes; then :
57546 cat >>confdefs.h <<_ACEOF
57547 #define HAVE_SINCOSF 1
57548 _ACEOF
57551 done
57553 else
57555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57556 $as_echo_n "checking for _sincosf declaration... " >&6; }
57557 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57558 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57559 $as_echo_n "(cached) " >&6
57560 else
57563 ac_ext=cpp
57564 ac_cpp='$CXXCPP $CPPFLAGS'
57565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57570 /* end confdefs.h. */
57571 #include <math.h>
57573 main ()
57575 _sincosf(0, 0, 0);
57577 return 0;
57579 _ACEOF
57580 if ac_fn_cxx_try_compile "$LINENO"; then :
57581 glibcxx_cv_func__sincosf_use=yes
57582 else
57583 glibcxx_cv_func__sincosf_use=no
57585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57586 ac_ext=c
57587 ac_cpp='$CPP $CPPFLAGS'
57588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57597 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57599 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57600 for ac_func in _sincosf
57601 do :
57602 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57603 if test "x$ac_cv_func__sincosf" = xyes; then :
57604 cat >>confdefs.h <<_ACEOF
57605 #define HAVE__SINCOSF 1
57606 _ACEOF
57609 done
57618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57619 $as_echo_n "checking for finitef declaration... " >&6; }
57620 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57621 if ${glibcxx_cv_func_finitef_use+:} false; then :
57622 $as_echo_n "(cached) " >&6
57623 else
57626 ac_ext=cpp
57627 ac_cpp='$CXXCPP $CPPFLAGS'
57628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57633 /* end confdefs.h. */
57634 #include <math.h>
57635 #ifdef HAVE_IEEEFP_H
57636 #include <ieeefp.h>
57637 #endif
57640 main ()
57642 finitef(0);
57644 return 0;
57646 _ACEOF
57647 if ac_fn_cxx_try_compile "$LINENO"; then :
57648 glibcxx_cv_func_finitef_use=yes
57649 else
57650 glibcxx_cv_func_finitef_use=no
57652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57653 ac_ext=c
57654 ac_cpp='$CPP $CPPFLAGS'
57655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57664 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57666 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57667 for ac_func in finitef
57668 do :
57669 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57670 if test "x$ac_cv_func_finitef" = xyes; then :
57671 cat >>confdefs.h <<_ACEOF
57672 #define HAVE_FINITEF 1
57673 _ACEOF
57676 done
57678 else
57680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57681 $as_echo_n "checking for _finitef declaration... " >&6; }
57682 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57683 if ${glibcxx_cv_func__finitef_use+:} false; then :
57684 $as_echo_n "(cached) " >&6
57685 else
57688 ac_ext=cpp
57689 ac_cpp='$CXXCPP $CPPFLAGS'
57690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57695 /* end confdefs.h. */
57696 #include <math.h>
57697 #ifdef HAVE_IEEEFP_H
57698 #include <ieeefp.h>
57699 #endif
57702 main ()
57704 _finitef(0);
57706 return 0;
57708 _ACEOF
57709 if ac_fn_cxx_try_compile "$LINENO"; then :
57710 glibcxx_cv_func__finitef_use=yes
57711 else
57712 glibcxx_cv_func__finitef_use=no
57714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57715 ac_ext=c
57716 ac_cpp='$CPP $CPPFLAGS'
57717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57726 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57728 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57729 for ac_func in _finitef
57730 do :
57731 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57732 if test "x$ac_cv_func__finitef" = xyes; then :
57733 cat >>confdefs.h <<_ACEOF
57734 #define HAVE__FINITEF 1
57735 _ACEOF
57738 done
57747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57748 $as_echo_n "checking for long double trig functions... " >&6; }
57749 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57750 $as_echo_n "(cached) " >&6
57751 else
57754 ac_ext=cpp
57755 ac_cpp='$CXXCPP $CPPFLAGS'
57756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57761 /* end confdefs.h. */
57762 #include <math.h>
57764 main ()
57766 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57768 return 0;
57770 _ACEOF
57771 if ac_fn_cxx_try_compile "$LINENO"; then :
57772 glibcxx_cv_func_long_double_trig_use=yes
57773 else
57774 glibcxx_cv_func_long_double_trig_use=no
57776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57777 ac_ext=c
57778 ac_cpp='$CPP $CPPFLAGS'
57779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57786 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57787 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57788 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57789 do :
57790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57793 cat >>confdefs.h <<_ACEOF
57794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57795 _ACEOF
57798 done
57800 else
57801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57802 $as_echo_n "checking for _long double trig functions... " >&6; }
57803 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57804 $as_echo_n "(cached) " >&6
57805 else
57808 ac_ext=cpp
57809 ac_cpp='$CXXCPP $CPPFLAGS'
57810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57815 /* end confdefs.h. */
57816 #include <math.h>
57818 main ()
57820 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57822 return 0;
57824 _ACEOF
57825 if ac_fn_cxx_try_compile "$LINENO"; then :
57826 glibcxx_cv_func__long_double_trig_use=yes
57827 else
57828 glibcxx_cv_func__long_double_trig_use=no
57830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57831 ac_ext=c
57832 ac_cpp='$CPP $CPPFLAGS'
57833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57840 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57841 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57842 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57843 do :
57844 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57846 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57847 cat >>confdefs.h <<_ACEOF
57848 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57849 _ACEOF
57852 done
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57862 $as_echo_n "checking for long double round functions... " >&6; }
57863 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57864 $as_echo_n "(cached) " >&6
57865 else
57868 ac_ext=cpp
57869 ac_cpp='$CXXCPP $CPPFLAGS'
57870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57875 /* end confdefs.h. */
57876 #include <math.h>
57878 main ()
57880 ceill (0); floorl (0);
57882 return 0;
57884 _ACEOF
57885 if ac_fn_cxx_try_compile "$LINENO"; then :
57886 glibcxx_cv_func_long_double_round_use=yes
57887 else
57888 glibcxx_cv_func_long_double_round_use=no
57890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57891 ac_ext=c
57892 ac_cpp='$CPP $CPPFLAGS'
57893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57900 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57901 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57902 for ac_func in ceill floorl
57903 do :
57904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57906 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57907 cat >>confdefs.h <<_ACEOF
57908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57909 _ACEOF
57912 done
57914 else
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57916 $as_echo_n "checking for _long double round functions... " >&6; }
57917 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57918 $as_echo_n "(cached) " >&6
57919 else
57922 ac_ext=cpp
57923 ac_cpp='$CXXCPP $CPPFLAGS'
57924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57929 /* end confdefs.h. */
57930 #include <math.h>
57932 main ()
57934 _ceill (0); _floorl (0);
57936 return 0;
57938 _ACEOF
57939 if ac_fn_cxx_try_compile "$LINENO"; then :
57940 glibcxx_cv_func__long_double_round_use=yes
57941 else
57942 glibcxx_cv_func__long_double_round_use=no
57944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57945 ac_ext=c
57946 ac_cpp='$CPP $CPPFLAGS'
57947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57954 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57955 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57956 for ac_func in _ceill _floorl
57957 do :
57958 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57959 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57960 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57961 cat >>confdefs.h <<_ACEOF
57962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57963 _ACEOF
57966 done
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57977 $as_echo_n "checking for isnanl declaration... " >&6; }
57978 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57979 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57980 $as_echo_n "(cached) " >&6
57981 else
57984 ac_ext=cpp
57985 ac_cpp='$CXXCPP $CPPFLAGS'
57986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57991 /* end confdefs.h. */
57992 #include <math.h>
57993 #ifdef HAVE_IEEEFP_H
57994 #include <ieeefp.h>
57995 #endif
57998 main ()
58000 isnanl(0);
58002 return 0;
58004 _ACEOF
58005 if ac_fn_cxx_try_compile "$LINENO"; then :
58006 glibcxx_cv_func_isnanl_use=yes
58007 else
58008 glibcxx_cv_func_isnanl_use=no
58010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58011 ac_ext=c
58012 ac_cpp='$CPP $CPPFLAGS'
58013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58022 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58024 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58025 for ac_func in isnanl
58026 do :
58027 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58028 if test "x$ac_cv_func_isnanl" = xyes; then :
58029 cat >>confdefs.h <<_ACEOF
58030 #define HAVE_ISNANL 1
58031 _ACEOF
58034 done
58036 else
58038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58039 $as_echo_n "checking for _isnanl declaration... " >&6; }
58040 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58041 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58042 $as_echo_n "(cached) " >&6
58043 else
58046 ac_ext=cpp
58047 ac_cpp='$CXXCPP $CPPFLAGS'
58048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58053 /* end confdefs.h. */
58054 #include <math.h>
58055 #ifdef HAVE_IEEEFP_H
58056 #include <ieeefp.h>
58057 #endif
58060 main ()
58062 _isnanl(0);
58064 return 0;
58066 _ACEOF
58067 if ac_fn_cxx_try_compile "$LINENO"; then :
58068 glibcxx_cv_func__isnanl_use=yes
58069 else
58070 glibcxx_cv_func__isnanl_use=no
58072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58073 ac_ext=c
58074 ac_cpp='$CPP $CPPFLAGS'
58075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58084 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58086 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58087 for ac_func in _isnanl
58088 do :
58089 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58090 if test "x$ac_cv_func__isnanl" = xyes; then :
58091 cat >>confdefs.h <<_ACEOF
58092 #define HAVE__ISNANL 1
58093 _ACEOF
58096 done
58105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58106 $as_echo_n "checking for isinfl declaration... " >&6; }
58107 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58108 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58109 $as_echo_n "(cached) " >&6
58110 else
58113 ac_ext=cpp
58114 ac_cpp='$CXXCPP $CPPFLAGS'
58115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58120 /* end confdefs.h. */
58121 #include <math.h>
58122 #ifdef HAVE_IEEEFP_H
58123 #include <ieeefp.h>
58124 #endif
58127 main ()
58129 isinfl(0);
58131 return 0;
58133 _ACEOF
58134 if ac_fn_cxx_try_compile "$LINENO"; then :
58135 glibcxx_cv_func_isinfl_use=yes
58136 else
58137 glibcxx_cv_func_isinfl_use=no
58139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58140 ac_ext=c
58141 ac_cpp='$CPP $CPPFLAGS'
58142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58151 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58153 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58154 for ac_func in isinfl
58155 do :
58156 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58157 if test "x$ac_cv_func_isinfl" = xyes; then :
58158 cat >>confdefs.h <<_ACEOF
58159 #define HAVE_ISINFL 1
58160 _ACEOF
58163 done
58165 else
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58168 $as_echo_n "checking for _isinfl declaration... " >&6; }
58169 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58170 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58171 $as_echo_n "(cached) " >&6
58172 else
58175 ac_ext=cpp
58176 ac_cpp='$CXXCPP $CPPFLAGS'
58177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58182 /* end confdefs.h. */
58183 #include <math.h>
58184 #ifdef HAVE_IEEEFP_H
58185 #include <ieeefp.h>
58186 #endif
58189 main ()
58191 _isinfl(0);
58193 return 0;
58195 _ACEOF
58196 if ac_fn_cxx_try_compile "$LINENO"; then :
58197 glibcxx_cv_func__isinfl_use=yes
58198 else
58199 glibcxx_cv_func__isinfl_use=no
58201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58202 ac_ext=c
58203 ac_cpp='$CPP $CPPFLAGS'
58204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58213 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58215 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58216 for ac_func in _isinfl
58217 do :
58218 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58219 if test "x$ac_cv_func__isinfl" = xyes; then :
58220 cat >>confdefs.h <<_ACEOF
58221 #define HAVE__ISINFL 1
58222 _ACEOF
58225 done
58234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58235 $as_echo_n "checking for atan2l declaration... " >&6; }
58236 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58237 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58238 $as_echo_n "(cached) " >&6
58239 else
58242 ac_ext=cpp
58243 ac_cpp='$CXXCPP $CPPFLAGS'
58244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58249 /* end confdefs.h. */
58250 #include <math.h>
58252 main ()
58254 atan2l(0, 0);
58256 return 0;
58258 _ACEOF
58259 if ac_fn_cxx_try_compile "$LINENO"; then :
58260 glibcxx_cv_func_atan2l_use=yes
58261 else
58262 glibcxx_cv_func_atan2l_use=no
58264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58265 ac_ext=c
58266 ac_cpp='$CPP $CPPFLAGS'
58267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58276 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58278 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58279 for ac_func in atan2l
58280 do :
58281 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58282 if test "x$ac_cv_func_atan2l" = xyes; then :
58283 cat >>confdefs.h <<_ACEOF
58284 #define HAVE_ATAN2L 1
58285 _ACEOF
58288 done
58290 else
58292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58293 $as_echo_n "checking for _atan2l declaration... " >&6; }
58294 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58295 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58296 $as_echo_n "(cached) " >&6
58297 else
58300 ac_ext=cpp
58301 ac_cpp='$CXXCPP $CPPFLAGS'
58302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58307 /* end confdefs.h. */
58308 #include <math.h>
58310 main ()
58312 _atan2l(0, 0);
58314 return 0;
58316 _ACEOF
58317 if ac_fn_cxx_try_compile "$LINENO"; then :
58318 glibcxx_cv_func__atan2l_use=yes
58319 else
58320 glibcxx_cv_func__atan2l_use=no
58322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58323 ac_ext=c
58324 ac_cpp='$CPP $CPPFLAGS'
58325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58334 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58336 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58337 for ac_func in _atan2l
58338 do :
58339 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58340 if test "x$ac_cv_func__atan2l" = xyes; then :
58341 cat >>confdefs.h <<_ACEOF
58342 #define HAVE__ATAN2L 1
58343 _ACEOF
58346 done
58355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58356 $as_echo_n "checking for expl declaration... " >&6; }
58357 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58358 if ${glibcxx_cv_func_expl_use+:} false; then :
58359 $as_echo_n "(cached) " >&6
58360 else
58363 ac_ext=cpp
58364 ac_cpp='$CXXCPP $CPPFLAGS'
58365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58370 /* end confdefs.h. */
58371 #include <math.h>
58372 #ifdef HAVE_IEEEFP_H
58373 #include <ieeefp.h>
58374 #endif
58377 main ()
58379 expl(0);
58381 return 0;
58383 _ACEOF
58384 if ac_fn_cxx_try_compile "$LINENO"; then :
58385 glibcxx_cv_func_expl_use=yes
58386 else
58387 glibcxx_cv_func_expl_use=no
58389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58390 ac_ext=c
58391 ac_cpp='$CPP $CPPFLAGS'
58392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58401 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58403 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58404 for ac_func in expl
58405 do :
58406 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58407 if test "x$ac_cv_func_expl" = xyes; then :
58408 cat >>confdefs.h <<_ACEOF
58409 #define HAVE_EXPL 1
58410 _ACEOF
58413 done
58415 else
58417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58418 $as_echo_n "checking for _expl declaration... " >&6; }
58419 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58420 if ${glibcxx_cv_func__expl_use+:} false; then :
58421 $as_echo_n "(cached) " >&6
58422 else
58425 ac_ext=cpp
58426 ac_cpp='$CXXCPP $CPPFLAGS'
58427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58432 /* end confdefs.h. */
58433 #include <math.h>
58434 #ifdef HAVE_IEEEFP_H
58435 #include <ieeefp.h>
58436 #endif
58439 main ()
58441 _expl(0);
58443 return 0;
58445 _ACEOF
58446 if ac_fn_cxx_try_compile "$LINENO"; then :
58447 glibcxx_cv_func__expl_use=yes
58448 else
58449 glibcxx_cv_func__expl_use=no
58451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58452 ac_ext=c
58453 ac_cpp='$CPP $CPPFLAGS'
58454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58463 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58465 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58466 for ac_func in _expl
58467 do :
58468 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58469 if test "x$ac_cv_func__expl" = xyes; then :
58470 cat >>confdefs.h <<_ACEOF
58471 #define HAVE__EXPL 1
58472 _ACEOF
58475 done
58484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58485 $as_echo_n "checking for fabsl declaration... " >&6; }
58486 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58487 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58488 $as_echo_n "(cached) " >&6
58489 else
58492 ac_ext=cpp
58493 ac_cpp='$CXXCPP $CPPFLAGS'
58494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h. */
58500 #include <math.h>
58501 #ifdef HAVE_IEEEFP_H
58502 #include <ieeefp.h>
58503 #endif
58506 main ()
58508 fabsl(0);
58510 return 0;
58512 _ACEOF
58513 if ac_fn_cxx_try_compile "$LINENO"; then :
58514 glibcxx_cv_func_fabsl_use=yes
58515 else
58516 glibcxx_cv_func_fabsl_use=no
58518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58519 ac_ext=c
58520 ac_cpp='$CPP $CPPFLAGS'
58521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58530 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58532 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58533 for ac_func in fabsl
58534 do :
58535 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58536 if test "x$ac_cv_func_fabsl" = xyes; then :
58537 cat >>confdefs.h <<_ACEOF
58538 #define HAVE_FABSL 1
58539 _ACEOF
58542 done
58544 else
58546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58547 $as_echo_n "checking for _fabsl declaration... " >&6; }
58548 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58549 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58550 $as_echo_n "(cached) " >&6
58551 else
58554 ac_ext=cpp
58555 ac_cpp='$CXXCPP $CPPFLAGS'
58556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58561 /* end confdefs.h. */
58562 #include <math.h>
58563 #ifdef HAVE_IEEEFP_H
58564 #include <ieeefp.h>
58565 #endif
58568 main ()
58570 _fabsl(0);
58572 return 0;
58574 _ACEOF
58575 if ac_fn_cxx_try_compile "$LINENO"; then :
58576 glibcxx_cv_func__fabsl_use=yes
58577 else
58578 glibcxx_cv_func__fabsl_use=no
58580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58581 ac_ext=c
58582 ac_cpp='$CPP $CPPFLAGS'
58583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58592 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58594 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58595 for ac_func in _fabsl
58596 do :
58597 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58598 if test "x$ac_cv_func__fabsl" = xyes; then :
58599 cat >>confdefs.h <<_ACEOF
58600 #define HAVE__FABSL 1
58601 _ACEOF
58604 done
58613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58614 $as_echo_n "checking for fmodl declaration... " >&6; }
58615 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58616 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58617 $as_echo_n "(cached) " >&6
58618 else
58621 ac_ext=cpp
58622 ac_cpp='$CXXCPP $CPPFLAGS'
58623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58628 /* end confdefs.h. */
58629 #include <math.h>
58631 main ()
58633 fmodl(0, 0);
58635 return 0;
58637 _ACEOF
58638 if ac_fn_cxx_try_compile "$LINENO"; then :
58639 glibcxx_cv_func_fmodl_use=yes
58640 else
58641 glibcxx_cv_func_fmodl_use=no
58643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58644 ac_ext=c
58645 ac_cpp='$CPP $CPPFLAGS'
58646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58655 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58657 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58658 for ac_func in fmodl
58659 do :
58660 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58661 if test "x$ac_cv_func_fmodl" = xyes; then :
58662 cat >>confdefs.h <<_ACEOF
58663 #define HAVE_FMODL 1
58664 _ACEOF
58667 done
58669 else
58671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58672 $as_echo_n "checking for _fmodl declaration... " >&6; }
58673 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58674 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58675 $as_echo_n "(cached) " >&6
58676 else
58679 ac_ext=cpp
58680 ac_cpp='$CXXCPP $CPPFLAGS'
58681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58686 /* end confdefs.h. */
58687 #include <math.h>
58689 main ()
58691 _fmodl(0, 0);
58693 return 0;
58695 _ACEOF
58696 if ac_fn_cxx_try_compile "$LINENO"; then :
58697 glibcxx_cv_func__fmodl_use=yes
58698 else
58699 glibcxx_cv_func__fmodl_use=no
58701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58702 ac_ext=c
58703 ac_cpp='$CPP $CPPFLAGS'
58704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58713 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58715 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58716 for ac_func in _fmodl
58717 do :
58718 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58719 if test "x$ac_cv_func__fmodl" = xyes; then :
58720 cat >>confdefs.h <<_ACEOF
58721 #define HAVE__FMODL 1
58722 _ACEOF
58725 done
58734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58735 $as_echo_n "checking for frexpl declaration... " >&6; }
58736 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58737 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58738 $as_echo_n "(cached) " >&6
58739 else
58742 ac_ext=cpp
58743 ac_cpp='$CXXCPP $CPPFLAGS'
58744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58749 /* end confdefs.h. */
58750 #include <math.h>
58752 main ()
58754 frexpl(0, 0);
58756 return 0;
58758 _ACEOF
58759 if ac_fn_cxx_try_compile "$LINENO"; then :
58760 glibcxx_cv_func_frexpl_use=yes
58761 else
58762 glibcxx_cv_func_frexpl_use=no
58764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58765 ac_ext=c
58766 ac_cpp='$CPP $CPPFLAGS'
58767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58776 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58778 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58779 for ac_func in frexpl
58780 do :
58781 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58782 if test "x$ac_cv_func_frexpl" = xyes; then :
58783 cat >>confdefs.h <<_ACEOF
58784 #define HAVE_FREXPL 1
58785 _ACEOF
58788 done
58790 else
58792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58793 $as_echo_n "checking for _frexpl declaration... " >&6; }
58794 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58795 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58796 $as_echo_n "(cached) " >&6
58797 else
58800 ac_ext=cpp
58801 ac_cpp='$CXXCPP $CPPFLAGS'
58802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58807 /* end confdefs.h. */
58808 #include <math.h>
58810 main ()
58812 _frexpl(0, 0);
58814 return 0;
58816 _ACEOF
58817 if ac_fn_cxx_try_compile "$LINENO"; then :
58818 glibcxx_cv_func__frexpl_use=yes
58819 else
58820 glibcxx_cv_func__frexpl_use=no
58822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58823 ac_ext=c
58824 ac_cpp='$CPP $CPPFLAGS'
58825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58834 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58836 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58837 for ac_func in _frexpl
58838 do :
58839 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58840 if test "x$ac_cv_func__frexpl" = xyes; then :
58841 cat >>confdefs.h <<_ACEOF
58842 #define HAVE__FREXPL 1
58843 _ACEOF
58846 done
58855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58856 $as_echo_n "checking for hypotl declaration... " >&6; }
58857 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58858 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58859 $as_echo_n "(cached) " >&6
58860 else
58863 ac_ext=cpp
58864 ac_cpp='$CXXCPP $CPPFLAGS'
58865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58870 /* end confdefs.h. */
58871 #include <math.h>
58873 main ()
58875 hypotl(0, 0);
58877 return 0;
58879 _ACEOF
58880 if ac_fn_cxx_try_compile "$LINENO"; then :
58881 glibcxx_cv_func_hypotl_use=yes
58882 else
58883 glibcxx_cv_func_hypotl_use=no
58885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58886 ac_ext=c
58887 ac_cpp='$CPP $CPPFLAGS'
58888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58897 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58899 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58900 for ac_func in hypotl
58901 do :
58902 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58903 if test "x$ac_cv_func_hypotl" = xyes; then :
58904 cat >>confdefs.h <<_ACEOF
58905 #define HAVE_HYPOTL 1
58906 _ACEOF
58909 done
58911 else
58913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58914 $as_echo_n "checking for _hypotl declaration... " >&6; }
58915 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58916 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58917 $as_echo_n "(cached) " >&6
58918 else
58921 ac_ext=cpp
58922 ac_cpp='$CXXCPP $CPPFLAGS'
58923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58928 /* end confdefs.h. */
58929 #include <math.h>
58931 main ()
58933 _hypotl(0, 0);
58935 return 0;
58937 _ACEOF
58938 if ac_fn_cxx_try_compile "$LINENO"; then :
58939 glibcxx_cv_func__hypotl_use=yes
58940 else
58941 glibcxx_cv_func__hypotl_use=no
58943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58944 ac_ext=c
58945 ac_cpp='$CPP $CPPFLAGS'
58946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58955 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58957 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58958 for ac_func in _hypotl
58959 do :
58960 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58961 if test "x$ac_cv_func__hypotl" = xyes; then :
58962 cat >>confdefs.h <<_ACEOF
58963 #define HAVE__HYPOTL 1
58964 _ACEOF
58967 done
58976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58977 $as_echo_n "checking for ldexpl declaration... " >&6; }
58978 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58979 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58980 $as_echo_n "(cached) " >&6
58981 else
58984 ac_ext=cpp
58985 ac_cpp='$CXXCPP $CPPFLAGS'
58986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58991 /* end confdefs.h. */
58992 #include <math.h>
58994 main ()
58996 ldexpl(0, 0);
58998 return 0;
59000 _ACEOF
59001 if ac_fn_cxx_try_compile "$LINENO"; then :
59002 glibcxx_cv_func_ldexpl_use=yes
59003 else
59004 glibcxx_cv_func_ldexpl_use=no
59006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59007 ac_ext=c
59008 ac_cpp='$CPP $CPPFLAGS'
59009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59018 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59020 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59021 for ac_func in ldexpl
59022 do :
59023 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59024 if test "x$ac_cv_func_ldexpl" = xyes; then :
59025 cat >>confdefs.h <<_ACEOF
59026 #define HAVE_LDEXPL 1
59027 _ACEOF
59030 done
59032 else
59034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59035 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59036 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59037 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59038 $as_echo_n "(cached) " >&6
59039 else
59042 ac_ext=cpp
59043 ac_cpp='$CXXCPP $CPPFLAGS'
59044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59049 /* end confdefs.h. */
59050 #include <math.h>
59052 main ()
59054 _ldexpl(0, 0);
59056 return 0;
59058 _ACEOF
59059 if ac_fn_cxx_try_compile "$LINENO"; then :
59060 glibcxx_cv_func__ldexpl_use=yes
59061 else
59062 glibcxx_cv_func__ldexpl_use=no
59064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59065 ac_ext=c
59066 ac_cpp='$CPP $CPPFLAGS'
59067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59076 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59078 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59079 for ac_func in _ldexpl
59080 do :
59081 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59082 if test "x$ac_cv_func__ldexpl" = xyes; then :
59083 cat >>confdefs.h <<_ACEOF
59084 #define HAVE__LDEXPL 1
59085 _ACEOF
59088 done
59097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59098 $as_echo_n "checking for logl declaration... " >&6; }
59099 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59100 if ${glibcxx_cv_func_logl_use+:} false; then :
59101 $as_echo_n "(cached) " >&6
59102 else
59105 ac_ext=cpp
59106 ac_cpp='$CXXCPP $CPPFLAGS'
59107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59112 /* end confdefs.h. */
59113 #include <math.h>
59114 #ifdef HAVE_IEEEFP_H
59115 #include <ieeefp.h>
59116 #endif
59119 main ()
59121 logl(0);
59123 return 0;
59125 _ACEOF
59126 if ac_fn_cxx_try_compile "$LINENO"; then :
59127 glibcxx_cv_func_logl_use=yes
59128 else
59129 glibcxx_cv_func_logl_use=no
59131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59132 ac_ext=c
59133 ac_cpp='$CPP $CPPFLAGS'
59134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59143 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59145 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59146 for ac_func in logl
59147 do :
59148 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59149 if test "x$ac_cv_func_logl" = xyes; then :
59150 cat >>confdefs.h <<_ACEOF
59151 #define HAVE_LOGL 1
59152 _ACEOF
59155 done
59157 else
59159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59160 $as_echo_n "checking for _logl declaration... " >&6; }
59161 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59162 if ${glibcxx_cv_func__logl_use+:} false; then :
59163 $as_echo_n "(cached) " >&6
59164 else
59167 ac_ext=cpp
59168 ac_cpp='$CXXCPP $CPPFLAGS'
59169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59174 /* end confdefs.h. */
59175 #include <math.h>
59176 #ifdef HAVE_IEEEFP_H
59177 #include <ieeefp.h>
59178 #endif
59181 main ()
59183 _logl(0);
59185 return 0;
59187 _ACEOF
59188 if ac_fn_cxx_try_compile "$LINENO"; then :
59189 glibcxx_cv_func__logl_use=yes
59190 else
59191 glibcxx_cv_func__logl_use=no
59193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59194 ac_ext=c
59195 ac_cpp='$CPP $CPPFLAGS'
59196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59205 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59207 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59208 for ac_func in _logl
59209 do :
59210 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59211 if test "x$ac_cv_func__logl" = xyes; then :
59212 cat >>confdefs.h <<_ACEOF
59213 #define HAVE__LOGL 1
59214 _ACEOF
59217 done
59226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59227 $as_echo_n "checking for log10l declaration... " >&6; }
59228 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59229 if ${glibcxx_cv_func_log10l_use+:} false; then :
59230 $as_echo_n "(cached) " >&6
59231 else
59234 ac_ext=cpp
59235 ac_cpp='$CXXCPP $CPPFLAGS'
59236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59241 /* end confdefs.h. */
59242 #include <math.h>
59243 #ifdef HAVE_IEEEFP_H
59244 #include <ieeefp.h>
59245 #endif
59248 main ()
59250 log10l(0);
59252 return 0;
59254 _ACEOF
59255 if ac_fn_cxx_try_compile "$LINENO"; then :
59256 glibcxx_cv_func_log10l_use=yes
59257 else
59258 glibcxx_cv_func_log10l_use=no
59260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59261 ac_ext=c
59262 ac_cpp='$CPP $CPPFLAGS'
59263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59272 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59274 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59275 for ac_func in log10l
59276 do :
59277 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59278 if test "x$ac_cv_func_log10l" = xyes; then :
59279 cat >>confdefs.h <<_ACEOF
59280 #define HAVE_LOG10L 1
59281 _ACEOF
59284 done
59286 else
59288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59289 $as_echo_n "checking for _log10l declaration... " >&6; }
59290 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59291 if ${glibcxx_cv_func__log10l_use+:} false; then :
59292 $as_echo_n "(cached) " >&6
59293 else
59296 ac_ext=cpp
59297 ac_cpp='$CXXCPP $CPPFLAGS'
59298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59303 /* end confdefs.h. */
59304 #include <math.h>
59305 #ifdef HAVE_IEEEFP_H
59306 #include <ieeefp.h>
59307 #endif
59310 main ()
59312 _log10l(0);
59314 return 0;
59316 _ACEOF
59317 if ac_fn_cxx_try_compile "$LINENO"; then :
59318 glibcxx_cv_func__log10l_use=yes
59319 else
59320 glibcxx_cv_func__log10l_use=no
59322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59323 ac_ext=c
59324 ac_cpp='$CPP $CPPFLAGS'
59325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59334 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59336 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59337 for ac_func in _log10l
59338 do :
59339 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59340 if test "x$ac_cv_func__log10l" = xyes; then :
59341 cat >>confdefs.h <<_ACEOF
59342 #define HAVE__LOG10L 1
59343 _ACEOF
59346 done
59355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59356 $as_echo_n "checking for modfl declaration... " >&6; }
59357 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59358 if ${glibcxx_cv_func_modfl_use+:} false; then :
59359 $as_echo_n "(cached) " >&6
59360 else
59363 ac_ext=cpp
59364 ac_cpp='$CXXCPP $CPPFLAGS'
59365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59370 /* end confdefs.h. */
59371 #include <math.h>
59373 main ()
59375 modfl(0, 0);
59377 return 0;
59379 _ACEOF
59380 if ac_fn_cxx_try_compile "$LINENO"; then :
59381 glibcxx_cv_func_modfl_use=yes
59382 else
59383 glibcxx_cv_func_modfl_use=no
59385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386 ac_ext=c
59387 ac_cpp='$CPP $CPPFLAGS'
59388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59397 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59399 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59400 for ac_func in modfl
59401 do :
59402 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59403 if test "x$ac_cv_func_modfl" = xyes; then :
59404 cat >>confdefs.h <<_ACEOF
59405 #define HAVE_MODFL 1
59406 _ACEOF
59409 done
59411 else
59413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59414 $as_echo_n "checking for _modfl declaration... " >&6; }
59415 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59416 if ${glibcxx_cv_func__modfl_use+:} false; then :
59417 $as_echo_n "(cached) " >&6
59418 else
59421 ac_ext=cpp
59422 ac_cpp='$CXXCPP $CPPFLAGS'
59423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59428 /* end confdefs.h. */
59429 #include <math.h>
59431 main ()
59433 _modfl(0, 0);
59435 return 0;
59437 _ACEOF
59438 if ac_fn_cxx_try_compile "$LINENO"; then :
59439 glibcxx_cv_func__modfl_use=yes
59440 else
59441 glibcxx_cv_func__modfl_use=no
59443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59444 ac_ext=c
59445 ac_cpp='$CPP $CPPFLAGS'
59446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59455 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59457 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59458 for ac_func in _modfl
59459 do :
59460 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59461 if test "x$ac_cv_func__modfl" = xyes; then :
59462 cat >>confdefs.h <<_ACEOF
59463 #define HAVE__MODFL 1
59464 _ACEOF
59467 done
59476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59477 $as_echo_n "checking for powl declaration... " >&6; }
59478 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59479 if ${glibcxx_cv_func_powl_use+:} false; then :
59480 $as_echo_n "(cached) " >&6
59481 else
59484 ac_ext=cpp
59485 ac_cpp='$CXXCPP $CPPFLAGS'
59486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491 /* end confdefs.h. */
59492 #include <math.h>
59494 main ()
59496 powl(0, 0);
59498 return 0;
59500 _ACEOF
59501 if ac_fn_cxx_try_compile "$LINENO"; then :
59502 glibcxx_cv_func_powl_use=yes
59503 else
59504 glibcxx_cv_func_powl_use=no
59506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59507 ac_ext=c
59508 ac_cpp='$CPP $CPPFLAGS'
59509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59518 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59520 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59521 for ac_func in powl
59522 do :
59523 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59524 if test "x$ac_cv_func_powl" = xyes; then :
59525 cat >>confdefs.h <<_ACEOF
59526 #define HAVE_POWL 1
59527 _ACEOF
59530 done
59532 else
59534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59535 $as_echo_n "checking for _powl declaration... " >&6; }
59536 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59537 if ${glibcxx_cv_func__powl_use+:} false; then :
59538 $as_echo_n "(cached) " >&6
59539 else
59542 ac_ext=cpp
59543 ac_cpp='$CXXCPP $CPPFLAGS'
59544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59549 /* end confdefs.h. */
59550 #include <math.h>
59552 main ()
59554 _powl(0, 0);
59556 return 0;
59558 _ACEOF
59559 if ac_fn_cxx_try_compile "$LINENO"; then :
59560 glibcxx_cv_func__powl_use=yes
59561 else
59562 glibcxx_cv_func__powl_use=no
59564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59565 ac_ext=c
59566 ac_cpp='$CPP $CPPFLAGS'
59567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59576 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59578 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59579 for ac_func in _powl
59580 do :
59581 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59582 if test "x$ac_cv_func__powl" = xyes; then :
59583 cat >>confdefs.h <<_ACEOF
59584 #define HAVE__POWL 1
59585 _ACEOF
59588 done
59597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59598 $as_echo_n "checking for sqrtl declaration... " >&6; }
59599 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59600 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59601 $as_echo_n "(cached) " >&6
59602 else
59605 ac_ext=cpp
59606 ac_cpp='$CXXCPP $CPPFLAGS'
59607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59612 /* end confdefs.h. */
59613 #include <math.h>
59614 #ifdef HAVE_IEEEFP_H
59615 #include <ieeefp.h>
59616 #endif
59619 main ()
59621 sqrtl(0);
59623 return 0;
59625 _ACEOF
59626 if ac_fn_cxx_try_compile "$LINENO"; then :
59627 glibcxx_cv_func_sqrtl_use=yes
59628 else
59629 glibcxx_cv_func_sqrtl_use=no
59631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59632 ac_ext=c
59633 ac_cpp='$CPP $CPPFLAGS'
59634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59643 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59645 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59646 for ac_func in sqrtl
59647 do :
59648 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59649 if test "x$ac_cv_func_sqrtl" = xyes; then :
59650 cat >>confdefs.h <<_ACEOF
59651 #define HAVE_SQRTL 1
59652 _ACEOF
59655 done
59657 else
59659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59660 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59661 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59662 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59663 $as_echo_n "(cached) " >&6
59664 else
59667 ac_ext=cpp
59668 ac_cpp='$CXXCPP $CPPFLAGS'
59669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59674 /* end confdefs.h. */
59675 #include <math.h>
59676 #ifdef HAVE_IEEEFP_H
59677 #include <ieeefp.h>
59678 #endif
59681 main ()
59683 _sqrtl(0);
59685 return 0;
59687 _ACEOF
59688 if ac_fn_cxx_try_compile "$LINENO"; then :
59689 glibcxx_cv_func__sqrtl_use=yes
59690 else
59691 glibcxx_cv_func__sqrtl_use=no
59693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59694 ac_ext=c
59695 ac_cpp='$CPP $CPPFLAGS'
59696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59705 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59707 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59708 for ac_func in _sqrtl
59709 do :
59710 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59711 if test "x$ac_cv_func__sqrtl" = xyes; then :
59712 cat >>confdefs.h <<_ACEOF
59713 #define HAVE__SQRTL 1
59714 _ACEOF
59717 done
59726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59727 $as_echo_n "checking for sincosl declaration... " >&6; }
59728 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59729 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59730 $as_echo_n "(cached) " >&6
59731 else
59734 ac_ext=cpp
59735 ac_cpp='$CXXCPP $CPPFLAGS'
59736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59741 /* end confdefs.h. */
59742 #include <math.h>
59744 main ()
59746 sincosl(0, 0, 0);
59748 return 0;
59750 _ACEOF
59751 if ac_fn_cxx_try_compile "$LINENO"; then :
59752 glibcxx_cv_func_sincosl_use=yes
59753 else
59754 glibcxx_cv_func_sincosl_use=no
59756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59757 ac_ext=c
59758 ac_cpp='$CPP $CPPFLAGS'
59759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59768 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59770 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59771 for ac_func in sincosl
59772 do :
59773 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59774 if test "x$ac_cv_func_sincosl" = xyes; then :
59775 cat >>confdefs.h <<_ACEOF
59776 #define HAVE_SINCOSL 1
59777 _ACEOF
59780 done
59782 else
59784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59785 $as_echo_n "checking for _sincosl declaration... " >&6; }
59786 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59787 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59788 $as_echo_n "(cached) " >&6
59789 else
59792 ac_ext=cpp
59793 ac_cpp='$CXXCPP $CPPFLAGS'
59794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59799 /* end confdefs.h. */
59800 #include <math.h>
59802 main ()
59804 _sincosl(0, 0, 0);
59806 return 0;
59808 _ACEOF
59809 if ac_fn_cxx_try_compile "$LINENO"; then :
59810 glibcxx_cv_func__sincosl_use=yes
59811 else
59812 glibcxx_cv_func__sincosl_use=no
59814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59815 ac_ext=c
59816 ac_cpp='$CPP $CPPFLAGS'
59817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59826 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59828 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59829 for ac_func in _sincosl
59830 do :
59831 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59832 if test "x$ac_cv_func__sincosl" = xyes; then :
59833 cat >>confdefs.h <<_ACEOF
59834 #define HAVE__SINCOSL 1
59835 _ACEOF
59838 done
59847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59848 $as_echo_n "checking for finitel declaration... " >&6; }
59849 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59850 if ${glibcxx_cv_func_finitel_use+:} false; then :
59851 $as_echo_n "(cached) " >&6
59852 else
59855 ac_ext=cpp
59856 ac_cpp='$CXXCPP $CPPFLAGS'
59857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59862 /* end confdefs.h. */
59863 #include <math.h>
59864 #ifdef HAVE_IEEEFP_H
59865 #include <ieeefp.h>
59866 #endif
59869 main ()
59871 finitel(0);
59873 return 0;
59875 _ACEOF
59876 if ac_fn_cxx_try_compile "$LINENO"; then :
59877 glibcxx_cv_func_finitel_use=yes
59878 else
59879 glibcxx_cv_func_finitel_use=no
59881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59882 ac_ext=c
59883 ac_cpp='$CPP $CPPFLAGS'
59884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59893 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59895 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59896 for ac_func in finitel
59897 do :
59898 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59899 if test "x$ac_cv_func_finitel" = xyes; then :
59900 cat >>confdefs.h <<_ACEOF
59901 #define HAVE_FINITEL 1
59902 _ACEOF
59905 done
59907 else
59909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59910 $as_echo_n "checking for _finitel declaration... " >&6; }
59911 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59912 if ${glibcxx_cv_func__finitel_use+:} false; then :
59913 $as_echo_n "(cached) " >&6
59914 else
59917 ac_ext=cpp
59918 ac_cpp='$CXXCPP $CPPFLAGS'
59919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59924 /* end confdefs.h. */
59925 #include <math.h>
59926 #ifdef HAVE_IEEEFP_H
59927 #include <ieeefp.h>
59928 #endif
59931 main ()
59933 _finitel(0);
59935 return 0;
59937 _ACEOF
59938 if ac_fn_cxx_try_compile "$LINENO"; then :
59939 glibcxx_cv_func__finitel_use=yes
59940 else
59941 glibcxx_cv_func__finitel_use=no
59943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59944 ac_ext=c
59945 ac_cpp='$CPP $CPPFLAGS'
59946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59955 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59957 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59958 for ac_func in _finitel
59959 do :
59960 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59961 if test "x$ac_cv_func__finitel" = xyes; then :
59962 cat >>confdefs.h <<_ACEOF
59963 #define HAVE__FINITEL 1
59964 _ACEOF
59967 done
59975 LIBS="$ac_save_LIBS"
59976 CXXFLAGS="$ac_save_CXXFLAGS"
59979 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59980 ac_save_CXXFLAGS="$CXXFLAGS"
59981 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59985 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59986 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59987 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59988 $as_echo_n "(cached) " >&6
59989 else
59992 ac_ext=cpp
59993 ac_cpp='$CXXCPP $CPPFLAGS'
59994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59999 /* end confdefs.h. */
60000 #include <stdlib.h>
60002 main ()
60004 at_quick_exit(0);
60006 return 0;
60008 _ACEOF
60009 if ac_fn_cxx_try_compile "$LINENO"; then :
60010 glibcxx_cv_func_at_quick_exit_use=yes
60011 else
60012 glibcxx_cv_func_at_quick_exit_use=no
60014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60015 ac_ext=c
60016 ac_cpp='$CPP $CPPFLAGS'
60017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60026 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60027 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60028 for ac_func in at_quick_exit
60029 do :
60030 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60031 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60032 cat >>confdefs.h <<_ACEOF
60033 #define HAVE_AT_QUICK_EXIT 1
60034 _ACEOF
60037 done
60042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60043 $as_echo_n "checking for quick_exit declaration... " >&6; }
60044 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60045 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60046 $as_echo_n "(cached) " >&6
60047 else
60050 ac_ext=cpp
60051 ac_cpp='$CXXCPP $CPPFLAGS'
60052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60057 /* end confdefs.h. */
60058 #include <stdlib.h>
60060 main ()
60062 quick_exit(0);
60064 return 0;
60066 _ACEOF
60067 if ac_fn_cxx_try_compile "$LINENO"; then :
60068 glibcxx_cv_func_quick_exit_use=yes
60069 else
60070 glibcxx_cv_func_quick_exit_use=no
60072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60073 ac_ext=c
60074 ac_cpp='$CPP $CPPFLAGS'
60075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60084 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60085 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60086 for ac_func in quick_exit
60087 do :
60088 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60089 if test "x$ac_cv_func_quick_exit" = xyes; then :
60090 cat >>confdefs.h <<_ACEOF
60091 #define HAVE_QUICK_EXIT 1
60092 _ACEOF
60095 done
60100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60101 $as_echo_n "checking for strtold declaration... " >&6; }
60102 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60103 if ${glibcxx_cv_func_strtold_use+:} false; then :
60104 $as_echo_n "(cached) " >&6
60105 else
60108 ac_ext=cpp
60109 ac_cpp='$CXXCPP $CPPFLAGS'
60110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60115 /* end confdefs.h. */
60116 #include <stdlib.h>
60118 main ()
60120 strtold(0, 0);
60122 return 0;
60124 _ACEOF
60125 if ac_fn_cxx_try_compile "$LINENO"; then :
60126 glibcxx_cv_func_strtold_use=yes
60127 else
60128 glibcxx_cv_func_strtold_use=no
60130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60131 ac_ext=c
60132 ac_cpp='$CPP $CPPFLAGS'
60133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60142 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60143 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60144 for ac_func in strtold
60145 do :
60146 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60147 if test "x$ac_cv_func_strtold" = xyes; then :
60148 cat >>confdefs.h <<_ACEOF
60149 #define HAVE_STRTOLD 1
60150 _ACEOF
60153 done
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60161 $as_echo_n "checking for strtof declaration... " >&6; }
60162 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60163 if ${glibcxx_cv_func_strtof_use+:} false; then :
60164 $as_echo_n "(cached) " >&6
60165 else
60168 ac_ext=cpp
60169 ac_cpp='$CXXCPP $CPPFLAGS'
60170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60175 /* end confdefs.h. */
60176 #include <stdlib.h>
60178 main ()
60180 strtof(0, 0);
60182 return 0;
60184 _ACEOF
60185 if ac_fn_cxx_try_compile "$LINENO"; then :
60186 glibcxx_cv_func_strtof_use=yes
60187 else
60188 glibcxx_cv_func_strtof_use=no
60190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60191 ac_ext=c
60192 ac_cpp='$CPP $CPPFLAGS'
60193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60202 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60203 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60204 for ac_func in strtof
60205 do :
60206 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60207 if test "x$ac_cv_func_strtof" = xyes; then :
60208 cat >>confdefs.h <<_ACEOF
60209 #define HAVE_STRTOF 1
60210 _ACEOF
60213 done
60220 CXXFLAGS="$ac_save_CXXFLAGS"
60222 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60223 do :
60224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60227 cat >>confdefs.h <<_ACEOF
60228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60229 _ACEOF
60232 done
60234 for ac_func in _wfopen
60235 do :
60236 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60237 if test "x$ac_cv_func__wfopen" = xyes; then :
60238 cat >>confdefs.h <<_ACEOF
60239 #define HAVE__WFOPEN 1
60240 _ACEOF
60243 done
60247 # Check whether --enable-tls was given.
60248 if test "${enable_tls+set}" = set; then :
60249 enableval=$enable_tls;
60250 case "$enableval" in
60251 yes|no) ;;
60252 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60253 esac
60255 else
60256 enable_tls=yes
60260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60261 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60262 if ${gcc_cv_have_tls+:} false; then :
60263 $as_echo_n "(cached) " >&6
60264 else
60266 if test "$cross_compiling" = yes; then :
60267 if test x$gcc_no_link = xyes; then
60268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60271 /* end confdefs.h. */
60272 __thread int a; int b; int main() { return a = b; }
60273 _ACEOF
60274 if ac_fn_c_try_link "$LINENO"; then :
60275 chktls_save_LDFLAGS="$LDFLAGS"
60276 case $host in
60277 *-*-linux* | -*-uclinuxfdpic*)
60278 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60280 esac
60281 chktls_save_CFLAGS="$CFLAGS"
60282 CFLAGS="-fPIC $CFLAGS"
60283 if test x$gcc_no_link = xyes; then
60284 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60287 /* end confdefs.h. */
60288 int f() { return 0; }
60289 _ACEOF
60290 if ac_fn_c_try_link "$LINENO"; then :
60291 if test x$gcc_no_link = xyes; then
60292 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60295 /* end confdefs.h. */
60296 __thread int a; int b; int f() { return a = b; }
60297 _ACEOF
60298 if ac_fn_c_try_link "$LINENO"; then :
60299 gcc_cv_have_tls=yes
60300 else
60301 gcc_cv_have_tls=no
60303 rm -f core conftest.err conftest.$ac_objext \
60304 conftest$ac_exeext conftest.$ac_ext
60305 else
60306 gcc_cv_have_tls=yes
60308 rm -f core conftest.err conftest.$ac_objext \
60309 conftest$ac_exeext conftest.$ac_ext
60310 CFLAGS="$chktls_save_CFLAGS"
60311 LDFLAGS="$chktls_save_LDFLAGS"
60312 else
60313 gcc_cv_have_tls=no
60315 rm -f core conftest.err conftest.$ac_objext \
60316 conftest$ac_exeext conftest.$ac_ext
60319 else
60320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60321 /* end confdefs.h. */
60322 __thread int a; int b; int main() { return a = b; }
60323 _ACEOF
60324 if ac_fn_c_try_run "$LINENO"; then :
60325 chktls_save_LDFLAGS="$LDFLAGS"
60326 LDFLAGS="-static $LDFLAGS"
60327 if test x$gcc_no_link = xyes; then
60328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60331 /* end confdefs.h. */
60332 int main() { return 0; }
60333 _ACEOF
60334 if ac_fn_c_try_link "$LINENO"; then :
60335 if test "$cross_compiling" = yes; then :
60336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60338 as_fn_error $? "cannot run test program while cross compiling
60339 See \`config.log' for more details" "$LINENO" 5; }
60340 else
60341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60342 /* end confdefs.h. */
60343 __thread int a; int b; int main() { return a = b; }
60344 _ACEOF
60345 if ac_fn_c_try_run "$LINENO"; then :
60346 gcc_cv_have_tls=yes
60347 else
60348 gcc_cv_have_tls=no
60350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60351 conftest.$ac_objext conftest.beam conftest.$ac_ext
60354 else
60355 gcc_cv_have_tls=yes
60357 rm -f core conftest.err conftest.$ac_objext \
60358 conftest$ac_exeext conftest.$ac_ext
60359 LDFLAGS="$chktls_save_LDFLAGS"
60360 if test $gcc_cv_have_tls = yes; then
60361 chktls_save_CFLAGS="$CFLAGS"
60362 thread_CFLAGS=failed
60363 for flag in '' '-pthread' '-lpthread'; do
60364 CFLAGS="$flag $chktls_save_CFLAGS"
60365 if test x$gcc_no_link = xyes; then
60366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60369 /* end confdefs.h. */
60370 #include <pthread.h>
60371 void *g(void *d) { return NULL; }
60373 main ()
60375 pthread_t t; pthread_create(&t,NULL,g,NULL);
60377 return 0;
60379 _ACEOF
60380 if ac_fn_c_try_link "$LINENO"; then :
60381 thread_CFLAGS="$flag"
60383 rm -f core conftest.err conftest.$ac_objext \
60384 conftest$ac_exeext conftest.$ac_ext
60385 if test "X$thread_CFLAGS" != Xfailed; then
60386 break
60388 done
60389 CFLAGS="$chktls_save_CFLAGS"
60390 if test "X$thread_CFLAGS" != Xfailed; then
60391 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60392 if test "$cross_compiling" = yes; then :
60393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60395 as_fn_error $? "cannot run test program while cross compiling
60396 See \`config.log' for more details" "$LINENO" 5; }
60397 else
60398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60399 /* end confdefs.h. */
60400 #include <pthread.h>
60401 __thread int a;
60402 static int *volatile a_in_other_thread;
60403 static void *
60404 thread_func (void *arg)
60406 a_in_other_thread = &a;
60407 return (void *)0;
60410 main ()
60412 pthread_t thread;
60413 void *thread_retval;
60414 int *volatile a_in_main_thread;
60415 a_in_main_thread = &a;
60416 if (pthread_create (&thread, (pthread_attr_t *)0,
60417 thread_func, (void *)0))
60418 return 0;
60419 if (pthread_join (thread, &thread_retval))
60420 return 0;
60421 return (a_in_other_thread == a_in_main_thread);
60423 return 0;
60425 _ACEOF
60426 if ac_fn_c_try_run "$LINENO"; then :
60427 gcc_cv_have_tls=yes
60428 else
60429 gcc_cv_have_tls=no
60431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60432 conftest.$ac_objext conftest.beam conftest.$ac_ext
60435 CFLAGS="$chktls_save_CFLAGS"
60438 else
60439 gcc_cv_have_tls=no
60441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60442 conftest.$ac_objext conftest.beam conftest.$ac_ext
60446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60447 $as_echo "$gcc_cv_have_tls" >&6; }
60448 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60450 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60454 *-netbsd* | *-openbsd*)
60455 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60458 # If we're not using GNU ld, then there's no point in even trying these
60459 # tests. Check for that first. We should have already tested for gld
60460 # by now (in libtool), but require it now just to be safe...
60461 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60462 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60466 # The name set by libtool depends on the version of libtool. Shame on us
60467 # for depending on an impl detail, but c'est la vie. Older versions used
60468 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60469 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60470 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60471 # set (hence we're using an older libtool), then set it.
60472 if test x${with_gnu_ld+set} != xset; then
60473 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60474 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60475 with_gnu_ld=no
60476 else
60477 with_gnu_ld=$ac_cv_prog_gnu_ld
60481 # Start by getting the version number. I think the libtool test already
60482 # does some of this, but throws away the result.
60483 glibcxx_ld_is_gold=no
60484 if test x"$with_gnu_ld" = x"yes"; then
60485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60486 $as_echo_n "checking for ld version... " >&6; }
60488 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60489 glibcxx_ld_is_gold=yes
60491 ldver=`$LD --version 2>/dev/null |
60492 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60494 glibcxx_gnu_ld_version=`echo $ldver | \
60495 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60497 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60500 # Set --gc-sections.
60501 glibcxx_have_gc_sections=no
60502 if test "$glibcxx_ld_is_gold" = "yes"; then
60503 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60504 glibcxx_have_gc_sections=yes
60506 else
60507 glibcxx_gcsections_min_ld=21602
60508 if test x"$with_gnu_ld" = x"yes" &&
60509 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60510 glibcxx_have_gc_sections=yes
60513 if test "$glibcxx_have_gc_sections" = "yes"; then
60514 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60515 # NB: This flag only works reliably after 2.16.1. Configure tests
60516 # for this are difficult, so hard wire a value that should work.
60518 ac_test_CFLAGS="${CFLAGS+set}"
60519 ac_save_CFLAGS="$CFLAGS"
60520 CFLAGS='-Wl,--gc-sections'
60522 # Check for -Wl,--gc-sections
60523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60524 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60525 if test x$gcc_no_link = xyes; then
60526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60529 /* end confdefs.h. */
60530 int one(void) { return 1; }
60531 int two(void) { return 2; }
60534 main ()
60536 two();
60538 return 0;
60540 _ACEOF
60541 if ac_fn_c_try_link "$LINENO"; then :
60542 ac_gcsections=yes
60543 else
60544 ac_gcsections=no
60546 rm -f core conftest.err conftest.$ac_objext \
60547 conftest$ac_exeext conftest.$ac_ext
60548 if test "$ac_gcsections" = "yes"; then
60549 rm -f conftest.c
60550 touch conftest.c
60551 if $CC -c conftest.c; then
60552 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60553 grep "Warning: gc-sections option ignored" > /dev/null; then
60554 ac_gcsections=no
60557 rm -f conftest.c conftest.o conftest
60559 if test "$ac_gcsections" = "yes"; then
60560 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60563 $as_echo "$ac_gcsections" >&6; }
60565 if test "$ac_test_CFLAGS" = set; then
60566 CFLAGS="$ac_save_CFLAGS"
60567 else
60568 # this is the suspicious part
60569 CFLAGS=''
60573 # Set -z,relro.
60574 # Note this is only for shared objects.
60575 ac_ld_relro=no
60576 if test x"$with_gnu_ld" = x"yes"; then
60577 # cygwin and mingw uses PE, which has no ELF relro support,
60578 # multi target ld may confuse configure machinery
60579 case "$host" in
60580 *-*-cygwin*)
60582 *-*-mingw*)
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60586 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60587 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60588 if test -n "$cxx_z_relo"; then
60589 OPT_LDFLAGS="-Wl,-z,relro"
60590 ac_ld_relro=yes
60592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60593 $as_echo "$ac_ld_relro" >&6; }
60594 esac
60597 # Set linker optimization flags.
60598 if test x"$with_gnu_ld" = x"yes"; then
60599 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60605 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60607 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60609 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60611 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60613 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60615 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60617 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60619 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60621 if test x"long_double_math_on_this_cpu" = x"yes"; then
60622 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60624 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60626 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60629 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60630 do :
60631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60634 cat >>confdefs.h <<_ACEOF
60635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60636 _ACEOF
60639 done
60641 for ac_func in timespec_get
60642 do :
60643 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60644 if test "x$ac_cv_func_timespec_get" = xyes; then :
60645 cat >>confdefs.h <<_ACEOF
60646 #define HAVE_TIMESPEC_GET 1
60647 _ACEOF
60650 done
60652 for ac_func in sockatmark
60653 do :
60654 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60655 if test "x$ac_cv_func_sockatmark" = xyes; then :
60656 cat >>confdefs.h <<_ACEOF
60657 #define HAVE_SOCKATMARK 1
60658 _ACEOF
60661 done
60664 *-qnx6.1* | *-qnx6.2*)
60665 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60668 # If we're not using GNU ld, then there's no point in even trying these
60669 # tests. Check for that first. We should have already tested for gld
60670 # by now (in libtool), but require it now just to be safe...
60671 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60672 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60676 # The name set by libtool depends on the version of libtool. Shame on us
60677 # for depending on an impl detail, but c'est la vie. Older versions used
60678 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60679 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60680 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60681 # set (hence we're using an older libtool), then set it.
60682 if test x${with_gnu_ld+set} != xset; then
60683 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60684 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60685 with_gnu_ld=no
60686 else
60687 with_gnu_ld=$ac_cv_prog_gnu_ld
60691 # Start by getting the version number. I think the libtool test already
60692 # does some of this, but throws away the result.
60693 glibcxx_ld_is_gold=no
60694 if test x"$with_gnu_ld" = x"yes"; then
60695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60696 $as_echo_n "checking for ld version... " >&6; }
60698 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60699 glibcxx_ld_is_gold=yes
60701 ldver=`$LD --version 2>/dev/null |
60702 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60704 glibcxx_gnu_ld_version=`echo $ldver | \
60705 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60707 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60710 # Set --gc-sections.
60711 glibcxx_have_gc_sections=no
60712 if test "$glibcxx_ld_is_gold" = "yes"; then
60713 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60714 glibcxx_have_gc_sections=yes
60716 else
60717 glibcxx_gcsections_min_ld=21602
60718 if test x"$with_gnu_ld" = x"yes" &&
60719 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60720 glibcxx_have_gc_sections=yes
60723 if test "$glibcxx_have_gc_sections" = "yes"; then
60724 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60725 # NB: This flag only works reliably after 2.16.1. Configure tests
60726 # for this are difficult, so hard wire a value that should work.
60728 ac_test_CFLAGS="${CFLAGS+set}"
60729 ac_save_CFLAGS="$CFLAGS"
60730 CFLAGS='-Wl,--gc-sections'
60732 # Check for -Wl,--gc-sections
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60734 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60735 if test x$gcc_no_link = xyes; then
60736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60739 /* end confdefs.h. */
60740 int one(void) { return 1; }
60741 int two(void) { return 2; }
60744 main ()
60746 two();
60748 return 0;
60750 _ACEOF
60751 if ac_fn_c_try_link "$LINENO"; then :
60752 ac_gcsections=yes
60753 else
60754 ac_gcsections=no
60756 rm -f core conftest.err conftest.$ac_objext \
60757 conftest$ac_exeext conftest.$ac_ext
60758 if test "$ac_gcsections" = "yes"; then
60759 rm -f conftest.c
60760 touch conftest.c
60761 if $CC -c conftest.c; then
60762 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60763 grep "Warning: gc-sections option ignored" > /dev/null; then
60764 ac_gcsections=no
60767 rm -f conftest.c conftest.o conftest
60769 if test "$ac_gcsections" = "yes"; then
60770 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60773 $as_echo "$ac_gcsections" >&6; }
60775 if test "$ac_test_CFLAGS" = set; then
60776 CFLAGS="$ac_save_CFLAGS"
60777 else
60778 # this is the suspicious part
60779 CFLAGS=''
60783 # Set -z,relro.
60784 # Note this is only for shared objects.
60785 ac_ld_relro=no
60786 if test x"$with_gnu_ld" = x"yes"; then
60787 # cygwin and mingw uses PE, which has no ELF relro support,
60788 # multi target ld may confuse configure machinery
60789 case "$host" in
60790 *-*-cygwin*)
60792 *-*-mingw*)
60795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60796 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60797 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60798 if test -n "$cxx_z_relo"; then
60799 OPT_LDFLAGS="-Wl,-z,relro"
60800 ac_ld_relro=yes
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60803 $as_echo "$ac_ld_relro" >&6; }
60804 esac
60807 # Set linker optimization flags.
60808 if test x"$with_gnu_ld" = x"yes"; then
60809 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60815 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60817 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60819 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60821 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60823 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60825 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60827 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60829 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60831 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60833 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60835 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60837 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60840 *-rtems*)
60842 # All these tests are for C++; save the language and the compiler flags.
60843 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60844 # found in GLIBCXX_CONFIGURE.
60846 ac_ext=cpp
60847 ac_cpp='$CXXCPP $CPPFLAGS'
60848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60852 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60853 ac_save_CXXFLAGS="$CXXFLAGS"
60855 # Check for -ffunction-sections -fdata-sections
60856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60857 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60858 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60860 /* end confdefs.h. */
60861 int foo; void bar() { };
60863 main ()
60867 return 0;
60869 _ACEOF
60870 if ac_fn_cxx_try_compile "$LINENO"; then :
60871 ac_fdsections=yes
60872 else
60873 ac_fdsections=no
60875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60876 if test "$ac_test_CXXFLAGS" = set; then
60877 CXXFLAGS="$ac_save_CXXFLAGS"
60878 else
60879 # this is the suspicious part
60880 CXXFLAGS=''
60882 if test x"$ac_fdsections" = x"yes"; then
60883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60886 $as_echo "$ac_fdsections" >&6; }
60888 ac_ext=c
60889 ac_cpp='$CPP $CPPFLAGS'
60890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60897 # If we're not using GNU ld, then there's no point in even trying these
60898 # tests. Check for that first. We should have already tested for gld
60899 # by now (in libtool), but require it now just to be safe...
60900 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60901 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60905 # The name set by libtool depends on the version of libtool. Shame on us
60906 # for depending on an impl detail, but c'est la vie. Older versions used
60907 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60908 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60909 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60910 # set (hence we're using an older libtool), then set it.
60911 if test x${with_gnu_ld+set} != xset; then
60912 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60913 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60914 with_gnu_ld=no
60915 else
60916 with_gnu_ld=$ac_cv_prog_gnu_ld
60920 # Start by getting the version number. I think the libtool test already
60921 # does some of this, but throws away the result.
60922 glibcxx_ld_is_gold=no
60923 if test x"$with_gnu_ld" = x"yes"; then
60924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60925 $as_echo_n "checking for ld version... " >&6; }
60927 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60928 glibcxx_ld_is_gold=yes
60930 ldver=`$LD --version 2>/dev/null |
60931 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60933 glibcxx_gnu_ld_version=`echo $ldver | \
60934 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60936 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60939 # Set --gc-sections.
60940 glibcxx_have_gc_sections=no
60941 if test "$glibcxx_ld_is_gold" = "yes"; then
60942 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60943 glibcxx_have_gc_sections=yes
60945 else
60946 glibcxx_gcsections_min_ld=21602
60947 if test x"$with_gnu_ld" = x"yes" &&
60948 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60949 glibcxx_have_gc_sections=yes
60952 if test "$glibcxx_have_gc_sections" = "yes"; then
60953 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60954 # NB: This flag only works reliably after 2.16.1. Configure tests
60955 # for this are difficult, so hard wire a value that should work.
60957 ac_test_CFLAGS="${CFLAGS+set}"
60958 ac_save_CFLAGS="$CFLAGS"
60959 CFLAGS='-Wl,--gc-sections'
60961 # Check for -Wl,--gc-sections
60962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60963 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60964 if test x$gcc_no_link = xyes; then
60965 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60968 /* end confdefs.h. */
60969 int one(void) { return 1; }
60970 int two(void) { return 2; }
60973 main ()
60975 two();
60977 return 0;
60979 _ACEOF
60980 if ac_fn_c_try_link "$LINENO"; then :
60981 ac_gcsections=yes
60982 else
60983 ac_gcsections=no
60985 rm -f core conftest.err conftest.$ac_objext \
60986 conftest$ac_exeext conftest.$ac_ext
60987 if test "$ac_gcsections" = "yes"; then
60988 rm -f conftest.c
60989 touch conftest.c
60990 if $CC -c conftest.c; then
60991 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60992 grep "Warning: gc-sections option ignored" > /dev/null; then
60993 ac_gcsections=no
60996 rm -f conftest.c conftest.o conftest
60998 if test "$ac_gcsections" = "yes"; then
60999 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61002 $as_echo "$ac_gcsections" >&6; }
61004 if test "$ac_test_CFLAGS" = set; then
61005 CFLAGS="$ac_save_CFLAGS"
61006 else
61007 # this is the suspicious part
61008 CFLAGS=''
61012 # Set -z,relro.
61013 # Note this is only for shared objects.
61014 ac_ld_relro=no
61015 if test x"$with_gnu_ld" = x"yes"; then
61016 # cygwin and mingw uses PE, which has no ELF relro support,
61017 # multi target ld may confuse configure machinery
61018 case "$host" in
61019 *-*-cygwin*)
61021 *-*-mingw*)
61024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61027 if test -n "$cxx_z_relo"; then
61028 OPT_LDFLAGS="-Wl,-z,relro"
61029 ac_ld_relro=yes
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61032 $as_echo "$ac_ld_relro" >&6; }
61033 esac
61036 # Set linker optimization flags.
61037 if test x"$with_gnu_ld" = x"yes"; then
61038 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61045 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61046 ac_save_CXXFLAGS="$CXXFLAGS"
61047 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61050 $as_echo_n "checking for sin in -lm... " >&6; }
61051 if ${ac_cv_lib_m_sin+:} false; then :
61052 $as_echo_n "(cached) " >&6
61053 else
61054 ac_check_lib_save_LIBS=$LIBS
61055 LIBS="-lm $LIBS"
61056 if test x$gcc_no_link = xyes; then
61057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61060 /* end confdefs.h. */
61062 /* Override any GCC internal prototype to avoid an error.
61063 Use char because int might match the return type of a GCC
61064 builtin and then its argument prototype would still apply. */
61065 #ifdef __cplusplus
61066 extern "C"
61067 #endif
61068 char sin ();
61070 main ()
61072 return sin ();
61074 return 0;
61076 _ACEOF
61077 if ac_fn_c_try_link "$LINENO"; then :
61078 ac_cv_lib_m_sin=yes
61079 else
61080 ac_cv_lib_m_sin=no
61082 rm -f core conftest.err conftest.$ac_objext \
61083 conftest$ac_exeext conftest.$ac_ext
61084 LIBS=$ac_check_lib_save_LIBS
61086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61087 $as_echo "$ac_cv_lib_m_sin" >&6; }
61088 if test "x$ac_cv_lib_m_sin" = xyes; then :
61089 libm="-lm"
61092 ac_save_LIBS="$LIBS"
61093 LIBS="$LIBS $libm"
61097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61098 $as_echo_n "checking for isinf declaration... " >&6; }
61099 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61100 if ${glibcxx_cv_func_isinf_use+:} false; then :
61101 $as_echo_n "(cached) " >&6
61102 else
61105 ac_ext=cpp
61106 ac_cpp='$CXXCPP $CPPFLAGS'
61107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61112 /* end confdefs.h. */
61113 #include <math.h>
61114 #ifdef HAVE_IEEEFP_H
61115 #include <ieeefp.h>
61116 #endif
61119 main ()
61121 isinf(0);
61123 return 0;
61125 _ACEOF
61126 if ac_fn_cxx_try_compile "$LINENO"; then :
61127 glibcxx_cv_func_isinf_use=yes
61128 else
61129 glibcxx_cv_func_isinf_use=no
61131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61132 ac_ext=c
61133 ac_cpp='$CPP $CPPFLAGS'
61134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61143 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61145 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61146 for ac_func in isinf
61147 do :
61148 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61149 if test "x$ac_cv_func_isinf" = xyes; then :
61150 cat >>confdefs.h <<_ACEOF
61151 #define HAVE_ISINF 1
61152 _ACEOF
61155 done
61157 else
61159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61160 $as_echo_n "checking for _isinf declaration... " >&6; }
61161 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61162 if ${glibcxx_cv_func__isinf_use+:} false; then :
61163 $as_echo_n "(cached) " >&6
61164 else
61167 ac_ext=cpp
61168 ac_cpp='$CXXCPP $CPPFLAGS'
61169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61174 /* end confdefs.h. */
61175 #include <math.h>
61176 #ifdef HAVE_IEEEFP_H
61177 #include <ieeefp.h>
61178 #endif
61181 main ()
61183 _isinf(0);
61185 return 0;
61187 _ACEOF
61188 if ac_fn_cxx_try_compile "$LINENO"; then :
61189 glibcxx_cv_func__isinf_use=yes
61190 else
61191 glibcxx_cv_func__isinf_use=no
61193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61194 ac_ext=c
61195 ac_cpp='$CPP $CPPFLAGS'
61196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61205 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61207 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61208 for ac_func in _isinf
61209 do :
61210 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61211 if test "x$ac_cv_func__isinf" = xyes; then :
61212 cat >>confdefs.h <<_ACEOF
61213 #define HAVE__ISINF 1
61214 _ACEOF
61217 done
61226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61227 $as_echo_n "checking for isnan declaration... " >&6; }
61228 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61229 if ${glibcxx_cv_func_isnan_use+:} false; then :
61230 $as_echo_n "(cached) " >&6
61231 else
61234 ac_ext=cpp
61235 ac_cpp='$CXXCPP $CPPFLAGS'
61236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61241 /* end confdefs.h. */
61242 #include <math.h>
61243 #ifdef HAVE_IEEEFP_H
61244 #include <ieeefp.h>
61245 #endif
61248 main ()
61250 isnan(0);
61252 return 0;
61254 _ACEOF
61255 if ac_fn_cxx_try_compile "$LINENO"; then :
61256 glibcxx_cv_func_isnan_use=yes
61257 else
61258 glibcxx_cv_func_isnan_use=no
61260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61261 ac_ext=c
61262 ac_cpp='$CPP $CPPFLAGS'
61263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61272 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61274 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61275 for ac_func in isnan
61276 do :
61277 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61278 if test "x$ac_cv_func_isnan" = xyes; then :
61279 cat >>confdefs.h <<_ACEOF
61280 #define HAVE_ISNAN 1
61281 _ACEOF
61284 done
61286 else
61288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61289 $as_echo_n "checking for _isnan declaration... " >&6; }
61290 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61291 if ${glibcxx_cv_func__isnan_use+:} false; then :
61292 $as_echo_n "(cached) " >&6
61293 else
61296 ac_ext=cpp
61297 ac_cpp='$CXXCPP $CPPFLAGS'
61298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61303 /* end confdefs.h. */
61304 #include <math.h>
61305 #ifdef HAVE_IEEEFP_H
61306 #include <ieeefp.h>
61307 #endif
61310 main ()
61312 _isnan(0);
61314 return 0;
61316 _ACEOF
61317 if ac_fn_cxx_try_compile "$LINENO"; then :
61318 glibcxx_cv_func__isnan_use=yes
61319 else
61320 glibcxx_cv_func__isnan_use=no
61322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61323 ac_ext=c
61324 ac_cpp='$CPP $CPPFLAGS'
61325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61334 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61336 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61337 for ac_func in _isnan
61338 do :
61339 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61340 if test "x$ac_cv_func__isnan" = xyes; then :
61341 cat >>confdefs.h <<_ACEOF
61342 #define HAVE__ISNAN 1
61343 _ACEOF
61346 done
61355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61356 $as_echo_n "checking for finite declaration... " >&6; }
61357 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61358 if ${glibcxx_cv_func_finite_use+:} false; then :
61359 $as_echo_n "(cached) " >&6
61360 else
61363 ac_ext=cpp
61364 ac_cpp='$CXXCPP $CPPFLAGS'
61365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61370 /* end confdefs.h. */
61371 #include <math.h>
61372 #ifdef HAVE_IEEEFP_H
61373 #include <ieeefp.h>
61374 #endif
61377 main ()
61379 finite(0);
61381 return 0;
61383 _ACEOF
61384 if ac_fn_cxx_try_compile "$LINENO"; then :
61385 glibcxx_cv_func_finite_use=yes
61386 else
61387 glibcxx_cv_func_finite_use=no
61389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61390 ac_ext=c
61391 ac_cpp='$CPP $CPPFLAGS'
61392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61401 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61403 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61404 for ac_func in finite
61405 do :
61406 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61407 if test "x$ac_cv_func_finite" = xyes; then :
61408 cat >>confdefs.h <<_ACEOF
61409 #define HAVE_FINITE 1
61410 _ACEOF
61413 done
61415 else
61417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61418 $as_echo_n "checking for _finite declaration... " >&6; }
61419 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61420 if ${glibcxx_cv_func__finite_use+:} false; then :
61421 $as_echo_n "(cached) " >&6
61422 else
61425 ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h. */
61433 #include <math.h>
61434 #ifdef HAVE_IEEEFP_H
61435 #include <ieeefp.h>
61436 #endif
61439 main ()
61441 _finite(0);
61443 return 0;
61445 _ACEOF
61446 if ac_fn_cxx_try_compile "$LINENO"; then :
61447 glibcxx_cv_func__finite_use=yes
61448 else
61449 glibcxx_cv_func__finite_use=no
61451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61452 ac_ext=c
61453 ac_cpp='$CPP $CPPFLAGS'
61454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61463 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61465 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61466 for ac_func in _finite
61467 do :
61468 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61469 if test "x$ac_cv_func__finite" = xyes; then :
61470 cat >>confdefs.h <<_ACEOF
61471 #define HAVE__FINITE 1
61472 _ACEOF
61475 done
61484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61485 $as_echo_n "checking for sincos declaration... " >&6; }
61486 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61487 if ${glibcxx_cv_func_sincos_use+:} false; then :
61488 $as_echo_n "(cached) " >&6
61489 else
61492 ac_ext=cpp
61493 ac_cpp='$CXXCPP $CPPFLAGS'
61494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61499 /* end confdefs.h. */
61500 #include <math.h>
61502 main ()
61504 sincos(0, 0, 0);
61506 return 0;
61508 _ACEOF
61509 if ac_fn_cxx_try_compile "$LINENO"; then :
61510 glibcxx_cv_func_sincos_use=yes
61511 else
61512 glibcxx_cv_func_sincos_use=no
61514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61515 ac_ext=c
61516 ac_cpp='$CPP $CPPFLAGS'
61517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61526 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61528 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61529 for ac_func in sincos
61530 do :
61531 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61532 if test "x$ac_cv_func_sincos" = xyes; then :
61533 cat >>confdefs.h <<_ACEOF
61534 #define HAVE_SINCOS 1
61535 _ACEOF
61538 done
61540 else
61542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61543 $as_echo_n "checking for _sincos declaration... " >&6; }
61544 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61545 if ${glibcxx_cv_func__sincos_use+:} false; then :
61546 $as_echo_n "(cached) " >&6
61547 else
61550 ac_ext=cpp
61551 ac_cpp='$CXXCPP $CPPFLAGS'
61552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61557 /* end confdefs.h. */
61558 #include <math.h>
61560 main ()
61562 _sincos(0, 0, 0);
61564 return 0;
61566 _ACEOF
61567 if ac_fn_cxx_try_compile "$LINENO"; then :
61568 glibcxx_cv_func__sincos_use=yes
61569 else
61570 glibcxx_cv_func__sincos_use=no
61572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61573 ac_ext=c
61574 ac_cpp='$CPP $CPPFLAGS'
61575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61584 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61586 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61587 for ac_func in _sincos
61588 do :
61589 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61590 if test "x$ac_cv_func__sincos" = xyes; then :
61591 cat >>confdefs.h <<_ACEOF
61592 #define HAVE__SINCOS 1
61593 _ACEOF
61596 done
61605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61606 $as_echo_n "checking for fpclass declaration... " >&6; }
61607 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61608 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61609 $as_echo_n "(cached) " >&6
61610 else
61613 ac_ext=cpp
61614 ac_cpp='$CXXCPP $CPPFLAGS'
61615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61620 /* end confdefs.h. */
61621 #include <math.h>
61622 #ifdef HAVE_IEEEFP_H
61623 #include <ieeefp.h>
61624 #endif
61627 main ()
61629 fpclass(0);
61631 return 0;
61633 _ACEOF
61634 if ac_fn_cxx_try_compile "$LINENO"; then :
61635 glibcxx_cv_func_fpclass_use=yes
61636 else
61637 glibcxx_cv_func_fpclass_use=no
61639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61640 ac_ext=c
61641 ac_cpp='$CPP $CPPFLAGS'
61642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61651 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61653 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61654 for ac_func in fpclass
61655 do :
61656 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61657 if test "x$ac_cv_func_fpclass" = xyes; then :
61658 cat >>confdefs.h <<_ACEOF
61659 #define HAVE_FPCLASS 1
61660 _ACEOF
61663 done
61665 else
61667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61668 $as_echo_n "checking for _fpclass declaration... " >&6; }
61669 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61670 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61671 $as_echo_n "(cached) " >&6
61672 else
61675 ac_ext=cpp
61676 ac_cpp='$CXXCPP $CPPFLAGS'
61677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61682 /* end confdefs.h. */
61683 #include <math.h>
61684 #ifdef HAVE_IEEEFP_H
61685 #include <ieeefp.h>
61686 #endif
61689 main ()
61691 _fpclass(0);
61693 return 0;
61695 _ACEOF
61696 if ac_fn_cxx_try_compile "$LINENO"; then :
61697 glibcxx_cv_func__fpclass_use=yes
61698 else
61699 glibcxx_cv_func__fpclass_use=no
61701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61702 ac_ext=c
61703 ac_cpp='$CPP $CPPFLAGS'
61704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61713 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61715 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61716 for ac_func in _fpclass
61717 do :
61718 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61719 if test "x$ac_cv_func__fpclass" = xyes; then :
61720 cat >>confdefs.h <<_ACEOF
61721 #define HAVE__FPCLASS 1
61722 _ACEOF
61725 done
61734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61735 $as_echo_n "checking for qfpclass declaration... " >&6; }
61736 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61737 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61738 $as_echo_n "(cached) " >&6
61739 else
61742 ac_ext=cpp
61743 ac_cpp='$CXXCPP $CPPFLAGS'
61744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61749 /* end confdefs.h. */
61750 #include <math.h>
61751 #ifdef HAVE_IEEEFP_H
61752 #include <ieeefp.h>
61753 #endif
61756 main ()
61758 qfpclass(0);
61760 return 0;
61762 _ACEOF
61763 if ac_fn_cxx_try_compile "$LINENO"; then :
61764 glibcxx_cv_func_qfpclass_use=yes
61765 else
61766 glibcxx_cv_func_qfpclass_use=no
61768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61769 ac_ext=c
61770 ac_cpp='$CPP $CPPFLAGS'
61771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61780 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61782 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61783 for ac_func in qfpclass
61784 do :
61785 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61786 if test "x$ac_cv_func_qfpclass" = xyes; then :
61787 cat >>confdefs.h <<_ACEOF
61788 #define HAVE_QFPCLASS 1
61789 _ACEOF
61792 done
61794 else
61796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61797 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61798 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61799 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61800 $as_echo_n "(cached) " >&6
61801 else
61804 ac_ext=cpp
61805 ac_cpp='$CXXCPP $CPPFLAGS'
61806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61811 /* end confdefs.h. */
61812 #include <math.h>
61813 #ifdef HAVE_IEEEFP_H
61814 #include <ieeefp.h>
61815 #endif
61818 main ()
61820 _qfpclass(0);
61822 return 0;
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826 glibcxx_cv_func__qfpclass_use=yes
61827 else
61828 glibcxx_cv_func__qfpclass_use=no
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61842 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61844 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61845 for ac_func in _qfpclass
61846 do :
61847 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61848 if test "x$ac_cv_func__qfpclass" = xyes; then :
61849 cat >>confdefs.h <<_ACEOF
61850 #define HAVE__QFPCLASS 1
61851 _ACEOF
61854 done
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61864 $as_echo_n "checking for hypot declaration... " >&6; }
61865 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61866 if ${glibcxx_cv_func_hypot_use+:} false; then :
61867 $as_echo_n "(cached) " >&6
61868 else
61871 ac_ext=cpp
61872 ac_cpp='$CXXCPP $CPPFLAGS'
61873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61878 /* end confdefs.h. */
61879 #include <math.h>
61881 main ()
61883 hypot(0, 0);
61885 return 0;
61887 _ACEOF
61888 if ac_fn_cxx_try_compile "$LINENO"; then :
61889 glibcxx_cv_func_hypot_use=yes
61890 else
61891 glibcxx_cv_func_hypot_use=no
61893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61894 ac_ext=c
61895 ac_cpp='$CPP $CPPFLAGS'
61896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61905 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61907 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61908 for ac_func in hypot
61909 do :
61910 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61911 if test "x$ac_cv_func_hypot" = xyes; then :
61912 cat >>confdefs.h <<_ACEOF
61913 #define HAVE_HYPOT 1
61914 _ACEOF
61917 done
61919 else
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61922 $as_echo_n "checking for _hypot declaration... " >&6; }
61923 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61924 if ${glibcxx_cv_func__hypot_use+:} false; then :
61925 $as_echo_n "(cached) " >&6
61926 else
61929 ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h. */
61937 #include <math.h>
61939 main ()
61941 _hypot(0, 0);
61943 return 0;
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947 glibcxx_cv_func__hypot_use=yes
61948 else
61949 glibcxx_cv_func__hypot_use=no
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952 ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61963 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61965 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61966 for ac_func in _hypot
61967 do :
61968 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61969 if test "x$ac_cv_func__hypot" = xyes; then :
61970 cat >>confdefs.h <<_ACEOF
61971 #define HAVE__HYPOT 1
61972 _ACEOF
61975 done
61984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61985 $as_echo_n "checking for float trig functions... " >&6; }
61986 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61987 $as_echo_n "(cached) " >&6
61988 else
61991 ac_ext=cpp
61992 ac_cpp='$CXXCPP $CPPFLAGS'
61993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61998 /* end confdefs.h. */
61999 #include <math.h>
62001 main ()
62003 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62005 return 0;
62007 _ACEOF
62008 if ac_fn_cxx_try_compile "$LINENO"; then :
62009 glibcxx_cv_func_float_trig_use=yes
62010 else
62011 glibcxx_cv_func_float_trig_use=no
62013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62014 ac_ext=c
62015 ac_cpp='$CPP $CPPFLAGS'
62016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62023 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62024 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62025 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62026 do :
62027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62029 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62030 cat >>confdefs.h <<_ACEOF
62031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62032 _ACEOF
62035 done
62037 else
62038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62039 $as_echo_n "checking for _float trig functions... " >&6; }
62040 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62041 $as_echo_n "(cached) " >&6
62042 else
62045 ac_ext=cpp
62046 ac_cpp='$CXXCPP $CPPFLAGS'
62047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62052 /* end confdefs.h. */
62053 #include <math.h>
62055 main ()
62057 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62059 return 0;
62061 _ACEOF
62062 if ac_fn_cxx_try_compile "$LINENO"; then :
62063 glibcxx_cv_func__float_trig_use=yes
62064 else
62065 glibcxx_cv_func__float_trig_use=no
62067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62068 ac_ext=c
62069 ac_cpp='$CPP $CPPFLAGS'
62070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62077 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62078 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62079 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62080 do :
62081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62083 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62084 cat >>confdefs.h <<_ACEOF
62085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62086 _ACEOF
62089 done
62098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62099 $as_echo_n "checking for float round functions... " >&6; }
62100 if ${glibcxx_cv_func_float_round_use+:} false; then :
62101 $as_echo_n "(cached) " >&6
62102 else
62105 ac_ext=cpp
62106 ac_cpp='$CXXCPP $CPPFLAGS'
62107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62112 /* end confdefs.h. */
62113 #include <math.h>
62115 main ()
62117 ceilf (0); floorf (0);
62119 return 0;
62121 _ACEOF
62122 if ac_fn_cxx_try_compile "$LINENO"; then :
62123 glibcxx_cv_func_float_round_use=yes
62124 else
62125 glibcxx_cv_func_float_round_use=no
62127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62128 ac_ext=c
62129 ac_cpp='$CPP $CPPFLAGS'
62130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62137 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62138 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62139 for ac_func in ceilf floorf
62140 do :
62141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62143 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62144 cat >>confdefs.h <<_ACEOF
62145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62146 _ACEOF
62149 done
62151 else
62152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62153 $as_echo_n "checking for _float round functions... " >&6; }
62154 if ${glibcxx_cv_func__float_round_use+:} false; then :
62155 $as_echo_n "(cached) " >&6
62156 else
62159 ac_ext=cpp
62160 ac_cpp='$CXXCPP $CPPFLAGS'
62161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62166 /* end confdefs.h. */
62167 #include <math.h>
62169 main ()
62171 _ceilf (0); _floorf (0);
62173 return 0;
62175 _ACEOF
62176 if ac_fn_cxx_try_compile "$LINENO"; then :
62177 glibcxx_cv_func__float_round_use=yes
62178 else
62179 glibcxx_cv_func__float_round_use=no
62181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62182 ac_ext=c
62183 ac_cpp='$CPP $CPPFLAGS'
62184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62191 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62192 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62193 for ac_func in _ceilf _floorf
62194 do :
62195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62197 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62198 cat >>confdefs.h <<_ACEOF
62199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62200 _ACEOF
62203 done
62213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62214 $as_echo_n "checking for expf declaration... " >&6; }
62215 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62216 if ${glibcxx_cv_func_expf_use+:} false; then :
62217 $as_echo_n "(cached) " >&6
62218 else
62221 ac_ext=cpp
62222 ac_cpp='$CXXCPP $CPPFLAGS'
62223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62228 /* end confdefs.h. */
62229 #include <math.h>
62230 #ifdef HAVE_IEEEFP_H
62231 #include <ieeefp.h>
62232 #endif
62235 main ()
62237 expf(0);
62239 return 0;
62241 _ACEOF
62242 if ac_fn_cxx_try_compile "$LINENO"; then :
62243 glibcxx_cv_func_expf_use=yes
62244 else
62245 glibcxx_cv_func_expf_use=no
62247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62248 ac_ext=c
62249 ac_cpp='$CPP $CPPFLAGS'
62250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62259 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62261 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62262 for ac_func in expf
62263 do :
62264 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62265 if test "x$ac_cv_func_expf" = xyes; then :
62266 cat >>confdefs.h <<_ACEOF
62267 #define HAVE_EXPF 1
62268 _ACEOF
62271 done
62273 else
62275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62276 $as_echo_n "checking for _expf declaration... " >&6; }
62277 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62278 if ${glibcxx_cv_func__expf_use+:} false; then :
62279 $as_echo_n "(cached) " >&6
62280 else
62283 ac_ext=cpp
62284 ac_cpp='$CXXCPP $CPPFLAGS'
62285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62290 /* end confdefs.h. */
62291 #include <math.h>
62292 #ifdef HAVE_IEEEFP_H
62293 #include <ieeefp.h>
62294 #endif
62297 main ()
62299 _expf(0);
62301 return 0;
62303 _ACEOF
62304 if ac_fn_cxx_try_compile "$LINENO"; then :
62305 glibcxx_cv_func__expf_use=yes
62306 else
62307 glibcxx_cv_func__expf_use=no
62309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62310 ac_ext=c
62311 ac_cpp='$CPP $CPPFLAGS'
62312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62321 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62323 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62324 for ac_func in _expf
62325 do :
62326 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62327 if test "x$ac_cv_func__expf" = xyes; then :
62328 cat >>confdefs.h <<_ACEOF
62329 #define HAVE__EXPF 1
62330 _ACEOF
62333 done
62342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62343 $as_echo_n "checking for isnanf declaration... " >&6; }
62344 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62345 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62346 $as_echo_n "(cached) " >&6
62347 else
62350 ac_ext=cpp
62351 ac_cpp='$CXXCPP $CPPFLAGS'
62352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62357 /* end confdefs.h. */
62358 #include <math.h>
62359 #ifdef HAVE_IEEEFP_H
62360 #include <ieeefp.h>
62361 #endif
62364 main ()
62366 isnanf(0);
62368 return 0;
62370 _ACEOF
62371 if ac_fn_cxx_try_compile "$LINENO"; then :
62372 glibcxx_cv_func_isnanf_use=yes
62373 else
62374 glibcxx_cv_func_isnanf_use=no
62376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62377 ac_ext=c
62378 ac_cpp='$CPP $CPPFLAGS'
62379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62388 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62390 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62391 for ac_func in isnanf
62392 do :
62393 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62394 if test "x$ac_cv_func_isnanf" = xyes; then :
62395 cat >>confdefs.h <<_ACEOF
62396 #define HAVE_ISNANF 1
62397 _ACEOF
62400 done
62402 else
62404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62405 $as_echo_n "checking for _isnanf declaration... " >&6; }
62406 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62407 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62408 $as_echo_n "(cached) " >&6
62409 else
62412 ac_ext=cpp
62413 ac_cpp='$CXXCPP $CPPFLAGS'
62414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62419 /* end confdefs.h. */
62420 #include <math.h>
62421 #ifdef HAVE_IEEEFP_H
62422 #include <ieeefp.h>
62423 #endif
62426 main ()
62428 _isnanf(0);
62430 return 0;
62432 _ACEOF
62433 if ac_fn_cxx_try_compile "$LINENO"; then :
62434 glibcxx_cv_func__isnanf_use=yes
62435 else
62436 glibcxx_cv_func__isnanf_use=no
62438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62439 ac_ext=c
62440 ac_cpp='$CPP $CPPFLAGS'
62441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62450 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62452 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62453 for ac_func in _isnanf
62454 do :
62455 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62456 if test "x$ac_cv_func__isnanf" = xyes; then :
62457 cat >>confdefs.h <<_ACEOF
62458 #define HAVE__ISNANF 1
62459 _ACEOF
62462 done
62471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62472 $as_echo_n "checking for isinff declaration... " >&6; }
62473 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62474 if ${glibcxx_cv_func_isinff_use+:} false; then :
62475 $as_echo_n "(cached) " >&6
62476 else
62479 ac_ext=cpp
62480 ac_cpp='$CXXCPP $CPPFLAGS'
62481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62486 /* end confdefs.h. */
62487 #include <math.h>
62488 #ifdef HAVE_IEEEFP_H
62489 #include <ieeefp.h>
62490 #endif
62493 main ()
62495 isinff(0);
62497 return 0;
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501 glibcxx_cv_func_isinff_use=yes
62502 else
62503 glibcxx_cv_func_isinff_use=no
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506 ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62517 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62519 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62520 for ac_func in isinff
62521 do :
62522 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62523 if test "x$ac_cv_func_isinff" = xyes; then :
62524 cat >>confdefs.h <<_ACEOF
62525 #define HAVE_ISINFF 1
62526 _ACEOF
62529 done
62531 else
62533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62534 $as_echo_n "checking for _isinff declaration... " >&6; }
62535 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62536 if ${glibcxx_cv_func__isinff_use+:} false; then :
62537 $as_echo_n "(cached) " >&6
62538 else
62541 ac_ext=cpp
62542 ac_cpp='$CXXCPP $CPPFLAGS'
62543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62548 /* end confdefs.h. */
62549 #include <math.h>
62550 #ifdef HAVE_IEEEFP_H
62551 #include <ieeefp.h>
62552 #endif
62555 main ()
62557 _isinff(0);
62559 return 0;
62561 _ACEOF
62562 if ac_fn_cxx_try_compile "$LINENO"; then :
62563 glibcxx_cv_func__isinff_use=yes
62564 else
62565 glibcxx_cv_func__isinff_use=no
62567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62568 ac_ext=c
62569 ac_cpp='$CPP $CPPFLAGS'
62570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62579 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62581 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62582 for ac_func in _isinff
62583 do :
62584 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62585 if test "x$ac_cv_func__isinff" = xyes; then :
62586 cat >>confdefs.h <<_ACEOF
62587 #define HAVE__ISINFF 1
62588 _ACEOF
62591 done
62600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62601 $as_echo_n "checking for atan2f declaration... " >&6; }
62602 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62603 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62604 $as_echo_n "(cached) " >&6
62605 else
62608 ac_ext=cpp
62609 ac_cpp='$CXXCPP $CPPFLAGS'
62610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62615 /* end confdefs.h. */
62616 #include <math.h>
62618 main ()
62620 atan2f(0, 0);
62622 return 0;
62624 _ACEOF
62625 if ac_fn_cxx_try_compile "$LINENO"; then :
62626 glibcxx_cv_func_atan2f_use=yes
62627 else
62628 glibcxx_cv_func_atan2f_use=no
62630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62631 ac_ext=c
62632 ac_cpp='$CPP $CPPFLAGS'
62633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62642 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62644 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62645 for ac_func in atan2f
62646 do :
62647 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62648 if test "x$ac_cv_func_atan2f" = xyes; then :
62649 cat >>confdefs.h <<_ACEOF
62650 #define HAVE_ATAN2F 1
62651 _ACEOF
62654 done
62656 else
62658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62659 $as_echo_n "checking for _atan2f declaration... " >&6; }
62660 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62661 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62662 $as_echo_n "(cached) " >&6
62663 else
62666 ac_ext=cpp
62667 ac_cpp='$CXXCPP $CPPFLAGS'
62668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62673 /* end confdefs.h. */
62674 #include <math.h>
62676 main ()
62678 _atan2f(0, 0);
62680 return 0;
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func__atan2f_use=yes
62685 else
62686 glibcxx_cv_func__atan2f_use=no
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689 ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62700 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62702 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62703 for ac_func in _atan2f
62704 do :
62705 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62706 if test "x$ac_cv_func__atan2f" = xyes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE__ATAN2F 1
62709 _ACEOF
62712 done
62721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62722 $as_echo_n "checking for fabsf declaration... " >&6; }
62723 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62724 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62725 $as_echo_n "(cached) " >&6
62726 else
62729 ac_ext=cpp
62730 ac_cpp='$CXXCPP $CPPFLAGS'
62731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62736 /* end confdefs.h. */
62737 #include <math.h>
62738 #ifdef HAVE_IEEEFP_H
62739 #include <ieeefp.h>
62740 #endif
62743 main ()
62745 fabsf(0);
62747 return 0;
62749 _ACEOF
62750 if ac_fn_cxx_try_compile "$LINENO"; then :
62751 glibcxx_cv_func_fabsf_use=yes
62752 else
62753 glibcxx_cv_func_fabsf_use=no
62755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62756 ac_ext=c
62757 ac_cpp='$CPP $CPPFLAGS'
62758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62767 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62769 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62770 for ac_func in fabsf
62771 do :
62772 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62773 if test "x$ac_cv_func_fabsf" = xyes; then :
62774 cat >>confdefs.h <<_ACEOF
62775 #define HAVE_FABSF 1
62776 _ACEOF
62779 done
62781 else
62783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62784 $as_echo_n "checking for _fabsf declaration... " >&6; }
62785 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62786 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62787 $as_echo_n "(cached) " >&6
62788 else
62791 ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h. */
62799 #include <math.h>
62800 #ifdef HAVE_IEEEFP_H
62801 #include <ieeefp.h>
62802 #endif
62805 main ()
62807 _fabsf(0);
62809 return 0;
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813 glibcxx_cv_func__fabsf_use=yes
62814 else
62815 glibcxx_cv_func__fabsf_use=no
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818 ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62829 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62831 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62832 for ac_func in _fabsf
62833 do :
62834 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62835 if test "x$ac_cv_func__fabsf" = xyes; then :
62836 cat >>confdefs.h <<_ACEOF
62837 #define HAVE__FABSF 1
62838 _ACEOF
62841 done
62850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62851 $as_echo_n "checking for fmodf declaration... " >&6; }
62852 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62853 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62854 $as_echo_n "(cached) " >&6
62855 else
62858 ac_ext=cpp
62859 ac_cpp='$CXXCPP $CPPFLAGS'
62860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62865 /* end confdefs.h. */
62866 #include <math.h>
62868 main ()
62870 fmodf(0, 0);
62872 return 0;
62874 _ACEOF
62875 if ac_fn_cxx_try_compile "$LINENO"; then :
62876 glibcxx_cv_func_fmodf_use=yes
62877 else
62878 glibcxx_cv_func_fmodf_use=no
62880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62881 ac_ext=c
62882 ac_cpp='$CPP $CPPFLAGS'
62883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62892 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62894 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62895 for ac_func in fmodf
62896 do :
62897 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62898 if test "x$ac_cv_func_fmodf" = xyes; then :
62899 cat >>confdefs.h <<_ACEOF
62900 #define HAVE_FMODF 1
62901 _ACEOF
62904 done
62906 else
62908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62909 $as_echo_n "checking for _fmodf declaration... " >&6; }
62910 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62911 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62912 $as_echo_n "(cached) " >&6
62913 else
62916 ac_ext=cpp
62917 ac_cpp='$CXXCPP $CPPFLAGS'
62918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62923 /* end confdefs.h. */
62924 #include <math.h>
62926 main ()
62928 _fmodf(0, 0);
62930 return 0;
62932 _ACEOF
62933 if ac_fn_cxx_try_compile "$LINENO"; then :
62934 glibcxx_cv_func__fmodf_use=yes
62935 else
62936 glibcxx_cv_func__fmodf_use=no
62938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62939 ac_ext=c
62940 ac_cpp='$CPP $CPPFLAGS'
62941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62950 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62952 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62953 for ac_func in _fmodf
62954 do :
62955 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62956 if test "x$ac_cv_func__fmodf" = xyes; then :
62957 cat >>confdefs.h <<_ACEOF
62958 #define HAVE__FMODF 1
62959 _ACEOF
62962 done
62971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62972 $as_echo_n "checking for frexpf declaration... " >&6; }
62973 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62974 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62975 $as_echo_n "(cached) " >&6
62976 else
62979 ac_ext=cpp
62980 ac_cpp='$CXXCPP $CPPFLAGS'
62981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62986 /* end confdefs.h. */
62987 #include <math.h>
62989 main ()
62991 frexpf(0, 0);
62993 return 0;
62995 _ACEOF
62996 if ac_fn_cxx_try_compile "$LINENO"; then :
62997 glibcxx_cv_func_frexpf_use=yes
62998 else
62999 glibcxx_cv_func_frexpf_use=no
63001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63002 ac_ext=c
63003 ac_cpp='$CPP $CPPFLAGS'
63004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63013 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63015 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63016 for ac_func in frexpf
63017 do :
63018 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63019 if test "x$ac_cv_func_frexpf" = xyes; then :
63020 cat >>confdefs.h <<_ACEOF
63021 #define HAVE_FREXPF 1
63022 _ACEOF
63025 done
63027 else
63029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63030 $as_echo_n "checking for _frexpf declaration... " >&6; }
63031 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63032 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63033 $as_echo_n "(cached) " >&6
63034 else
63037 ac_ext=cpp
63038 ac_cpp='$CXXCPP $CPPFLAGS'
63039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63044 /* end confdefs.h. */
63045 #include <math.h>
63047 main ()
63049 _frexpf(0, 0);
63051 return 0;
63053 _ACEOF
63054 if ac_fn_cxx_try_compile "$LINENO"; then :
63055 glibcxx_cv_func__frexpf_use=yes
63056 else
63057 glibcxx_cv_func__frexpf_use=no
63059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63060 ac_ext=c
63061 ac_cpp='$CPP $CPPFLAGS'
63062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63071 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63073 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63074 for ac_func in _frexpf
63075 do :
63076 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63077 if test "x$ac_cv_func__frexpf" = xyes; then :
63078 cat >>confdefs.h <<_ACEOF
63079 #define HAVE__FREXPF 1
63080 _ACEOF
63083 done
63092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63093 $as_echo_n "checking for hypotf declaration... " >&6; }
63094 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63095 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63096 $as_echo_n "(cached) " >&6
63097 else
63100 ac_ext=cpp
63101 ac_cpp='$CXXCPP $CPPFLAGS'
63102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63107 /* end confdefs.h. */
63108 #include <math.h>
63110 main ()
63112 hypotf(0, 0);
63114 return 0;
63116 _ACEOF
63117 if ac_fn_cxx_try_compile "$LINENO"; then :
63118 glibcxx_cv_func_hypotf_use=yes
63119 else
63120 glibcxx_cv_func_hypotf_use=no
63122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63123 ac_ext=c
63124 ac_cpp='$CPP $CPPFLAGS'
63125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63134 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63136 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63137 for ac_func in hypotf
63138 do :
63139 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63140 if test "x$ac_cv_func_hypotf" = xyes; then :
63141 cat >>confdefs.h <<_ACEOF
63142 #define HAVE_HYPOTF 1
63143 _ACEOF
63146 done
63148 else
63150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63151 $as_echo_n "checking for _hypotf declaration... " >&6; }
63152 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63153 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63154 $as_echo_n "(cached) " >&6
63155 else
63158 ac_ext=cpp
63159 ac_cpp='$CXXCPP $CPPFLAGS'
63160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63165 /* end confdefs.h. */
63166 #include <math.h>
63168 main ()
63170 _hypotf(0, 0);
63172 return 0;
63174 _ACEOF
63175 if ac_fn_cxx_try_compile "$LINENO"; then :
63176 glibcxx_cv_func__hypotf_use=yes
63177 else
63178 glibcxx_cv_func__hypotf_use=no
63180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63181 ac_ext=c
63182 ac_cpp='$CPP $CPPFLAGS'
63183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63192 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63194 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63195 for ac_func in _hypotf
63196 do :
63197 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63198 if test "x$ac_cv_func__hypotf" = xyes; then :
63199 cat >>confdefs.h <<_ACEOF
63200 #define HAVE__HYPOTF 1
63201 _ACEOF
63204 done
63213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63214 $as_echo_n "checking for ldexpf declaration... " >&6; }
63215 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63216 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63217 $as_echo_n "(cached) " >&6
63218 else
63221 ac_ext=cpp
63222 ac_cpp='$CXXCPP $CPPFLAGS'
63223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63228 /* end confdefs.h. */
63229 #include <math.h>
63231 main ()
63233 ldexpf(0, 0);
63235 return 0;
63237 _ACEOF
63238 if ac_fn_cxx_try_compile "$LINENO"; then :
63239 glibcxx_cv_func_ldexpf_use=yes
63240 else
63241 glibcxx_cv_func_ldexpf_use=no
63243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63244 ac_ext=c
63245 ac_cpp='$CPP $CPPFLAGS'
63246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63255 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63257 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63258 for ac_func in ldexpf
63259 do :
63260 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63261 if test "x$ac_cv_func_ldexpf" = xyes; then :
63262 cat >>confdefs.h <<_ACEOF
63263 #define HAVE_LDEXPF 1
63264 _ACEOF
63267 done
63269 else
63271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63272 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63273 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63274 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63275 $as_echo_n "(cached) " >&6
63276 else
63279 ac_ext=cpp
63280 ac_cpp='$CXXCPP $CPPFLAGS'
63281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63286 /* end confdefs.h. */
63287 #include <math.h>
63289 main ()
63291 _ldexpf(0, 0);
63293 return 0;
63295 _ACEOF
63296 if ac_fn_cxx_try_compile "$LINENO"; then :
63297 glibcxx_cv_func__ldexpf_use=yes
63298 else
63299 glibcxx_cv_func__ldexpf_use=no
63301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63302 ac_ext=c
63303 ac_cpp='$CPP $CPPFLAGS'
63304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63313 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63315 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63316 for ac_func in _ldexpf
63317 do :
63318 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63319 if test "x$ac_cv_func__ldexpf" = xyes; then :
63320 cat >>confdefs.h <<_ACEOF
63321 #define HAVE__LDEXPF 1
63322 _ACEOF
63325 done
63334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63335 $as_echo_n "checking for logf declaration... " >&6; }
63336 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63337 if ${glibcxx_cv_func_logf_use+:} false; then :
63338 $as_echo_n "(cached) " >&6
63339 else
63342 ac_ext=cpp
63343 ac_cpp='$CXXCPP $CPPFLAGS'
63344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63349 /* end confdefs.h. */
63350 #include <math.h>
63351 #ifdef HAVE_IEEEFP_H
63352 #include <ieeefp.h>
63353 #endif
63356 main ()
63358 logf(0);
63360 return 0;
63362 _ACEOF
63363 if ac_fn_cxx_try_compile "$LINENO"; then :
63364 glibcxx_cv_func_logf_use=yes
63365 else
63366 glibcxx_cv_func_logf_use=no
63368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63369 ac_ext=c
63370 ac_cpp='$CPP $CPPFLAGS'
63371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63380 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63382 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63383 for ac_func in logf
63384 do :
63385 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63386 if test "x$ac_cv_func_logf" = xyes; then :
63387 cat >>confdefs.h <<_ACEOF
63388 #define HAVE_LOGF 1
63389 _ACEOF
63392 done
63394 else
63396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63397 $as_echo_n "checking for _logf declaration... " >&6; }
63398 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63399 if ${glibcxx_cv_func__logf_use+:} false; then :
63400 $as_echo_n "(cached) " >&6
63401 else
63404 ac_ext=cpp
63405 ac_cpp='$CXXCPP $CPPFLAGS'
63406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63411 /* end confdefs.h. */
63412 #include <math.h>
63413 #ifdef HAVE_IEEEFP_H
63414 #include <ieeefp.h>
63415 #endif
63418 main ()
63420 _logf(0);
63422 return 0;
63424 _ACEOF
63425 if ac_fn_cxx_try_compile "$LINENO"; then :
63426 glibcxx_cv_func__logf_use=yes
63427 else
63428 glibcxx_cv_func__logf_use=no
63430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63431 ac_ext=c
63432 ac_cpp='$CPP $CPPFLAGS'
63433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63442 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63444 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63445 for ac_func in _logf
63446 do :
63447 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63448 if test "x$ac_cv_func__logf" = xyes; then :
63449 cat >>confdefs.h <<_ACEOF
63450 #define HAVE__LOGF 1
63451 _ACEOF
63454 done
63463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63464 $as_echo_n "checking for log10f declaration... " >&6; }
63465 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63466 if ${glibcxx_cv_func_log10f_use+:} false; then :
63467 $as_echo_n "(cached) " >&6
63468 else
63471 ac_ext=cpp
63472 ac_cpp='$CXXCPP $CPPFLAGS'
63473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63478 /* end confdefs.h. */
63479 #include <math.h>
63480 #ifdef HAVE_IEEEFP_H
63481 #include <ieeefp.h>
63482 #endif
63485 main ()
63487 log10f(0);
63489 return 0;
63491 _ACEOF
63492 if ac_fn_cxx_try_compile "$LINENO"; then :
63493 glibcxx_cv_func_log10f_use=yes
63494 else
63495 glibcxx_cv_func_log10f_use=no
63497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63498 ac_ext=c
63499 ac_cpp='$CPP $CPPFLAGS'
63500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63509 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63511 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63512 for ac_func in log10f
63513 do :
63514 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63515 if test "x$ac_cv_func_log10f" = xyes; then :
63516 cat >>confdefs.h <<_ACEOF
63517 #define HAVE_LOG10F 1
63518 _ACEOF
63521 done
63523 else
63525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63526 $as_echo_n "checking for _log10f declaration... " >&6; }
63527 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63528 if ${glibcxx_cv_func__log10f_use+:} false; then :
63529 $as_echo_n "(cached) " >&6
63530 else
63533 ac_ext=cpp
63534 ac_cpp='$CXXCPP $CPPFLAGS'
63535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63540 /* end confdefs.h. */
63541 #include <math.h>
63542 #ifdef HAVE_IEEEFP_H
63543 #include <ieeefp.h>
63544 #endif
63547 main ()
63549 _log10f(0);
63551 return 0;
63553 _ACEOF
63554 if ac_fn_cxx_try_compile "$LINENO"; then :
63555 glibcxx_cv_func__log10f_use=yes
63556 else
63557 glibcxx_cv_func__log10f_use=no
63559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63560 ac_ext=c
63561 ac_cpp='$CPP $CPPFLAGS'
63562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63571 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63573 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63574 for ac_func in _log10f
63575 do :
63576 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63577 if test "x$ac_cv_func__log10f" = xyes; then :
63578 cat >>confdefs.h <<_ACEOF
63579 #define HAVE__LOG10F 1
63580 _ACEOF
63583 done
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63593 $as_echo_n "checking for modff declaration... " >&6; }
63594 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63595 if ${glibcxx_cv_func_modff_use+:} false; then :
63596 $as_echo_n "(cached) " >&6
63597 else
63600 ac_ext=cpp
63601 ac_cpp='$CXXCPP $CPPFLAGS'
63602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63607 /* end confdefs.h. */
63608 #include <math.h>
63610 main ()
63612 modff(0, 0);
63614 return 0;
63616 _ACEOF
63617 if ac_fn_cxx_try_compile "$LINENO"; then :
63618 glibcxx_cv_func_modff_use=yes
63619 else
63620 glibcxx_cv_func_modff_use=no
63622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63623 ac_ext=c
63624 ac_cpp='$CPP $CPPFLAGS'
63625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63634 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63636 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63637 for ac_func in modff
63638 do :
63639 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63640 if test "x$ac_cv_func_modff" = xyes; then :
63641 cat >>confdefs.h <<_ACEOF
63642 #define HAVE_MODFF 1
63643 _ACEOF
63646 done
63648 else
63650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63651 $as_echo_n "checking for _modff declaration... " >&6; }
63652 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63653 if ${glibcxx_cv_func__modff_use+:} false; then :
63654 $as_echo_n "(cached) " >&6
63655 else
63658 ac_ext=cpp
63659 ac_cpp='$CXXCPP $CPPFLAGS'
63660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63665 /* end confdefs.h. */
63666 #include <math.h>
63668 main ()
63670 _modff(0, 0);
63672 return 0;
63674 _ACEOF
63675 if ac_fn_cxx_try_compile "$LINENO"; then :
63676 glibcxx_cv_func__modff_use=yes
63677 else
63678 glibcxx_cv_func__modff_use=no
63680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63681 ac_ext=c
63682 ac_cpp='$CPP $CPPFLAGS'
63683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63692 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63694 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63695 for ac_func in _modff
63696 do :
63697 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63698 if test "x$ac_cv_func__modff" = xyes; then :
63699 cat >>confdefs.h <<_ACEOF
63700 #define HAVE__MODFF 1
63701 _ACEOF
63704 done
63713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63714 $as_echo_n "checking for modf declaration... " >&6; }
63715 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63716 if ${glibcxx_cv_func_modf_use+:} false; then :
63717 $as_echo_n "(cached) " >&6
63718 else
63721 ac_ext=cpp
63722 ac_cpp='$CXXCPP $CPPFLAGS'
63723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63728 /* end confdefs.h. */
63729 #include <math.h>
63731 main ()
63733 modf(0, 0);
63735 return 0;
63737 _ACEOF
63738 if ac_fn_cxx_try_compile "$LINENO"; then :
63739 glibcxx_cv_func_modf_use=yes
63740 else
63741 glibcxx_cv_func_modf_use=no
63743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63744 ac_ext=c
63745 ac_cpp='$CPP $CPPFLAGS'
63746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63755 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63757 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63758 for ac_func in modf
63759 do :
63760 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63761 if test "x$ac_cv_func_modf" = xyes; then :
63762 cat >>confdefs.h <<_ACEOF
63763 #define HAVE_MODF 1
63764 _ACEOF
63767 done
63769 else
63771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63772 $as_echo_n "checking for _modf declaration... " >&6; }
63773 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63774 if ${glibcxx_cv_func__modf_use+:} false; then :
63775 $as_echo_n "(cached) " >&6
63776 else
63779 ac_ext=cpp
63780 ac_cpp='$CXXCPP $CPPFLAGS'
63781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63786 /* end confdefs.h. */
63787 #include <math.h>
63789 main ()
63791 _modf(0, 0);
63793 return 0;
63795 _ACEOF
63796 if ac_fn_cxx_try_compile "$LINENO"; then :
63797 glibcxx_cv_func__modf_use=yes
63798 else
63799 glibcxx_cv_func__modf_use=no
63801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63802 ac_ext=c
63803 ac_cpp='$CPP $CPPFLAGS'
63804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63813 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63815 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63816 for ac_func in _modf
63817 do :
63818 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63819 if test "x$ac_cv_func__modf" = xyes; then :
63820 cat >>confdefs.h <<_ACEOF
63821 #define HAVE__MODF 1
63822 _ACEOF
63825 done
63834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63835 $as_echo_n "checking for powf declaration... " >&6; }
63836 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63837 if ${glibcxx_cv_func_powf_use+:} false; then :
63838 $as_echo_n "(cached) " >&6
63839 else
63842 ac_ext=cpp
63843 ac_cpp='$CXXCPP $CPPFLAGS'
63844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63849 /* end confdefs.h. */
63850 #include <math.h>
63852 main ()
63854 powf(0, 0);
63856 return 0;
63858 _ACEOF
63859 if ac_fn_cxx_try_compile "$LINENO"; then :
63860 glibcxx_cv_func_powf_use=yes
63861 else
63862 glibcxx_cv_func_powf_use=no
63864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63865 ac_ext=c
63866 ac_cpp='$CPP $CPPFLAGS'
63867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63876 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63878 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63879 for ac_func in powf
63880 do :
63881 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63882 if test "x$ac_cv_func_powf" = xyes; then :
63883 cat >>confdefs.h <<_ACEOF
63884 #define HAVE_POWF 1
63885 _ACEOF
63888 done
63890 else
63892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63893 $as_echo_n "checking for _powf declaration... " >&6; }
63894 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63895 if ${glibcxx_cv_func__powf_use+:} false; then :
63896 $as_echo_n "(cached) " >&6
63897 else
63900 ac_ext=cpp
63901 ac_cpp='$CXXCPP $CPPFLAGS'
63902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63907 /* end confdefs.h. */
63908 #include <math.h>
63910 main ()
63912 _powf(0, 0);
63914 return 0;
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func__powf_use=yes
63919 else
63920 glibcxx_cv_func__powf_use=no
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63934 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63936 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63937 for ac_func in _powf
63938 do :
63939 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63940 if test "x$ac_cv_func__powf" = xyes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE__POWF 1
63943 _ACEOF
63946 done
63955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63956 $as_echo_n "checking for sqrtf declaration... " >&6; }
63957 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63958 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63959 $as_echo_n "(cached) " >&6
63960 else
63963 ac_ext=cpp
63964 ac_cpp='$CXXCPP $CPPFLAGS'
63965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63970 /* end confdefs.h. */
63971 #include <math.h>
63972 #ifdef HAVE_IEEEFP_H
63973 #include <ieeefp.h>
63974 #endif
63977 main ()
63979 sqrtf(0);
63981 return 0;
63983 _ACEOF
63984 if ac_fn_cxx_try_compile "$LINENO"; then :
63985 glibcxx_cv_func_sqrtf_use=yes
63986 else
63987 glibcxx_cv_func_sqrtf_use=no
63989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63990 ac_ext=c
63991 ac_cpp='$CPP $CPPFLAGS'
63992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64001 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64003 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64004 for ac_func in sqrtf
64005 do :
64006 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64007 if test "x$ac_cv_func_sqrtf" = xyes; then :
64008 cat >>confdefs.h <<_ACEOF
64009 #define HAVE_SQRTF 1
64010 _ACEOF
64013 done
64015 else
64017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64018 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64019 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64020 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64021 $as_echo_n "(cached) " >&6
64022 else
64025 ac_ext=cpp
64026 ac_cpp='$CXXCPP $CPPFLAGS'
64027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64032 /* end confdefs.h. */
64033 #include <math.h>
64034 #ifdef HAVE_IEEEFP_H
64035 #include <ieeefp.h>
64036 #endif
64039 main ()
64041 _sqrtf(0);
64043 return 0;
64045 _ACEOF
64046 if ac_fn_cxx_try_compile "$LINENO"; then :
64047 glibcxx_cv_func__sqrtf_use=yes
64048 else
64049 glibcxx_cv_func__sqrtf_use=no
64051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64052 ac_ext=c
64053 ac_cpp='$CPP $CPPFLAGS'
64054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64063 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64065 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64066 for ac_func in _sqrtf
64067 do :
64068 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64069 if test "x$ac_cv_func__sqrtf" = xyes; then :
64070 cat >>confdefs.h <<_ACEOF
64071 #define HAVE__SQRTF 1
64072 _ACEOF
64075 done
64084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64085 $as_echo_n "checking for sincosf declaration... " >&6; }
64086 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64087 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64088 $as_echo_n "(cached) " >&6
64089 else
64092 ac_ext=cpp
64093 ac_cpp='$CXXCPP $CPPFLAGS'
64094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64099 /* end confdefs.h. */
64100 #include <math.h>
64102 main ()
64104 sincosf(0, 0, 0);
64106 return 0;
64108 _ACEOF
64109 if ac_fn_cxx_try_compile "$LINENO"; then :
64110 glibcxx_cv_func_sincosf_use=yes
64111 else
64112 glibcxx_cv_func_sincosf_use=no
64114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64115 ac_ext=c
64116 ac_cpp='$CPP $CPPFLAGS'
64117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64126 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64128 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64129 for ac_func in sincosf
64130 do :
64131 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64132 if test "x$ac_cv_func_sincosf" = xyes; then :
64133 cat >>confdefs.h <<_ACEOF
64134 #define HAVE_SINCOSF 1
64135 _ACEOF
64138 done
64140 else
64142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64143 $as_echo_n "checking for _sincosf declaration... " >&6; }
64144 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64145 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64146 $as_echo_n "(cached) " >&6
64147 else
64150 ac_ext=cpp
64151 ac_cpp='$CXXCPP $CPPFLAGS'
64152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64157 /* end confdefs.h. */
64158 #include <math.h>
64160 main ()
64162 _sincosf(0, 0, 0);
64164 return 0;
64166 _ACEOF
64167 if ac_fn_cxx_try_compile "$LINENO"; then :
64168 glibcxx_cv_func__sincosf_use=yes
64169 else
64170 glibcxx_cv_func__sincosf_use=no
64172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64173 ac_ext=c
64174 ac_cpp='$CPP $CPPFLAGS'
64175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64184 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64186 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64187 for ac_func in _sincosf
64188 do :
64189 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64190 if test "x$ac_cv_func__sincosf" = xyes; then :
64191 cat >>confdefs.h <<_ACEOF
64192 #define HAVE__SINCOSF 1
64193 _ACEOF
64196 done
64205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64206 $as_echo_n "checking for finitef declaration... " >&6; }
64207 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64208 if ${glibcxx_cv_func_finitef_use+:} false; then :
64209 $as_echo_n "(cached) " >&6
64210 else
64213 ac_ext=cpp
64214 ac_cpp='$CXXCPP $CPPFLAGS'
64215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64220 /* end confdefs.h. */
64221 #include <math.h>
64222 #ifdef HAVE_IEEEFP_H
64223 #include <ieeefp.h>
64224 #endif
64227 main ()
64229 finitef(0);
64231 return 0;
64233 _ACEOF
64234 if ac_fn_cxx_try_compile "$LINENO"; then :
64235 glibcxx_cv_func_finitef_use=yes
64236 else
64237 glibcxx_cv_func_finitef_use=no
64239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64240 ac_ext=c
64241 ac_cpp='$CPP $CPPFLAGS'
64242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64251 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64253 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64254 for ac_func in finitef
64255 do :
64256 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64257 if test "x$ac_cv_func_finitef" = xyes; then :
64258 cat >>confdefs.h <<_ACEOF
64259 #define HAVE_FINITEF 1
64260 _ACEOF
64263 done
64265 else
64267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64268 $as_echo_n "checking for _finitef declaration... " >&6; }
64269 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64270 if ${glibcxx_cv_func__finitef_use+:} false; then :
64271 $as_echo_n "(cached) " >&6
64272 else
64275 ac_ext=cpp
64276 ac_cpp='$CXXCPP $CPPFLAGS'
64277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64282 /* end confdefs.h. */
64283 #include <math.h>
64284 #ifdef HAVE_IEEEFP_H
64285 #include <ieeefp.h>
64286 #endif
64289 main ()
64291 _finitef(0);
64293 return 0;
64295 _ACEOF
64296 if ac_fn_cxx_try_compile "$LINENO"; then :
64297 glibcxx_cv_func__finitef_use=yes
64298 else
64299 glibcxx_cv_func__finitef_use=no
64301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64302 ac_ext=c
64303 ac_cpp='$CPP $CPPFLAGS'
64304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64313 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64315 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64316 for ac_func in _finitef
64317 do :
64318 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64319 if test "x$ac_cv_func__finitef" = xyes; then :
64320 cat >>confdefs.h <<_ACEOF
64321 #define HAVE__FINITEF 1
64322 _ACEOF
64325 done
64334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64335 $as_echo_n "checking for long double trig functions... " >&6; }
64336 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64337 $as_echo_n "(cached) " >&6
64338 else
64341 ac_ext=cpp
64342 ac_cpp='$CXXCPP $CPPFLAGS'
64343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64348 /* end confdefs.h. */
64349 #include <math.h>
64351 main ()
64353 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64355 return 0;
64357 _ACEOF
64358 if ac_fn_cxx_try_compile "$LINENO"; then :
64359 glibcxx_cv_func_long_double_trig_use=yes
64360 else
64361 glibcxx_cv_func_long_double_trig_use=no
64363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64364 ac_ext=c
64365 ac_cpp='$CPP $CPPFLAGS'
64366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64373 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64374 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64375 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64376 do :
64377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64379 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64380 cat >>confdefs.h <<_ACEOF
64381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64382 _ACEOF
64385 done
64387 else
64388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64389 $as_echo_n "checking for _long double trig functions... " >&6; }
64390 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64391 $as_echo_n "(cached) " >&6
64392 else
64395 ac_ext=cpp
64396 ac_cpp='$CXXCPP $CPPFLAGS'
64397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64402 /* end confdefs.h. */
64403 #include <math.h>
64405 main ()
64407 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64409 return 0;
64411 _ACEOF
64412 if ac_fn_cxx_try_compile "$LINENO"; then :
64413 glibcxx_cv_func__long_double_trig_use=yes
64414 else
64415 glibcxx_cv_func__long_double_trig_use=no
64417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64418 ac_ext=c
64419 ac_cpp='$CPP $CPPFLAGS'
64420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64427 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64428 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64429 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64430 do :
64431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64433 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64434 cat >>confdefs.h <<_ACEOF
64435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64436 _ACEOF
64439 done
64448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64449 $as_echo_n "checking for long double round functions... " >&6; }
64450 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64451 $as_echo_n "(cached) " >&6
64452 else
64455 ac_ext=cpp
64456 ac_cpp='$CXXCPP $CPPFLAGS'
64457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64462 /* end confdefs.h. */
64463 #include <math.h>
64465 main ()
64467 ceill (0); floorl (0);
64469 return 0;
64471 _ACEOF
64472 if ac_fn_cxx_try_compile "$LINENO"; then :
64473 glibcxx_cv_func_long_double_round_use=yes
64474 else
64475 glibcxx_cv_func_long_double_round_use=no
64477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64478 ac_ext=c
64479 ac_cpp='$CPP $CPPFLAGS'
64480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64487 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64488 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64489 for ac_func in ceill floorl
64490 do :
64491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64493 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64494 cat >>confdefs.h <<_ACEOF
64495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64496 _ACEOF
64499 done
64501 else
64502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64503 $as_echo_n "checking for _long double round functions... " >&6; }
64504 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64505 $as_echo_n "(cached) " >&6
64506 else
64509 ac_ext=cpp
64510 ac_cpp='$CXXCPP $CPPFLAGS'
64511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64516 /* end confdefs.h. */
64517 #include <math.h>
64519 main ()
64521 _ceill (0); _floorl (0);
64523 return 0;
64525 _ACEOF
64526 if ac_fn_cxx_try_compile "$LINENO"; then :
64527 glibcxx_cv_func__long_double_round_use=yes
64528 else
64529 glibcxx_cv_func__long_double_round_use=no
64531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64532 ac_ext=c
64533 ac_cpp='$CPP $CPPFLAGS'
64534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64541 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64542 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64543 for ac_func in _ceill _floorl
64544 do :
64545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64548 cat >>confdefs.h <<_ACEOF
64549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64550 _ACEOF
64553 done
64563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64564 $as_echo_n "checking for isnanl declaration... " >&6; }
64565 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64566 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64567 $as_echo_n "(cached) " >&6
64568 else
64571 ac_ext=cpp
64572 ac_cpp='$CXXCPP $CPPFLAGS'
64573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64578 /* end confdefs.h. */
64579 #include <math.h>
64580 #ifdef HAVE_IEEEFP_H
64581 #include <ieeefp.h>
64582 #endif
64585 main ()
64587 isnanl(0);
64589 return 0;
64591 _ACEOF
64592 if ac_fn_cxx_try_compile "$LINENO"; then :
64593 glibcxx_cv_func_isnanl_use=yes
64594 else
64595 glibcxx_cv_func_isnanl_use=no
64597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64598 ac_ext=c
64599 ac_cpp='$CPP $CPPFLAGS'
64600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64609 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64611 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64612 for ac_func in isnanl
64613 do :
64614 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64615 if test "x$ac_cv_func_isnanl" = xyes; then :
64616 cat >>confdefs.h <<_ACEOF
64617 #define HAVE_ISNANL 1
64618 _ACEOF
64621 done
64623 else
64625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64626 $as_echo_n "checking for _isnanl declaration... " >&6; }
64627 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64628 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64629 $as_echo_n "(cached) " >&6
64630 else
64633 ac_ext=cpp
64634 ac_cpp='$CXXCPP $CPPFLAGS'
64635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64640 /* end confdefs.h. */
64641 #include <math.h>
64642 #ifdef HAVE_IEEEFP_H
64643 #include <ieeefp.h>
64644 #endif
64647 main ()
64649 _isnanl(0);
64651 return 0;
64653 _ACEOF
64654 if ac_fn_cxx_try_compile "$LINENO"; then :
64655 glibcxx_cv_func__isnanl_use=yes
64656 else
64657 glibcxx_cv_func__isnanl_use=no
64659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64660 ac_ext=c
64661 ac_cpp='$CPP $CPPFLAGS'
64662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64671 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64673 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64674 for ac_func in _isnanl
64675 do :
64676 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64677 if test "x$ac_cv_func__isnanl" = xyes; then :
64678 cat >>confdefs.h <<_ACEOF
64679 #define HAVE__ISNANL 1
64680 _ACEOF
64683 done
64692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64693 $as_echo_n "checking for isinfl declaration... " >&6; }
64694 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64695 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64696 $as_echo_n "(cached) " >&6
64697 else
64700 ac_ext=cpp
64701 ac_cpp='$CXXCPP $CPPFLAGS'
64702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64707 /* end confdefs.h. */
64708 #include <math.h>
64709 #ifdef HAVE_IEEEFP_H
64710 #include <ieeefp.h>
64711 #endif
64714 main ()
64716 isinfl(0);
64718 return 0;
64720 _ACEOF
64721 if ac_fn_cxx_try_compile "$LINENO"; then :
64722 glibcxx_cv_func_isinfl_use=yes
64723 else
64724 glibcxx_cv_func_isinfl_use=no
64726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64727 ac_ext=c
64728 ac_cpp='$CPP $CPPFLAGS'
64729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64738 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64741 for ac_func in isinfl
64742 do :
64743 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64744 if test "x$ac_cv_func_isinfl" = xyes; then :
64745 cat >>confdefs.h <<_ACEOF
64746 #define HAVE_ISINFL 1
64747 _ACEOF
64750 done
64752 else
64754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64755 $as_echo_n "checking for _isinfl declaration... " >&6; }
64756 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64757 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64758 $as_echo_n "(cached) " >&6
64759 else
64762 ac_ext=cpp
64763 ac_cpp='$CXXCPP $CPPFLAGS'
64764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64769 /* end confdefs.h. */
64770 #include <math.h>
64771 #ifdef HAVE_IEEEFP_H
64772 #include <ieeefp.h>
64773 #endif
64776 main ()
64778 _isinfl(0);
64780 return 0;
64782 _ACEOF
64783 if ac_fn_cxx_try_compile "$LINENO"; then :
64784 glibcxx_cv_func__isinfl_use=yes
64785 else
64786 glibcxx_cv_func__isinfl_use=no
64788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64789 ac_ext=c
64790 ac_cpp='$CPP $CPPFLAGS'
64791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64800 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64802 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64803 for ac_func in _isinfl
64804 do :
64805 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64806 if test "x$ac_cv_func__isinfl" = xyes; then :
64807 cat >>confdefs.h <<_ACEOF
64808 #define HAVE__ISINFL 1
64809 _ACEOF
64812 done
64821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64822 $as_echo_n "checking for atan2l declaration... " >&6; }
64823 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64824 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64825 $as_echo_n "(cached) " >&6
64826 else
64829 ac_ext=cpp
64830 ac_cpp='$CXXCPP $CPPFLAGS'
64831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64836 /* end confdefs.h. */
64837 #include <math.h>
64839 main ()
64841 atan2l(0, 0);
64843 return 0;
64845 _ACEOF
64846 if ac_fn_cxx_try_compile "$LINENO"; then :
64847 glibcxx_cv_func_atan2l_use=yes
64848 else
64849 glibcxx_cv_func_atan2l_use=no
64851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64852 ac_ext=c
64853 ac_cpp='$CPP $CPPFLAGS'
64854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64863 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64865 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64866 for ac_func in atan2l
64867 do :
64868 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64869 if test "x$ac_cv_func_atan2l" = xyes; then :
64870 cat >>confdefs.h <<_ACEOF
64871 #define HAVE_ATAN2L 1
64872 _ACEOF
64875 done
64877 else
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64880 $as_echo_n "checking for _atan2l declaration... " >&6; }
64881 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64882 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64883 $as_echo_n "(cached) " >&6
64884 else
64887 ac_ext=cpp
64888 ac_cpp='$CXXCPP $CPPFLAGS'
64889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64894 /* end confdefs.h. */
64895 #include <math.h>
64897 main ()
64899 _atan2l(0, 0);
64901 return 0;
64903 _ACEOF
64904 if ac_fn_cxx_try_compile "$LINENO"; then :
64905 glibcxx_cv_func__atan2l_use=yes
64906 else
64907 glibcxx_cv_func__atan2l_use=no
64909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64910 ac_ext=c
64911 ac_cpp='$CPP $CPPFLAGS'
64912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64921 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64923 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64924 for ac_func in _atan2l
64925 do :
64926 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64927 if test "x$ac_cv_func__atan2l" = xyes; then :
64928 cat >>confdefs.h <<_ACEOF
64929 #define HAVE__ATAN2L 1
64930 _ACEOF
64933 done
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64943 $as_echo_n "checking for expl declaration... " >&6; }
64944 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64945 if ${glibcxx_cv_func_expl_use+:} false; then :
64946 $as_echo_n "(cached) " >&6
64947 else
64950 ac_ext=cpp
64951 ac_cpp='$CXXCPP $CPPFLAGS'
64952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64957 /* end confdefs.h. */
64958 #include <math.h>
64959 #ifdef HAVE_IEEEFP_H
64960 #include <ieeefp.h>
64961 #endif
64964 main ()
64966 expl(0);
64968 return 0;
64970 _ACEOF
64971 if ac_fn_cxx_try_compile "$LINENO"; then :
64972 glibcxx_cv_func_expl_use=yes
64973 else
64974 glibcxx_cv_func_expl_use=no
64976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64977 ac_ext=c
64978 ac_cpp='$CPP $CPPFLAGS'
64979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64988 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64990 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64991 for ac_func in expl
64992 do :
64993 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64994 if test "x$ac_cv_func_expl" = xyes; then :
64995 cat >>confdefs.h <<_ACEOF
64996 #define HAVE_EXPL 1
64997 _ACEOF
65000 done
65002 else
65004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65005 $as_echo_n "checking for _expl declaration... " >&6; }
65006 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65007 if ${glibcxx_cv_func__expl_use+:} false; then :
65008 $as_echo_n "(cached) " >&6
65009 else
65012 ac_ext=cpp
65013 ac_cpp='$CXXCPP $CPPFLAGS'
65014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65019 /* end confdefs.h. */
65020 #include <math.h>
65021 #ifdef HAVE_IEEEFP_H
65022 #include <ieeefp.h>
65023 #endif
65026 main ()
65028 _expl(0);
65030 return 0;
65032 _ACEOF
65033 if ac_fn_cxx_try_compile "$LINENO"; then :
65034 glibcxx_cv_func__expl_use=yes
65035 else
65036 glibcxx_cv_func__expl_use=no
65038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65039 ac_ext=c
65040 ac_cpp='$CPP $CPPFLAGS'
65041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65050 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65052 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65053 for ac_func in _expl
65054 do :
65055 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65056 if test "x$ac_cv_func__expl" = xyes; then :
65057 cat >>confdefs.h <<_ACEOF
65058 #define HAVE__EXPL 1
65059 _ACEOF
65062 done
65071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65072 $as_echo_n "checking for fabsl declaration... " >&6; }
65073 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65074 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65075 $as_echo_n "(cached) " >&6
65076 else
65079 ac_ext=cpp
65080 ac_cpp='$CXXCPP $CPPFLAGS'
65081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65086 /* end confdefs.h. */
65087 #include <math.h>
65088 #ifdef HAVE_IEEEFP_H
65089 #include <ieeefp.h>
65090 #endif
65093 main ()
65095 fabsl(0);
65097 return 0;
65099 _ACEOF
65100 if ac_fn_cxx_try_compile "$LINENO"; then :
65101 glibcxx_cv_func_fabsl_use=yes
65102 else
65103 glibcxx_cv_func_fabsl_use=no
65105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65106 ac_ext=c
65107 ac_cpp='$CPP $CPPFLAGS'
65108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65117 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65119 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65120 for ac_func in fabsl
65121 do :
65122 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65123 if test "x$ac_cv_func_fabsl" = xyes; then :
65124 cat >>confdefs.h <<_ACEOF
65125 #define HAVE_FABSL 1
65126 _ACEOF
65129 done
65131 else
65133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65134 $as_echo_n "checking for _fabsl declaration... " >&6; }
65135 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65136 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65137 $as_echo_n "(cached) " >&6
65138 else
65141 ac_ext=cpp
65142 ac_cpp='$CXXCPP $CPPFLAGS'
65143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65148 /* end confdefs.h. */
65149 #include <math.h>
65150 #ifdef HAVE_IEEEFP_H
65151 #include <ieeefp.h>
65152 #endif
65155 main ()
65157 _fabsl(0);
65159 return 0;
65161 _ACEOF
65162 if ac_fn_cxx_try_compile "$LINENO"; then :
65163 glibcxx_cv_func__fabsl_use=yes
65164 else
65165 glibcxx_cv_func__fabsl_use=no
65167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65168 ac_ext=c
65169 ac_cpp='$CPP $CPPFLAGS'
65170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65179 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65181 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65182 for ac_func in _fabsl
65183 do :
65184 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65185 if test "x$ac_cv_func__fabsl" = xyes; then :
65186 cat >>confdefs.h <<_ACEOF
65187 #define HAVE__FABSL 1
65188 _ACEOF
65191 done
65200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65201 $as_echo_n "checking for fmodl declaration... " >&6; }
65202 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65203 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65204 $as_echo_n "(cached) " >&6
65205 else
65208 ac_ext=cpp
65209 ac_cpp='$CXXCPP $CPPFLAGS'
65210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65215 /* end confdefs.h. */
65216 #include <math.h>
65218 main ()
65220 fmodl(0, 0);
65222 return 0;
65224 _ACEOF
65225 if ac_fn_cxx_try_compile "$LINENO"; then :
65226 glibcxx_cv_func_fmodl_use=yes
65227 else
65228 glibcxx_cv_func_fmodl_use=no
65230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65231 ac_ext=c
65232 ac_cpp='$CPP $CPPFLAGS'
65233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65242 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65244 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65245 for ac_func in fmodl
65246 do :
65247 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65248 if test "x$ac_cv_func_fmodl" = xyes; then :
65249 cat >>confdefs.h <<_ACEOF
65250 #define HAVE_FMODL 1
65251 _ACEOF
65254 done
65256 else
65258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65259 $as_echo_n "checking for _fmodl declaration... " >&6; }
65260 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65261 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65262 $as_echo_n "(cached) " >&6
65263 else
65266 ac_ext=cpp
65267 ac_cpp='$CXXCPP $CPPFLAGS'
65268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65273 /* end confdefs.h. */
65274 #include <math.h>
65276 main ()
65278 _fmodl(0, 0);
65280 return 0;
65282 _ACEOF
65283 if ac_fn_cxx_try_compile "$LINENO"; then :
65284 glibcxx_cv_func__fmodl_use=yes
65285 else
65286 glibcxx_cv_func__fmodl_use=no
65288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65289 ac_ext=c
65290 ac_cpp='$CPP $CPPFLAGS'
65291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65300 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65302 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65303 for ac_func in _fmodl
65304 do :
65305 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65306 if test "x$ac_cv_func__fmodl" = xyes; then :
65307 cat >>confdefs.h <<_ACEOF
65308 #define HAVE__FMODL 1
65309 _ACEOF
65312 done
65321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65322 $as_echo_n "checking for frexpl declaration... " >&6; }
65323 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65324 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65325 $as_echo_n "(cached) " >&6
65326 else
65329 ac_ext=cpp
65330 ac_cpp='$CXXCPP $CPPFLAGS'
65331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65336 /* end confdefs.h. */
65337 #include <math.h>
65339 main ()
65341 frexpl(0, 0);
65343 return 0;
65345 _ACEOF
65346 if ac_fn_cxx_try_compile "$LINENO"; then :
65347 glibcxx_cv_func_frexpl_use=yes
65348 else
65349 glibcxx_cv_func_frexpl_use=no
65351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65352 ac_ext=c
65353 ac_cpp='$CPP $CPPFLAGS'
65354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65363 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65365 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65366 for ac_func in frexpl
65367 do :
65368 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65369 if test "x$ac_cv_func_frexpl" = xyes; then :
65370 cat >>confdefs.h <<_ACEOF
65371 #define HAVE_FREXPL 1
65372 _ACEOF
65375 done
65377 else
65379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65380 $as_echo_n "checking for _frexpl declaration... " >&6; }
65381 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65382 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65383 $as_echo_n "(cached) " >&6
65384 else
65387 ac_ext=cpp
65388 ac_cpp='$CXXCPP $CPPFLAGS'
65389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65394 /* end confdefs.h. */
65395 #include <math.h>
65397 main ()
65399 _frexpl(0, 0);
65401 return 0;
65403 _ACEOF
65404 if ac_fn_cxx_try_compile "$LINENO"; then :
65405 glibcxx_cv_func__frexpl_use=yes
65406 else
65407 glibcxx_cv_func__frexpl_use=no
65409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65410 ac_ext=c
65411 ac_cpp='$CPP $CPPFLAGS'
65412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65421 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65423 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65424 for ac_func in _frexpl
65425 do :
65426 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65427 if test "x$ac_cv_func__frexpl" = xyes; then :
65428 cat >>confdefs.h <<_ACEOF
65429 #define HAVE__FREXPL 1
65430 _ACEOF
65433 done
65442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65443 $as_echo_n "checking for hypotl declaration... " >&6; }
65444 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65445 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65446 $as_echo_n "(cached) " >&6
65447 else
65450 ac_ext=cpp
65451 ac_cpp='$CXXCPP $CPPFLAGS'
65452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65457 /* end confdefs.h. */
65458 #include <math.h>
65460 main ()
65462 hypotl(0, 0);
65464 return 0;
65466 _ACEOF
65467 if ac_fn_cxx_try_compile "$LINENO"; then :
65468 glibcxx_cv_func_hypotl_use=yes
65469 else
65470 glibcxx_cv_func_hypotl_use=no
65472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65473 ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65484 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65486 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65487 for ac_func in hypotl
65488 do :
65489 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65490 if test "x$ac_cv_func_hypotl" = xyes; then :
65491 cat >>confdefs.h <<_ACEOF
65492 #define HAVE_HYPOTL 1
65493 _ACEOF
65496 done
65498 else
65500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65501 $as_echo_n "checking for _hypotl declaration... " >&6; }
65502 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65503 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65504 $as_echo_n "(cached) " >&6
65505 else
65508 ac_ext=cpp
65509 ac_cpp='$CXXCPP $CPPFLAGS'
65510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65515 /* end confdefs.h. */
65516 #include <math.h>
65518 main ()
65520 _hypotl(0, 0);
65522 return 0;
65524 _ACEOF
65525 if ac_fn_cxx_try_compile "$LINENO"; then :
65526 glibcxx_cv_func__hypotl_use=yes
65527 else
65528 glibcxx_cv_func__hypotl_use=no
65530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65531 ac_ext=c
65532 ac_cpp='$CPP $CPPFLAGS'
65533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65542 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65544 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65545 for ac_func in _hypotl
65546 do :
65547 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65548 if test "x$ac_cv_func__hypotl" = xyes; then :
65549 cat >>confdefs.h <<_ACEOF
65550 #define HAVE__HYPOTL 1
65551 _ACEOF
65554 done
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65564 $as_echo_n "checking for ldexpl declaration... " >&6; }
65565 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65566 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65567 $as_echo_n "(cached) " >&6
65568 else
65571 ac_ext=cpp
65572 ac_cpp='$CXXCPP $CPPFLAGS'
65573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65578 /* end confdefs.h. */
65579 #include <math.h>
65581 main ()
65583 ldexpl(0, 0);
65585 return 0;
65587 _ACEOF
65588 if ac_fn_cxx_try_compile "$LINENO"; then :
65589 glibcxx_cv_func_ldexpl_use=yes
65590 else
65591 glibcxx_cv_func_ldexpl_use=no
65593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65594 ac_ext=c
65595 ac_cpp='$CPP $CPPFLAGS'
65596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65605 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65607 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65608 for ac_func in ldexpl
65609 do :
65610 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65611 if test "x$ac_cv_func_ldexpl" = xyes; then :
65612 cat >>confdefs.h <<_ACEOF
65613 #define HAVE_LDEXPL 1
65614 _ACEOF
65617 done
65619 else
65621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65622 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65623 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65624 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65625 $as_echo_n "(cached) " >&6
65626 else
65629 ac_ext=cpp
65630 ac_cpp='$CXXCPP $CPPFLAGS'
65631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65636 /* end confdefs.h. */
65637 #include <math.h>
65639 main ()
65641 _ldexpl(0, 0);
65643 return 0;
65645 _ACEOF
65646 if ac_fn_cxx_try_compile "$LINENO"; then :
65647 glibcxx_cv_func__ldexpl_use=yes
65648 else
65649 glibcxx_cv_func__ldexpl_use=no
65651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65652 ac_ext=c
65653 ac_cpp='$CPP $CPPFLAGS'
65654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65663 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65665 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65666 for ac_func in _ldexpl
65667 do :
65668 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65669 if test "x$ac_cv_func__ldexpl" = xyes; then :
65670 cat >>confdefs.h <<_ACEOF
65671 #define HAVE__LDEXPL 1
65672 _ACEOF
65675 done
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65685 $as_echo_n "checking for logl declaration... " >&6; }
65686 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65687 if ${glibcxx_cv_func_logl_use+:} false; then :
65688 $as_echo_n "(cached) " >&6
65689 else
65692 ac_ext=cpp
65693 ac_cpp='$CXXCPP $CPPFLAGS'
65694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65699 /* end confdefs.h. */
65700 #include <math.h>
65701 #ifdef HAVE_IEEEFP_H
65702 #include <ieeefp.h>
65703 #endif
65706 main ()
65708 logl(0);
65710 return 0;
65712 _ACEOF
65713 if ac_fn_cxx_try_compile "$LINENO"; then :
65714 glibcxx_cv_func_logl_use=yes
65715 else
65716 glibcxx_cv_func_logl_use=no
65718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65719 ac_ext=c
65720 ac_cpp='$CPP $CPPFLAGS'
65721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65730 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65732 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65733 for ac_func in logl
65734 do :
65735 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65736 if test "x$ac_cv_func_logl" = xyes; then :
65737 cat >>confdefs.h <<_ACEOF
65738 #define HAVE_LOGL 1
65739 _ACEOF
65742 done
65744 else
65746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65747 $as_echo_n "checking for _logl declaration... " >&6; }
65748 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65749 if ${glibcxx_cv_func__logl_use+:} false; then :
65750 $as_echo_n "(cached) " >&6
65751 else
65754 ac_ext=cpp
65755 ac_cpp='$CXXCPP $CPPFLAGS'
65756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65761 /* end confdefs.h. */
65762 #include <math.h>
65763 #ifdef HAVE_IEEEFP_H
65764 #include <ieeefp.h>
65765 #endif
65768 main ()
65770 _logl(0);
65772 return 0;
65774 _ACEOF
65775 if ac_fn_cxx_try_compile "$LINENO"; then :
65776 glibcxx_cv_func__logl_use=yes
65777 else
65778 glibcxx_cv_func__logl_use=no
65780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65781 ac_ext=c
65782 ac_cpp='$CPP $CPPFLAGS'
65783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65792 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65794 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65795 for ac_func in _logl
65796 do :
65797 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65798 if test "x$ac_cv_func__logl" = xyes; then :
65799 cat >>confdefs.h <<_ACEOF
65800 #define HAVE__LOGL 1
65801 _ACEOF
65804 done
65813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65814 $as_echo_n "checking for log10l declaration... " >&6; }
65815 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65816 if ${glibcxx_cv_func_log10l_use+:} false; then :
65817 $as_echo_n "(cached) " >&6
65818 else
65821 ac_ext=cpp
65822 ac_cpp='$CXXCPP $CPPFLAGS'
65823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65828 /* end confdefs.h. */
65829 #include <math.h>
65830 #ifdef HAVE_IEEEFP_H
65831 #include <ieeefp.h>
65832 #endif
65835 main ()
65837 log10l(0);
65839 return 0;
65841 _ACEOF
65842 if ac_fn_cxx_try_compile "$LINENO"; then :
65843 glibcxx_cv_func_log10l_use=yes
65844 else
65845 glibcxx_cv_func_log10l_use=no
65847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65848 ac_ext=c
65849 ac_cpp='$CPP $CPPFLAGS'
65850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65859 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65861 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65862 for ac_func in log10l
65863 do :
65864 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65865 if test "x$ac_cv_func_log10l" = xyes; then :
65866 cat >>confdefs.h <<_ACEOF
65867 #define HAVE_LOG10L 1
65868 _ACEOF
65871 done
65873 else
65875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65876 $as_echo_n "checking for _log10l declaration... " >&6; }
65877 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65878 if ${glibcxx_cv_func__log10l_use+:} false; then :
65879 $as_echo_n "(cached) " >&6
65880 else
65883 ac_ext=cpp
65884 ac_cpp='$CXXCPP $CPPFLAGS'
65885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65890 /* end confdefs.h. */
65891 #include <math.h>
65892 #ifdef HAVE_IEEEFP_H
65893 #include <ieeefp.h>
65894 #endif
65897 main ()
65899 _log10l(0);
65901 return 0;
65903 _ACEOF
65904 if ac_fn_cxx_try_compile "$LINENO"; then :
65905 glibcxx_cv_func__log10l_use=yes
65906 else
65907 glibcxx_cv_func__log10l_use=no
65909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65910 ac_ext=c
65911 ac_cpp='$CPP $CPPFLAGS'
65912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65921 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65923 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65924 for ac_func in _log10l
65925 do :
65926 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65927 if test "x$ac_cv_func__log10l" = xyes; then :
65928 cat >>confdefs.h <<_ACEOF
65929 #define HAVE__LOG10L 1
65930 _ACEOF
65933 done
65942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65943 $as_echo_n "checking for modfl declaration... " >&6; }
65944 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65945 if ${glibcxx_cv_func_modfl_use+:} false; then :
65946 $as_echo_n "(cached) " >&6
65947 else
65950 ac_ext=cpp
65951 ac_cpp='$CXXCPP $CPPFLAGS'
65952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65957 /* end confdefs.h. */
65958 #include <math.h>
65960 main ()
65962 modfl(0, 0);
65964 return 0;
65966 _ACEOF
65967 if ac_fn_cxx_try_compile "$LINENO"; then :
65968 glibcxx_cv_func_modfl_use=yes
65969 else
65970 glibcxx_cv_func_modfl_use=no
65972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65973 ac_ext=c
65974 ac_cpp='$CPP $CPPFLAGS'
65975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65984 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65986 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65987 for ac_func in modfl
65988 do :
65989 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65990 if test "x$ac_cv_func_modfl" = xyes; then :
65991 cat >>confdefs.h <<_ACEOF
65992 #define HAVE_MODFL 1
65993 _ACEOF
65996 done
65998 else
66000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66001 $as_echo_n "checking for _modfl declaration... " >&6; }
66002 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66003 if ${glibcxx_cv_func__modfl_use+:} false; then :
66004 $as_echo_n "(cached) " >&6
66005 else
66008 ac_ext=cpp
66009 ac_cpp='$CXXCPP $CPPFLAGS'
66010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66015 /* end confdefs.h. */
66016 #include <math.h>
66018 main ()
66020 _modfl(0, 0);
66022 return 0;
66024 _ACEOF
66025 if ac_fn_cxx_try_compile "$LINENO"; then :
66026 glibcxx_cv_func__modfl_use=yes
66027 else
66028 glibcxx_cv_func__modfl_use=no
66030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66031 ac_ext=c
66032 ac_cpp='$CPP $CPPFLAGS'
66033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66042 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66044 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66045 for ac_func in _modfl
66046 do :
66047 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66048 if test "x$ac_cv_func__modfl" = xyes; then :
66049 cat >>confdefs.h <<_ACEOF
66050 #define HAVE__MODFL 1
66051 _ACEOF
66054 done
66063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66064 $as_echo_n "checking for powl declaration... " >&6; }
66065 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66066 if ${glibcxx_cv_func_powl_use+:} false; then :
66067 $as_echo_n "(cached) " >&6
66068 else
66071 ac_ext=cpp
66072 ac_cpp='$CXXCPP $CPPFLAGS'
66073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66078 /* end confdefs.h. */
66079 #include <math.h>
66081 main ()
66083 powl(0, 0);
66085 return 0;
66087 _ACEOF
66088 if ac_fn_cxx_try_compile "$LINENO"; then :
66089 glibcxx_cv_func_powl_use=yes
66090 else
66091 glibcxx_cv_func_powl_use=no
66093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66094 ac_ext=c
66095 ac_cpp='$CPP $CPPFLAGS'
66096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66105 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66107 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66108 for ac_func in powl
66109 do :
66110 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66111 if test "x$ac_cv_func_powl" = xyes; then :
66112 cat >>confdefs.h <<_ACEOF
66113 #define HAVE_POWL 1
66114 _ACEOF
66117 done
66119 else
66121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66122 $as_echo_n "checking for _powl declaration... " >&6; }
66123 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66124 if ${glibcxx_cv_func__powl_use+:} false; then :
66125 $as_echo_n "(cached) " >&6
66126 else
66129 ac_ext=cpp
66130 ac_cpp='$CXXCPP $CPPFLAGS'
66131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66136 /* end confdefs.h. */
66137 #include <math.h>
66139 main ()
66141 _powl(0, 0);
66143 return 0;
66145 _ACEOF
66146 if ac_fn_cxx_try_compile "$LINENO"; then :
66147 glibcxx_cv_func__powl_use=yes
66148 else
66149 glibcxx_cv_func__powl_use=no
66151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66152 ac_ext=c
66153 ac_cpp='$CPP $CPPFLAGS'
66154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66163 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66165 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66166 for ac_func in _powl
66167 do :
66168 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66169 if test "x$ac_cv_func__powl" = xyes; then :
66170 cat >>confdefs.h <<_ACEOF
66171 #define HAVE__POWL 1
66172 _ACEOF
66175 done
66184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66185 $as_echo_n "checking for sqrtl declaration... " >&6; }
66186 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66187 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66188 $as_echo_n "(cached) " >&6
66189 else
66192 ac_ext=cpp
66193 ac_cpp='$CXXCPP $CPPFLAGS'
66194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66199 /* end confdefs.h. */
66200 #include <math.h>
66201 #ifdef HAVE_IEEEFP_H
66202 #include <ieeefp.h>
66203 #endif
66206 main ()
66208 sqrtl(0);
66210 return 0;
66212 _ACEOF
66213 if ac_fn_cxx_try_compile "$LINENO"; then :
66214 glibcxx_cv_func_sqrtl_use=yes
66215 else
66216 glibcxx_cv_func_sqrtl_use=no
66218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66219 ac_ext=c
66220 ac_cpp='$CPP $CPPFLAGS'
66221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66230 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66232 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66233 for ac_func in sqrtl
66234 do :
66235 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66236 if test "x$ac_cv_func_sqrtl" = xyes; then :
66237 cat >>confdefs.h <<_ACEOF
66238 #define HAVE_SQRTL 1
66239 _ACEOF
66242 done
66244 else
66246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66247 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66248 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66249 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66250 $as_echo_n "(cached) " >&6
66251 else
66254 ac_ext=cpp
66255 ac_cpp='$CXXCPP $CPPFLAGS'
66256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66261 /* end confdefs.h. */
66262 #include <math.h>
66263 #ifdef HAVE_IEEEFP_H
66264 #include <ieeefp.h>
66265 #endif
66268 main ()
66270 _sqrtl(0);
66272 return 0;
66274 _ACEOF
66275 if ac_fn_cxx_try_compile "$LINENO"; then :
66276 glibcxx_cv_func__sqrtl_use=yes
66277 else
66278 glibcxx_cv_func__sqrtl_use=no
66280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66281 ac_ext=c
66282 ac_cpp='$CPP $CPPFLAGS'
66283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66292 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66294 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66295 for ac_func in _sqrtl
66296 do :
66297 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66298 if test "x$ac_cv_func__sqrtl" = xyes; then :
66299 cat >>confdefs.h <<_ACEOF
66300 #define HAVE__SQRTL 1
66301 _ACEOF
66304 done
66313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66314 $as_echo_n "checking for sincosl declaration... " >&6; }
66315 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66316 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66317 $as_echo_n "(cached) " >&6
66318 else
66321 ac_ext=cpp
66322 ac_cpp='$CXXCPP $CPPFLAGS'
66323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66328 /* end confdefs.h. */
66329 #include <math.h>
66331 main ()
66333 sincosl(0, 0, 0);
66335 return 0;
66337 _ACEOF
66338 if ac_fn_cxx_try_compile "$LINENO"; then :
66339 glibcxx_cv_func_sincosl_use=yes
66340 else
66341 glibcxx_cv_func_sincosl_use=no
66343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66344 ac_ext=c
66345 ac_cpp='$CPP $CPPFLAGS'
66346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66355 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66357 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66358 for ac_func in sincosl
66359 do :
66360 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66361 if test "x$ac_cv_func_sincosl" = xyes; then :
66362 cat >>confdefs.h <<_ACEOF
66363 #define HAVE_SINCOSL 1
66364 _ACEOF
66367 done
66369 else
66371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66372 $as_echo_n "checking for _sincosl declaration... " >&6; }
66373 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66374 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66375 $as_echo_n "(cached) " >&6
66376 else
66379 ac_ext=cpp
66380 ac_cpp='$CXXCPP $CPPFLAGS'
66381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66386 /* end confdefs.h. */
66387 #include <math.h>
66389 main ()
66391 _sincosl(0, 0, 0);
66393 return 0;
66395 _ACEOF
66396 if ac_fn_cxx_try_compile "$LINENO"; then :
66397 glibcxx_cv_func__sincosl_use=yes
66398 else
66399 glibcxx_cv_func__sincosl_use=no
66401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66402 ac_ext=c
66403 ac_cpp='$CPP $CPPFLAGS'
66404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66413 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66415 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66416 for ac_func in _sincosl
66417 do :
66418 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66419 if test "x$ac_cv_func__sincosl" = xyes; then :
66420 cat >>confdefs.h <<_ACEOF
66421 #define HAVE__SINCOSL 1
66422 _ACEOF
66425 done
66434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66435 $as_echo_n "checking for finitel declaration... " >&6; }
66436 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66437 if ${glibcxx_cv_func_finitel_use+:} false; then :
66438 $as_echo_n "(cached) " >&6
66439 else
66442 ac_ext=cpp
66443 ac_cpp='$CXXCPP $CPPFLAGS'
66444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66449 /* end confdefs.h. */
66450 #include <math.h>
66451 #ifdef HAVE_IEEEFP_H
66452 #include <ieeefp.h>
66453 #endif
66456 main ()
66458 finitel(0);
66460 return 0;
66462 _ACEOF
66463 if ac_fn_cxx_try_compile "$LINENO"; then :
66464 glibcxx_cv_func_finitel_use=yes
66465 else
66466 glibcxx_cv_func_finitel_use=no
66468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66469 ac_ext=c
66470 ac_cpp='$CPP $CPPFLAGS'
66471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66480 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66482 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66483 for ac_func in finitel
66484 do :
66485 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66486 if test "x$ac_cv_func_finitel" = xyes; then :
66487 cat >>confdefs.h <<_ACEOF
66488 #define HAVE_FINITEL 1
66489 _ACEOF
66492 done
66494 else
66496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66497 $as_echo_n "checking for _finitel declaration... " >&6; }
66498 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66499 if ${glibcxx_cv_func__finitel_use+:} false; then :
66500 $as_echo_n "(cached) " >&6
66501 else
66504 ac_ext=cpp
66505 ac_cpp='$CXXCPP $CPPFLAGS'
66506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66511 /* end confdefs.h. */
66512 #include <math.h>
66513 #ifdef HAVE_IEEEFP_H
66514 #include <ieeefp.h>
66515 #endif
66518 main ()
66520 _finitel(0);
66522 return 0;
66524 _ACEOF
66525 if ac_fn_cxx_try_compile "$LINENO"; then :
66526 glibcxx_cv_func__finitel_use=yes
66527 else
66528 glibcxx_cv_func__finitel_use=no
66530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66531 ac_ext=c
66532 ac_cpp='$CPP $CPPFLAGS'
66533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66542 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66544 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66545 for ac_func in _finitel
66546 do :
66547 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66548 if test "x$ac_cv_func__finitel" = xyes; then :
66549 cat >>confdefs.h <<_ACEOF
66550 #define HAVE__FINITEL 1
66551 _ACEOF
66554 done
66562 LIBS="$ac_save_LIBS"
66563 CXXFLAGS="$ac_save_CXXFLAGS"
66566 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66567 ac_save_CXXFLAGS="$CXXFLAGS"
66568 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66572 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66573 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66574 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66575 $as_echo_n "(cached) " >&6
66576 else
66579 ac_ext=cpp
66580 ac_cpp='$CXXCPP $CPPFLAGS'
66581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66586 /* end confdefs.h. */
66587 #include <stdlib.h>
66589 main ()
66591 at_quick_exit(0);
66593 return 0;
66595 _ACEOF
66596 if ac_fn_cxx_try_compile "$LINENO"; then :
66597 glibcxx_cv_func_at_quick_exit_use=yes
66598 else
66599 glibcxx_cv_func_at_quick_exit_use=no
66601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66602 ac_ext=c
66603 ac_cpp='$CPP $CPPFLAGS'
66604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66613 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66614 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66615 for ac_func in at_quick_exit
66616 do :
66617 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66618 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66619 cat >>confdefs.h <<_ACEOF
66620 #define HAVE_AT_QUICK_EXIT 1
66621 _ACEOF
66624 done
66629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66630 $as_echo_n "checking for quick_exit declaration... " >&6; }
66631 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66632 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66633 $as_echo_n "(cached) " >&6
66634 else
66637 ac_ext=cpp
66638 ac_cpp='$CXXCPP $CPPFLAGS'
66639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66644 /* end confdefs.h. */
66645 #include <stdlib.h>
66647 main ()
66649 quick_exit(0);
66651 return 0;
66653 _ACEOF
66654 if ac_fn_cxx_try_compile "$LINENO"; then :
66655 glibcxx_cv_func_quick_exit_use=yes
66656 else
66657 glibcxx_cv_func_quick_exit_use=no
66659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66660 ac_ext=c
66661 ac_cpp='$CPP $CPPFLAGS'
66662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66671 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66672 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66673 for ac_func in quick_exit
66674 do :
66675 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66676 if test "x$ac_cv_func_quick_exit" = xyes; then :
66677 cat >>confdefs.h <<_ACEOF
66678 #define HAVE_QUICK_EXIT 1
66679 _ACEOF
66682 done
66687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66688 $as_echo_n "checking for strtold declaration... " >&6; }
66689 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66690 if ${glibcxx_cv_func_strtold_use+:} false; then :
66691 $as_echo_n "(cached) " >&6
66692 else
66695 ac_ext=cpp
66696 ac_cpp='$CXXCPP $CPPFLAGS'
66697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66702 /* end confdefs.h. */
66703 #include <stdlib.h>
66705 main ()
66707 strtold(0, 0);
66709 return 0;
66711 _ACEOF
66712 if ac_fn_cxx_try_compile "$LINENO"; then :
66713 glibcxx_cv_func_strtold_use=yes
66714 else
66715 glibcxx_cv_func_strtold_use=no
66717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66718 ac_ext=c
66719 ac_cpp='$CPP $CPPFLAGS'
66720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66729 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66730 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66731 for ac_func in strtold
66732 do :
66733 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66734 if test "x$ac_cv_func_strtold" = xyes; then :
66735 cat >>confdefs.h <<_ACEOF
66736 #define HAVE_STRTOLD 1
66737 _ACEOF
66740 done
66747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66748 $as_echo_n "checking for strtof declaration... " >&6; }
66749 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66750 if ${glibcxx_cv_func_strtof_use+:} false; then :
66751 $as_echo_n "(cached) " >&6
66752 else
66755 ac_ext=cpp
66756 ac_cpp='$CXXCPP $CPPFLAGS'
66757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66762 /* end confdefs.h. */
66763 #include <stdlib.h>
66765 main ()
66767 strtof(0, 0);
66769 return 0;
66771 _ACEOF
66772 if ac_fn_cxx_try_compile "$LINENO"; then :
66773 glibcxx_cv_func_strtof_use=yes
66774 else
66775 glibcxx_cv_func_strtof_use=no
66777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66778 ac_ext=c
66779 ac_cpp='$CPP $CPPFLAGS'
66780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66789 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66790 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66791 for ac_func in strtof
66792 do :
66793 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66794 if test "x$ac_cv_func_strtof" = xyes; then :
66795 cat >>confdefs.h <<_ACEOF
66796 #define HAVE_STRTOF 1
66797 _ACEOF
66800 done
66807 CXXFLAGS="$ac_save_CXXFLAGS"
66810 *-tpf)
66811 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66812 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66814 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66816 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66818 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66820 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66822 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66824 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66826 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66828 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66830 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66832 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66834 if test x"long_double_math_on_this_cpu" = x"yes"; then
66835 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66837 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66839 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66841 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66845 *-*vms*)
66846 # Check for available headers.
66847 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66849 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66850 ac_save_CXXFLAGS="$CXXFLAGS"
66851 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66854 $as_echo_n "checking for sin in -lm... " >&6; }
66855 if ${ac_cv_lib_m_sin+:} false; then :
66856 $as_echo_n "(cached) " >&6
66857 else
66858 ac_check_lib_save_LIBS=$LIBS
66859 LIBS="-lm $LIBS"
66860 if test x$gcc_no_link = xyes; then
66861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66866 /* Override any GCC internal prototype to avoid an error.
66867 Use char because int might match the return type of a GCC
66868 builtin and then its argument prototype would still apply. */
66869 #ifdef __cplusplus
66870 extern "C"
66871 #endif
66872 char sin ();
66874 main ()
66876 return sin ();
66878 return 0;
66880 _ACEOF
66881 if ac_fn_c_try_link "$LINENO"; then :
66882 ac_cv_lib_m_sin=yes
66883 else
66884 ac_cv_lib_m_sin=no
66886 rm -f core conftest.err conftest.$ac_objext \
66887 conftest$ac_exeext conftest.$ac_ext
66888 LIBS=$ac_check_lib_save_LIBS
66890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66891 $as_echo "$ac_cv_lib_m_sin" >&6; }
66892 if test "x$ac_cv_lib_m_sin" = xyes; then :
66893 libm="-lm"
66896 ac_save_LIBS="$LIBS"
66897 LIBS="$LIBS $libm"
66901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66902 $as_echo_n "checking for isinf declaration... " >&6; }
66903 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66904 if ${glibcxx_cv_func_isinf_use+:} false; then :
66905 $as_echo_n "(cached) " >&6
66906 else
66909 ac_ext=cpp
66910 ac_cpp='$CXXCPP $CPPFLAGS'
66911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66916 /* end confdefs.h. */
66917 #include <math.h>
66918 #ifdef HAVE_IEEEFP_H
66919 #include <ieeefp.h>
66920 #endif
66923 main ()
66925 isinf(0);
66927 return 0;
66929 _ACEOF
66930 if ac_fn_cxx_try_compile "$LINENO"; then :
66931 glibcxx_cv_func_isinf_use=yes
66932 else
66933 glibcxx_cv_func_isinf_use=no
66935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66936 ac_ext=c
66937 ac_cpp='$CPP $CPPFLAGS'
66938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66947 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66949 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66950 for ac_func in isinf
66951 do :
66952 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66953 if test "x$ac_cv_func_isinf" = xyes; then :
66954 cat >>confdefs.h <<_ACEOF
66955 #define HAVE_ISINF 1
66956 _ACEOF
66959 done
66961 else
66963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66964 $as_echo_n "checking for _isinf declaration... " >&6; }
66965 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66966 if ${glibcxx_cv_func__isinf_use+:} false; then :
66967 $as_echo_n "(cached) " >&6
66968 else
66971 ac_ext=cpp
66972 ac_cpp='$CXXCPP $CPPFLAGS'
66973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66978 /* end confdefs.h. */
66979 #include <math.h>
66980 #ifdef HAVE_IEEEFP_H
66981 #include <ieeefp.h>
66982 #endif
66985 main ()
66987 _isinf(0);
66989 return 0;
66991 _ACEOF
66992 if ac_fn_cxx_try_compile "$LINENO"; then :
66993 glibcxx_cv_func__isinf_use=yes
66994 else
66995 glibcxx_cv_func__isinf_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__isinf_use" >&5
67009 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67011 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67012 for ac_func in _isinf
67013 do :
67014 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67015 if test "x$ac_cv_func__isinf" = xyes; then :
67016 cat >>confdefs.h <<_ACEOF
67017 #define HAVE__ISINF 1
67018 _ACEOF
67021 done
67030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67031 $as_echo_n "checking for isnan declaration... " >&6; }
67032 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67033 if ${glibcxx_cv_func_isnan_use+:} false; then :
67034 $as_echo_n "(cached) " >&6
67035 else
67038 ac_ext=cpp
67039 ac_cpp='$CXXCPP $CPPFLAGS'
67040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67045 /* end confdefs.h. */
67046 #include <math.h>
67047 #ifdef HAVE_IEEEFP_H
67048 #include <ieeefp.h>
67049 #endif
67052 main ()
67054 isnan(0);
67056 return 0;
67058 _ACEOF
67059 if ac_fn_cxx_try_compile "$LINENO"; then :
67060 glibcxx_cv_func_isnan_use=yes
67061 else
67062 glibcxx_cv_func_isnan_use=no
67064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67065 ac_ext=c
67066 ac_cpp='$CPP $CPPFLAGS'
67067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67076 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67078 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67079 for ac_func in isnan
67080 do :
67081 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67082 if test "x$ac_cv_func_isnan" = xyes; then :
67083 cat >>confdefs.h <<_ACEOF
67084 #define HAVE_ISNAN 1
67085 _ACEOF
67088 done
67090 else
67092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67093 $as_echo_n "checking for _isnan declaration... " >&6; }
67094 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67095 if ${glibcxx_cv_func__isnan_use+:} false; then :
67096 $as_echo_n "(cached) " >&6
67097 else
67100 ac_ext=cpp
67101 ac_cpp='$CXXCPP $CPPFLAGS'
67102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67107 /* end confdefs.h. */
67108 #include <math.h>
67109 #ifdef HAVE_IEEEFP_H
67110 #include <ieeefp.h>
67111 #endif
67114 main ()
67116 _isnan(0);
67118 return 0;
67120 _ACEOF
67121 if ac_fn_cxx_try_compile "$LINENO"; then :
67122 glibcxx_cv_func__isnan_use=yes
67123 else
67124 glibcxx_cv_func__isnan_use=no
67126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67127 ac_ext=c
67128 ac_cpp='$CPP $CPPFLAGS'
67129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67138 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67140 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67141 for ac_func in _isnan
67142 do :
67143 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67144 if test "x$ac_cv_func__isnan" = xyes; then :
67145 cat >>confdefs.h <<_ACEOF
67146 #define HAVE__ISNAN 1
67147 _ACEOF
67150 done
67159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67160 $as_echo_n "checking for finite declaration... " >&6; }
67161 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67162 if ${glibcxx_cv_func_finite_use+:} false; then :
67163 $as_echo_n "(cached) " >&6
67164 else
67167 ac_ext=cpp
67168 ac_cpp='$CXXCPP $CPPFLAGS'
67169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67174 /* end confdefs.h. */
67175 #include <math.h>
67176 #ifdef HAVE_IEEEFP_H
67177 #include <ieeefp.h>
67178 #endif
67181 main ()
67183 finite(0);
67185 return 0;
67187 _ACEOF
67188 if ac_fn_cxx_try_compile "$LINENO"; then :
67189 glibcxx_cv_func_finite_use=yes
67190 else
67191 glibcxx_cv_func_finite_use=no
67193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67194 ac_ext=c
67195 ac_cpp='$CPP $CPPFLAGS'
67196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67205 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67207 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67208 for ac_func in finite
67209 do :
67210 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67211 if test "x$ac_cv_func_finite" = xyes; then :
67212 cat >>confdefs.h <<_ACEOF
67213 #define HAVE_FINITE 1
67214 _ACEOF
67217 done
67219 else
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67222 $as_echo_n "checking for _finite declaration... " >&6; }
67223 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67224 if ${glibcxx_cv_func__finite_use+:} false; then :
67225 $as_echo_n "(cached) " >&6
67226 else
67229 ac_ext=cpp
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67236 /* end confdefs.h. */
67237 #include <math.h>
67238 #ifdef HAVE_IEEEFP_H
67239 #include <ieeefp.h>
67240 #endif
67243 main ()
67245 _finite(0);
67247 return 0;
67249 _ACEOF
67250 if ac_fn_cxx_try_compile "$LINENO"; then :
67251 glibcxx_cv_func__finite_use=yes
67252 else
67253 glibcxx_cv_func__finite_use=no
67255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67267 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67269 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67270 for ac_func in _finite
67271 do :
67272 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67273 if test "x$ac_cv_func__finite" = xyes; then :
67274 cat >>confdefs.h <<_ACEOF
67275 #define HAVE__FINITE 1
67276 _ACEOF
67279 done
67288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67289 $as_echo_n "checking for sincos declaration... " >&6; }
67290 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67291 if ${glibcxx_cv_func_sincos_use+:} false; then :
67292 $as_echo_n "(cached) " >&6
67293 else
67296 ac_ext=cpp
67297 ac_cpp='$CXXCPP $CPPFLAGS'
67298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67303 /* end confdefs.h. */
67304 #include <math.h>
67306 main ()
67308 sincos(0, 0, 0);
67310 return 0;
67312 _ACEOF
67313 if ac_fn_cxx_try_compile "$LINENO"; then :
67314 glibcxx_cv_func_sincos_use=yes
67315 else
67316 glibcxx_cv_func_sincos_use=no
67318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67319 ac_ext=c
67320 ac_cpp='$CPP $CPPFLAGS'
67321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67330 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67332 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67333 for ac_func in sincos
67334 do :
67335 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67336 if test "x$ac_cv_func_sincos" = xyes; then :
67337 cat >>confdefs.h <<_ACEOF
67338 #define HAVE_SINCOS 1
67339 _ACEOF
67342 done
67344 else
67346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67347 $as_echo_n "checking for _sincos declaration... " >&6; }
67348 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67349 if ${glibcxx_cv_func__sincos_use+:} false; then :
67350 $as_echo_n "(cached) " >&6
67351 else
67354 ac_ext=cpp
67355 ac_cpp='$CXXCPP $CPPFLAGS'
67356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67361 /* end confdefs.h. */
67362 #include <math.h>
67364 main ()
67366 _sincos(0, 0, 0);
67368 return 0;
67370 _ACEOF
67371 if ac_fn_cxx_try_compile "$LINENO"; then :
67372 glibcxx_cv_func__sincos_use=yes
67373 else
67374 glibcxx_cv_func__sincos_use=no
67376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67377 ac_ext=c
67378 ac_cpp='$CPP $CPPFLAGS'
67379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67388 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67390 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67391 for ac_func in _sincos
67392 do :
67393 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67394 if test "x$ac_cv_func__sincos" = xyes; then :
67395 cat >>confdefs.h <<_ACEOF
67396 #define HAVE__SINCOS 1
67397 _ACEOF
67400 done
67409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67410 $as_echo_n "checking for fpclass declaration... " >&6; }
67411 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67412 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67413 $as_echo_n "(cached) " >&6
67414 else
67417 ac_ext=cpp
67418 ac_cpp='$CXXCPP $CPPFLAGS'
67419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67424 /* end confdefs.h. */
67425 #include <math.h>
67426 #ifdef HAVE_IEEEFP_H
67427 #include <ieeefp.h>
67428 #endif
67431 main ()
67433 fpclass(0);
67435 return 0;
67437 _ACEOF
67438 if ac_fn_cxx_try_compile "$LINENO"; then :
67439 glibcxx_cv_func_fpclass_use=yes
67440 else
67441 glibcxx_cv_func_fpclass_use=no
67443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67444 ac_ext=c
67445 ac_cpp='$CPP $CPPFLAGS'
67446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67455 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67457 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67458 for ac_func in fpclass
67459 do :
67460 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67461 if test "x$ac_cv_func_fpclass" = xyes; then :
67462 cat >>confdefs.h <<_ACEOF
67463 #define HAVE_FPCLASS 1
67464 _ACEOF
67467 done
67469 else
67471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67472 $as_echo_n "checking for _fpclass declaration... " >&6; }
67473 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67474 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67475 $as_echo_n "(cached) " >&6
67476 else
67479 ac_ext=cpp
67480 ac_cpp='$CXXCPP $CPPFLAGS'
67481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67486 /* end confdefs.h. */
67487 #include <math.h>
67488 #ifdef HAVE_IEEEFP_H
67489 #include <ieeefp.h>
67490 #endif
67493 main ()
67495 _fpclass(0);
67497 return 0;
67499 _ACEOF
67500 if ac_fn_cxx_try_compile "$LINENO"; then :
67501 glibcxx_cv_func__fpclass_use=yes
67502 else
67503 glibcxx_cv_func__fpclass_use=no
67505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67506 ac_ext=c
67507 ac_cpp='$CPP $CPPFLAGS'
67508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67517 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67519 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67520 for ac_func in _fpclass
67521 do :
67522 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67523 if test "x$ac_cv_func__fpclass" = xyes; then :
67524 cat >>confdefs.h <<_ACEOF
67525 #define HAVE__FPCLASS 1
67526 _ACEOF
67529 done
67538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67539 $as_echo_n "checking for qfpclass declaration... " >&6; }
67540 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67541 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67542 $as_echo_n "(cached) " >&6
67543 else
67546 ac_ext=cpp
67547 ac_cpp='$CXXCPP $CPPFLAGS'
67548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67553 /* end confdefs.h. */
67554 #include <math.h>
67555 #ifdef HAVE_IEEEFP_H
67556 #include <ieeefp.h>
67557 #endif
67560 main ()
67562 qfpclass(0);
67564 return 0;
67566 _ACEOF
67567 if ac_fn_cxx_try_compile "$LINENO"; then :
67568 glibcxx_cv_func_qfpclass_use=yes
67569 else
67570 glibcxx_cv_func_qfpclass_use=no
67572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67573 ac_ext=c
67574 ac_cpp='$CPP $CPPFLAGS'
67575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67584 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67586 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67587 for ac_func in qfpclass
67588 do :
67589 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67590 if test "x$ac_cv_func_qfpclass" = xyes; then :
67591 cat >>confdefs.h <<_ACEOF
67592 #define HAVE_QFPCLASS 1
67593 _ACEOF
67596 done
67598 else
67600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67601 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67602 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67603 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67604 $as_echo_n "(cached) " >&6
67605 else
67608 ac_ext=cpp
67609 ac_cpp='$CXXCPP $CPPFLAGS'
67610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67615 /* end confdefs.h. */
67616 #include <math.h>
67617 #ifdef HAVE_IEEEFP_H
67618 #include <ieeefp.h>
67619 #endif
67622 main ()
67624 _qfpclass(0);
67626 return 0;
67628 _ACEOF
67629 if ac_fn_cxx_try_compile "$LINENO"; then :
67630 glibcxx_cv_func__qfpclass_use=yes
67631 else
67632 glibcxx_cv_func__qfpclass_use=no
67634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67635 ac_ext=c
67636 ac_cpp='$CPP $CPPFLAGS'
67637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67646 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67648 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67649 for ac_func in _qfpclass
67650 do :
67651 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67652 if test "x$ac_cv_func__qfpclass" = xyes; then :
67653 cat >>confdefs.h <<_ACEOF
67654 #define HAVE__QFPCLASS 1
67655 _ACEOF
67658 done
67667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67668 $as_echo_n "checking for hypot declaration... " >&6; }
67669 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67670 if ${glibcxx_cv_func_hypot_use+:} false; then :
67671 $as_echo_n "(cached) " >&6
67672 else
67675 ac_ext=cpp
67676 ac_cpp='$CXXCPP $CPPFLAGS'
67677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67682 /* end confdefs.h. */
67683 #include <math.h>
67685 main ()
67687 hypot(0, 0);
67689 return 0;
67691 _ACEOF
67692 if ac_fn_cxx_try_compile "$LINENO"; then :
67693 glibcxx_cv_func_hypot_use=yes
67694 else
67695 glibcxx_cv_func_hypot_use=no
67697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67698 ac_ext=c
67699 ac_cpp='$CPP $CPPFLAGS'
67700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67709 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67711 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67712 for ac_func in hypot
67713 do :
67714 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67715 if test "x$ac_cv_func_hypot" = xyes; then :
67716 cat >>confdefs.h <<_ACEOF
67717 #define HAVE_HYPOT 1
67718 _ACEOF
67721 done
67723 else
67725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67726 $as_echo_n "checking for _hypot declaration... " >&6; }
67727 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67728 if ${glibcxx_cv_func__hypot_use+:} false; then :
67729 $as_echo_n "(cached) " >&6
67730 else
67733 ac_ext=cpp
67734 ac_cpp='$CXXCPP $CPPFLAGS'
67735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67740 /* end confdefs.h. */
67741 #include <math.h>
67743 main ()
67745 _hypot(0, 0);
67747 return 0;
67749 _ACEOF
67750 if ac_fn_cxx_try_compile "$LINENO"; then :
67751 glibcxx_cv_func__hypot_use=yes
67752 else
67753 glibcxx_cv_func__hypot_use=no
67755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67756 ac_ext=c
67757 ac_cpp='$CPP $CPPFLAGS'
67758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67767 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67769 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67770 for ac_func in _hypot
67771 do :
67772 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67773 if test "x$ac_cv_func__hypot" = xyes; then :
67774 cat >>confdefs.h <<_ACEOF
67775 #define HAVE__HYPOT 1
67776 _ACEOF
67779 done
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67789 $as_echo_n "checking for float trig functions... " >&6; }
67790 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67791 $as_echo_n "(cached) " >&6
67792 else
67795 ac_ext=cpp
67796 ac_cpp='$CXXCPP $CPPFLAGS'
67797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67802 /* end confdefs.h. */
67803 #include <math.h>
67805 main ()
67807 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67809 return 0;
67811 _ACEOF
67812 if ac_fn_cxx_try_compile "$LINENO"; then :
67813 glibcxx_cv_func_float_trig_use=yes
67814 else
67815 glibcxx_cv_func_float_trig_use=no
67817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67818 ac_ext=c
67819 ac_cpp='$CPP $CPPFLAGS'
67820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67827 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67828 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67829 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67830 do :
67831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67833 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67834 cat >>confdefs.h <<_ACEOF
67835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67836 _ACEOF
67839 done
67841 else
67842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67843 $as_echo_n "checking for _float trig functions... " >&6; }
67844 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67845 $as_echo_n "(cached) " >&6
67846 else
67849 ac_ext=cpp
67850 ac_cpp='$CXXCPP $CPPFLAGS'
67851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67856 /* end confdefs.h. */
67857 #include <math.h>
67859 main ()
67861 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67863 return 0;
67865 _ACEOF
67866 if ac_fn_cxx_try_compile "$LINENO"; then :
67867 glibcxx_cv_func__float_trig_use=yes
67868 else
67869 glibcxx_cv_func__float_trig_use=no
67871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67872 ac_ext=c
67873 ac_cpp='$CPP $CPPFLAGS'
67874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67881 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67882 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67883 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67884 do :
67885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67887 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67888 cat >>confdefs.h <<_ACEOF
67889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67890 _ACEOF
67893 done
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67903 $as_echo_n "checking for float round functions... " >&6; }
67904 if ${glibcxx_cv_func_float_round_use+:} false; then :
67905 $as_echo_n "(cached) " >&6
67906 else
67909 ac_ext=cpp
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67916 /* end confdefs.h. */
67917 #include <math.h>
67919 main ()
67921 ceilf (0); floorf (0);
67923 return 0;
67925 _ACEOF
67926 if ac_fn_cxx_try_compile "$LINENO"; then :
67927 glibcxx_cv_func_float_round_use=yes
67928 else
67929 glibcxx_cv_func_float_round_use=no
67931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67932 ac_ext=c
67933 ac_cpp='$CPP $CPPFLAGS'
67934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67941 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67942 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67943 for ac_func in ceilf floorf
67944 do :
67945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67947 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67950 _ACEOF
67953 done
67955 else
67956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67957 $as_echo_n "checking for _float round functions... " >&6; }
67958 if ${glibcxx_cv_func__float_round_use+:} false; then :
67959 $as_echo_n "(cached) " >&6
67960 else
67963 ac_ext=cpp
67964 ac_cpp='$CXXCPP $CPPFLAGS'
67965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67970 /* end confdefs.h. */
67971 #include <math.h>
67973 main ()
67975 _ceilf (0); _floorf (0);
67977 return 0;
67979 _ACEOF
67980 if ac_fn_cxx_try_compile "$LINENO"; then :
67981 glibcxx_cv_func__float_round_use=yes
67982 else
67983 glibcxx_cv_func__float_round_use=no
67985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67986 ac_ext=c
67987 ac_cpp='$CPP $CPPFLAGS'
67988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67995 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67996 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67997 for ac_func in _ceilf _floorf
67998 do :
67999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68001 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68002 cat >>confdefs.h <<_ACEOF
68003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68004 _ACEOF
68007 done
68017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68018 $as_echo_n "checking for expf declaration... " >&6; }
68019 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68020 if ${glibcxx_cv_func_expf_use+:} false; then :
68021 $as_echo_n "(cached) " >&6
68022 else
68025 ac_ext=cpp
68026 ac_cpp='$CXXCPP $CPPFLAGS'
68027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68032 /* end confdefs.h. */
68033 #include <math.h>
68034 #ifdef HAVE_IEEEFP_H
68035 #include <ieeefp.h>
68036 #endif
68039 main ()
68041 expf(0);
68043 return 0;
68045 _ACEOF
68046 if ac_fn_cxx_try_compile "$LINENO"; then :
68047 glibcxx_cv_func_expf_use=yes
68048 else
68049 glibcxx_cv_func_expf_use=no
68051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68052 ac_ext=c
68053 ac_cpp='$CPP $CPPFLAGS'
68054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68063 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68065 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68066 for ac_func in expf
68067 do :
68068 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68069 if test "x$ac_cv_func_expf" = xyes; then :
68070 cat >>confdefs.h <<_ACEOF
68071 #define HAVE_EXPF 1
68072 _ACEOF
68075 done
68077 else
68079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68080 $as_echo_n "checking for _expf declaration... " >&6; }
68081 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68082 if ${glibcxx_cv_func__expf_use+:} false; then :
68083 $as_echo_n "(cached) " >&6
68084 else
68087 ac_ext=cpp
68088 ac_cpp='$CXXCPP $CPPFLAGS'
68089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68094 /* end confdefs.h. */
68095 #include <math.h>
68096 #ifdef HAVE_IEEEFP_H
68097 #include <ieeefp.h>
68098 #endif
68101 main ()
68103 _expf(0);
68105 return 0;
68107 _ACEOF
68108 if ac_fn_cxx_try_compile "$LINENO"; then :
68109 glibcxx_cv_func__expf_use=yes
68110 else
68111 glibcxx_cv_func__expf_use=no
68113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68114 ac_ext=c
68115 ac_cpp='$CPP $CPPFLAGS'
68116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68125 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68127 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68128 for ac_func in _expf
68129 do :
68130 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68131 if test "x$ac_cv_func__expf" = xyes; then :
68132 cat >>confdefs.h <<_ACEOF
68133 #define HAVE__EXPF 1
68134 _ACEOF
68137 done
68146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68147 $as_echo_n "checking for isnanf declaration... " >&6; }
68148 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68149 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68150 $as_echo_n "(cached) " >&6
68151 else
68154 ac_ext=cpp
68155 ac_cpp='$CXXCPP $CPPFLAGS'
68156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68161 /* end confdefs.h. */
68162 #include <math.h>
68163 #ifdef HAVE_IEEEFP_H
68164 #include <ieeefp.h>
68165 #endif
68168 main ()
68170 isnanf(0);
68172 return 0;
68174 _ACEOF
68175 if ac_fn_cxx_try_compile "$LINENO"; then :
68176 glibcxx_cv_func_isnanf_use=yes
68177 else
68178 glibcxx_cv_func_isnanf_use=no
68180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68181 ac_ext=c
68182 ac_cpp='$CPP $CPPFLAGS'
68183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68192 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68194 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68195 for ac_func in isnanf
68196 do :
68197 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68198 if test "x$ac_cv_func_isnanf" = xyes; then :
68199 cat >>confdefs.h <<_ACEOF
68200 #define HAVE_ISNANF 1
68201 _ACEOF
68204 done
68206 else
68208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68209 $as_echo_n "checking for _isnanf declaration... " >&6; }
68210 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68211 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68212 $as_echo_n "(cached) " >&6
68213 else
68216 ac_ext=cpp
68217 ac_cpp='$CXXCPP $CPPFLAGS'
68218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68223 /* end confdefs.h. */
68224 #include <math.h>
68225 #ifdef HAVE_IEEEFP_H
68226 #include <ieeefp.h>
68227 #endif
68230 main ()
68232 _isnanf(0);
68234 return 0;
68236 _ACEOF
68237 if ac_fn_cxx_try_compile "$LINENO"; then :
68238 glibcxx_cv_func__isnanf_use=yes
68239 else
68240 glibcxx_cv_func__isnanf_use=no
68242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68243 ac_ext=c
68244 ac_cpp='$CPP $CPPFLAGS'
68245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68254 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68256 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68257 for ac_func in _isnanf
68258 do :
68259 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68260 if test "x$ac_cv_func__isnanf" = xyes; then :
68261 cat >>confdefs.h <<_ACEOF
68262 #define HAVE__ISNANF 1
68263 _ACEOF
68266 done
68275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68276 $as_echo_n "checking for isinff declaration... " >&6; }
68277 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68278 if ${glibcxx_cv_func_isinff_use+:} false; then :
68279 $as_echo_n "(cached) " >&6
68280 else
68283 ac_ext=cpp
68284 ac_cpp='$CXXCPP $CPPFLAGS'
68285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68290 /* end confdefs.h. */
68291 #include <math.h>
68292 #ifdef HAVE_IEEEFP_H
68293 #include <ieeefp.h>
68294 #endif
68297 main ()
68299 isinff(0);
68301 return 0;
68303 _ACEOF
68304 if ac_fn_cxx_try_compile "$LINENO"; then :
68305 glibcxx_cv_func_isinff_use=yes
68306 else
68307 glibcxx_cv_func_isinff_use=no
68309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68310 ac_ext=c
68311 ac_cpp='$CPP $CPPFLAGS'
68312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68321 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68323 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68324 for ac_func in isinff
68325 do :
68326 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68327 if test "x$ac_cv_func_isinff" = xyes; then :
68328 cat >>confdefs.h <<_ACEOF
68329 #define HAVE_ISINFF 1
68330 _ACEOF
68333 done
68335 else
68337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68338 $as_echo_n "checking for _isinff declaration... " >&6; }
68339 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68340 if ${glibcxx_cv_func__isinff_use+:} false; then :
68341 $as_echo_n "(cached) " >&6
68342 else
68345 ac_ext=cpp
68346 ac_cpp='$CXXCPP $CPPFLAGS'
68347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68352 /* end confdefs.h. */
68353 #include <math.h>
68354 #ifdef HAVE_IEEEFP_H
68355 #include <ieeefp.h>
68356 #endif
68359 main ()
68361 _isinff(0);
68363 return 0;
68365 _ACEOF
68366 if ac_fn_cxx_try_compile "$LINENO"; then :
68367 glibcxx_cv_func__isinff_use=yes
68368 else
68369 glibcxx_cv_func__isinff_use=no
68371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68372 ac_ext=c
68373 ac_cpp='$CPP $CPPFLAGS'
68374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68383 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68385 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68386 for ac_func in _isinff
68387 do :
68388 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68389 if test "x$ac_cv_func__isinff" = xyes; then :
68390 cat >>confdefs.h <<_ACEOF
68391 #define HAVE__ISINFF 1
68392 _ACEOF
68395 done
68404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68405 $as_echo_n "checking for atan2f declaration... " >&6; }
68406 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68407 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68408 $as_echo_n "(cached) " >&6
68409 else
68412 ac_ext=cpp
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68419 /* end confdefs.h. */
68420 #include <math.h>
68422 main ()
68424 atan2f(0, 0);
68426 return 0;
68428 _ACEOF
68429 if ac_fn_cxx_try_compile "$LINENO"; then :
68430 glibcxx_cv_func_atan2f_use=yes
68431 else
68432 glibcxx_cv_func_atan2f_use=no
68434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68435 ac_ext=c
68436 ac_cpp='$CPP $CPPFLAGS'
68437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68446 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68448 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68449 for ac_func in atan2f
68450 do :
68451 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68452 if test "x$ac_cv_func_atan2f" = xyes; then :
68453 cat >>confdefs.h <<_ACEOF
68454 #define HAVE_ATAN2F 1
68455 _ACEOF
68458 done
68460 else
68462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68463 $as_echo_n "checking for _atan2f declaration... " >&6; }
68464 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68465 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68466 $as_echo_n "(cached) " >&6
68467 else
68470 ac_ext=cpp
68471 ac_cpp='$CXXCPP $CPPFLAGS'
68472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68477 /* end confdefs.h. */
68478 #include <math.h>
68480 main ()
68482 _atan2f(0, 0);
68484 return 0;
68486 _ACEOF
68487 if ac_fn_cxx_try_compile "$LINENO"; then :
68488 glibcxx_cv_func__atan2f_use=yes
68489 else
68490 glibcxx_cv_func__atan2f_use=no
68492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68493 ac_ext=c
68494 ac_cpp='$CPP $CPPFLAGS'
68495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68504 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68506 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68507 for ac_func in _atan2f
68508 do :
68509 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68510 if test "x$ac_cv_func__atan2f" = xyes; then :
68511 cat >>confdefs.h <<_ACEOF
68512 #define HAVE__ATAN2F 1
68513 _ACEOF
68516 done
68525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68526 $as_echo_n "checking for fabsf declaration... " >&6; }
68527 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68528 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68529 $as_echo_n "(cached) " >&6
68530 else
68533 ac_ext=cpp
68534 ac_cpp='$CXXCPP $CPPFLAGS'
68535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68540 /* end confdefs.h. */
68541 #include <math.h>
68542 #ifdef HAVE_IEEEFP_H
68543 #include <ieeefp.h>
68544 #endif
68547 main ()
68549 fabsf(0);
68551 return 0;
68553 _ACEOF
68554 if ac_fn_cxx_try_compile "$LINENO"; then :
68555 glibcxx_cv_func_fabsf_use=yes
68556 else
68557 glibcxx_cv_func_fabsf_use=no
68559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68560 ac_ext=c
68561 ac_cpp='$CPP $CPPFLAGS'
68562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68571 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68573 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68574 for ac_func in fabsf
68575 do :
68576 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68577 if test "x$ac_cv_func_fabsf" = xyes; then :
68578 cat >>confdefs.h <<_ACEOF
68579 #define HAVE_FABSF 1
68580 _ACEOF
68583 done
68585 else
68587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68588 $as_echo_n "checking for _fabsf declaration... " >&6; }
68589 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68590 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68591 $as_echo_n "(cached) " >&6
68592 else
68595 ac_ext=cpp
68596 ac_cpp='$CXXCPP $CPPFLAGS'
68597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68602 /* end confdefs.h. */
68603 #include <math.h>
68604 #ifdef HAVE_IEEEFP_H
68605 #include <ieeefp.h>
68606 #endif
68609 main ()
68611 _fabsf(0);
68613 return 0;
68615 _ACEOF
68616 if ac_fn_cxx_try_compile "$LINENO"; then :
68617 glibcxx_cv_func__fabsf_use=yes
68618 else
68619 glibcxx_cv_func__fabsf_use=no
68621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68622 ac_ext=c
68623 ac_cpp='$CPP $CPPFLAGS'
68624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68633 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68635 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68636 for ac_func in _fabsf
68637 do :
68638 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68639 if test "x$ac_cv_func__fabsf" = xyes; then :
68640 cat >>confdefs.h <<_ACEOF
68641 #define HAVE__FABSF 1
68642 _ACEOF
68645 done
68654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68655 $as_echo_n "checking for fmodf declaration... " >&6; }
68656 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68657 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68658 $as_echo_n "(cached) " >&6
68659 else
68662 ac_ext=cpp
68663 ac_cpp='$CXXCPP $CPPFLAGS'
68664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68669 /* end confdefs.h. */
68670 #include <math.h>
68672 main ()
68674 fmodf(0, 0);
68676 return 0;
68678 _ACEOF
68679 if ac_fn_cxx_try_compile "$LINENO"; then :
68680 glibcxx_cv_func_fmodf_use=yes
68681 else
68682 glibcxx_cv_func_fmodf_use=no
68684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68685 ac_ext=c
68686 ac_cpp='$CPP $CPPFLAGS'
68687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68696 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68698 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68699 for ac_func in fmodf
68700 do :
68701 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68702 if test "x$ac_cv_func_fmodf" = xyes; then :
68703 cat >>confdefs.h <<_ACEOF
68704 #define HAVE_FMODF 1
68705 _ACEOF
68708 done
68710 else
68712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68713 $as_echo_n "checking for _fmodf declaration... " >&6; }
68714 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68715 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68716 $as_echo_n "(cached) " >&6
68717 else
68720 ac_ext=cpp
68721 ac_cpp='$CXXCPP $CPPFLAGS'
68722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68727 /* end confdefs.h. */
68728 #include <math.h>
68730 main ()
68732 _fmodf(0, 0);
68734 return 0;
68736 _ACEOF
68737 if ac_fn_cxx_try_compile "$LINENO"; then :
68738 glibcxx_cv_func__fmodf_use=yes
68739 else
68740 glibcxx_cv_func__fmodf_use=no
68742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68743 ac_ext=c
68744 ac_cpp='$CPP $CPPFLAGS'
68745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68754 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68756 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68757 for ac_func in _fmodf
68758 do :
68759 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68760 if test "x$ac_cv_func__fmodf" = xyes; then :
68761 cat >>confdefs.h <<_ACEOF
68762 #define HAVE__FMODF 1
68763 _ACEOF
68766 done
68775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68776 $as_echo_n "checking for frexpf declaration... " >&6; }
68777 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68778 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68779 $as_echo_n "(cached) " >&6
68780 else
68783 ac_ext=cpp
68784 ac_cpp='$CXXCPP $CPPFLAGS'
68785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68790 /* end confdefs.h. */
68791 #include <math.h>
68793 main ()
68795 frexpf(0, 0);
68797 return 0;
68799 _ACEOF
68800 if ac_fn_cxx_try_compile "$LINENO"; then :
68801 glibcxx_cv_func_frexpf_use=yes
68802 else
68803 glibcxx_cv_func_frexpf_use=no
68805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68806 ac_ext=c
68807 ac_cpp='$CPP $CPPFLAGS'
68808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68817 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68819 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68820 for ac_func in frexpf
68821 do :
68822 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68823 if test "x$ac_cv_func_frexpf" = xyes; then :
68824 cat >>confdefs.h <<_ACEOF
68825 #define HAVE_FREXPF 1
68826 _ACEOF
68829 done
68831 else
68833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68834 $as_echo_n "checking for _frexpf declaration... " >&6; }
68835 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68836 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68837 $as_echo_n "(cached) " >&6
68838 else
68841 ac_ext=cpp
68842 ac_cpp='$CXXCPP $CPPFLAGS'
68843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68848 /* end confdefs.h. */
68849 #include <math.h>
68851 main ()
68853 _frexpf(0, 0);
68855 return 0;
68857 _ACEOF
68858 if ac_fn_cxx_try_compile "$LINENO"; then :
68859 glibcxx_cv_func__frexpf_use=yes
68860 else
68861 glibcxx_cv_func__frexpf_use=no
68863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68864 ac_ext=c
68865 ac_cpp='$CPP $CPPFLAGS'
68866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68875 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68877 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68878 for ac_func in _frexpf
68879 do :
68880 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68881 if test "x$ac_cv_func__frexpf" = xyes; then :
68882 cat >>confdefs.h <<_ACEOF
68883 #define HAVE__FREXPF 1
68884 _ACEOF
68887 done
68896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68897 $as_echo_n "checking for hypotf declaration... " >&6; }
68898 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68899 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68900 $as_echo_n "(cached) " >&6
68901 else
68904 ac_ext=cpp
68905 ac_cpp='$CXXCPP $CPPFLAGS'
68906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68911 /* end confdefs.h. */
68912 #include <math.h>
68914 main ()
68916 hypotf(0, 0);
68918 return 0;
68920 _ACEOF
68921 if ac_fn_cxx_try_compile "$LINENO"; then :
68922 glibcxx_cv_func_hypotf_use=yes
68923 else
68924 glibcxx_cv_func_hypotf_use=no
68926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68927 ac_ext=c
68928 ac_cpp='$CPP $CPPFLAGS'
68929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68938 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68940 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68941 for ac_func in hypotf
68942 do :
68943 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68944 if test "x$ac_cv_func_hypotf" = xyes; then :
68945 cat >>confdefs.h <<_ACEOF
68946 #define HAVE_HYPOTF 1
68947 _ACEOF
68950 done
68952 else
68954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68955 $as_echo_n "checking for _hypotf declaration... " >&6; }
68956 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68957 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68958 $as_echo_n "(cached) " >&6
68959 else
68962 ac_ext=cpp
68963 ac_cpp='$CXXCPP $CPPFLAGS'
68964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68969 /* end confdefs.h. */
68970 #include <math.h>
68972 main ()
68974 _hypotf(0, 0);
68976 return 0;
68978 _ACEOF
68979 if ac_fn_cxx_try_compile "$LINENO"; then :
68980 glibcxx_cv_func__hypotf_use=yes
68981 else
68982 glibcxx_cv_func__hypotf_use=no
68984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68985 ac_ext=c
68986 ac_cpp='$CPP $CPPFLAGS'
68987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68996 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68998 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68999 for ac_func in _hypotf
69000 do :
69001 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69002 if test "x$ac_cv_func__hypotf" = xyes; then :
69003 cat >>confdefs.h <<_ACEOF
69004 #define HAVE__HYPOTF 1
69005 _ACEOF
69008 done
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69018 $as_echo_n "checking for ldexpf declaration... " >&6; }
69019 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69020 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69021 $as_echo_n "(cached) " >&6
69022 else
69025 ac_ext=cpp
69026 ac_cpp='$CXXCPP $CPPFLAGS'
69027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69032 /* end confdefs.h. */
69033 #include <math.h>
69035 main ()
69037 ldexpf(0, 0);
69039 return 0;
69041 _ACEOF
69042 if ac_fn_cxx_try_compile "$LINENO"; then :
69043 glibcxx_cv_func_ldexpf_use=yes
69044 else
69045 glibcxx_cv_func_ldexpf_use=no
69047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69048 ac_ext=c
69049 ac_cpp='$CPP $CPPFLAGS'
69050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69059 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69061 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69062 for ac_func in ldexpf
69063 do :
69064 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69065 if test "x$ac_cv_func_ldexpf" = xyes; then :
69066 cat >>confdefs.h <<_ACEOF
69067 #define HAVE_LDEXPF 1
69068 _ACEOF
69071 done
69073 else
69075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69076 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69077 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69078 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69079 $as_echo_n "(cached) " >&6
69080 else
69083 ac_ext=cpp
69084 ac_cpp='$CXXCPP $CPPFLAGS'
69085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69090 /* end confdefs.h. */
69091 #include <math.h>
69093 main ()
69095 _ldexpf(0, 0);
69097 return 0;
69099 _ACEOF
69100 if ac_fn_cxx_try_compile "$LINENO"; then :
69101 glibcxx_cv_func__ldexpf_use=yes
69102 else
69103 glibcxx_cv_func__ldexpf_use=no
69105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69106 ac_ext=c
69107 ac_cpp='$CPP $CPPFLAGS'
69108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69117 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69119 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69120 for ac_func in _ldexpf
69121 do :
69122 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69123 if test "x$ac_cv_func__ldexpf" = xyes; then :
69124 cat >>confdefs.h <<_ACEOF
69125 #define HAVE__LDEXPF 1
69126 _ACEOF
69129 done
69138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69139 $as_echo_n "checking for logf declaration... " >&6; }
69140 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69141 if ${glibcxx_cv_func_logf_use+:} false; then :
69142 $as_echo_n "(cached) " >&6
69143 else
69146 ac_ext=cpp
69147 ac_cpp='$CXXCPP $CPPFLAGS'
69148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69153 /* end confdefs.h. */
69154 #include <math.h>
69155 #ifdef HAVE_IEEEFP_H
69156 #include <ieeefp.h>
69157 #endif
69160 main ()
69162 logf(0);
69164 return 0;
69166 _ACEOF
69167 if ac_fn_cxx_try_compile "$LINENO"; then :
69168 glibcxx_cv_func_logf_use=yes
69169 else
69170 glibcxx_cv_func_logf_use=no
69172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69173 ac_ext=c
69174 ac_cpp='$CPP $CPPFLAGS'
69175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69184 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69186 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69187 for ac_func in logf
69188 do :
69189 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69190 if test "x$ac_cv_func_logf" = xyes; then :
69191 cat >>confdefs.h <<_ACEOF
69192 #define HAVE_LOGF 1
69193 _ACEOF
69196 done
69198 else
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69201 $as_echo_n "checking for _logf declaration... " >&6; }
69202 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69203 if ${glibcxx_cv_func__logf_use+:} false; then :
69204 $as_echo_n "(cached) " >&6
69205 else
69208 ac_ext=cpp
69209 ac_cpp='$CXXCPP $CPPFLAGS'
69210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69215 /* end confdefs.h. */
69216 #include <math.h>
69217 #ifdef HAVE_IEEEFP_H
69218 #include <ieeefp.h>
69219 #endif
69222 main ()
69224 _logf(0);
69226 return 0;
69228 _ACEOF
69229 if ac_fn_cxx_try_compile "$LINENO"; then :
69230 glibcxx_cv_func__logf_use=yes
69231 else
69232 glibcxx_cv_func__logf_use=no
69234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69235 ac_ext=c
69236 ac_cpp='$CPP $CPPFLAGS'
69237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69246 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69248 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69249 for ac_func in _logf
69250 do :
69251 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69252 if test "x$ac_cv_func__logf" = xyes; then :
69253 cat >>confdefs.h <<_ACEOF
69254 #define HAVE__LOGF 1
69255 _ACEOF
69258 done
69267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69268 $as_echo_n "checking for log10f declaration... " >&6; }
69269 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69270 if ${glibcxx_cv_func_log10f_use+:} false; then :
69271 $as_echo_n "(cached) " >&6
69272 else
69275 ac_ext=cpp
69276 ac_cpp='$CXXCPP $CPPFLAGS'
69277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69282 /* end confdefs.h. */
69283 #include <math.h>
69284 #ifdef HAVE_IEEEFP_H
69285 #include <ieeefp.h>
69286 #endif
69289 main ()
69291 log10f(0);
69293 return 0;
69295 _ACEOF
69296 if ac_fn_cxx_try_compile "$LINENO"; then :
69297 glibcxx_cv_func_log10f_use=yes
69298 else
69299 glibcxx_cv_func_log10f_use=no
69301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69302 ac_ext=c
69303 ac_cpp='$CPP $CPPFLAGS'
69304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69313 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69315 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69316 for ac_func in log10f
69317 do :
69318 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69319 if test "x$ac_cv_func_log10f" = xyes; then :
69320 cat >>confdefs.h <<_ACEOF
69321 #define HAVE_LOG10F 1
69322 _ACEOF
69325 done
69327 else
69329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69330 $as_echo_n "checking for _log10f declaration... " >&6; }
69331 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69332 if ${glibcxx_cv_func__log10f_use+:} false; then :
69333 $as_echo_n "(cached) " >&6
69334 else
69337 ac_ext=cpp
69338 ac_cpp='$CXXCPP $CPPFLAGS'
69339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69344 /* end confdefs.h. */
69345 #include <math.h>
69346 #ifdef HAVE_IEEEFP_H
69347 #include <ieeefp.h>
69348 #endif
69351 main ()
69353 _log10f(0);
69355 return 0;
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359 glibcxx_cv_func__log10f_use=yes
69360 else
69361 glibcxx_cv_func__log10f_use=no
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364 ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69375 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69377 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69378 for ac_func in _log10f
69379 do :
69380 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69381 if test "x$ac_cv_func__log10f" = xyes; then :
69382 cat >>confdefs.h <<_ACEOF
69383 #define HAVE__LOG10F 1
69384 _ACEOF
69387 done
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69397 $as_echo_n "checking for modff declaration... " >&6; }
69398 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69399 if ${glibcxx_cv_func_modff_use+:} false; then :
69400 $as_echo_n "(cached) " >&6
69401 else
69404 ac_ext=cpp
69405 ac_cpp='$CXXCPP $CPPFLAGS'
69406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69411 /* end confdefs.h. */
69412 #include <math.h>
69414 main ()
69416 modff(0, 0);
69418 return 0;
69420 _ACEOF
69421 if ac_fn_cxx_try_compile "$LINENO"; then :
69422 glibcxx_cv_func_modff_use=yes
69423 else
69424 glibcxx_cv_func_modff_use=no
69426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69427 ac_ext=c
69428 ac_cpp='$CPP $CPPFLAGS'
69429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69438 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69440 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69441 for ac_func in modff
69442 do :
69443 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69444 if test "x$ac_cv_func_modff" = xyes; then :
69445 cat >>confdefs.h <<_ACEOF
69446 #define HAVE_MODFF 1
69447 _ACEOF
69450 done
69452 else
69454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69455 $as_echo_n "checking for _modff declaration... " >&6; }
69456 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69457 if ${glibcxx_cv_func__modff_use+:} false; then :
69458 $as_echo_n "(cached) " >&6
69459 else
69462 ac_ext=cpp
69463 ac_cpp='$CXXCPP $CPPFLAGS'
69464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69469 /* end confdefs.h. */
69470 #include <math.h>
69472 main ()
69474 _modff(0, 0);
69476 return 0;
69478 _ACEOF
69479 if ac_fn_cxx_try_compile "$LINENO"; then :
69480 glibcxx_cv_func__modff_use=yes
69481 else
69482 glibcxx_cv_func__modff_use=no
69484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69485 ac_ext=c
69486 ac_cpp='$CPP $CPPFLAGS'
69487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69496 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69498 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69499 for ac_func in _modff
69500 do :
69501 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69502 if test "x$ac_cv_func__modff" = xyes; then :
69503 cat >>confdefs.h <<_ACEOF
69504 #define HAVE__MODFF 1
69505 _ACEOF
69508 done
69517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69518 $as_echo_n "checking for modf declaration... " >&6; }
69519 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69520 if ${glibcxx_cv_func_modf_use+:} false; then :
69521 $as_echo_n "(cached) " >&6
69522 else
69525 ac_ext=cpp
69526 ac_cpp='$CXXCPP $CPPFLAGS'
69527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69532 /* end confdefs.h. */
69533 #include <math.h>
69535 main ()
69537 modf(0, 0);
69539 return 0;
69541 _ACEOF
69542 if ac_fn_cxx_try_compile "$LINENO"; then :
69543 glibcxx_cv_func_modf_use=yes
69544 else
69545 glibcxx_cv_func_modf_use=no
69547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69548 ac_ext=c
69549 ac_cpp='$CPP $CPPFLAGS'
69550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69559 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69561 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69562 for ac_func in modf
69563 do :
69564 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69565 if test "x$ac_cv_func_modf" = xyes; then :
69566 cat >>confdefs.h <<_ACEOF
69567 #define HAVE_MODF 1
69568 _ACEOF
69571 done
69573 else
69575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69576 $as_echo_n "checking for _modf declaration... " >&6; }
69577 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69578 if ${glibcxx_cv_func__modf_use+:} false; then :
69579 $as_echo_n "(cached) " >&6
69580 else
69583 ac_ext=cpp
69584 ac_cpp='$CXXCPP $CPPFLAGS'
69585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69590 /* end confdefs.h. */
69591 #include <math.h>
69593 main ()
69595 _modf(0, 0);
69597 return 0;
69599 _ACEOF
69600 if ac_fn_cxx_try_compile "$LINENO"; then :
69601 glibcxx_cv_func__modf_use=yes
69602 else
69603 glibcxx_cv_func__modf_use=no
69605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69606 ac_ext=c
69607 ac_cpp='$CPP $CPPFLAGS'
69608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69617 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69619 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69620 for ac_func in _modf
69621 do :
69622 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69623 if test "x$ac_cv_func__modf" = xyes; then :
69624 cat >>confdefs.h <<_ACEOF
69625 #define HAVE__MODF 1
69626 _ACEOF
69629 done
69638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69639 $as_echo_n "checking for powf declaration... " >&6; }
69640 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69641 if ${glibcxx_cv_func_powf_use+:} false; then :
69642 $as_echo_n "(cached) " >&6
69643 else
69646 ac_ext=cpp
69647 ac_cpp='$CXXCPP $CPPFLAGS'
69648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69653 /* end confdefs.h. */
69654 #include <math.h>
69656 main ()
69658 powf(0, 0);
69660 return 0;
69662 _ACEOF
69663 if ac_fn_cxx_try_compile "$LINENO"; then :
69664 glibcxx_cv_func_powf_use=yes
69665 else
69666 glibcxx_cv_func_powf_use=no
69668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69669 ac_ext=c
69670 ac_cpp='$CPP $CPPFLAGS'
69671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69680 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69682 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69683 for ac_func in powf
69684 do :
69685 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69686 if test "x$ac_cv_func_powf" = xyes; then :
69687 cat >>confdefs.h <<_ACEOF
69688 #define HAVE_POWF 1
69689 _ACEOF
69692 done
69694 else
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69697 $as_echo_n "checking for _powf declaration... " >&6; }
69698 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69699 if ${glibcxx_cv_func__powf_use+:} false; then :
69700 $as_echo_n "(cached) " >&6
69701 else
69704 ac_ext=cpp
69705 ac_cpp='$CXXCPP $CPPFLAGS'
69706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69711 /* end confdefs.h. */
69712 #include <math.h>
69714 main ()
69716 _powf(0, 0);
69718 return 0;
69720 _ACEOF
69721 if ac_fn_cxx_try_compile "$LINENO"; then :
69722 glibcxx_cv_func__powf_use=yes
69723 else
69724 glibcxx_cv_func__powf_use=no
69726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69727 ac_ext=c
69728 ac_cpp='$CPP $CPPFLAGS'
69729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69738 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69740 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69741 for ac_func in _powf
69742 do :
69743 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69744 if test "x$ac_cv_func__powf" = xyes; then :
69745 cat >>confdefs.h <<_ACEOF
69746 #define HAVE__POWF 1
69747 _ACEOF
69750 done
69759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69760 $as_echo_n "checking for sqrtf declaration... " >&6; }
69761 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69762 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69763 $as_echo_n "(cached) " >&6
69764 else
69767 ac_ext=cpp
69768 ac_cpp='$CXXCPP $CPPFLAGS'
69769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69774 /* end confdefs.h. */
69775 #include <math.h>
69776 #ifdef HAVE_IEEEFP_H
69777 #include <ieeefp.h>
69778 #endif
69781 main ()
69783 sqrtf(0);
69785 return 0;
69787 _ACEOF
69788 if ac_fn_cxx_try_compile "$LINENO"; then :
69789 glibcxx_cv_func_sqrtf_use=yes
69790 else
69791 glibcxx_cv_func_sqrtf_use=no
69793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69794 ac_ext=c
69795 ac_cpp='$CPP $CPPFLAGS'
69796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69805 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69807 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69808 for ac_func in sqrtf
69809 do :
69810 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69811 if test "x$ac_cv_func_sqrtf" = xyes; then :
69812 cat >>confdefs.h <<_ACEOF
69813 #define HAVE_SQRTF 1
69814 _ACEOF
69817 done
69819 else
69821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69822 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69823 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69824 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69825 $as_echo_n "(cached) " >&6
69826 else
69829 ac_ext=cpp
69830 ac_cpp='$CXXCPP $CPPFLAGS'
69831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69836 /* end confdefs.h. */
69837 #include <math.h>
69838 #ifdef HAVE_IEEEFP_H
69839 #include <ieeefp.h>
69840 #endif
69843 main ()
69845 _sqrtf(0);
69847 return 0;
69849 _ACEOF
69850 if ac_fn_cxx_try_compile "$LINENO"; then :
69851 glibcxx_cv_func__sqrtf_use=yes
69852 else
69853 glibcxx_cv_func__sqrtf_use=no
69855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69856 ac_ext=c
69857 ac_cpp='$CPP $CPPFLAGS'
69858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69867 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69869 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69870 for ac_func in _sqrtf
69871 do :
69872 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69873 if test "x$ac_cv_func__sqrtf" = xyes; then :
69874 cat >>confdefs.h <<_ACEOF
69875 #define HAVE__SQRTF 1
69876 _ACEOF
69879 done
69888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69889 $as_echo_n "checking for sincosf declaration... " >&6; }
69890 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69891 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69892 $as_echo_n "(cached) " >&6
69893 else
69896 ac_ext=cpp
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69903 /* end confdefs.h. */
69904 #include <math.h>
69906 main ()
69908 sincosf(0, 0, 0);
69910 return 0;
69912 _ACEOF
69913 if ac_fn_cxx_try_compile "$LINENO"; then :
69914 glibcxx_cv_func_sincosf_use=yes
69915 else
69916 glibcxx_cv_func_sincosf_use=no
69918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69919 ac_ext=c
69920 ac_cpp='$CPP $CPPFLAGS'
69921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69930 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69932 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69933 for ac_func in sincosf
69934 do :
69935 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69936 if test "x$ac_cv_func_sincosf" = xyes; then :
69937 cat >>confdefs.h <<_ACEOF
69938 #define HAVE_SINCOSF 1
69939 _ACEOF
69942 done
69944 else
69946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69947 $as_echo_n "checking for _sincosf declaration... " >&6; }
69948 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69949 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69950 $as_echo_n "(cached) " >&6
69951 else
69954 ac_ext=cpp
69955 ac_cpp='$CXXCPP $CPPFLAGS'
69956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69961 /* end confdefs.h. */
69962 #include <math.h>
69964 main ()
69966 _sincosf(0, 0, 0);
69968 return 0;
69970 _ACEOF
69971 if ac_fn_cxx_try_compile "$LINENO"; then :
69972 glibcxx_cv_func__sincosf_use=yes
69973 else
69974 glibcxx_cv_func__sincosf_use=no
69976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69977 ac_ext=c
69978 ac_cpp='$CPP $CPPFLAGS'
69979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69988 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69990 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69991 for ac_func in _sincosf
69992 do :
69993 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69994 if test "x$ac_cv_func__sincosf" = xyes; then :
69995 cat >>confdefs.h <<_ACEOF
69996 #define HAVE__SINCOSF 1
69997 _ACEOF
70000 done
70009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70010 $as_echo_n "checking for finitef declaration... " >&6; }
70011 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70012 if ${glibcxx_cv_func_finitef_use+:} false; then :
70013 $as_echo_n "(cached) " >&6
70014 else
70017 ac_ext=cpp
70018 ac_cpp='$CXXCPP $CPPFLAGS'
70019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70024 /* end confdefs.h. */
70025 #include <math.h>
70026 #ifdef HAVE_IEEEFP_H
70027 #include <ieeefp.h>
70028 #endif
70031 main ()
70033 finitef(0);
70035 return 0;
70037 _ACEOF
70038 if ac_fn_cxx_try_compile "$LINENO"; then :
70039 glibcxx_cv_func_finitef_use=yes
70040 else
70041 glibcxx_cv_func_finitef_use=no
70043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70044 ac_ext=c
70045 ac_cpp='$CPP $CPPFLAGS'
70046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70055 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70057 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70058 for ac_func in finitef
70059 do :
70060 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70061 if test "x$ac_cv_func_finitef" = xyes; then :
70062 cat >>confdefs.h <<_ACEOF
70063 #define HAVE_FINITEF 1
70064 _ACEOF
70067 done
70069 else
70071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70072 $as_echo_n "checking for _finitef declaration... " >&6; }
70073 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70074 if ${glibcxx_cv_func__finitef_use+:} false; then :
70075 $as_echo_n "(cached) " >&6
70076 else
70079 ac_ext=cpp
70080 ac_cpp='$CXXCPP $CPPFLAGS'
70081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70086 /* end confdefs.h. */
70087 #include <math.h>
70088 #ifdef HAVE_IEEEFP_H
70089 #include <ieeefp.h>
70090 #endif
70093 main ()
70095 _finitef(0);
70097 return 0;
70099 _ACEOF
70100 if ac_fn_cxx_try_compile "$LINENO"; then :
70101 glibcxx_cv_func__finitef_use=yes
70102 else
70103 glibcxx_cv_func__finitef_use=no
70105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70106 ac_ext=c
70107 ac_cpp='$CPP $CPPFLAGS'
70108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70117 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70119 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70120 for ac_func in _finitef
70121 do :
70122 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70123 if test "x$ac_cv_func__finitef" = xyes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define HAVE__FINITEF 1
70126 _ACEOF
70129 done
70138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70139 $as_echo_n "checking for long double trig functions... " >&6; }
70140 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70141 $as_echo_n "(cached) " >&6
70142 else
70145 ac_ext=cpp
70146 ac_cpp='$CXXCPP $CPPFLAGS'
70147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70152 /* end confdefs.h. */
70153 #include <math.h>
70155 main ()
70157 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70159 return 0;
70161 _ACEOF
70162 if ac_fn_cxx_try_compile "$LINENO"; then :
70163 glibcxx_cv_func_long_double_trig_use=yes
70164 else
70165 glibcxx_cv_func_long_double_trig_use=no
70167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70168 ac_ext=c
70169 ac_cpp='$CPP $CPPFLAGS'
70170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70177 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70178 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70179 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70180 do :
70181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70183 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70184 cat >>confdefs.h <<_ACEOF
70185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70186 _ACEOF
70189 done
70191 else
70192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70193 $as_echo_n "checking for _long double trig functions... " >&6; }
70194 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70195 $as_echo_n "(cached) " >&6
70196 else
70199 ac_ext=cpp
70200 ac_cpp='$CXXCPP $CPPFLAGS'
70201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70206 /* end confdefs.h. */
70207 #include <math.h>
70209 main ()
70211 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70213 return 0;
70215 _ACEOF
70216 if ac_fn_cxx_try_compile "$LINENO"; then :
70217 glibcxx_cv_func__long_double_trig_use=yes
70218 else
70219 glibcxx_cv_func__long_double_trig_use=no
70221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70222 ac_ext=c
70223 ac_cpp='$CPP $CPPFLAGS'
70224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70231 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70232 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70233 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70234 do :
70235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70237 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70238 cat >>confdefs.h <<_ACEOF
70239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70240 _ACEOF
70243 done
70252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70253 $as_echo_n "checking for long double round functions... " >&6; }
70254 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70255 $as_echo_n "(cached) " >&6
70256 else
70259 ac_ext=cpp
70260 ac_cpp='$CXXCPP $CPPFLAGS'
70261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70266 /* end confdefs.h. */
70267 #include <math.h>
70269 main ()
70271 ceill (0); floorl (0);
70273 return 0;
70275 _ACEOF
70276 if ac_fn_cxx_try_compile "$LINENO"; then :
70277 glibcxx_cv_func_long_double_round_use=yes
70278 else
70279 glibcxx_cv_func_long_double_round_use=no
70281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70282 ac_ext=c
70283 ac_cpp='$CPP $CPPFLAGS'
70284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70291 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70292 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70293 for ac_func in ceill floorl
70294 do :
70295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70297 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70298 cat >>confdefs.h <<_ACEOF
70299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70300 _ACEOF
70303 done
70305 else
70306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70307 $as_echo_n "checking for _long double round functions... " >&6; }
70308 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70309 $as_echo_n "(cached) " >&6
70310 else
70313 ac_ext=cpp
70314 ac_cpp='$CXXCPP $CPPFLAGS'
70315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70320 /* end confdefs.h. */
70321 #include <math.h>
70323 main ()
70325 _ceill (0); _floorl (0);
70327 return 0;
70329 _ACEOF
70330 if ac_fn_cxx_try_compile "$LINENO"; then :
70331 glibcxx_cv_func__long_double_round_use=yes
70332 else
70333 glibcxx_cv_func__long_double_round_use=no
70335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70336 ac_ext=c
70337 ac_cpp='$CPP $CPPFLAGS'
70338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70345 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70346 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70347 for ac_func in _ceill _floorl
70348 do :
70349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70351 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70352 cat >>confdefs.h <<_ACEOF
70353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70354 _ACEOF
70357 done
70367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70368 $as_echo_n "checking for isnanl declaration... " >&6; }
70369 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70370 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70371 $as_echo_n "(cached) " >&6
70372 else
70375 ac_ext=cpp
70376 ac_cpp='$CXXCPP $CPPFLAGS'
70377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70382 /* end confdefs.h. */
70383 #include <math.h>
70384 #ifdef HAVE_IEEEFP_H
70385 #include <ieeefp.h>
70386 #endif
70389 main ()
70391 isnanl(0);
70393 return 0;
70395 _ACEOF
70396 if ac_fn_cxx_try_compile "$LINENO"; then :
70397 glibcxx_cv_func_isnanl_use=yes
70398 else
70399 glibcxx_cv_func_isnanl_use=no
70401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70402 ac_ext=c
70403 ac_cpp='$CPP $CPPFLAGS'
70404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70413 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70415 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70416 for ac_func in isnanl
70417 do :
70418 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70419 if test "x$ac_cv_func_isnanl" = xyes; then :
70420 cat >>confdefs.h <<_ACEOF
70421 #define HAVE_ISNANL 1
70422 _ACEOF
70425 done
70427 else
70429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70430 $as_echo_n "checking for _isnanl declaration... " >&6; }
70431 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70432 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70433 $as_echo_n "(cached) " >&6
70434 else
70437 ac_ext=cpp
70438 ac_cpp='$CXXCPP $CPPFLAGS'
70439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70444 /* end confdefs.h. */
70445 #include <math.h>
70446 #ifdef HAVE_IEEEFP_H
70447 #include <ieeefp.h>
70448 #endif
70451 main ()
70453 _isnanl(0);
70455 return 0;
70457 _ACEOF
70458 if ac_fn_cxx_try_compile "$LINENO"; then :
70459 glibcxx_cv_func__isnanl_use=yes
70460 else
70461 glibcxx_cv_func__isnanl_use=no
70463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70464 ac_ext=c
70465 ac_cpp='$CPP $CPPFLAGS'
70466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70475 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70477 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70478 for ac_func in _isnanl
70479 do :
70480 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70481 if test "x$ac_cv_func__isnanl" = xyes; then :
70482 cat >>confdefs.h <<_ACEOF
70483 #define HAVE__ISNANL 1
70484 _ACEOF
70487 done
70496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70497 $as_echo_n "checking for isinfl declaration... " >&6; }
70498 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70499 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70500 $as_echo_n "(cached) " >&6
70501 else
70504 ac_ext=cpp
70505 ac_cpp='$CXXCPP $CPPFLAGS'
70506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70511 /* end confdefs.h. */
70512 #include <math.h>
70513 #ifdef HAVE_IEEEFP_H
70514 #include <ieeefp.h>
70515 #endif
70518 main ()
70520 isinfl(0);
70522 return 0;
70524 _ACEOF
70525 if ac_fn_cxx_try_compile "$LINENO"; then :
70526 glibcxx_cv_func_isinfl_use=yes
70527 else
70528 glibcxx_cv_func_isinfl_use=no
70530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70531 ac_ext=c
70532 ac_cpp='$CPP $CPPFLAGS'
70533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70542 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70544 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70545 for ac_func in isinfl
70546 do :
70547 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70548 if test "x$ac_cv_func_isinfl" = xyes; then :
70549 cat >>confdefs.h <<_ACEOF
70550 #define HAVE_ISINFL 1
70551 _ACEOF
70554 done
70556 else
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70559 $as_echo_n "checking for _isinfl declaration... " >&6; }
70560 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70561 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70562 $as_echo_n "(cached) " >&6
70563 else
70566 ac_ext=cpp
70567 ac_cpp='$CXXCPP $CPPFLAGS'
70568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70573 /* end confdefs.h. */
70574 #include <math.h>
70575 #ifdef HAVE_IEEEFP_H
70576 #include <ieeefp.h>
70577 #endif
70580 main ()
70582 _isinfl(0);
70584 return 0;
70586 _ACEOF
70587 if ac_fn_cxx_try_compile "$LINENO"; then :
70588 glibcxx_cv_func__isinfl_use=yes
70589 else
70590 glibcxx_cv_func__isinfl_use=no
70592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70593 ac_ext=c
70594 ac_cpp='$CPP $CPPFLAGS'
70595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70604 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70606 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70607 for ac_func in _isinfl
70608 do :
70609 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70610 if test "x$ac_cv_func__isinfl" = xyes; then :
70611 cat >>confdefs.h <<_ACEOF
70612 #define HAVE__ISINFL 1
70613 _ACEOF
70616 done
70625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70626 $as_echo_n "checking for atan2l declaration... " >&6; }
70627 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70628 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70629 $as_echo_n "(cached) " >&6
70630 else
70633 ac_ext=cpp
70634 ac_cpp='$CXXCPP $CPPFLAGS'
70635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70640 /* end confdefs.h. */
70641 #include <math.h>
70643 main ()
70645 atan2l(0, 0);
70647 return 0;
70649 _ACEOF
70650 if ac_fn_cxx_try_compile "$LINENO"; then :
70651 glibcxx_cv_func_atan2l_use=yes
70652 else
70653 glibcxx_cv_func_atan2l_use=no
70655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70656 ac_ext=c
70657 ac_cpp='$CPP $CPPFLAGS'
70658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70667 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70669 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70670 for ac_func in atan2l
70671 do :
70672 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70673 if test "x$ac_cv_func_atan2l" = xyes; then :
70674 cat >>confdefs.h <<_ACEOF
70675 #define HAVE_ATAN2L 1
70676 _ACEOF
70679 done
70681 else
70683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70684 $as_echo_n "checking for _atan2l declaration... " >&6; }
70685 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70686 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70687 $as_echo_n "(cached) " >&6
70688 else
70691 ac_ext=cpp
70692 ac_cpp='$CXXCPP $CPPFLAGS'
70693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70698 /* end confdefs.h. */
70699 #include <math.h>
70701 main ()
70703 _atan2l(0, 0);
70705 return 0;
70707 _ACEOF
70708 if ac_fn_cxx_try_compile "$LINENO"; then :
70709 glibcxx_cv_func__atan2l_use=yes
70710 else
70711 glibcxx_cv_func__atan2l_use=no
70713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70714 ac_ext=c
70715 ac_cpp='$CPP $CPPFLAGS'
70716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70725 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70727 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70728 for ac_func in _atan2l
70729 do :
70730 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70731 if test "x$ac_cv_func__atan2l" = xyes; then :
70732 cat >>confdefs.h <<_ACEOF
70733 #define HAVE__ATAN2L 1
70734 _ACEOF
70737 done
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70747 $as_echo_n "checking for expl declaration... " >&6; }
70748 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70749 if ${glibcxx_cv_func_expl_use+:} false; then :
70750 $as_echo_n "(cached) " >&6
70751 else
70754 ac_ext=cpp
70755 ac_cpp='$CXXCPP $CPPFLAGS'
70756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70761 /* end confdefs.h. */
70762 #include <math.h>
70763 #ifdef HAVE_IEEEFP_H
70764 #include <ieeefp.h>
70765 #endif
70768 main ()
70770 expl(0);
70772 return 0;
70774 _ACEOF
70775 if ac_fn_cxx_try_compile "$LINENO"; then :
70776 glibcxx_cv_func_expl_use=yes
70777 else
70778 glibcxx_cv_func_expl_use=no
70780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70781 ac_ext=c
70782 ac_cpp='$CPP $CPPFLAGS'
70783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70792 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70794 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70795 for ac_func in expl
70796 do :
70797 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70798 if test "x$ac_cv_func_expl" = xyes; then :
70799 cat >>confdefs.h <<_ACEOF
70800 #define HAVE_EXPL 1
70801 _ACEOF
70804 done
70806 else
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70809 $as_echo_n "checking for _expl declaration... " >&6; }
70810 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70811 if ${glibcxx_cv_func__expl_use+:} false; then :
70812 $as_echo_n "(cached) " >&6
70813 else
70816 ac_ext=cpp
70817 ac_cpp='$CXXCPP $CPPFLAGS'
70818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70823 /* end confdefs.h. */
70824 #include <math.h>
70825 #ifdef HAVE_IEEEFP_H
70826 #include <ieeefp.h>
70827 #endif
70830 main ()
70832 _expl(0);
70834 return 0;
70836 _ACEOF
70837 if ac_fn_cxx_try_compile "$LINENO"; then :
70838 glibcxx_cv_func__expl_use=yes
70839 else
70840 glibcxx_cv_func__expl_use=no
70842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70843 ac_ext=c
70844 ac_cpp='$CPP $CPPFLAGS'
70845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70854 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70856 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70857 for ac_func in _expl
70858 do :
70859 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70860 if test "x$ac_cv_func__expl" = xyes; then :
70861 cat >>confdefs.h <<_ACEOF
70862 #define HAVE__EXPL 1
70863 _ACEOF
70866 done
70875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70876 $as_echo_n "checking for fabsl declaration... " >&6; }
70877 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70878 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70879 $as_echo_n "(cached) " >&6
70880 else
70883 ac_ext=cpp
70884 ac_cpp='$CXXCPP $CPPFLAGS'
70885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70890 /* end confdefs.h. */
70891 #include <math.h>
70892 #ifdef HAVE_IEEEFP_H
70893 #include <ieeefp.h>
70894 #endif
70897 main ()
70899 fabsl(0);
70901 return 0;
70903 _ACEOF
70904 if ac_fn_cxx_try_compile "$LINENO"; then :
70905 glibcxx_cv_func_fabsl_use=yes
70906 else
70907 glibcxx_cv_func_fabsl_use=no
70909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70910 ac_ext=c
70911 ac_cpp='$CPP $CPPFLAGS'
70912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70921 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70923 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70924 for ac_func in fabsl
70925 do :
70926 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70927 if test "x$ac_cv_func_fabsl" = xyes; then :
70928 cat >>confdefs.h <<_ACEOF
70929 #define HAVE_FABSL 1
70930 _ACEOF
70933 done
70935 else
70937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70938 $as_echo_n "checking for _fabsl declaration... " >&6; }
70939 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70940 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70941 $as_echo_n "(cached) " >&6
70942 else
70945 ac_ext=cpp
70946 ac_cpp='$CXXCPP $CPPFLAGS'
70947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70952 /* end confdefs.h. */
70953 #include <math.h>
70954 #ifdef HAVE_IEEEFP_H
70955 #include <ieeefp.h>
70956 #endif
70959 main ()
70961 _fabsl(0);
70963 return 0;
70965 _ACEOF
70966 if ac_fn_cxx_try_compile "$LINENO"; then :
70967 glibcxx_cv_func__fabsl_use=yes
70968 else
70969 glibcxx_cv_func__fabsl_use=no
70971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70972 ac_ext=c
70973 ac_cpp='$CPP $CPPFLAGS'
70974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70983 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70985 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70986 for ac_func in _fabsl
70987 do :
70988 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70989 if test "x$ac_cv_func__fabsl" = xyes; then :
70990 cat >>confdefs.h <<_ACEOF
70991 #define HAVE__FABSL 1
70992 _ACEOF
70995 done
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71005 $as_echo_n "checking for fmodl declaration... " >&6; }
71006 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71007 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71008 $as_echo_n "(cached) " >&6
71009 else
71012 ac_ext=cpp
71013 ac_cpp='$CXXCPP $CPPFLAGS'
71014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71019 /* end confdefs.h. */
71020 #include <math.h>
71022 main ()
71024 fmodl(0, 0);
71026 return 0;
71028 _ACEOF
71029 if ac_fn_cxx_try_compile "$LINENO"; then :
71030 glibcxx_cv_func_fmodl_use=yes
71031 else
71032 glibcxx_cv_func_fmodl_use=no
71034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71035 ac_ext=c
71036 ac_cpp='$CPP $CPPFLAGS'
71037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71046 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71048 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71049 for ac_func in fmodl
71050 do :
71051 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71052 if test "x$ac_cv_func_fmodl" = xyes; then :
71053 cat >>confdefs.h <<_ACEOF
71054 #define HAVE_FMODL 1
71055 _ACEOF
71058 done
71060 else
71062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71063 $as_echo_n "checking for _fmodl declaration... " >&6; }
71064 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71065 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71066 $as_echo_n "(cached) " >&6
71067 else
71070 ac_ext=cpp
71071 ac_cpp='$CXXCPP $CPPFLAGS'
71072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71077 /* end confdefs.h. */
71078 #include <math.h>
71080 main ()
71082 _fmodl(0, 0);
71084 return 0;
71086 _ACEOF
71087 if ac_fn_cxx_try_compile "$LINENO"; then :
71088 glibcxx_cv_func__fmodl_use=yes
71089 else
71090 glibcxx_cv_func__fmodl_use=no
71092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71093 ac_ext=c
71094 ac_cpp='$CPP $CPPFLAGS'
71095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71104 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71106 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71107 for ac_func in _fmodl
71108 do :
71109 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71110 if test "x$ac_cv_func__fmodl" = xyes; then :
71111 cat >>confdefs.h <<_ACEOF
71112 #define HAVE__FMODL 1
71113 _ACEOF
71116 done
71125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71126 $as_echo_n "checking for frexpl declaration... " >&6; }
71127 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71128 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71129 $as_echo_n "(cached) " >&6
71130 else
71133 ac_ext=cpp
71134 ac_cpp='$CXXCPP $CPPFLAGS'
71135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71140 /* end confdefs.h. */
71141 #include <math.h>
71143 main ()
71145 frexpl(0, 0);
71147 return 0;
71149 _ACEOF
71150 if ac_fn_cxx_try_compile "$LINENO"; then :
71151 glibcxx_cv_func_frexpl_use=yes
71152 else
71153 glibcxx_cv_func_frexpl_use=no
71155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71156 ac_ext=c
71157 ac_cpp='$CPP $CPPFLAGS'
71158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71167 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71169 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71170 for ac_func in frexpl
71171 do :
71172 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71173 if test "x$ac_cv_func_frexpl" = xyes; then :
71174 cat >>confdefs.h <<_ACEOF
71175 #define HAVE_FREXPL 1
71176 _ACEOF
71179 done
71181 else
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71184 $as_echo_n "checking for _frexpl declaration... " >&6; }
71185 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71186 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71187 $as_echo_n "(cached) " >&6
71188 else
71191 ac_ext=cpp
71192 ac_cpp='$CXXCPP $CPPFLAGS'
71193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71198 /* end confdefs.h. */
71199 #include <math.h>
71201 main ()
71203 _frexpl(0, 0);
71205 return 0;
71207 _ACEOF
71208 if ac_fn_cxx_try_compile "$LINENO"; then :
71209 glibcxx_cv_func__frexpl_use=yes
71210 else
71211 glibcxx_cv_func__frexpl_use=no
71213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71214 ac_ext=c
71215 ac_cpp='$CPP $CPPFLAGS'
71216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71225 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71227 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71228 for ac_func in _frexpl
71229 do :
71230 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71231 if test "x$ac_cv_func__frexpl" = xyes; then :
71232 cat >>confdefs.h <<_ACEOF
71233 #define HAVE__FREXPL 1
71234 _ACEOF
71237 done
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71247 $as_echo_n "checking for hypotl declaration... " >&6; }
71248 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71249 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71250 $as_echo_n "(cached) " >&6
71251 else
71254 ac_ext=cpp
71255 ac_cpp='$CXXCPP $CPPFLAGS'
71256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71261 /* end confdefs.h. */
71262 #include <math.h>
71264 main ()
71266 hypotl(0, 0);
71268 return 0;
71270 _ACEOF
71271 if ac_fn_cxx_try_compile "$LINENO"; then :
71272 glibcxx_cv_func_hypotl_use=yes
71273 else
71274 glibcxx_cv_func_hypotl_use=no
71276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71277 ac_ext=c
71278 ac_cpp='$CPP $CPPFLAGS'
71279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71288 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71290 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71291 for ac_func in hypotl
71292 do :
71293 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71294 if test "x$ac_cv_func_hypotl" = xyes; then :
71295 cat >>confdefs.h <<_ACEOF
71296 #define HAVE_HYPOTL 1
71297 _ACEOF
71300 done
71302 else
71304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71305 $as_echo_n "checking for _hypotl declaration... " >&6; }
71306 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71307 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71308 $as_echo_n "(cached) " >&6
71309 else
71312 ac_ext=cpp
71313 ac_cpp='$CXXCPP $CPPFLAGS'
71314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71319 /* end confdefs.h. */
71320 #include <math.h>
71322 main ()
71324 _hypotl(0, 0);
71326 return 0;
71328 _ACEOF
71329 if ac_fn_cxx_try_compile "$LINENO"; then :
71330 glibcxx_cv_func__hypotl_use=yes
71331 else
71332 glibcxx_cv_func__hypotl_use=no
71334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71335 ac_ext=c
71336 ac_cpp='$CPP $CPPFLAGS'
71337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71346 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71348 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71349 for ac_func in _hypotl
71350 do :
71351 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71352 if test "x$ac_cv_func__hypotl" = xyes; then :
71353 cat >>confdefs.h <<_ACEOF
71354 #define HAVE__HYPOTL 1
71355 _ACEOF
71358 done
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71368 $as_echo_n "checking for ldexpl declaration... " >&6; }
71369 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71370 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71371 $as_echo_n "(cached) " >&6
71372 else
71375 ac_ext=cpp
71376 ac_cpp='$CXXCPP $CPPFLAGS'
71377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71382 /* end confdefs.h. */
71383 #include <math.h>
71385 main ()
71387 ldexpl(0, 0);
71389 return 0;
71391 _ACEOF
71392 if ac_fn_cxx_try_compile "$LINENO"; then :
71393 glibcxx_cv_func_ldexpl_use=yes
71394 else
71395 glibcxx_cv_func_ldexpl_use=no
71397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71398 ac_ext=c
71399 ac_cpp='$CPP $CPPFLAGS'
71400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71409 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71411 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71412 for ac_func in ldexpl
71413 do :
71414 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71415 if test "x$ac_cv_func_ldexpl" = xyes; then :
71416 cat >>confdefs.h <<_ACEOF
71417 #define HAVE_LDEXPL 1
71418 _ACEOF
71421 done
71423 else
71425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71426 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71427 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71428 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71429 $as_echo_n "(cached) " >&6
71430 else
71433 ac_ext=cpp
71434 ac_cpp='$CXXCPP $CPPFLAGS'
71435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71440 /* end confdefs.h. */
71441 #include <math.h>
71443 main ()
71445 _ldexpl(0, 0);
71447 return 0;
71449 _ACEOF
71450 if ac_fn_cxx_try_compile "$LINENO"; then :
71451 glibcxx_cv_func__ldexpl_use=yes
71452 else
71453 glibcxx_cv_func__ldexpl_use=no
71455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71456 ac_ext=c
71457 ac_cpp='$CPP $CPPFLAGS'
71458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71467 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71469 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71470 for ac_func in _ldexpl
71471 do :
71472 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71473 if test "x$ac_cv_func__ldexpl" = xyes; then :
71474 cat >>confdefs.h <<_ACEOF
71475 #define HAVE__LDEXPL 1
71476 _ACEOF
71479 done
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71489 $as_echo_n "checking for logl declaration... " >&6; }
71490 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71491 if ${glibcxx_cv_func_logl_use+:} false; then :
71492 $as_echo_n "(cached) " >&6
71493 else
71496 ac_ext=cpp
71497 ac_cpp='$CXXCPP $CPPFLAGS'
71498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71503 /* end confdefs.h. */
71504 #include <math.h>
71505 #ifdef HAVE_IEEEFP_H
71506 #include <ieeefp.h>
71507 #endif
71510 main ()
71512 logl(0);
71514 return 0;
71516 _ACEOF
71517 if ac_fn_cxx_try_compile "$LINENO"; then :
71518 glibcxx_cv_func_logl_use=yes
71519 else
71520 glibcxx_cv_func_logl_use=no
71522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71523 ac_ext=c
71524 ac_cpp='$CPP $CPPFLAGS'
71525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71534 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71536 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71537 for ac_func in logl
71538 do :
71539 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71540 if test "x$ac_cv_func_logl" = xyes; then :
71541 cat >>confdefs.h <<_ACEOF
71542 #define HAVE_LOGL 1
71543 _ACEOF
71546 done
71548 else
71550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71551 $as_echo_n "checking for _logl declaration... " >&6; }
71552 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71553 if ${glibcxx_cv_func__logl_use+:} false; then :
71554 $as_echo_n "(cached) " >&6
71555 else
71558 ac_ext=cpp
71559 ac_cpp='$CXXCPP $CPPFLAGS'
71560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71565 /* end confdefs.h. */
71566 #include <math.h>
71567 #ifdef HAVE_IEEEFP_H
71568 #include <ieeefp.h>
71569 #endif
71572 main ()
71574 _logl(0);
71576 return 0;
71578 _ACEOF
71579 if ac_fn_cxx_try_compile "$LINENO"; then :
71580 glibcxx_cv_func__logl_use=yes
71581 else
71582 glibcxx_cv_func__logl_use=no
71584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71585 ac_ext=c
71586 ac_cpp='$CPP $CPPFLAGS'
71587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71596 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71598 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71599 for ac_func in _logl
71600 do :
71601 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71602 if test "x$ac_cv_func__logl" = xyes; then :
71603 cat >>confdefs.h <<_ACEOF
71604 #define HAVE__LOGL 1
71605 _ACEOF
71608 done
71617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71618 $as_echo_n "checking for log10l declaration... " >&6; }
71619 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71620 if ${glibcxx_cv_func_log10l_use+:} false; then :
71621 $as_echo_n "(cached) " >&6
71622 else
71625 ac_ext=cpp
71626 ac_cpp='$CXXCPP $CPPFLAGS'
71627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71632 /* end confdefs.h. */
71633 #include <math.h>
71634 #ifdef HAVE_IEEEFP_H
71635 #include <ieeefp.h>
71636 #endif
71639 main ()
71641 log10l(0);
71643 return 0;
71645 _ACEOF
71646 if ac_fn_cxx_try_compile "$LINENO"; then :
71647 glibcxx_cv_func_log10l_use=yes
71648 else
71649 glibcxx_cv_func_log10l_use=no
71651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71652 ac_ext=c
71653 ac_cpp='$CPP $CPPFLAGS'
71654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71663 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71665 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71666 for ac_func in log10l
71667 do :
71668 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71669 if test "x$ac_cv_func_log10l" = xyes; then :
71670 cat >>confdefs.h <<_ACEOF
71671 #define HAVE_LOG10L 1
71672 _ACEOF
71675 done
71677 else
71679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71680 $as_echo_n "checking for _log10l declaration... " >&6; }
71681 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71682 if ${glibcxx_cv_func__log10l_use+:} false; then :
71683 $as_echo_n "(cached) " >&6
71684 else
71687 ac_ext=cpp
71688 ac_cpp='$CXXCPP $CPPFLAGS'
71689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71694 /* end confdefs.h. */
71695 #include <math.h>
71696 #ifdef HAVE_IEEEFP_H
71697 #include <ieeefp.h>
71698 #endif
71701 main ()
71703 _log10l(0);
71705 return 0;
71707 _ACEOF
71708 if ac_fn_cxx_try_compile "$LINENO"; then :
71709 glibcxx_cv_func__log10l_use=yes
71710 else
71711 glibcxx_cv_func__log10l_use=no
71713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71714 ac_ext=c
71715 ac_cpp='$CPP $CPPFLAGS'
71716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71725 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71727 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71728 for ac_func in _log10l
71729 do :
71730 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71731 if test "x$ac_cv_func__log10l" = xyes; then :
71732 cat >>confdefs.h <<_ACEOF
71733 #define HAVE__LOG10L 1
71734 _ACEOF
71737 done
71746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71747 $as_echo_n "checking for modfl declaration... " >&6; }
71748 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71749 if ${glibcxx_cv_func_modfl_use+:} false; then :
71750 $as_echo_n "(cached) " >&6
71751 else
71754 ac_ext=cpp
71755 ac_cpp='$CXXCPP $CPPFLAGS'
71756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71761 /* end confdefs.h. */
71762 #include <math.h>
71764 main ()
71766 modfl(0, 0);
71768 return 0;
71770 _ACEOF
71771 if ac_fn_cxx_try_compile "$LINENO"; then :
71772 glibcxx_cv_func_modfl_use=yes
71773 else
71774 glibcxx_cv_func_modfl_use=no
71776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71777 ac_ext=c
71778 ac_cpp='$CPP $CPPFLAGS'
71779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71788 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71790 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71791 for ac_func in modfl
71792 do :
71793 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71794 if test "x$ac_cv_func_modfl" = xyes; then :
71795 cat >>confdefs.h <<_ACEOF
71796 #define HAVE_MODFL 1
71797 _ACEOF
71800 done
71802 else
71804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71805 $as_echo_n "checking for _modfl declaration... " >&6; }
71806 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71807 if ${glibcxx_cv_func__modfl_use+:} false; then :
71808 $as_echo_n "(cached) " >&6
71809 else
71812 ac_ext=cpp
71813 ac_cpp='$CXXCPP $CPPFLAGS'
71814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71819 /* end confdefs.h. */
71820 #include <math.h>
71822 main ()
71824 _modfl(0, 0);
71826 return 0;
71828 _ACEOF
71829 if ac_fn_cxx_try_compile "$LINENO"; then :
71830 glibcxx_cv_func__modfl_use=yes
71831 else
71832 glibcxx_cv_func__modfl_use=no
71834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71835 ac_ext=c
71836 ac_cpp='$CPP $CPPFLAGS'
71837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71846 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71848 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71849 for ac_func in _modfl
71850 do :
71851 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71852 if test "x$ac_cv_func__modfl" = xyes; then :
71853 cat >>confdefs.h <<_ACEOF
71854 #define HAVE__MODFL 1
71855 _ACEOF
71858 done
71867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71868 $as_echo_n "checking for powl declaration... " >&6; }
71869 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71870 if ${glibcxx_cv_func_powl_use+:} false; then :
71871 $as_echo_n "(cached) " >&6
71872 else
71875 ac_ext=cpp
71876 ac_cpp='$CXXCPP $CPPFLAGS'
71877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71882 /* end confdefs.h. */
71883 #include <math.h>
71885 main ()
71887 powl(0, 0);
71889 return 0;
71891 _ACEOF
71892 if ac_fn_cxx_try_compile "$LINENO"; then :
71893 glibcxx_cv_func_powl_use=yes
71894 else
71895 glibcxx_cv_func_powl_use=no
71897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71898 ac_ext=c
71899 ac_cpp='$CPP $CPPFLAGS'
71900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71909 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71911 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71912 for ac_func in powl
71913 do :
71914 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71915 if test "x$ac_cv_func_powl" = xyes; then :
71916 cat >>confdefs.h <<_ACEOF
71917 #define HAVE_POWL 1
71918 _ACEOF
71921 done
71923 else
71925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71926 $as_echo_n "checking for _powl declaration... " >&6; }
71927 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71928 if ${glibcxx_cv_func__powl_use+:} false; then :
71929 $as_echo_n "(cached) " >&6
71930 else
71933 ac_ext=cpp
71934 ac_cpp='$CXXCPP $CPPFLAGS'
71935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71940 /* end confdefs.h. */
71941 #include <math.h>
71943 main ()
71945 _powl(0, 0);
71947 return 0;
71949 _ACEOF
71950 if ac_fn_cxx_try_compile "$LINENO"; then :
71951 glibcxx_cv_func__powl_use=yes
71952 else
71953 glibcxx_cv_func__powl_use=no
71955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71956 ac_ext=c
71957 ac_cpp='$CPP $CPPFLAGS'
71958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71967 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71969 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71970 for ac_func in _powl
71971 do :
71972 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71973 if test "x$ac_cv_func__powl" = xyes; then :
71974 cat >>confdefs.h <<_ACEOF
71975 #define HAVE__POWL 1
71976 _ACEOF
71979 done
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71989 $as_echo_n "checking for sqrtl declaration... " >&6; }
71990 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71991 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71992 $as_echo_n "(cached) " >&6
71993 else
71996 ac_ext=cpp
71997 ac_cpp='$CXXCPP $CPPFLAGS'
71998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72003 /* end confdefs.h. */
72004 #include <math.h>
72005 #ifdef HAVE_IEEEFP_H
72006 #include <ieeefp.h>
72007 #endif
72010 main ()
72012 sqrtl(0);
72014 return 0;
72016 _ACEOF
72017 if ac_fn_cxx_try_compile "$LINENO"; then :
72018 glibcxx_cv_func_sqrtl_use=yes
72019 else
72020 glibcxx_cv_func_sqrtl_use=no
72022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72023 ac_ext=c
72024 ac_cpp='$CPP $CPPFLAGS'
72025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72034 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72036 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72037 for ac_func in sqrtl
72038 do :
72039 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72040 if test "x$ac_cv_func_sqrtl" = xyes; then :
72041 cat >>confdefs.h <<_ACEOF
72042 #define HAVE_SQRTL 1
72043 _ACEOF
72046 done
72048 else
72050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72051 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72052 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72053 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72054 $as_echo_n "(cached) " >&6
72055 else
72058 ac_ext=cpp
72059 ac_cpp='$CXXCPP $CPPFLAGS'
72060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72065 /* end confdefs.h. */
72066 #include <math.h>
72067 #ifdef HAVE_IEEEFP_H
72068 #include <ieeefp.h>
72069 #endif
72072 main ()
72074 _sqrtl(0);
72076 return 0;
72078 _ACEOF
72079 if ac_fn_cxx_try_compile "$LINENO"; then :
72080 glibcxx_cv_func__sqrtl_use=yes
72081 else
72082 glibcxx_cv_func__sqrtl_use=no
72084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72085 ac_ext=c
72086 ac_cpp='$CPP $CPPFLAGS'
72087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72096 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72098 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72099 for ac_func in _sqrtl
72100 do :
72101 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72102 if test "x$ac_cv_func__sqrtl" = xyes; then :
72103 cat >>confdefs.h <<_ACEOF
72104 #define HAVE__SQRTL 1
72105 _ACEOF
72108 done
72117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72118 $as_echo_n "checking for sincosl declaration... " >&6; }
72119 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72120 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72121 $as_echo_n "(cached) " >&6
72122 else
72125 ac_ext=cpp
72126 ac_cpp='$CXXCPP $CPPFLAGS'
72127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72132 /* end confdefs.h. */
72133 #include <math.h>
72135 main ()
72137 sincosl(0, 0, 0);
72139 return 0;
72141 _ACEOF
72142 if ac_fn_cxx_try_compile "$LINENO"; then :
72143 glibcxx_cv_func_sincosl_use=yes
72144 else
72145 glibcxx_cv_func_sincosl_use=no
72147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72148 ac_ext=c
72149 ac_cpp='$CPP $CPPFLAGS'
72150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72159 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72161 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72162 for ac_func in sincosl
72163 do :
72164 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72165 if test "x$ac_cv_func_sincosl" = xyes; then :
72166 cat >>confdefs.h <<_ACEOF
72167 #define HAVE_SINCOSL 1
72168 _ACEOF
72171 done
72173 else
72175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72176 $as_echo_n "checking for _sincosl declaration... " >&6; }
72177 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72178 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72179 $as_echo_n "(cached) " >&6
72180 else
72183 ac_ext=cpp
72184 ac_cpp='$CXXCPP $CPPFLAGS'
72185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72190 /* end confdefs.h. */
72191 #include <math.h>
72193 main ()
72195 _sincosl(0, 0, 0);
72197 return 0;
72199 _ACEOF
72200 if ac_fn_cxx_try_compile "$LINENO"; then :
72201 glibcxx_cv_func__sincosl_use=yes
72202 else
72203 glibcxx_cv_func__sincosl_use=no
72205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72206 ac_ext=c
72207 ac_cpp='$CPP $CPPFLAGS'
72208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72217 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72219 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72220 for ac_func in _sincosl
72221 do :
72222 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72223 if test "x$ac_cv_func__sincosl" = xyes; then :
72224 cat >>confdefs.h <<_ACEOF
72225 #define HAVE__SINCOSL 1
72226 _ACEOF
72229 done
72238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72239 $as_echo_n "checking for finitel declaration... " >&6; }
72240 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72241 if ${glibcxx_cv_func_finitel_use+:} false; then :
72242 $as_echo_n "(cached) " >&6
72243 else
72246 ac_ext=cpp
72247 ac_cpp='$CXXCPP $CPPFLAGS'
72248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72253 /* end confdefs.h. */
72254 #include <math.h>
72255 #ifdef HAVE_IEEEFP_H
72256 #include <ieeefp.h>
72257 #endif
72260 main ()
72262 finitel(0);
72264 return 0;
72266 _ACEOF
72267 if ac_fn_cxx_try_compile "$LINENO"; then :
72268 glibcxx_cv_func_finitel_use=yes
72269 else
72270 glibcxx_cv_func_finitel_use=no
72272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72273 ac_ext=c
72274 ac_cpp='$CPP $CPPFLAGS'
72275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72284 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72286 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72287 for ac_func in finitel
72288 do :
72289 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72290 if test "x$ac_cv_func_finitel" = xyes; then :
72291 cat >>confdefs.h <<_ACEOF
72292 #define HAVE_FINITEL 1
72293 _ACEOF
72296 done
72298 else
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72301 $as_echo_n "checking for _finitel declaration... " >&6; }
72302 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72303 if ${glibcxx_cv_func__finitel_use+:} false; then :
72304 $as_echo_n "(cached) " >&6
72305 else
72308 ac_ext=cpp
72309 ac_cpp='$CXXCPP $CPPFLAGS'
72310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72315 /* end confdefs.h. */
72316 #include <math.h>
72317 #ifdef HAVE_IEEEFP_H
72318 #include <ieeefp.h>
72319 #endif
72322 main ()
72324 _finitel(0);
72326 return 0;
72328 _ACEOF
72329 if ac_fn_cxx_try_compile "$LINENO"; then :
72330 glibcxx_cv_func__finitel_use=yes
72331 else
72332 glibcxx_cv_func__finitel_use=no
72334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72335 ac_ext=c
72336 ac_cpp='$CPP $CPPFLAGS'
72337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72346 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72348 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72349 for ac_func in _finitel
72350 do :
72351 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72352 if test "x$ac_cv_func__finitel" = xyes; then :
72353 cat >>confdefs.h <<_ACEOF
72354 #define HAVE__FINITEL 1
72355 _ACEOF
72358 done
72366 LIBS="$ac_save_LIBS"
72367 CXXFLAGS="$ac_save_CXXFLAGS"
72370 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72371 ac_save_CXXFLAGS="$CXXFLAGS"
72372 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72376 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72377 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72378 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72379 $as_echo_n "(cached) " >&6
72380 else
72383 ac_ext=cpp
72384 ac_cpp='$CXXCPP $CPPFLAGS'
72385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72390 /* end confdefs.h. */
72391 #include <stdlib.h>
72393 main ()
72395 at_quick_exit(0);
72397 return 0;
72399 _ACEOF
72400 if ac_fn_cxx_try_compile "$LINENO"; then :
72401 glibcxx_cv_func_at_quick_exit_use=yes
72402 else
72403 glibcxx_cv_func_at_quick_exit_use=no
72405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72406 ac_ext=c
72407 ac_cpp='$CPP $CPPFLAGS'
72408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72417 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72418 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72419 for ac_func in at_quick_exit
72420 do :
72421 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72422 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72423 cat >>confdefs.h <<_ACEOF
72424 #define HAVE_AT_QUICK_EXIT 1
72425 _ACEOF
72428 done
72433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72434 $as_echo_n "checking for quick_exit declaration... " >&6; }
72435 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72436 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72437 $as_echo_n "(cached) " >&6
72438 else
72441 ac_ext=cpp
72442 ac_cpp='$CXXCPP $CPPFLAGS'
72443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72448 /* end confdefs.h. */
72449 #include <stdlib.h>
72451 main ()
72453 quick_exit(0);
72455 return 0;
72457 _ACEOF
72458 if ac_fn_cxx_try_compile "$LINENO"; then :
72459 glibcxx_cv_func_quick_exit_use=yes
72460 else
72461 glibcxx_cv_func_quick_exit_use=no
72463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72464 ac_ext=c
72465 ac_cpp='$CPP $CPPFLAGS'
72466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72475 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72476 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72477 for ac_func in quick_exit
72478 do :
72479 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72480 if test "x$ac_cv_func_quick_exit" = xyes; then :
72481 cat >>confdefs.h <<_ACEOF
72482 #define HAVE_QUICK_EXIT 1
72483 _ACEOF
72486 done
72491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72492 $as_echo_n "checking for strtold declaration... " >&6; }
72493 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72494 if ${glibcxx_cv_func_strtold_use+:} false; then :
72495 $as_echo_n "(cached) " >&6
72496 else
72499 ac_ext=cpp
72500 ac_cpp='$CXXCPP $CPPFLAGS'
72501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72506 /* end confdefs.h. */
72507 #include <stdlib.h>
72509 main ()
72511 strtold(0, 0);
72513 return 0;
72515 _ACEOF
72516 if ac_fn_cxx_try_compile "$LINENO"; then :
72517 glibcxx_cv_func_strtold_use=yes
72518 else
72519 glibcxx_cv_func_strtold_use=no
72521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72522 ac_ext=c
72523 ac_cpp='$CPP $CPPFLAGS'
72524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72533 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72534 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72535 for ac_func in strtold
72536 do :
72537 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72538 if test "x$ac_cv_func_strtold" = xyes; then :
72539 cat >>confdefs.h <<_ACEOF
72540 #define HAVE_STRTOLD 1
72541 _ACEOF
72544 done
72551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72552 $as_echo_n "checking for strtof declaration... " >&6; }
72553 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72554 if ${glibcxx_cv_func_strtof_use+:} false; then :
72555 $as_echo_n "(cached) " >&6
72556 else
72559 ac_ext=cpp
72560 ac_cpp='$CXXCPP $CPPFLAGS'
72561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72566 /* end confdefs.h. */
72567 #include <stdlib.h>
72569 main ()
72571 strtof(0, 0);
72573 return 0;
72575 _ACEOF
72576 if ac_fn_cxx_try_compile "$LINENO"; then :
72577 glibcxx_cv_func_strtof_use=yes
72578 else
72579 glibcxx_cv_func_strtof_use=no
72581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72582 ac_ext=c
72583 ac_cpp='$CPP $CPPFLAGS'
72584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72593 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72594 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72595 for ac_func in strtof
72596 do :
72597 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72598 if test "x$ac_cv_func_strtof" = xyes; then :
72599 cat >>confdefs.h <<_ACEOF
72600 #define HAVE_STRTOF 1
72601 _ACEOF
72604 done
72611 CXXFLAGS="$ac_save_CXXFLAGS"
72614 *-vxworks*)
72615 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72617 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72619 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72621 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72623 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72625 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72627 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72629 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72631 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72633 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72635 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72637 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72639 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72641 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72643 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72645 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72647 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72649 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72651 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72653 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72660 $as_echo_n "checking for acosl declaration... " >&6; }
72661 if ${glibcxx_cv_func_acosl_use+:} false; then :
72662 $as_echo_n "(cached) " >&6
72663 else
72666 ac_ext=c
72667 ac_cpp='$CPP $CPPFLAGS'
72668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72673 /* end confdefs.h. */
72675 #include <math.h>
72676 #ifdef HAVE_IEEEFP_H
72677 # include <ieeefp.h>
72678 #endif
72679 #undef acosl
72682 main ()
72685 void (*f)(void) = (void (*)(void))acosl;
72688 return 0;
72690 _ACEOF
72691 if ac_fn_c_try_compile "$LINENO"; then :
72692 glibcxx_cv_func_acosl_use=yes
72694 else
72695 glibcxx_cv_func_acosl_use=no
72697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72700 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72701 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72702 cat >>confdefs.h <<_ACEOF
72703 #define HAVE_ACOSL 1
72704 _ACEOF
72710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72711 $as_echo_n "checking for asinl declaration... " >&6; }
72712 if ${glibcxx_cv_func_asinl_use+:} false; then :
72713 $as_echo_n "(cached) " >&6
72714 else
72717 ac_ext=c
72718 ac_cpp='$CPP $CPPFLAGS'
72719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72724 /* end confdefs.h. */
72726 #include <math.h>
72727 #ifdef HAVE_IEEEFP_H
72728 # include <ieeefp.h>
72729 #endif
72730 #undef asinl
72733 main ()
72736 void (*f)(void) = (void (*)(void))asinl;
72739 return 0;
72741 _ACEOF
72742 if ac_fn_c_try_compile "$LINENO"; then :
72743 glibcxx_cv_func_asinl_use=yes
72745 else
72746 glibcxx_cv_func_asinl_use=no
72748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72751 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72752 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72753 cat >>confdefs.h <<_ACEOF
72754 #define HAVE_ASINL 1
72755 _ACEOF
72761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72762 $as_echo_n "checking for atan2l declaration... " >&6; }
72763 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72764 $as_echo_n "(cached) " >&6
72765 else
72768 ac_ext=c
72769 ac_cpp='$CPP $CPPFLAGS'
72770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72775 /* end confdefs.h. */
72777 #include <math.h>
72778 #ifdef HAVE_IEEEFP_H
72779 # include <ieeefp.h>
72780 #endif
72781 #undef atan2l
72784 main ()
72787 void (*f)(void) = (void (*)(void))atan2l;
72790 return 0;
72792 _ACEOF
72793 if ac_fn_c_try_compile "$LINENO"; then :
72794 glibcxx_cv_func_atan2l_use=yes
72796 else
72797 glibcxx_cv_func_atan2l_use=no
72799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72802 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72803 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72804 cat >>confdefs.h <<_ACEOF
72805 #define HAVE_ATAN2L 1
72806 _ACEOF
72812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72813 $as_echo_n "checking for atanl declaration... " >&6; }
72814 if ${glibcxx_cv_func_atanl_use+:} false; then :
72815 $as_echo_n "(cached) " >&6
72816 else
72819 ac_ext=c
72820 ac_cpp='$CPP $CPPFLAGS'
72821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72826 /* end confdefs.h. */
72828 #include <math.h>
72829 #ifdef HAVE_IEEEFP_H
72830 # include <ieeefp.h>
72831 #endif
72832 #undef atanl
72835 main ()
72838 void (*f)(void) = (void (*)(void))atanl;
72841 return 0;
72843 _ACEOF
72844 if ac_fn_c_try_compile "$LINENO"; then :
72845 glibcxx_cv_func_atanl_use=yes
72847 else
72848 glibcxx_cv_func_atanl_use=no
72850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72853 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72854 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72855 cat >>confdefs.h <<_ACEOF
72856 #define HAVE_ATANL 1
72857 _ACEOF
72863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72864 $as_echo_n "checking for ceill declaration... " >&6; }
72865 if ${glibcxx_cv_func_ceill_use+:} false; then :
72866 $as_echo_n "(cached) " >&6
72867 else
72870 ac_ext=c
72871 ac_cpp='$CPP $CPPFLAGS'
72872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72877 /* end confdefs.h. */
72879 #include <math.h>
72880 #ifdef HAVE_IEEEFP_H
72881 # include <ieeefp.h>
72882 #endif
72883 #undef ceill
72886 main ()
72889 void (*f)(void) = (void (*)(void))ceill;
72892 return 0;
72894 _ACEOF
72895 if ac_fn_c_try_compile "$LINENO"; then :
72896 glibcxx_cv_func_ceill_use=yes
72898 else
72899 glibcxx_cv_func_ceill_use=no
72901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72904 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72905 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72906 cat >>confdefs.h <<_ACEOF
72907 #define HAVE_CEILL 1
72908 _ACEOF
72914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72915 $as_echo_n "checking for cosl declaration... " >&6; }
72916 if ${glibcxx_cv_func_cosl_use+:} false; then :
72917 $as_echo_n "(cached) " >&6
72918 else
72921 ac_ext=c
72922 ac_cpp='$CPP $CPPFLAGS'
72923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72928 /* end confdefs.h. */
72930 #include <math.h>
72931 #ifdef HAVE_IEEEFP_H
72932 # include <ieeefp.h>
72933 #endif
72934 #undef cosl
72937 main ()
72940 void (*f)(void) = (void (*)(void))cosl;
72943 return 0;
72945 _ACEOF
72946 if ac_fn_c_try_compile "$LINENO"; then :
72947 glibcxx_cv_func_cosl_use=yes
72949 else
72950 glibcxx_cv_func_cosl_use=no
72952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72955 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72956 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72957 cat >>confdefs.h <<_ACEOF
72958 #define HAVE_COSL 1
72959 _ACEOF
72965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72966 $as_echo_n "checking for coshl declaration... " >&6; }
72967 if ${glibcxx_cv_func_coshl_use+:} false; then :
72968 $as_echo_n "(cached) " >&6
72969 else
72972 ac_ext=c
72973 ac_cpp='$CPP $CPPFLAGS'
72974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72979 /* end confdefs.h. */
72981 #include <math.h>
72982 #ifdef HAVE_IEEEFP_H
72983 # include <ieeefp.h>
72984 #endif
72985 #undef coshl
72988 main ()
72991 void (*f)(void) = (void (*)(void))coshl;
72994 return 0;
72996 _ACEOF
72997 if ac_fn_c_try_compile "$LINENO"; then :
72998 glibcxx_cv_func_coshl_use=yes
73000 else
73001 glibcxx_cv_func_coshl_use=no
73003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73006 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73007 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73008 cat >>confdefs.h <<_ACEOF
73009 #define HAVE_COSHL 1
73010 _ACEOF
73016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73017 $as_echo_n "checking for expl declaration... " >&6; }
73018 if ${glibcxx_cv_func_expl_use+:} false; then :
73019 $as_echo_n "(cached) " >&6
73020 else
73023 ac_ext=c
73024 ac_cpp='$CPP $CPPFLAGS'
73025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73030 /* end confdefs.h. */
73032 #include <math.h>
73033 #ifdef HAVE_IEEEFP_H
73034 # include <ieeefp.h>
73035 #endif
73036 #undef expl
73039 main ()
73042 void (*f)(void) = (void (*)(void))expl;
73045 return 0;
73047 _ACEOF
73048 if ac_fn_c_try_compile "$LINENO"; then :
73049 glibcxx_cv_func_expl_use=yes
73051 else
73052 glibcxx_cv_func_expl_use=no
73054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73057 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73058 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73059 cat >>confdefs.h <<_ACEOF
73060 #define HAVE_EXPL 1
73061 _ACEOF
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73068 $as_echo_n "checking for fabsl declaration... " >&6; }
73069 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73070 $as_echo_n "(cached) " >&6
73071 else
73074 ac_ext=c
73075 ac_cpp='$CPP $CPPFLAGS'
73076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73081 /* end confdefs.h. */
73083 #include <math.h>
73084 #ifdef HAVE_IEEEFP_H
73085 # include <ieeefp.h>
73086 #endif
73087 #undef fabsl
73090 main ()
73093 void (*f)(void) = (void (*)(void))fabsl;
73096 return 0;
73098 _ACEOF
73099 if ac_fn_c_try_compile "$LINENO"; then :
73100 glibcxx_cv_func_fabsl_use=yes
73102 else
73103 glibcxx_cv_func_fabsl_use=no
73105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73108 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73109 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73110 cat >>confdefs.h <<_ACEOF
73111 #define HAVE_FABSL 1
73112 _ACEOF
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73119 $as_echo_n "checking for floorl declaration... " >&6; }
73120 if ${glibcxx_cv_func_floorl_use+:} false; then :
73121 $as_echo_n "(cached) " >&6
73122 else
73125 ac_ext=c
73126 ac_cpp='$CPP $CPPFLAGS'
73127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73132 /* end confdefs.h. */
73134 #include <math.h>
73135 #ifdef HAVE_IEEEFP_H
73136 # include <ieeefp.h>
73137 #endif
73138 #undef floorl
73141 main ()
73144 void (*f)(void) = (void (*)(void))floorl;
73147 return 0;
73149 _ACEOF
73150 if ac_fn_c_try_compile "$LINENO"; then :
73151 glibcxx_cv_func_floorl_use=yes
73153 else
73154 glibcxx_cv_func_floorl_use=no
73156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73159 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73160 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73161 cat >>confdefs.h <<_ACEOF
73162 #define HAVE_FLOORL 1
73163 _ACEOF
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73170 $as_echo_n "checking for fmodl declaration... " >&6; }
73171 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73172 $as_echo_n "(cached) " >&6
73173 else
73176 ac_ext=c
73177 ac_cpp='$CPP $CPPFLAGS'
73178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73183 /* end confdefs.h. */
73185 #include <math.h>
73186 #ifdef HAVE_IEEEFP_H
73187 # include <ieeefp.h>
73188 #endif
73189 #undef fmodl
73192 main ()
73195 void (*f)(void) = (void (*)(void))fmodl;
73198 return 0;
73200 _ACEOF
73201 if ac_fn_c_try_compile "$LINENO"; then :
73202 glibcxx_cv_func_fmodl_use=yes
73204 else
73205 glibcxx_cv_func_fmodl_use=no
73207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73210 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73211 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73212 cat >>confdefs.h <<_ACEOF
73213 #define HAVE_FMODL 1
73214 _ACEOF
73220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73221 $as_echo_n "checking for frexpl declaration... " >&6; }
73222 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73223 $as_echo_n "(cached) " >&6
73224 else
73227 ac_ext=c
73228 ac_cpp='$CPP $CPPFLAGS'
73229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73234 /* end confdefs.h. */
73236 #include <math.h>
73237 #ifdef HAVE_IEEEFP_H
73238 # include <ieeefp.h>
73239 #endif
73240 #undef frexpl
73243 main ()
73246 void (*f)(void) = (void (*)(void))frexpl;
73249 return 0;
73251 _ACEOF
73252 if ac_fn_c_try_compile "$LINENO"; then :
73253 glibcxx_cv_func_frexpl_use=yes
73255 else
73256 glibcxx_cv_func_frexpl_use=no
73258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73261 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73262 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73263 cat >>confdefs.h <<_ACEOF
73264 #define HAVE_FREXPL 1
73265 _ACEOF
73271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73272 $as_echo_n "checking for ldexpl declaration... " >&6; }
73273 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73274 $as_echo_n "(cached) " >&6
73275 else
73278 ac_ext=c
73279 ac_cpp='$CPP $CPPFLAGS'
73280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73285 /* end confdefs.h. */
73287 #include <math.h>
73288 #ifdef HAVE_IEEEFP_H
73289 # include <ieeefp.h>
73290 #endif
73291 #undef ldexpl
73294 main ()
73297 void (*f)(void) = (void (*)(void))ldexpl;
73300 return 0;
73302 _ACEOF
73303 if ac_fn_c_try_compile "$LINENO"; then :
73304 glibcxx_cv_func_ldexpl_use=yes
73306 else
73307 glibcxx_cv_func_ldexpl_use=no
73309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73312 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73313 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73314 cat >>confdefs.h <<_ACEOF
73315 #define HAVE_LDEXPL 1
73316 _ACEOF
73322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73323 $as_echo_n "checking for log10l declaration... " >&6; }
73324 if ${glibcxx_cv_func_log10l_use+:} false; then :
73325 $as_echo_n "(cached) " >&6
73326 else
73329 ac_ext=c
73330 ac_cpp='$CPP $CPPFLAGS'
73331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73336 /* end confdefs.h. */
73338 #include <math.h>
73339 #ifdef HAVE_IEEEFP_H
73340 # include <ieeefp.h>
73341 #endif
73342 #undef log10l
73345 main ()
73348 void (*f)(void) = (void (*)(void))log10l;
73351 return 0;
73353 _ACEOF
73354 if ac_fn_c_try_compile "$LINENO"; then :
73355 glibcxx_cv_func_log10l_use=yes
73357 else
73358 glibcxx_cv_func_log10l_use=no
73360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73363 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73364 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73365 cat >>confdefs.h <<_ACEOF
73366 #define HAVE_LOG10L 1
73367 _ACEOF
73373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73374 $as_echo_n "checking for logl declaration... " >&6; }
73375 if ${glibcxx_cv_func_logl_use+:} false; then :
73376 $as_echo_n "(cached) " >&6
73377 else
73380 ac_ext=c
73381 ac_cpp='$CPP $CPPFLAGS'
73382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73387 /* end confdefs.h. */
73389 #include <math.h>
73390 #ifdef HAVE_IEEEFP_H
73391 # include <ieeefp.h>
73392 #endif
73393 #undef logl
73396 main ()
73399 void (*f)(void) = (void (*)(void))logl;
73402 return 0;
73404 _ACEOF
73405 if ac_fn_c_try_compile "$LINENO"; then :
73406 glibcxx_cv_func_logl_use=yes
73408 else
73409 glibcxx_cv_func_logl_use=no
73411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73414 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73415 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73416 cat >>confdefs.h <<_ACEOF
73417 #define HAVE_LOGL 1
73418 _ACEOF
73424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73425 $as_echo_n "checking for modfl declaration... " >&6; }
73426 if ${glibcxx_cv_func_modfl_use+:} false; then :
73427 $as_echo_n "(cached) " >&6
73428 else
73431 ac_ext=c
73432 ac_cpp='$CPP $CPPFLAGS'
73433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73438 /* end confdefs.h. */
73440 #include <math.h>
73441 #ifdef HAVE_IEEEFP_H
73442 # include <ieeefp.h>
73443 #endif
73444 #undef modfl
73447 main ()
73450 void (*f)(void) = (void (*)(void))modfl;
73453 return 0;
73455 _ACEOF
73456 if ac_fn_c_try_compile "$LINENO"; then :
73457 glibcxx_cv_func_modfl_use=yes
73459 else
73460 glibcxx_cv_func_modfl_use=no
73462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73465 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73466 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73467 cat >>confdefs.h <<_ACEOF
73468 #define HAVE_MODFL 1
73469 _ACEOF
73475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73476 $as_echo_n "checking for powl declaration... " >&6; }
73477 if ${glibcxx_cv_func_powl_use+:} false; then :
73478 $as_echo_n "(cached) " >&6
73479 else
73482 ac_ext=c
73483 ac_cpp='$CPP $CPPFLAGS'
73484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73489 /* end confdefs.h. */
73491 #include <math.h>
73492 #ifdef HAVE_IEEEFP_H
73493 # include <ieeefp.h>
73494 #endif
73495 #undef powl
73498 main ()
73501 void (*f)(void) = (void (*)(void))powl;
73504 return 0;
73506 _ACEOF
73507 if ac_fn_c_try_compile "$LINENO"; then :
73508 glibcxx_cv_func_powl_use=yes
73510 else
73511 glibcxx_cv_func_powl_use=no
73513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73516 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73517 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73518 cat >>confdefs.h <<_ACEOF
73519 #define HAVE_POWL 1
73520 _ACEOF
73526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73527 $as_echo_n "checking for sinl declaration... " >&6; }
73528 if ${glibcxx_cv_func_sinl_use+:} false; then :
73529 $as_echo_n "(cached) " >&6
73530 else
73533 ac_ext=c
73534 ac_cpp='$CPP $CPPFLAGS'
73535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73540 /* end confdefs.h. */
73542 #include <math.h>
73543 #ifdef HAVE_IEEEFP_H
73544 # include <ieeefp.h>
73545 #endif
73546 #undef sinl
73549 main ()
73552 void (*f)(void) = (void (*)(void))sinl;
73555 return 0;
73557 _ACEOF
73558 if ac_fn_c_try_compile "$LINENO"; then :
73559 glibcxx_cv_func_sinl_use=yes
73561 else
73562 glibcxx_cv_func_sinl_use=no
73564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73567 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73568 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73569 cat >>confdefs.h <<_ACEOF
73570 #define HAVE_SINL 1
73571 _ACEOF
73577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73578 $as_echo_n "checking for sinhl declaration... " >&6; }
73579 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73580 $as_echo_n "(cached) " >&6
73581 else
73584 ac_ext=c
73585 ac_cpp='$CPP $CPPFLAGS'
73586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73591 /* end confdefs.h. */
73593 #include <math.h>
73594 #ifdef HAVE_IEEEFP_H
73595 # include <ieeefp.h>
73596 #endif
73597 #undef sinhl
73600 main ()
73603 void (*f)(void) = (void (*)(void))sinhl;
73606 return 0;
73608 _ACEOF
73609 if ac_fn_c_try_compile "$LINENO"; then :
73610 glibcxx_cv_func_sinhl_use=yes
73612 else
73613 glibcxx_cv_func_sinhl_use=no
73615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73618 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73619 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73620 cat >>confdefs.h <<_ACEOF
73621 #define HAVE_SINHL 1
73622 _ACEOF
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73629 $as_echo_n "checking for sqrtl declaration... " >&6; }
73630 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73631 $as_echo_n "(cached) " >&6
73632 else
73635 ac_ext=c
73636 ac_cpp='$CPP $CPPFLAGS'
73637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73642 /* end confdefs.h. */
73644 #include <math.h>
73645 #ifdef HAVE_IEEEFP_H
73646 # include <ieeefp.h>
73647 #endif
73648 #undef sqrtl
73651 main ()
73654 void (*f)(void) = (void (*)(void))sqrtl;
73657 return 0;
73659 _ACEOF
73660 if ac_fn_c_try_compile "$LINENO"; then :
73661 glibcxx_cv_func_sqrtl_use=yes
73663 else
73664 glibcxx_cv_func_sqrtl_use=no
73666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73669 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73670 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73671 cat >>confdefs.h <<_ACEOF
73672 #define HAVE_SQRTL 1
73673 _ACEOF
73679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73680 $as_echo_n "checking for tanl declaration... " >&6; }
73681 if ${glibcxx_cv_func_tanl_use+:} false; then :
73682 $as_echo_n "(cached) " >&6
73683 else
73686 ac_ext=c
73687 ac_cpp='$CPP $CPPFLAGS'
73688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73693 /* end confdefs.h. */
73695 #include <math.h>
73696 #ifdef HAVE_IEEEFP_H
73697 # include <ieeefp.h>
73698 #endif
73699 #undef tanl
73702 main ()
73705 void (*f)(void) = (void (*)(void))tanl;
73708 return 0;
73710 _ACEOF
73711 if ac_fn_c_try_compile "$LINENO"; then :
73712 glibcxx_cv_func_tanl_use=yes
73714 else
73715 glibcxx_cv_func_tanl_use=no
73717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73720 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73721 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73722 cat >>confdefs.h <<_ACEOF
73723 #define HAVE_TANL 1
73724 _ACEOF
73730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73731 $as_echo_n "checking for tanhl declaration... " >&6; }
73732 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73733 $as_echo_n "(cached) " >&6
73734 else
73737 ac_ext=c
73738 ac_cpp='$CPP $CPPFLAGS'
73739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73744 /* end confdefs.h. */
73746 #include <math.h>
73747 #ifdef HAVE_IEEEFP_H
73748 # include <ieeefp.h>
73749 #endif
73750 #undef tanhl
73753 main ()
73756 void (*f)(void) = (void (*)(void))tanhl;
73759 return 0;
73761 _ACEOF
73762 if ac_fn_c_try_compile "$LINENO"; then :
73763 glibcxx_cv_func_tanhl_use=yes
73765 else
73766 glibcxx_cv_func_tanhl_use=no
73768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73771 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73772 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73773 cat >>confdefs.h <<_ACEOF
73774 #define HAVE_TANHL 1
73775 _ACEOF
73781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73782 $as_echo_n "checking for hypotl declaration... " >&6; }
73783 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73784 $as_echo_n "(cached) " >&6
73785 else
73788 ac_ext=c
73789 ac_cpp='$CPP $CPPFLAGS'
73790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73795 /* end confdefs.h. */
73797 #include <math.h>
73798 #ifdef HAVE_IEEEFP_H
73799 # include <ieeefp.h>
73800 #endif
73801 #undef hypotl
73804 main ()
73807 void (*f)(void) = (void (*)(void))hypotl;
73810 return 0;
73812 _ACEOF
73813 if ac_fn_c_try_compile "$LINENO"; then :
73814 glibcxx_cv_func_hypotl_use=yes
73816 else
73817 glibcxx_cv_func_hypotl_use=no
73819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73822 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73823 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73824 cat >>confdefs.h <<_ACEOF
73825 #define HAVE_HYPOTL 1
73826 _ACEOF
73832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73833 $as_echo_n "checking for ldexpf declaration... " >&6; }
73834 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73835 $as_echo_n "(cached) " >&6
73836 else
73839 ac_ext=c
73840 ac_cpp='$CPP $CPPFLAGS'
73841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73846 /* end confdefs.h. */
73848 #include <math.h>
73849 #ifdef HAVE_IEEEFP_H
73850 # include <ieeefp.h>
73851 #endif
73852 #undef ldexpf
73855 main ()
73858 void (*f)(void) = (void (*)(void))ldexpf;
73861 return 0;
73863 _ACEOF
73864 if ac_fn_c_try_compile "$LINENO"; then :
73865 glibcxx_cv_func_ldexpf_use=yes
73867 else
73868 glibcxx_cv_func_ldexpf_use=no
73870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73873 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73874 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73875 cat >>confdefs.h <<_ACEOF
73876 #define HAVE_LDEXPF 1
73877 _ACEOF
73883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73884 $as_echo_n "checking for modff declaration... " >&6; }
73885 if ${glibcxx_cv_func_modff_use+:} false; then :
73886 $as_echo_n "(cached) " >&6
73887 else
73890 ac_ext=c
73891 ac_cpp='$CPP $CPPFLAGS'
73892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73897 /* end confdefs.h. */
73899 #include <math.h>
73900 #ifdef HAVE_IEEEFP_H
73901 # include <ieeefp.h>
73902 #endif
73903 #undef modff
73906 main ()
73909 void (*f)(void) = (void (*)(void))modff;
73912 return 0;
73914 _ACEOF
73915 if ac_fn_c_try_compile "$LINENO"; then :
73916 glibcxx_cv_func_modff_use=yes
73918 else
73919 glibcxx_cv_func_modff_use=no
73921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73924 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73925 if test "x$glibcxx_cv_func_modff_use" = xyes; then
73926 cat >>confdefs.h <<_ACEOF
73927 #define HAVE_MODFF 1
73928 _ACEOF
73934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73935 $as_echo_n "checking for hypotf declaration... " >&6; }
73936 if ${glibcxx_cv_func_hypotf_use+:} false; then :
73937 $as_echo_n "(cached) " >&6
73938 else
73941 ac_ext=c
73942 ac_cpp='$CPP $CPPFLAGS'
73943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73948 /* end confdefs.h. */
73950 #include <math.h>
73951 #ifdef HAVE_IEEEFP_H
73952 # include <ieeefp.h>
73953 #endif
73954 #undef hypotf
73957 main ()
73960 void (*f)(void) = (void (*)(void))hypotf;
73963 return 0;
73965 _ACEOF
73966 if ac_fn_c_try_compile "$LINENO"; then :
73967 glibcxx_cv_func_hypotf_use=yes
73969 else
73970 glibcxx_cv_func_hypotf_use=no
73972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73975 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73976 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
73977 cat >>confdefs.h <<_ACEOF
73978 #define HAVE_HYPOTF 1
73979 _ACEOF
73985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73986 $as_echo_n "checking for frexpf declaration... " >&6; }
73987 if ${glibcxx_cv_func_frexpf_use+:} false; then :
73988 $as_echo_n "(cached) " >&6
73989 else
73992 ac_ext=c
73993 ac_cpp='$CPP $CPPFLAGS'
73994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73999 /* end confdefs.h. */
74001 #include <math.h>
74002 #ifdef HAVE_IEEEFP_H
74003 # include <ieeefp.h>
74004 #endif
74005 #undef frexpf
74008 main ()
74011 void (*f)(void) = (void (*)(void))frexpf;
74014 return 0;
74016 _ACEOF
74017 if ac_fn_c_try_compile "$LINENO"; then :
74018 glibcxx_cv_func_frexpf_use=yes
74020 else
74021 glibcxx_cv_func_frexpf_use=no
74023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74026 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74027 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
74028 cat >>confdefs.h <<_ACEOF
74029 #define HAVE_FREXPF 1
74030 _ACEOF
74038 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74040 esac
74044 # At some point, we should differentiate between architectures
74045 # like x86, which have long double versions, and alpha/powerpc/etc.,
74046 # which don't. For the time being, punt.
74047 if test x"long_double_math_on_this_cpu" = x"yes"; then
74048 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74050 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74052 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74054 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74056 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74058 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74060 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74062 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74064 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74066 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74068 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74070 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74072 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74074 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74076 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74078 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74080 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74082 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74084 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74086 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74088 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74090 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74092 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74097 # Check for _Unwind_GetIPInfo.
74100 # Check whether --with-system-libunwind was given.
74101 if test "${with_system_libunwind+set}" = set; then :
74102 withval=$with_system_libunwind;
74105 # If system-libunwind was not specifically set, pick a default setting.
74106 if test x$with_system_libunwind = x; then
74107 case ${target} in
74108 ia64-*-hpux*) with_system_libunwind=yes ;;
74109 *) with_system_libunwind=no ;;
74110 esac
74112 # Based on system-libunwind and target, do we have ipinfo?
74113 if test x$with_system_libunwind = xyes; then
74114 case ${target} in
74115 ia64-*-*) have_unwind_getipinfo=no ;;
74116 *) have_unwind_getipinfo=yes ;;
74117 esac
74118 else
74119 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74121 case ${target} in
74122 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74123 *) have_unwind_getipinfo=yes ;;
74124 esac
74128 if test x$have_unwind_getipinfo = xyes; then
74130 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74135 # Check whether --enable-linux-futex was given.
74136 if test "${enable_linux_futex+set}" = set; then :
74137 enableval=$enable_linux_futex;
74138 case "$enableval" in
74139 yes|no|default) ;;
74140 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74141 esac
74143 else
74144 enable_linux_futex=default
74148 case "$target" in
74149 *-linux* | *-uclinux*)
74150 case "$enable_linux_futex" in
74151 default)
74152 # If headers don't have gettid/futex syscalls definition, then
74153 # default to no, otherwise there will be compile time failures.
74154 # Otherwise, default to yes. If we don't detect we are
74155 # compiled/linked against NPTL and not cross-compiling, check
74156 # if programs are run by default against NPTL and if not, issue
74157 # a warning.
74158 enable_linux_futex=no
74159 if test x$gcc_no_link = xyes; then
74160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74163 /* end confdefs.h. */
74164 #include <sys/syscall.h>
74165 #include <unistd.h>
74166 int lk;
74168 main ()
74170 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74172 return 0;
74174 _ACEOF
74175 if ac_fn_c_try_link "$LINENO"; then :
74176 save_LIBS="$LIBS"
74177 LIBS="-lpthread $LIBS"
74178 if test x$gcc_no_link = xyes; then
74179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74182 /* end confdefs.h. */
74183 #ifndef _GNU_SOURCE
74184 #define _GNU_SOURCE 1
74185 #endif
74186 #include <pthread.h>
74187 pthread_t th; void *status;
74189 main ()
74191 pthread_tryjoin_np (th, &status);
74193 return 0;
74195 _ACEOF
74196 if ac_fn_c_try_link "$LINENO"; then :
74197 enable_linux_futex=yes
74198 else
74199 if test x$cross_compiling = xno; then
74200 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74201 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74203 If so, please configure with --disable-linux-futex" >&5
74204 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74205 If so, please configure with --disable-linux-futex" >&2;}
74208 enable_linux_futex=yes
74210 rm -f core conftest.err conftest.$ac_objext \
74211 conftest$ac_exeext conftest.$ac_ext
74212 LIBS="$save_LIBS"
74214 rm -f core conftest.err conftest.$ac_objext \
74215 conftest$ac_exeext conftest.$ac_ext
74217 yes)
74218 if test x$gcc_no_link = xyes; then
74219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74222 /* end confdefs.h. */
74223 #include <sys/syscall.h>
74224 #include <unistd.h>
74225 int lk;
74227 main ()
74229 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74231 return 0;
74233 _ACEOF
74234 if ac_fn_c_try_link "$LINENO"; then :
74236 else
74237 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74239 rm -f core conftest.err conftest.$ac_objext \
74240 conftest$ac_exeext conftest.$ac_ext
74242 esac
74245 enable_linux_futex=no
74247 esac
74248 if test x$enable_linux_futex = xyes; then
74250 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74257 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74259 acx_cv_header_stdint=stddef.h
74260 acx_cv_header_stdint_kind="(already complete)"
74261 for i in stdint.h $inttype_headers; do
74262 unset ac_cv_type_uintptr_t
74263 unset ac_cv_type_uintmax_t
74264 unset ac_cv_type_int_least32_t
74265 unset ac_cv_type_int_fast32_t
74266 unset ac_cv_type_uint64_t
74267 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74268 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74269 #include <$i>
74271 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74272 acx_cv_header_stdint=$i
74273 else
74274 continue
74277 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74278 #include <$i>
74280 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74282 else
74283 acx_cv_header_stdint_kind="(mostly complete)"
74286 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74287 #include <$i>
74289 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74291 else
74292 acx_cv_header_stdint_kind="(mostly complete)"
74295 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74296 #include <$i>
74298 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74300 else
74301 acx_cv_header_stdint_kind="(mostly complete)"
74304 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74305 #include <$i>
74307 if test "x$ac_cv_type_uint64_t" = xyes; then :
74309 else
74310 acx_cv_header_stdint_kind="(lacks uint64_t)"
74313 break
74314 done
74315 if test "$acx_cv_header_stdint" = stddef.h; then
74316 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74317 for i in stdint.h $inttype_headers; do
74318 unset ac_cv_type_uintptr_t
74319 unset ac_cv_type_uint32_t
74320 unset ac_cv_type_uint64_t
74321 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74322 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74323 #include <$i>
74325 if test "x$ac_cv_type_uint32_t" = xyes; then :
74326 acx_cv_header_stdint=$i
74327 else
74328 continue
74331 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74332 #include <$i>
74334 if test "x$ac_cv_type_uint64_t" = xyes; then :
74338 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74339 #include <$i>
74341 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74345 break
74346 done
74348 if test "$acx_cv_header_stdint" = stddef.h; then
74349 acx_cv_header_stdint_kind="(u_intXX_t style)"
74350 for i in sys/types.h $inttype_headers; do
74351 unset ac_cv_type_u_int32_t
74352 unset ac_cv_type_u_int64_t
74353 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74354 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74355 #include <$i>
74357 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74358 acx_cv_header_stdint=$i
74359 else
74360 continue
74363 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74364 #include <$i>
74366 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74370 break
74371 done
74373 if test "$acx_cv_header_stdint" = stddef.h; then
74374 acx_cv_header_stdint_kind="(using manual detection)"
74377 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74378 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74379 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74380 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74381 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74383 # ----------------- Summarize what we found so far
74385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74386 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74388 case `$as_basename -- include/gstdint.h ||
74389 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74390 Xinclude/gstdint.h : 'X\(//\)$' \| \
74391 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74392 $as_echo X/include/gstdint.h |
74393 sed '/^.*\/\([^/][^/]*\)\/*$/{
74394 s//\1/
74397 /^X\/\(\/\/\)$/{
74398 s//\1/
74401 /^X\/\(\/\).*/{
74402 s//\1/
74405 s/.*/./; q'` in
74406 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74407 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74408 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74409 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74410 *) ;;
74411 esac
74413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74414 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74416 # ----------------- done included file, check C basic types --------
74418 # Lacking an uintptr_t? Test size of void *
74419 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74420 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74423 # This bug is HP SR number 8606223364.
74424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74425 $as_echo_n "checking size of void *... " >&6; }
74426 if ${ac_cv_sizeof_void_p+:} false; then :
74427 $as_echo_n "(cached) " >&6
74428 else
74429 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74431 else
74432 if test "$ac_cv_type_void_p" = yes; then
74433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74435 as_fn_error 77 "cannot compute sizeof (void *)
74436 See \`config.log' for more details" "$LINENO" 5; }
74437 else
74438 ac_cv_sizeof_void_p=0
74443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74444 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74448 cat >>confdefs.h <<_ACEOF
74449 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74450 _ACEOF
74453 esac
74455 # Lacking an uint64_t? Test size of long
74456 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74457 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74460 # This bug is HP SR number 8606223364.
74461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74462 $as_echo_n "checking size of long... " >&6; }
74463 if ${ac_cv_sizeof_long+:} false; then :
74464 $as_echo_n "(cached) " >&6
74465 else
74466 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74468 else
74469 if test "$ac_cv_type_long" = yes; then
74470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74472 as_fn_error 77 "cannot compute sizeof (long)
74473 See \`config.log' for more details" "$LINENO" 5; }
74474 else
74475 ac_cv_sizeof_long=0
74480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74481 $as_echo "$ac_cv_sizeof_long" >&6; }
74485 cat >>confdefs.h <<_ACEOF
74486 #define SIZEOF_LONG $ac_cv_sizeof_long
74487 _ACEOF
74490 esac
74492 if test $acx_cv_header_stdint = stddef.h; then
74493 # Lacking a good header? Test size of everything and deduce all types.
74494 # The cast to long int works around a bug in the HP C Compiler
74495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74497 # This bug is HP SR number 8606223364.
74498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74499 $as_echo_n "checking size of int... " >&6; }
74500 if ${ac_cv_sizeof_int+:} false; then :
74501 $as_echo_n "(cached) " >&6
74502 else
74503 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74505 else
74506 if test "$ac_cv_type_int" = yes; then
74507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74509 as_fn_error 77 "cannot compute sizeof (int)
74510 See \`config.log' for more details" "$LINENO" 5; }
74511 else
74512 ac_cv_sizeof_int=0
74517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74518 $as_echo "$ac_cv_sizeof_int" >&6; }
74522 cat >>confdefs.h <<_ACEOF
74523 #define SIZEOF_INT $ac_cv_sizeof_int
74524 _ACEOF
74527 # The cast to long int works around a bug in the HP C Compiler
74528 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74529 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74530 # This bug is HP SR number 8606223364.
74531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74532 $as_echo_n "checking size of short... " >&6; }
74533 if ${ac_cv_sizeof_short+:} false; then :
74534 $as_echo_n "(cached) " >&6
74535 else
74536 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74538 else
74539 if test "$ac_cv_type_short" = yes; then
74540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74542 as_fn_error 77 "cannot compute sizeof (short)
74543 See \`config.log' for more details" "$LINENO" 5; }
74544 else
74545 ac_cv_sizeof_short=0
74550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74551 $as_echo "$ac_cv_sizeof_short" >&6; }
74555 cat >>confdefs.h <<_ACEOF
74556 #define SIZEOF_SHORT $ac_cv_sizeof_short
74557 _ACEOF
74560 # The cast to long int works around a bug in the HP C Compiler
74561 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74562 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74563 # This bug is HP SR number 8606223364.
74564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74565 $as_echo_n "checking size of char... " >&6; }
74566 if ${ac_cv_sizeof_char+:} false; then :
74567 $as_echo_n "(cached) " >&6
74568 else
74569 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74571 else
74572 if test "$ac_cv_type_char" = yes; then
74573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74575 as_fn_error 77 "cannot compute sizeof (char)
74576 See \`config.log' for more details" "$LINENO" 5; }
74577 else
74578 ac_cv_sizeof_char=0
74583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74584 $as_echo "$ac_cv_sizeof_char" >&6; }
74588 cat >>confdefs.h <<_ACEOF
74589 #define SIZEOF_CHAR $ac_cv_sizeof_char
74590 _ACEOF
74594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74595 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74596 case "$ac_cv_sizeof_char" in
74597 1) acx_cv_type_int8_t=char ;;
74598 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74599 esac
74600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74601 $as_echo "$acx_cv_type_int8_t" >&6; }
74603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74604 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74605 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74606 2:*) acx_cv_type_int16_t=int ;;
74607 *:2) acx_cv_type_int16_t=short ;;
74608 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74609 esac
74610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74611 $as_echo "$acx_cv_type_int16_t" >&6; }
74613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74614 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74615 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74616 4:*) acx_cv_type_int32_t=int ;;
74617 *:4) acx_cv_type_int32_t=long ;;
74618 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74619 esac
74620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74621 $as_echo "$acx_cv_type_int32_t" >&6; }
74624 # These tests are here to make the output prettier
74626 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74627 case "$ac_cv_sizeof_long" in
74628 8) acx_cv_type_int64_t=long ;;
74629 esac
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74631 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74633 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74636 # Now we can use the above types
74638 if test "$ac_cv_type_uintptr_t" != yes; then
74639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74640 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74641 case $ac_cv_sizeof_void_p in
74642 2) acx_cv_type_intptr_t=int16_t ;;
74643 4) acx_cv_type_intptr_t=int32_t ;;
74644 8) acx_cv_type_intptr_t=int64_t ;;
74645 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74646 esac
74647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74648 $as_echo "$acx_cv_type_intptr_t" >&6; }
74651 # ----------------- done all checks, emit header -------------
74652 ac_config_commands="$ac_config_commands include/gstdint.h"
74658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74659 $as_echo_n "checking for GNU c++filt... " >&6; }
74660 if ${ac_cv_path_CXXFILT+:} false; then :
74661 $as_echo_n "(cached) " >&6
74662 else
74663 if test -z "$CXXFILT"; then
74664 ac_path_CXXFILT_found=false
74665 # Loop through the user's path and test for each of PROGNAME-LIST
74666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74667 for as_dir in $PATH
74669 IFS=$as_save_IFS
74670 test -z "$as_dir" && as_dir=.
74671 for ac_prog in c++filt gc++filt; do
74672 for ac_exec_ext in '' $ac_executable_extensions; do
74673 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74674 as_fn_executable_p "$ac_path_CXXFILT" || continue
74675 # Check for GNU $ac_path_CXXFILT
74676 case `"$ac_path_CXXFILT" --version 2>&1` in
74677 *GNU*)
74678 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74679 esac
74681 $ac_path_CXXFILT_found && break 3
74682 done
74683 done
74684 done
74685 IFS=$as_save_IFS
74686 if test -z "$ac_cv_path_CXXFILT"; then
74689 else
74690 ac_cv_path_CXXFILT=$CXXFILT
74694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74695 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74696 CXXFILT=$ac_cv_path_CXXFILT
74700 # Check whether --enable-symvers was given.
74701 if test "${enable_symvers+set}" = set; then :
74702 enableval=$enable_symvers;
74703 case "$enableval" in
74704 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74705 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74706 esac
74708 else
74709 enable_symvers=yes
74714 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74715 # don't know enough about $LD to do tricks...
74717 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74718 # with extern "C++" in version scripts.
74721 # Turn a 'yes' into a suitable default.
74722 if test x$enable_symvers = xyes ; then
74723 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74724 enable_symvers=no
74725 else
74726 if test $with_gnu_ld = yes ; then
74727 case ${target_os} in
74728 hpux*)
74729 enable_symvers=no ;;
74731 enable_symvers=gnu ;;
74732 esac
74733 else
74734 case ${target_os} in
74735 darwin*)
74736 enable_symvers=darwin ;;
74737 # Sun symbol versioning exists since Solaris 2.5.
74738 solaris2.[5-9]* | solaris2.1[0-9]*)
74739 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74740 # version scripts, so disable symbol versioning if none can be
74741 # found.
74742 if test -z "$ac_cv_path_CXXFILT"; then
74743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74744 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74746 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74748 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74749 enable_symvers=no
74750 else
74751 enable_symvers=sun
74755 enable_symvers=no ;;
74756 esac
74761 # Check to see if 'darwin' or 'darwin-export' can win.
74762 if test x$enable_symvers = xdarwin-export ; then
74763 enable_symvers=darwin
74766 # Check if 'sun' was requested on non-Solaris 2 platforms.
74767 if test x$enable_symvers = xsun ; then
74768 case ${target_os} in
74769 solaris2*)
74770 # All fine.
74773 # Unlikely to work.
74774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74775 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74777 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74779 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74780 enable_symvers=no
74782 esac
74785 # Check to see if 'gnu' can win.
74786 if test $enable_symvers = gnu ||
74787 test $enable_symvers = gnu-versioned-namespace ||
74788 test $enable_symvers = sun; then
74789 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74791 $as_echo_n "checking for shared libgcc... " >&6; }
74792 ac_save_CFLAGS="$CFLAGS"
74793 CFLAGS=' -lgcc_s'
74794 if test x$gcc_no_link = xyes; then
74795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74798 /* end confdefs.h. */
74801 main ()
74803 return 0;
74805 return 0;
74807 _ACEOF
74808 if ac_fn_c_try_link "$LINENO"; then :
74809 glibcxx_shared_libgcc=yes
74810 else
74811 glibcxx_shared_libgcc=no
74813 rm -f core conftest.err conftest.$ac_objext \
74814 conftest$ac_exeext conftest.$ac_ext
74815 CFLAGS="$ac_save_CFLAGS"
74816 if test $glibcxx_shared_libgcc = no; then
74817 cat > conftest.c <<EOF
74818 int main (void) { return 0; }
74820 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74821 -shared -shared-libgcc -o conftest.so \
74822 conftest.c -v 2>&1 >/dev/null \
74823 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74824 rm -f conftest.c conftest.so
74825 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74826 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74827 if test x$gcc_no_link = xyes; then
74828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74831 /* end confdefs.h. */
74834 main ()
74836 return 0;
74838 return 0;
74840 _ACEOF
74841 if ac_fn_c_try_link "$LINENO"; then :
74842 glibcxx_shared_libgcc=yes
74844 rm -f core conftest.err conftest.$ac_objext \
74845 conftest$ac_exeext conftest.$ac_ext
74846 CFLAGS="$ac_save_CFLAGS"
74849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74850 $as_echo "$glibcxx_shared_libgcc" >&6; }
74852 # For GNU ld, we need at least this version. The format is described in
74853 # GLIBCXX_CHECK_LINKER_FEATURES above.
74854 glibcxx_min_gnu_ld_version=21400
74856 # If no shared libgcc, can't win.
74857 if test $glibcxx_shared_libgcc != yes; then
74858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74859 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74861 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74863 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74864 enable_symvers=no
74865 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74866 : All interesting versions of Sun ld support sun style symbol versioning.
74867 elif test $with_gnu_ld != yes ; then
74868 # just fail for now
74869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74870 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74872 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74874 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74875 enable_symvers=no
74876 elif test $glibcxx_ld_is_gold = yes ; then
74877 : All versions of gold support symbol versioning.
74878 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74879 # The right tools, the right setup, but too old. Fallbacks?
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74881 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74883 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74885 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74887 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74889 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74890 enable_symvers=no
74894 # For libtool versioning info, format is CURRENT:REVISION:AGE
74895 libtool_VERSION=6:29:0
74897 # Everything parsed; figure out what files and settings to use.
74898 case $enable_symvers in
74900 SYMVER_FILE=config/abi/pre/none.ver
74902 gnu)
74903 SYMVER_FILE=config/abi/pre/gnu.ver
74905 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74908 gnu-versioned-namespace)
74909 libtool_VERSION=8:0:0
74910 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74912 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74915 darwin)
74916 SYMVER_FILE=config/abi/pre/gnu.ver
74918 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74921 sun)
74922 SYMVER_FILE=config/abi/pre/gnu.ver
74924 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74927 esac
74929 if test x$enable_symvers != xno ; then
74931 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74936 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
74937 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74938 $as_echo_n "(cached) " >&6
74939 else
74941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74942 /* end confdefs.h. */
74943 void foo (void); __asm (".symver foo, bar@SYMVER");
74945 main ()
74949 return 0;
74951 _ACEOF
74952 if ac_fn_c_try_compile "$LINENO"; then :
74953 glibcxx_cv_have_as_symver_directive=yes
74954 else
74955 glibcxx_cv_have_as_symver_directive=no
74957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74960 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74961 if test $glibcxx_cv_have_as_symver_directive = yes; then
74963 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74975 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74977 if test $enable_symvers != no ; then
74978 case ${target_os} in
74979 # The Solaris 2 runtime linker doesn't support the GNU extension of
74980 # binding the same symbol to different versions
74981 solaris2*)
74983 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74986 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74989 esac
74992 # Now, set up compatibility support, if any.
74993 # In addition, need this to deal with std::size_t mangling in
74994 # src/compatibility.cc. In a perfect world, could use
74995 # typeid(std::size_t).name()[0] to do direct substitution.
74996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74997 $as_echo_n "checking for size_t as unsigned int... " >&6; }
74998 ac_save_CFLAGS="$CFLAGS"
74999 CFLAGS="-Werror"
75000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75001 /* end confdefs.h. */
75004 main ()
75006 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75008 return 0;
75010 _ACEOF
75011 if ac_fn_c_try_compile "$LINENO"; then :
75012 glibcxx_size_t_is_i=yes
75013 else
75014 glibcxx_size_t_is_i=no
75016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75017 CFLAGS=$ac_save_CFLAGS
75018 if test "$glibcxx_size_t_is_i" = yes; then
75020 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75024 $as_echo "$glibcxx_size_t_is_i" >&6; }
75026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75027 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75028 ac_save_CFLAGS="$CFLAGS"
75029 CFLAGS="-Werror"
75030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75031 /* end confdefs.h. */
75034 main ()
75036 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75038 return 0;
75040 _ACEOF
75041 if ac_fn_c_try_compile "$LINENO"; then :
75042 glibcxx_ptrdiff_t_is_i=yes
75043 else
75044 glibcxx_ptrdiff_t_is_i=no
75046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75047 CFLAGS=$ac_save_CFLAGS
75048 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75050 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75054 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75059 # Check whether --enable-libstdcxx-visibility was given.
75060 if test "${enable_libstdcxx_visibility+set}" = set; then :
75061 enableval=$enable_libstdcxx_visibility;
75062 case "$enableval" in
75063 yes|no) ;;
75064 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75065 esac
75067 else
75068 enable_libstdcxx_visibility=yes
75073 if test x$enable_libstdcxx_visibility = xyes ; then
75074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75075 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75076 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75077 $as_echo_n "(cached) " >&6
75078 else
75080 save_CFLAGS="$CFLAGS"
75081 CFLAGS="$CFLAGS -Werror"
75082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75083 /* end confdefs.h. */
75084 void __attribute__((visibility("hidden"))) foo(void) { }
75086 main ()
75090 return 0;
75092 _ACEOF
75093 if ac_fn_c_try_compile "$LINENO"; then :
75094 glibcxx_cv_have_attribute_visibility=yes
75095 else
75096 glibcxx_cv_have_attribute_visibility=no
75098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75099 CFLAGS="$save_CFLAGS"
75101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75102 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75103 if test $glibcxx_cv_have_attribute_visibility = no; then
75104 enable_libstdcxx_visibility=no
75109 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75110 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75114 # Check whether --enable-libstdcxx-dual-abi was given.
75115 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75116 enableval=$enable_libstdcxx_dual_abi;
75117 case "$enableval" in
75118 yes|no) ;;
75119 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75120 esac
75122 else
75123 enable_libstdcxx_dual_abi=yes
75127 if test x$enable_symvers = xgnu-versioned-namespace; then
75128 # gnu-versioned-namespace is incompatible with the dual ABI.
75129 enable_libstdcxx_dual_abi="no"
75131 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75132 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75133 $as_echo "$as_me: dual ABI is disabled" >&6;}
75134 default_libstdcxx_abi="gcc4-compatible"
75139 if test x$enable_libstdcxx_dual_abi = xyes; then
75140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75141 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75143 # Check whether --with-default-libstdcxx-abi was given.
75144 if test "${with_default_libstdcxx_abi+set}" = set; then :
75145 withval=$with_default_libstdcxx_abi; case "$withval" in
75146 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75147 new|cxx11) default_libstdcxx_abi="new" ;;
75148 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75149 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75150 esac
75152 else
75153 default_libstdcxx_abi="new"
75156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75157 $as_echo "${default_libstdcxx_abi}" >&6; }
75159 if test $default_libstdcxx_abi = "new"; then
75160 glibcxx_cxx11_abi=1
75161 glibcxx_cxx98_abi=0
75162 else
75163 glibcxx_cxx11_abi=0
75164 glibcxx_cxx98_abi=1
75170 ac_ldbl_compat=no
75171 ac_ldbl_alt128_compat=no
75172 ac_ldbl_ieee128_default=no
75173 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75174 LONG_DOUBLE_128_FLAGS=
75175 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75176 case "$target" in
75177 powerpc*-*-linux* | \
75178 sparc*-*-linux* | \
75179 s390*-*-linux* | \
75180 alpha*-*-linux*)
75181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75182 /* end confdefs.h. */
75185 main ()
75188 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75189 #error no need for long double compatibility
75190 #endif
75193 return 0;
75195 _ACEOF
75196 if ac_fn_c_try_compile "$LINENO"; then :
75197 ac_ldbl_compat=yes
75198 else
75199 ac_ldbl_compat=no
75201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75202 if test "$ac_ldbl_compat" = yes; then
75204 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75206 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75207 case "$target" in
75208 powerpc*-*-linux*)
75209 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75210 # Check for IEEE128 support in libm:
75211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75212 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75213 if ${ac_cv_lib_m___frexpieee128+:} false; then :
75214 $as_echo_n "(cached) " >&6
75215 else
75216 ac_check_lib_save_LIBS=$LIBS
75217 LIBS="-lm $LIBS"
75218 if test x$gcc_no_link = xyes; then
75219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75222 /* end confdefs.h. */
75224 /* Override any GCC internal prototype to avoid an error.
75225 Use char because int might match the return type of a GCC
75226 builtin and then its argument prototype would still apply. */
75227 #ifdef __cplusplus
75228 extern "C"
75229 #endif
75230 char __frexpieee128 ();
75232 main ()
75234 return __frexpieee128 ();
75236 return 0;
75238 _ACEOF
75239 if ac_fn_c_try_link "$LINENO"; then :
75240 ac_cv_lib_m___frexpieee128=yes
75241 else
75242 ac_cv_lib_m___frexpieee128=no
75244 rm -f core conftest.err conftest.$ac_objext \
75245 conftest$ac_exeext conftest.$ac_ext
75246 LIBS=$ac_check_lib_save_LIBS
75248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75249 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75250 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75251 ac_ldbl_ieee128_in_libc=yes
75252 else
75253 ac_ldbl_ieee128_in_libc=no
75256 if test $ac_ldbl_ieee128_in_libc = yes; then
75257 # Determine which long double format is the compiler's default:
75258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75259 /* end confdefs.h. */
75262 main ()
75265 #ifndef __LONG_DOUBLE_IEEE128__
75266 #error compiler defaults to ibm128
75267 #endif
75270 return 0;
75272 _ACEOF
75273 if ac_fn_c_try_compile "$LINENO"; then :
75274 ac_ldbl_ieee128_default=yes
75275 else
75276 ac_ldbl_ieee128_default=no
75278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75279 # Library objects should use default long double format.
75280 if test "$ac_ldbl_ieee128_default" = yes; then
75281 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75282 # Except for the ones that explicitly use these flags:
75283 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75284 else
75285 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75286 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75289 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75291 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75292 ac_ldbl_alt128_compat=yes
75293 else
75294 ac_ldbl_alt128_compat=no
75297 esac
75299 esac
75306 # Check if assembler supports disabling hardware capability support.
75308 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75310 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75311 # with a different meaning.
75312 case ${target_os} in
75313 solaris2*)
75314 ac_save_CFLAGS="$CFLAGS"
75315 CFLAGS="$CFLAGS -Wa,-nH"
75317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75318 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75320 /* end confdefs.h. */
75323 main ()
75325 return 0;
75327 return 0;
75329 _ACEOF
75330 if ac_fn_c_try_compile "$LINENO"; then :
75331 ac_hwcap_flags=yes
75332 else
75333 ac_hwcap_flags=no
75335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75336 if test "$ac_hwcap_flags" = "yes"; then
75337 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75340 $as_echo "$ac_hwcap_flags" >&6; }
75342 CFLAGS="$ac_save_CFLAGS"
75344 esac
75349 # Check if assembler supports rdrand opcode.
75351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75352 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75353 if ${ac_cv_x86_rdrand+:} false; then :
75354 $as_echo_n "(cached) " >&6
75355 else
75357 ac_cv_x86_rdrand=no
75358 case "$target" in
75359 i?86-*-* | \
75360 x86_64-*-*)
75361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75362 /* end confdefs.h. */
75365 main ()
75367 asm("rdrand %eax");
75369 return 0;
75371 _ACEOF
75372 if ac_fn_c_try_compile "$LINENO"; then :
75373 ac_cv_x86_rdrand=yes
75374 else
75375 ac_cv_x86_rdrand=no
75377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75378 esac
75382 if test $ac_cv_x86_rdrand = yes; then
75384 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75388 $as_echo "$ac_cv_x86_rdrand" >&6; }
75390 # Check if assembler supports rdseed opcode.
75392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75393 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75394 if ${ac_cv_x86_rdseed+:} false; then :
75395 $as_echo_n "(cached) " >&6
75396 else
75398 ac_cv_x86_rdseed=no
75399 case "$target" in
75400 i?86-*-* | \
75401 x86_64-*-*)
75402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75403 /* end confdefs.h. */
75406 main ()
75408 asm("rdseed %eax");
75410 return 0;
75412 _ACEOF
75413 if ac_fn_c_try_compile "$LINENO"; then :
75414 ac_cv_x86_rdseed=yes
75415 else
75416 ac_cv_x86_rdseed=no
75418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75419 esac
75423 if test $ac_cv_x86_rdseed = yes; then
75425 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75429 $as_echo "$ac_cv_x86_rdseed" >&6; }
75432 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75434 # Do checks for resource limit functions.
75437 ac_ext=cpp
75438 ac_cpp='$CXXCPP $CPPFLAGS'
75439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75443 setrlimit_have_headers=yes
75444 for ac_header in unistd.h sys/time.h sys/resource.h
75445 do :
75446 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75447 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75448 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75449 cat >>confdefs.h <<_ACEOF
75450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75451 _ACEOF
75453 else
75454 setrlimit_have_headers=no
75457 done
75459 # If don't have the headers, then we can't run the tests now, and we
75460 # won't be seeing any of these during testsuite compilation.
75461 if test $setrlimit_have_headers = yes; then
75462 # Can't do these in a loop, else the resulting syntax is wrong.
75464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75465 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75467 /* end confdefs.h. */
75468 #include <unistd.h>
75469 #include <sys/time.h>
75470 #include <sys/resource.h>
75473 main ()
75475 int f = RLIMIT_DATA ;
75477 return 0;
75479 _ACEOF
75480 if ac_fn_cxx_try_compile "$LINENO"; then :
75481 glibcxx_mresult=1
75482 else
75483 glibcxx_mresult=0
75485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75487 cat >>confdefs.h <<_ACEOF
75488 #define HAVE_LIMIT_DATA $glibcxx_mresult
75489 _ACEOF
75491 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75493 $as_echo "$res" >&6; }
75496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75497 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75499 /* end confdefs.h. */
75500 #include <unistd.h>
75501 #include <sys/time.h>
75502 #include <sys/resource.h>
75505 main ()
75507 int f = RLIMIT_RSS ;
75509 return 0;
75511 _ACEOF
75512 if ac_fn_cxx_try_compile "$LINENO"; then :
75513 glibcxx_mresult=1
75514 else
75515 glibcxx_mresult=0
75517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75519 cat >>confdefs.h <<_ACEOF
75520 #define HAVE_LIMIT_RSS $glibcxx_mresult
75521 _ACEOF
75523 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75525 $as_echo "$res" >&6; }
75528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75529 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75531 /* end confdefs.h. */
75532 #include <unistd.h>
75533 #include <sys/time.h>
75534 #include <sys/resource.h>
75537 main ()
75539 int f = RLIMIT_VMEM ;
75541 return 0;
75543 _ACEOF
75544 if ac_fn_cxx_try_compile "$LINENO"; then :
75545 glibcxx_mresult=1
75546 else
75547 glibcxx_mresult=0
75549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75551 cat >>confdefs.h <<_ACEOF
75552 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75553 _ACEOF
75555 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75557 $as_echo "$res" >&6; }
75560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75561 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75563 /* end confdefs.h. */
75564 #include <unistd.h>
75565 #include <sys/time.h>
75566 #include <sys/resource.h>
75569 main ()
75571 int f = RLIMIT_AS ;
75573 return 0;
75575 _ACEOF
75576 if ac_fn_cxx_try_compile "$LINENO"; then :
75577 glibcxx_mresult=1
75578 else
75579 glibcxx_mresult=0
75581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75583 cat >>confdefs.h <<_ACEOF
75584 #define HAVE_LIMIT_AS $glibcxx_mresult
75585 _ACEOF
75587 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75589 $as_echo "$res" >&6; }
75592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75593 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75595 /* end confdefs.h. */
75596 #include <unistd.h>
75597 #include <sys/time.h>
75598 #include <sys/resource.h>
75601 main ()
75603 int f = RLIMIT_FSIZE ;
75605 return 0;
75607 _ACEOF
75608 if ac_fn_cxx_try_compile "$LINENO"; then :
75609 glibcxx_mresult=1
75610 else
75611 glibcxx_mresult=0
75613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75615 cat >>confdefs.h <<_ACEOF
75616 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75617 _ACEOF
75619 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75621 $as_echo "$res" >&6; }
75624 # Check for rlimit, setrlimit.
75625 if ${glibcxx_cv_setrlimit+:} false; then :
75626 $as_echo_n "(cached) " >&6
75627 else
75629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75630 /* end confdefs.h. */
75631 #include <unistd.h>
75632 #include <sys/time.h>
75633 #include <sys/resource.h>
75636 main ()
75638 struct rlimit r;
75639 setrlimit(0, &r);
75641 return 0;
75643 _ACEOF
75644 if ac_fn_cxx_try_compile "$LINENO"; then :
75645 glibcxx_cv_setrlimit=yes
75646 else
75647 glibcxx_cv_setrlimit=no
75649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75656 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75657 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75658 ac_res_limits=yes
75660 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75662 else
75663 ac_res_limits=no
75665 ac_ext=c
75666 ac_cpp='$CPP $CPPFLAGS'
75667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75672 $as_echo "$ac_res_limits" >&6; }
75675 if $GLIBCXX_IS_NATIVE ; then
75676 # Look for setenv, so that extended locale tests can be performed.
75678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75679 $as_echo_n "checking for setenv declaration... " >&6; }
75680 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75681 if ${glibcxx_cv_func_setenv_use+:} false; then :
75682 $as_echo_n "(cached) " >&6
75683 else
75686 ac_ext=cpp
75687 ac_cpp='$CXXCPP $CPPFLAGS'
75688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75693 /* end confdefs.h. */
75694 #include <stdlib.h>
75696 main ()
75698 setenv(0, 0, 0);
75700 return 0;
75702 _ACEOF
75703 if ac_fn_cxx_try_compile "$LINENO"; then :
75704 glibcxx_cv_func_setenv_use=yes
75705 else
75706 glibcxx_cv_func_setenv_use=no
75708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75709 ac_ext=c
75710 ac_cpp='$CPP $CPPFLAGS'
75711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75720 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75721 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75722 for ac_func in setenv
75723 do :
75724 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75725 if test "x$ac_cv_func_setenv" = xyes; then :
75726 cat >>confdefs.h <<_ACEOF
75727 #define HAVE_SETENV 1
75728 _ACEOF
75731 done
75737 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75738 test $enable_symvers != no; then
75739 case "$host" in
75740 *-*-cygwin*)
75741 enable_abi_check=no ;;
75743 enable_abi_check=yes ;;
75744 esac
75745 else
75746 # Only build this as native, since automake does not understand
75747 # CXX_FOR_BUILD.
75748 enable_abi_check=no
75751 # Export file names for ABI checking.
75752 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75754 baseline_subdir_switch="$abi_baseline_subdir_switch"
75758 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75760 # Check whether --enable-libstdcxx-threads was given.
75761 if test "${enable_libstdcxx_threads+set}" = set; then :
75762 enableval=$enable_libstdcxx_threads;
75763 case "$enableval" in
75764 yes|no) ;;
75765 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75766 esac
75768 else
75769 enable_libstdcxx_threads=auto
75774 if test x$enable_libstdcxx_threads = xauto ||
75775 test x$enable_libstdcxx_threads = xyes; then
75778 ac_ext=cpp
75779 ac_cpp='$CXXCPP $CPPFLAGS'
75780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75785 ac_save_CXXFLAGS="$CXXFLAGS"
75786 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75787 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75789 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75790 case $target_thread_file in
75791 posix)
75792 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75793 esac
75795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75796 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75799 /* end confdefs.h. */
75800 #include <unistd.h>
75802 main ()
75805 // In case of POSIX threads check _POSIX_TIMEOUTS.
75806 #if (defined(_PTHREADS) \
75807 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75808 #error
75809 #endif
75812 return 0;
75814 _ACEOF
75815 if ac_fn_cxx_try_compile "$LINENO"; then :
75816 ac_gthread_use_mutex_timedlock=1
75817 else
75818 ac_gthread_use_mutex_timedlock=0
75820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75823 cat >>confdefs.h <<_ACEOF
75824 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75825 _ACEOF
75828 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75829 else res_mutex_timedlock=no ; fi
75830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75831 $as_echo "$res_mutex_timedlock" >&6; }
75833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75834 $as_echo_n "checking for gthreads library... " >&6; }
75836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75837 /* end confdefs.h. */
75838 #include "gthr.h"
75840 main ()
75843 #ifndef __GTHREADS_CXX0X
75844 #error
75845 #endif
75848 return 0;
75850 _ACEOF
75851 if ac_fn_cxx_try_compile "$LINENO"; then :
75852 ac_has_gthreads=yes
75853 else
75854 ac_has_gthreads=no
75856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75857 else
75858 ac_has_gthreads=no
75861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75862 $as_echo "$ac_has_gthreads" >&6; }
75864 if test x"$ac_has_gthreads" = x"yes"; then
75866 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75869 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75870 # but only do so if we're using pthread in the gthread library.
75871 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75872 # but the pthread library is not there by default and the gthread library
75873 # does not use it.
75874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75875 /* end confdefs.h. */
75876 #include "gthr.h"
75878 main ()
75881 #if (!defined(_PTHREADS))
75882 #error
75883 #endif
75886 return 0;
75888 _ACEOF
75889 if ac_fn_cxx_try_compile "$LINENO"; then :
75890 ac_gthread_use_pthreads=yes
75891 else
75892 ac_gthread_use_pthreads=no
75894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75895 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75896 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75898 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75900 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75907 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
75908 if test "x$ac_cv_header_semaphore_h" = xyes; then :
75910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
75911 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
75912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75913 /* end confdefs.h. */
75915 #include <unistd.h>
75916 #include <semaphore.h>
75917 #include <limits.h>
75920 main ()
75923 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
75924 # error "POSIX Timeouts option not supported"
75925 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
75926 # error "POSIX Semaphores option not supported"
75927 #else
75928 #if defined SEM_VALUE_MAX
75929 constexpr int sem_value_max = SEM_VALUE_MAX;
75930 #elif defined _POSIX_SEM_VALUE_MAX
75931 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
75932 #else
75933 # error "SEM_VALUE_MAX not available"
75934 #endif
75935 sem_t sem;
75936 sem_init(&sem, 0, sem_value_max);
75937 struct timespec ts = { 0 };
75938 sem_timedwait(&sem, &ts);
75939 #endif
75942 return 0;
75944 _ACEOF
75945 if ac_fn_cxx_try_compile "$LINENO"; then :
75946 ac_have_posix_semaphore=yes
75947 else
75948 ac_have_posix_semaphore=no
75950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75951 else
75952 ac_have_posix_semaphore=no
75957 if test $ac_have_posix_semaphore = yes ; then
75959 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
75962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
75963 $as_echo "$ac_have_posix_semaphore" >&6; }
75965 CXXFLAGS="$ac_save_CXXFLAGS"
75966 ac_ext=c
75967 ac_cpp='$CPP $CPPFLAGS'
75968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75974 # For Filesystem TS.
75975 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75976 do :
75977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75978 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75979 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75980 cat >>confdefs.h <<_ACEOF
75981 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75982 _ACEOF
75986 done
75989 # Check whether --enable-libstdcxx-filesystem-ts was given.
75990 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75991 enableval=$enable_libstdcxx_filesystem_ts;
75992 case "$enableval" in
75993 yes|no|auto) ;;
75994 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75995 esac
75997 else
75998 enable_libstdcxx_filesystem_ts=auto
76003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76004 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76005 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76006 enable_libstdcxx_filesystem_ts=no
76008 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76009 case "${target_os}" in
76010 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76011 enable_libstdcxx_filesystem_ts=yes
76013 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76014 enable_libstdcxx_filesystem_ts=yes
76016 rtems*)
76017 enable_libstdcxx_filesystem_ts=yes
76019 solaris*)
76020 enable_libstdcxx_filesystem_ts=yes
76022 mingw*)
76023 enable_libstdcxx_filesystem_ts=yes
76026 enable_libstdcxx_filesystem_ts=no
76028 esac
76030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76031 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76035 ac_ext=cpp
76036 ac_cpp='$CXXCPP $CPPFLAGS'
76037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76041 ac_save_CXXFLAGS="$CXXFLAGS"
76042 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76044 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76045 if ${glibcxx_cv_dirent_d_type+:} false; then :
76046 $as_echo_n "(cached) " >&6
76047 else
76048 if test x$gcc_no_link = xyes; then
76049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76050 /* end confdefs.h. */
76051 #include <dirent.h>
76053 main ()
76056 struct dirent d;
76057 if (sizeof d.d_type) return 0;
76060 return 0;
76062 _ACEOF
76063 if ac_fn_cxx_try_compile "$LINENO"; then :
76064 glibcxx_cv_dirent_d_type=yes
76065 else
76066 glibcxx_cv_dirent_d_type=no
76068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76069 else
76070 if test x$gcc_no_link = xyes; then
76071 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76074 /* end confdefs.h. */
76075 #include <dirent.h>
76077 main ()
76080 struct dirent d;
76081 if (sizeof d.d_type) return 0;
76084 return 0;
76086 _ACEOF
76087 if ac_fn_cxx_try_link "$LINENO"; then :
76088 glibcxx_cv_dirent_d_type=yes
76089 else
76090 glibcxx_cv_dirent_d_type=no
76092 rm -f core conftest.err conftest.$ac_objext \
76093 conftest$ac_exeext conftest.$ac_ext
76098 if test $glibcxx_cv_dirent_d_type = yes; then
76100 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76104 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76106 $as_echo_n "checking for realpath... " >&6; }
76107 if ${glibcxx_cv_realpath+:} 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 <limits.h>
76115 #include <stdlib.h>
76116 #include <unistd.h>
76119 main ()
76122 #if _XOPEN_VERSION < 500
76123 #error
76124 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76125 char *tmp = realpath((const char*)NULL, (char*)NULL);
76126 #else
76127 #error
76128 #endif
76131 return 0;
76133 _ACEOF
76134 if ac_fn_cxx_try_compile "$LINENO"; then :
76135 glibcxx_cv_realpath=yes
76136 else
76137 glibcxx_cv_realpath=no
76139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76140 else
76141 if test x$gcc_no_link = xyes; then
76142 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76145 /* end confdefs.h. */
76147 #include <limits.h>
76148 #include <stdlib.h>
76149 #include <unistd.h>
76152 main ()
76155 #if _XOPEN_VERSION < 500
76156 #error
76157 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76158 char *tmp = realpath((const char*)NULL, (char*)NULL);
76159 #else
76160 #error
76161 #endif
76164 return 0;
76166 _ACEOF
76167 if ac_fn_cxx_try_link "$LINENO"; then :
76168 glibcxx_cv_realpath=yes
76169 else
76170 glibcxx_cv_realpath=no
76172 rm -f core conftest.err conftest.$ac_objext \
76173 conftest$ac_exeext conftest.$ac_ext
76178 if test $glibcxx_cv_realpath = yes; then
76180 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76184 $as_echo "$glibcxx_cv_realpath" >&6; }
76185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76186 $as_echo_n "checking for utimensat... " >&6; }
76187 if ${glibcxx_cv_utimensat+:} false; then :
76188 $as_echo_n "(cached) " >&6
76189 else
76190 if test x$gcc_no_link = xyes; then
76191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76192 /* end confdefs.h. */
76194 #include <fcntl.h>
76195 #include <sys/stat.h>
76198 main ()
76201 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76202 int i = utimensat(AT_FDCWD, "path", ts, 0);
76205 return 0;
76207 _ACEOF
76208 if ac_fn_cxx_try_compile "$LINENO"; then :
76209 glibcxx_cv_utimensat=yes
76210 else
76211 glibcxx_cv_utimensat=no
76213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76214 else
76215 if test x$gcc_no_link = xyes; then
76216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76219 /* end confdefs.h. */
76221 #include <fcntl.h>
76222 #include <sys/stat.h>
76225 main ()
76228 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76229 int i = utimensat(AT_FDCWD, "path", ts, 0);
76232 return 0;
76234 _ACEOF
76235 if ac_fn_cxx_try_link "$LINENO"; then :
76236 glibcxx_cv_utimensat=yes
76237 else
76238 glibcxx_cv_utimensat=no
76240 rm -f core conftest.err conftest.$ac_objext \
76241 conftest$ac_exeext conftest.$ac_ext
76246 if test $glibcxx_cv_utimensat = yes; then
76248 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76252 $as_echo "$glibcxx_cv_utimensat" >&6; }
76253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76254 $as_echo_n "checking for utime... " >&6; }
76255 if ${glibcxx_cv_utime+:} false; then :
76256 $as_echo_n "(cached) " >&6
76257 else
76258 if test x$gcc_no_link = xyes; then
76259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76260 /* end confdefs.h. */
76262 #include <utime.h>
76265 main ()
76268 struct utimbuf t = { 1, 1 };
76269 int i = utime("path", &t);
76272 return 0;
76274 _ACEOF
76275 if ac_fn_cxx_try_compile "$LINENO"; then :
76276 glibcxx_cv_utime=yes
76277 else
76278 glibcxx_cv_utime=no
76280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76281 else
76282 if test x$gcc_no_link = xyes; then
76283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76286 /* end confdefs.h. */
76288 #include <utime.h>
76291 main ()
76294 struct utimbuf t = { 1, 1 };
76295 int i = utime("path", &t);
76298 return 0;
76300 _ACEOF
76301 if ac_fn_cxx_try_link "$LINENO"; then :
76302 glibcxx_cv_utime=yes
76303 else
76304 glibcxx_cv_utime=no
76306 rm -f core conftest.err conftest.$ac_objext \
76307 conftest$ac_exeext conftest.$ac_ext
76312 if test $glibcxx_cv_utime = yes; then
76314 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76318 $as_echo "$glibcxx_cv_utime" >&6; }
76319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76320 $as_echo_n "checking for lstat... " >&6; }
76321 if ${glibcxx_cv_lstat+:} false; then :
76322 $as_echo_n "(cached) " >&6
76323 else
76324 if test x$gcc_no_link = xyes; then
76325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76326 /* end confdefs.h. */
76327 #include <sys/stat.h>
76329 main ()
76332 struct stat st;
76333 int i = lstat("path", &st);
76336 return 0;
76338 _ACEOF
76339 if ac_fn_cxx_try_compile "$LINENO"; then :
76340 glibcxx_cv_lstat=yes
76341 else
76342 glibcxx_cv_lstat=no
76344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76345 else
76346 if test x$gcc_no_link = xyes; then
76347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76350 /* end confdefs.h. */
76351 #include <sys/stat.h>
76353 main ()
76356 struct stat st;
76357 int i = lstat("path", &st);
76360 return 0;
76362 _ACEOF
76363 if ac_fn_cxx_try_link "$LINENO"; then :
76364 glibcxx_cv_lstat=yes
76365 else
76366 glibcxx_cv_lstat=no
76368 rm -f core conftest.err conftest.$ac_objext \
76369 conftest$ac_exeext conftest.$ac_ext
76374 if test $glibcxx_cv_lstat = yes; then
76376 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76380 $as_echo "$glibcxx_cv_lstat" >&6; }
76381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76382 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76383 if ${glibcxx_cv_st_mtim+:} false; then :
76384 $as_echo_n "(cached) " >&6
76385 else
76386 if test x$gcc_no_link = xyes; then
76387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76388 /* end confdefs.h. */
76389 #include <sys/stat.h>
76391 main ()
76394 struct stat st;
76395 return st.st_mtim.tv_nsec;
76398 return 0;
76400 _ACEOF
76401 if ac_fn_cxx_try_compile "$LINENO"; then :
76402 glibcxx_cv_st_mtim=yes
76403 else
76404 glibcxx_cv_st_mtim=no
76406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76407 else
76408 if test x$gcc_no_link = xyes; then
76409 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76412 /* end confdefs.h. */
76413 #include <sys/stat.h>
76415 main ()
76418 struct stat st;
76419 return st.st_mtim.tv_nsec;
76422 return 0;
76424 _ACEOF
76425 if ac_fn_cxx_try_link "$LINENO"; then :
76426 glibcxx_cv_st_mtim=yes
76427 else
76428 glibcxx_cv_st_mtim=no
76430 rm -f core conftest.err conftest.$ac_objext \
76431 conftest$ac_exeext conftest.$ac_ext
76436 if test $glibcxx_cv_st_mtim = yes; then
76438 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76442 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76444 $as_echo_n "checking for fchmod... " >&6; }
76445 if ${glibcxx_cv_fchmod+:} false; then :
76446 $as_echo_n "(cached) " >&6
76447 else
76448 if test x$gcc_no_link = xyes; then
76449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76450 /* end confdefs.h. */
76451 #include <sys/stat.h>
76453 main ()
76455 fchmod(1, S_IWUSR);
76457 return 0;
76459 _ACEOF
76460 if ac_fn_cxx_try_compile "$LINENO"; then :
76461 glibcxx_cv_fchmod=yes
76462 else
76463 glibcxx_cv_fchmod=no
76465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76466 else
76467 if test x$gcc_no_link = xyes; then
76468 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76471 /* end confdefs.h. */
76472 #include <sys/stat.h>
76474 main ()
76476 fchmod(1, S_IWUSR);
76478 return 0;
76480 _ACEOF
76481 if ac_fn_cxx_try_link "$LINENO"; then :
76482 glibcxx_cv_fchmod=yes
76483 else
76484 glibcxx_cv_fchmod=no
76486 rm -f core conftest.err conftest.$ac_objext \
76487 conftest$ac_exeext conftest.$ac_ext
76492 if test $glibcxx_cv_fchmod = yes; then
76494 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76498 $as_echo "$glibcxx_cv_fchmod" >&6; }
76499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76500 $as_echo_n "checking for fchmodat... " >&6; }
76501 if ${glibcxx_cv_fchmodat+:} false; then :
76502 $as_echo_n "(cached) " >&6
76503 else
76504 if test x$gcc_no_link = xyes; then
76505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76506 /* end confdefs.h. */
76508 #include <fcntl.h>
76509 #include <sys/stat.h>
76512 main ()
76514 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76516 return 0;
76518 _ACEOF
76519 if ac_fn_cxx_try_compile "$LINENO"; then :
76520 glibcxx_cv_fchmodat=yes
76521 else
76522 glibcxx_cv_fchmodat=no
76524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76525 else
76526 if test x$gcc_no_link = xyes; then
76527 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76530 /* end confdefs.h. */
76532 #include <fcntl.h>
76533 #include <sys/stat.h>
76536 main ()
76538 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76540 return 0;
76542 _ACEOF
76543 if ac_fn_cxx_try_link "$LINENO"; then :
76544 glibcxx_cv_fchmodat=yes
76545 else
76546 glibcxx_cv_fchmodat=no
76548 rm -f core conftest.err conftest.$ac_objext \
76549 conftest$ac_exeext conftest.$ac_ext
76554 if test $glibcxx_cv_fchmodat = yes; then
76556 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76560 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76562 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76563 if ${glibcxx_cv_sendfile+:} false; then :
76564 $as_echo_n "(cached) " >&6
76565 else
76566 case "${target_os}" in
76567 gnu* | linux* | solaris* | uclinux*)
76568 if test x$gcc_no_link = xyes; then
76569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76570 /* end confdefs.h. */
76571 #include <sys/sendfile.h>
76573 main ()
76575 sendfile(1, 2, (off_t*)0, sizeof 1);
76577 return 0;
76579 _ACEOF
76580 if ac_fn_cxx_try_compile "$LINENO"; then :
76581 glibcxx_cv_sendfile=yes
76582 else
76583 glibcxx_cv_sendfile=no
76585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76586 else
76587 if test x$gcc_no_link = xyes; then
76588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76591 /* end confdefs.h. */
76592 #include <sys/sendfile.h>
76594 main ()
76596 sendfile(1, 2, (off_t*)0, sizeof 1);
76598 return 0;
76600 _ACEOF
76601 if ac_fn_cxx_try_link "$LINENO"; then :
76602 glibcxx_cv_sendfile=yes
76603 else
76604 glibcxx_cv_sendfile=no
76606 rm -f core conftest.err conftest.$ac_objext \
76607 conftest$ac_exeext conftest.$ac_ext
76611 glibcxx_cv_sendfile=no
76613 esac
76617 if test $glibcxx_cv_sendfile = yes; then
76619 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76623 $as_echo "$glibcxx_cv_sendfile" >&6; }
76624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76625 $as_echo_n "checking for link... " >&6; }
76626 if ${glibcxx_cv_link+:} false; then :
76627 $as_echo_n "(cached) " >&6
76628 else
76629 if test x$gcc_no_link = xyes; then
76630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76631 /* end confdefs.h. */
76632 #include <unistd.h>
76634 main ()
76636 link("", "");
76638 return 0;
76640 _ACEOF
76641 if ac_fn_cxx_try_compile "$LINENO"; then :
76642 glibcxx_cv_link=yes
76643 else
76644 glibcxx_cv_link=no
76646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76647 else
76648 if test x$gcc_no_link = xyes; then
76649 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76652 /* end confdefs.h. */
76653 #include <unistd.h>
76655 main ()
76657 link("", "");
76659 return 0;
76661 _ACEOF
76662 if ac_fn_cxx_try_link "$LINENO"; then :
76663 glibcxx_cv_link=yes
76664 else
76665 glibcxx_cv_link=no
76667 rm -f core conftest.err conftest.$ac_objext \
76668 conftest$ac_exeext conftest.$ac_ext
76673 if test $glibcxx_cv_link = yes; then
76675 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76679 $as_echo "$glibcxx_cv_link" >&6; }
76680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76681 $as_echo_n "checking for readlink... " >&6; }
76682 if ${glibcxx_cv_readlink+:} false; then :
76683 $as_echo_n "(cached) " >&6
76684 else
76685 if test x$gcc_no_link = xyes; then
76686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76687 /* end confdefs.h. */
76688 #include <unistd.h>
76690 main ()
76692 char buf[32]; readlink("", buf, sizeof(buf));
76694 return 0;
76696 _ACEOF
76697 if ac_fn_cxx_try_compile "$LINENO"; then :
76698 glibcxx_cv_readlink=yes
76699 else
76700 glibcxx_cv_readlink=no
76702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76703 else
76704 if test x$gcc_no_link = xyes; then
76705 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76708 /* end confdefs.h. */
76709 #include <unistd.h>
76711 main ()
76713 char buf[32]; readlink("", buf, sizeof(buf));
76715 return 0;
76717 _ACEOF
76718 if ac_fn_cxx_try_link "$LINENO"; then :
76719 glibcxx_cv_readlink=yes
76720 else
76721 glibcxx_cv_readlink=no
76723 rm -f core conftest.err conftest.$ac_objext \
76724 conftest$ac_exeext conftest.$ac_ext
76729 if test $glibcxx_cv_readlink = yes; then
76731 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76735 $as_echo "$glibcxx_cv_readlink" >&6; }
76736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76737 $as_echo_n "checking for symlink... " >&6; }
76738 if ${glibcxx_cv_symlink+:} false; then :
76739 $as_echo_n "(cached) " >&6
76740 else
76741 if test x$gcc_no_link = xyes; then
76742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76743 /* end confdefs.h. */
76744 #include <unistd.h>
76746 main ()
76748 symlink("", "");
76750 return 0;
76752 _ACEOF
76753 if ac_fn_cxx_try_compile "$LINENO"; then :
76754 glibcxx_cv_symlink=yes
76755 else
76756 glibcxx_cv_symlink=no
76758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76759 else
76760 if test x$gcc_no_link = xyes; then
76761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76764 /* end confdefs.h. */
76765 #include <unistd.h>
76767 main ()
76769 symlink("", "");
76771 return 0;
76773 _ACEOF
76774 if ac_fn_cxx_try_link "$LINENO"; then :
76775 glibcxx_cv_symlink=yes
76776 else
76777 glibcxx_cv_symlink=no
76779 rm -f core conftest.err conftest.$ac_objext \
76780 conftest$ac_exeext conftest.$ac_ext
76785 if test $glibcxx_cv_symlink = yes; then
76787 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76791 $as_echo "$glibcxx_cv_symlink" >&6; }
76792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76793 $as_echo_n "checking for truncate... " >&6; }
76794 if ${glibcxx_cv_truncate+:} false; then :
76795 $as_echo_n "(cached) " >&6
76796 else
76797 if test x$gcc_no_link = xyes; then
76798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76799 /* end confdefs.h. */
76800 #include <unistd.h>
76802 main ()
76804 truncate("", 99);
76806 return 0;
76808 _ACEOF
76809 if ac_fn_cxx_try_compile "$LINENO"; then :
76810 glibcxx_cv_truncate=yes
76811 else
76812 glibcxx_cv_truncate=no
76814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76815 else
76816 if test x$gcc_no_link = xyes; then
76817 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76820 /* end confdefs.h. */
76821 #include <unistd.h>
76823 main ()
76825 truncate("", 99);
76827 return 0;
76829 _ACEOF
76830 if ac_fn_cxx_try_link "$LINENO"; then :
76831 glibcxx_cv_truncate=yes
76832 else
76833 glibcxx_cv_truncate=no
76835 rm -f core conftest.err conftest.$ac_objext \
76836 conftest$ac_exeext conftest.$ac_ext
76841 if test $glibcxx_cv_truncate = yes; then
76843 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76847 $as_echo "$glibcxx_cv_truncate" >&6; }
76848 CXXFLAGS="$ac_save_CXXFLAGS"
76849 ac_ext=c
76850 ac_cpp='$CPP $CPPFLAGS'
76851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76857 # For Networking TS.
76858 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
76859 do :
76860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76861 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76862 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76863 cat >>confdefs.h <<_ACEOF
76864 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76865 _ACEOF
76869 done
76871 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
76873 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
76877 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
76879 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
76883 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
76884 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
76886 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
76892 # For Transactional Memory TS
76894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76895 $as_echo_n "checking how size_t is mangled... " >&6; }
76896 if ${glibcxx_cv_size_t_mangling+:} false; then :
76897 $as_echo_n "(cached) " >&6
76898 else
76900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76901 /* end confdefs.h. */
76904 main ()
76906 extern __SIZE_TYPE__ x; extern unsigned long x;
76908 return 0;
76910 _ACEOF
76911 if ac_fn_c_try_compile "$LINENO"; then :
76912 glibcxx_cv_size_t_mangling=m
76913 else
76915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76916 /* end confdefs.h. */
76919 main ()
76921 extern __SIZE_TYPE__ x; extern unsigned int x;
76923 return 0;
76925 _ACEOF
76926 if ac_fn_c_try_compile "$LINENO"; then :
76927 glibcxx_cv_size_t_mangling=j
76928 else
76930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76931 /* end confdefs.h. */
76934 main ()
76936 extern __SIZE_TYPE__ x; extern unsigned long long x;
76938 return 0;
76940 _ACEOF
76941 if ac_fn_c_try_compile "$LINENO"; then :
76942 glibcxx_cv_size_t_mangling=y
76943 else
76945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76946 /* end confdefs.h. */
76949 main ()
76951 extern __SIZE_TYPE__ x; extern unsigned short x;
76953 return 0;
76955 _ACEOF
76956 if ac_fn_c_try_compile "$LINENO"; then :
76957 glibcxx_cv_size_t_mangling=t
76958 else
76960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76961 /* end confdefs.h. */
76964 main ()
76966 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76968 return 0;
76970 _ACEOF
76971 if ac_fn_c_try_compile "$LINENO"; then :
76972 glibcxx_cv_size_t_mangling=u6uint20
76973 else
76974 glibcxx_cv_size_t_mangling=x
76976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76992 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76993 if test $glibcxx_cv_size_t_mangling = x; then
76994 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76997 cat >>confdefs.h <<_ACEOF
76998 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76999 _ACEOF
77003 # Check which release added std::exception_ptr for the target
77005 if test $enable_symvers != no; then
77006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77007 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77008 case ${target} in
77009 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77010 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77011 ac_exception_ptr_since_gcc46=yes
77014 # If the value of this macro changes then we will need to hardcode
77015 # yes/no here for additional targets based on the original value.
77016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77017 /* end confdefs.h. */
77020 main ()
77023 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77024 # error atomic int not always lock free
77025 #endif
77028 return 0;
77030 _ACEOF
77031 if ac_fn_c_try_compile "$LINENO"; then :
77032 ac_exception_ptr_since_gcc46=yes
77033 else
77034 ac_exception_ptr_since_gcc46=no
77036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77038 esac
77039 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77041 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77044 $as_echo "4.6.0" >&6; }
77045 else
77046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77047 $as_echo "7.1.0" >&6; }
77052 # Define documentation rules conditionally.
77054 # See if makeinfo has been installed and is modern enough
77055 # that we can use it.
77057 # Extract the first word of "makeinfo", so it can be a program name with args.
77058 set dummy makeinfo; ac_word=$2
77059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77060 $as_echo_n "checking for $ac_word... " >&6; }
77061 if ${ac_cv_prog_MAKEINFO+:} false; then :
77062 $as_echo_n "(cached) " >&6
77063 else
77064 if test -n "$MAKEINFO"; then
77065 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77066 else
77067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77068 for as_dir in $PATH
77070 IFS=$as_save_IFS
77071 test -z "$as_dir" && as_dir=.
77072 for ac_exec_ext in '' $ac_executable_extensions; do
77073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77074 ac_cv_prog_MAKEINFO="makeinfo"
77075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77076 break 2
77078 done
77079 done
77080 IFS=$as_save_IFS
77084 MAKEINFO=$ac_cv_prog_MAKEINFO
77085 if test -n "$MAKEINFO"; then
77086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77087 $as_echo "$MAKEINFO" >&6; }
77088 else
77089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77090 $as_echo "no" >&6; }
77094 if test -n "$MAKEINFO"; then
77095 # Found it, now check the version.
77096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77097 $as_echo_n "checking for modern makeinfo... " >&6; }
77098 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77099 $as_echo_n "(cached) " >&6
77100 else
77101 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77102 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77104 case $ac_prog_version in
77105 '') gcc_cv_prog_makeinfo_modern=no;;
77106 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77107 *) gcc_cv_prog_makeinfo_modern=no;;
77108 esac
77111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77112 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77113 else
77114 gcc_cv_prog_makeinfo_modern=no
77116 if test $gcc_cv_prog_makeinfo_modern = no; then
77117 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77120 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77121 BUILD_INFO_TRUE=
77122 BUILD_INFO_FALSE='#'
77123 else
77124 BUILD_INFO_TRUE='#'
77125 BUILD_INFO_FALSE=
77129 # Check for doxygen
77130 # Extract the first word of "doxygen", so it can be a program name with args.
77131 set dummy doxygen; ac_word=$2
77132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77133 $as_echo_n "checking for $ac_word... " >&6; }
77134 if ${ac_cv_prog_DOXYGEN+:} false; then :
77135 $as_echo_n "(cached) " >&6
77136 else
77137 if test -n "$DOXYGEN"; then
77138 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77139 else
77140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77141 for as_dir in $PATH
77143 IFS=$as_save_IFS
77144 test -z "$as_dir" && as_dir=.
77145 for ac_exec_ext in '' $ac_executable_extensions; do
77146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77147 ac_cv_prog_DOXYGEN="yes"
77148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77149 break 2
77151 done
77152 done
77153 IFS=$as_save_IFS
77155 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77158 DOXYGEN=$ac_cv_prog_DOXYGEN
77159 if test -n "$DOXYGEN"; then
77160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77161 $as_echo "$DOXYGEN" >&6; }
77162 else
77163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77164 $as_echo "no" >&6; }
77168 # Extract the first word of "dot", so it can be a program name with args.
77169 set dummy dot; ac_word=$2
77170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77171 $as_echo_n "checking for $ac_word... " >&6; }
77172 if ${ac_cv_prog_DOT+:} false; then :
77173 $as_echo_n "(cached) " >&6
77174 else
77175 if test -n "$DOT"; then
77176 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77177 else
77178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77179 for as_dir in $PATH
77181 IFS=$as_save_IFS
77182 test -z "$as_dir" && as_dir=.
77183 for ac_exec_ext in '' $ac_executable_extensions; do
77184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77185 ac_cv_prog_DOT="yes"
77186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77187 break 2
77189 done
77190 done
77191 IFS=$as_save_IFS
77193 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77196 DOT=$ac_cv_prog_DOT
77197 if test -n "$DOT"; then
77198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77199 $as_echo "$DOT" >&6; }
77200 else
77201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77202 $as_echo "no" >&6; }
77207 # Check for docbook
77208 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77209 set dummy xmlcatalog; ac_word=$2
77210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77211 $as_echo_n "checking for $ac_word... " >&6; }
77212 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77213 $as_echo_n "(cached) " >&6
77214 else
77215 if test -n "$XMLCATALOG"; then
77216 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77217 else
77218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77219 for as_dir in $PATH
77221 IFS=$as_save_IFS
77222 test -z "$as_dir" && as_dir=.
77223 for ac_exec_ext in '' $ac_executable_extensions; do
77224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77225 ac_cv_prog_XMLCATALOG="yes"
77226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77227 break 2
77229 done
77230 done
77231 IFS=$as_save_IFS
77233 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77236 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77237 if test -n "$XMLCATALOG"; then
77238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77239 $as_echo "$XMLCATALOG" >&6; }
77240 else
77241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77242 $as_echo "no" >&6; }
77246 # Extract the first word of "xsltproc", so it can be a program name with args.
77247 set dummy xsltproc; ac_word=$2
77248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77249 $as_echo_n "checking for $ac_word... " >&6; }
77250 if ${ac_cv_prog_XSLTPROC+:} false; then :
77251 $as_echo_n "(cached) " >&6
77252 else
77253 if test -n "$XSLTPROC"; then
77254 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77255 else
77256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77257 for as_dir in $PATH
77259 IFS=$as_save_IFS
77260 test -z "$as_dir" && as_dir=.
77261 for ac_exec_ext in '' $ac_executable_extensions; do
77262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77263 ac_cv_prog_XSLTPROC="yes"
77264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77265 break 2
77267 done
77268 done
77269 IFS=$as_save_IFS
77271 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77274 XSLTPROC=$ac_cv_prog_XSLTPROC
77275 if test -n "$XSLTPROC"; then
77276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77277 $as_echo "$XSLTPROC" >&6; }
77278 else
77279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77280 $as_echo "no" >&6; }
77284 # Extract the first word of "xmllint", so it can be a program name with args.
77285 set dummy xmllint; ac_word=$2
77286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77287 $as_echo_n "checking for $ac_word... " >&6; }
77288 if ${ac_cv_prog_XMLLINT+:} false; then :
77289 $as_echo_n "(cached) " >&6
77290 else
77291 if test -n "$XMLLINT"; then
77292 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77293 else
77294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77295 for as_dir in $PATH
77297 IFS=$as_save_IFS
77298 test -z "$as_dir" && as_dir=.
77299 for ac_exec_ext in '' $ac_executable_extensions; do
77300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77301 ac_cv_prog_XMLLINT="yes"
77302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77303 break 2
77305 done
77306 done
77307 IFS=$as_save_IFS
77309 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77312 XMLLINT=$ac_cv_prog_XMLLINT
77313 if test -n "$XMLLINT"; then
77314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77315 $as_echo "$XMLLINT" >&6; }
77316 else
77317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77318 $as_echo "no" >&6; }
77324 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77327 $as_echo_n "checking for local stylesheet directory... " >&6; }
77328 glibcxx_local_stylesheets=no
77329 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77330 then
77331 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77332 glibcxx_local_stylesheets=yes
77333 else
77334 for dir in \
77335 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77336 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77337 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77338 /usr/share/xml/docbook/stylesheet/nwalsh/current
77340 if test -d $dir; then
77341 glibcxx_local_stylesheets=yes
77342 XSL_STYLE_DIR=$dir
77343 break
77345 done
77347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77348 $as_echo "$glibcxx_local_stylesheets" >&6; }
77350 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77352 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77353 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77356 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77357 glibcxx_stylesheets=no
77358 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77359 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77360 glibcxx_stylesheets=yes
77363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77364 $as_echo "$glibcxx_stylesheets" >&6; }
77366 else
77367 glibcxx_stylesheets=no
77370 # Check for epub3 dependencies.
77371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77372 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77373 glibcxx_epub_stylesheets=no
77374 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77375 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77376 glibcxx_epub_stylesheets=yes
77379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77380 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77381 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77382 BUILD_EPUB_TRUE=
77383 BUILD_EPUB_FALSE='#'
77384 else
77385 BUILD_EPUB_TRUE='#'
77386 BUILD_EPUB_FALSE=
77392 # Check for xml/html dependencies.
77393 if test $ac_cv_prog_DOXYGEN = "yes" &&
77394 test $ac_cv_prog_DOT = "yes" &&
77395 test $ac_cv_prog_XSLTPROC = "yes" &&
77396 test $ac_cv_prog_XMLLINT = "yes" &&
77397 test $glibcxx_stylesheets = "yes"; then
77398 BUILD_XML_TRUE=
77399 BUILD_XML_FALSE='#'
77400 else
77401 BUILD_XML_TRUE='#'
77402 BUILD_XML_FALSE=
77406 if test $ac_cv_prog_DOXYGEN = "yes" &&
77407 test $ac_cv_prog_DOT = "yes" &&
77408 test $ac_cv_prog_XSLTPROC = "yes" &&
77409 test $ac_cv_prog_XMLLINT = "yes" &&
77410 test $glibcxx_stylesheets = "yes"; then
77411 BUILD_HTML_TRUE=
77412 BUILD_HTML_FALSE='#'
77413 else
77414 BUILD_HTML_TRUE='#'
77415 BUILD_HTML_FALSE=
77419 # Check for man dependencies.
77420 if test $ac_cv_prog_DOXYGEN = "yes" &&
77421 test $ac_cv_prog_DOT = "yes"; then
77422 BUILD_MAN_TRUE=
77423 BUILD_MAN_FALSE='#'
77424 else
77425 BUILD_MAN_TRUE='#'
77426 BUILD_MAN_FALSE=
77430 # Check for pdf dependencies.
77431 # Extract the first word of "dblatex", so it can be a program name with args.
77432 set dummy dblatex; ac_word=$2
77433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77434 $as_echo_n "checking for $ac_word... " >&6; }
77435 if ${ac_cv_prog_DBLATEX+:} false; then :
77436 $as_echo_n "(cached) " >&6
77437 else
77438 if test -n "$DBLATEX"; then
77439 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77440 else
77441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77442 for as_dir in $PATH
77444 IFS=$as_save_IFS
77445 test -z "$as_dir" && as_dir=.
77446 for ac_exec_ext in '' $ac_executable_extensions; do
77447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77448 ac_cv_prog_DBLATEX="yes"
77449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77450 break 2
77452 done
77453 done
77454 IFS=$as_save_IFS
77456 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77459 DBLATEX=$ac_cv_prog_DBLATEX
77460 if test -n "$DBLATEX"; then
77461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77462 $as_echo "$DBLATEX" >&6; }
77463 else
77464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77465 $as_echo "no" >&6; }
77469 # Extract the first word of "pdflatex", so it can be a program name with args.
77470 set dummy pdflatex; ac_word=$2
77471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77472 $as_echo_n "checking for $ac_word... " >&6; }
77473 if ${ac_cv_prog_PDFLATEX+:} false; then :
77474 $as_echo_n "(cached) " >&6
77475 else
77476 if test -n "$PDFLATEX"; then
77477 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77478 else
77479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77480 for as_dir in $PATH
77482 IFS=$as_save_IFS
77483 test -z "$as_dir" && as_dir=.
77484 for ac_exec_ext in '' $ac_executable_extensions; do
77485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77486 ac_cv_prog_PDFLATEX="yes"
77487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77488 break 2
77490 done
77491 done
77492 IFS=$as_save_IFS
77494 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77497 PDFLATEX=$ac_cv_prog_PDFLATEX
77498 if test -n "$PDFLATEX"; then
77499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77500 $as_echo "$PDFLATEX" >&6; }
77501 else
77502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77503 $as_echo "no" >&6; }
77507 if test $ac_cv_prog_DOXYGEN = "yes" &&
77508 test $ac_cv_prog_DOT = "yes" &&
77509 test $ac_cv_prog_XSLTPROC = "yes" &&
77510 test $ac_cv_prog_XMLLINT = "yes" &&
77511 test $ac_cv_prog_DBLATEX = "yes" &&
77512 test $ac_cv_prog_PDFLATEX = "yes"; then
77513 BUILD_PDF_TRUE=
77514 BUILD_PDF_FALSE='#'
77515 else
77516 BUILD_PDF_TRUE='#'
77517 BUILD_PDF_FALSE=
77521 case "$build" in
77522 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77523 * ) glibcxx_include_dir_notparallel=no ;;
77524 esac
77525 if test $glibcxx_include_dir_notparallel = "yes"; then
77526 INCLUDE_DIR_NOTPARALLEL_TRUE=
77527 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77528 else
77529 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77530 INCLUDE_DIR_NOTPARALLEL_FALSE=
77534 # Propagate the target-specific source directories through the build chain.
77535 ATOMICITY_SRCDIR=config/${atomicity_dir}
77536 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77537 ATOMIC_FLAGS=${atomic_flags}
77538 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77539 OS_INC_SRCDIR=config/${os_include_dir}
77540 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77541 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77542 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77543 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77554 # Conditionalize the makefile for this target machine.
77555 tmake_file_=
77556 for f in ${tmake_file}
77558 if test -f ${srcdir}/config/$f
77559 then
77560 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77562 done
77563 tmake_file="${tmake_file_}"
77566 # Add CET specific flags if Intel CET is enabled.
77567 # Check whether --enable-cet was given.
77568 if test "${enable_cet+set}" = set; then :
77569 enableval=$enable_cet;
77570 case "$enableval" in
77571 yes|no|auto) ;;
77572 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77573 esac
77575 else
77576 enable_cet=auto
77580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77581 $as_echo_n "checking for CET support... " >&6; }
77583 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77584 case "$host" in
77585 i[34567]86-*-linux* | x86_64-*-linux*)
77586 case "$enable_cet" in
77587 auto)
77588 # Check if target supports multi-byte NOPs
77589 # and if compiler and assembler support CET insn.
77590 cet_save_CFLAGS="$CFLAGS"
77591 CFLAGS="$CFLAGS -fcf-protection"
77592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77593 /* end confdefs.h. */
77596 main ()
77599 #if !defined(__SSE2__)
77600 #error target does not support multi-byte NOPs
77601 #else
77602 asm ("setssbsy");
77603 #endif
77606 return 0;
77608 _ACEOF
77609 if ac_fn_c_try_compile "$LINENO"; then :
77610 enable_cet=yes
77611 else
77612 enable_cet=no
77614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77615 CFLAGS="$cet_save_CFLAGS"
77617 yes)
77618 # Check if assembler supports CET.
77619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77620 /* end confdefs.h. */
77623 main ()
77625 asm ("setssbsy");
77627 return 0;
77629 _ACEOF
77630 if ac_fn_c_try_compile "$LINENO"; then :
77632 else
77633 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77637 esac
77640 enable_cet=no
77642 esac
77643 if test x$enable_cet = xyes; then
77644 CET_FLAGS="-fcf-protection -mshstk"
77645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77646 $as_echo "yes" >&6; }
77647 else
77648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77649 $as_echo "no" >&6; }
77652 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77653 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77657 # Determine cross-compile flags and AM_CONDITIONALs.
77658 #AC_SUBST(GLIBCXX_IS_NATIVE)
77659 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77660 if test $is_hosted = yes; then
77661 GLIBCXX_HOSTED_TRUE=
77662 GLIBCXX_HOSTED_FALSE='#'
77663 else
77664 GLIBCXX_HOSTED_TRUE='#'
77665 GLIBCXX_HOSTED_FALSE=
77669 if test $enable_libstdcxx_pch = yes; then
77670 GLIBCXX_BUILD_PCH_TRUE=
77671 GLIBCXX_BUILD_PCH_FALSE='#'
77672 else
77673 GLIBCXX_BUILD_PCH_TRUE='#'
77674 GLIBCXX_BUILD_PCH_FALSE=
77678 if test $enable_float128 = yes; then
77679 ENABLE_FLOAT128_TRUE=
77680 ENABLE_FLOAT128_FALSE='#'
77681 else
77682 ENABLE_FLOAT128_TRUE='#'
77683 ENABLE_FLOAT128_FALSE=
77687 if test $enable_libstdcxx_allocator_flag = new; then
77688 ENABLE_ALLOCATOR_NEW_TRUE=
77689 ENABLE_ALLOCATOR_NEW_FALSE='#'
77690 else
77691 ENABLE_ALLOCATOR_NEW_TRUE='#'
77692 ENABLE_ALLOCATOR_NEW_FALSE=
77696 if test $enable_cheaders = c; then
77697 GLIBCXX_C_HEADERS_C_TRUE=
77698 GLIBCXX_C_HEADERS_C_FALSE='#'
77699 else
77700 GLIBCXX_C_HEADERS_C_TRUE='#'
77701 GLIBCXX_C_HEADERS_C_FALSE=
77705 if test $enable_cheaders = c_std; then
77706 GLIBCXX_C_HEADERS_C_STD_TRUE=
77707 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77708 else
77709 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77710 GLIBCXX_C_HEADERS_C_STD_FALSE=
77714 if test $enable_cheaders = c_global; then
77715 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77716 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77717 else
77718 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77719 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77723 if test $c_compatibility = yes; then
77724 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77725 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77726 else
77727 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77728 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77732 if test $enable_libstdcxx_debug = yes; then
77733 GLIBCXX_BUILD_DEBUG_TRUE=
77734 GLIBCXX_BUILD_DEBUG_FALSE='#'
77735 else
77736 GLIBCXX_BUILD_DEBUG_TRUE='#'
77737 GLIBCXX_BUILD_DEBUG_FALSE=
77741 if test $enable_extern_template = yes; then
77742 ENABLE_EXTERN_TEMPLATE_TRUE=
77743 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77744 else
77745 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77746 ENABLE_EXTERN_TEMPLATE_FALSE=
77750 if test $python_mod_dir != no; then
77751 ENABLE_PYTHONDIR_TRUE=
77752 ENABLE_PYTHONDIR_FALSE='#'
77753 else
77754 ENABLE_PYTHONDIR_TRUE='#'
77755 ENABLE_PYTHONDIR_FALSE=
77759 if test $enable_werror = yes; then
77760 ENABLE_WERROR_TRUE=
77761 ENABLE_WERROR_FALSE='#'
77762 else
77763 ENABLE_WERROR_TRUE='#'
77764 ENABLE_WERROR_FALSE=
77768 if test $enable_vtable_verify = yes; then
77769 ENABLE_VTABLE_VERIFY_TRUE=
77770 ENABLE_VTABLE_VERIFY_FALSE='#'
77771 else
77772 ENABLE_VTABLE_VERIFY_TRUE='#'
77773 ENABLE_VTABLE_VERIFY_FALSE=
77777 if test $enable_symvers != no; then
77778 ENABLE_SYMVERS_TRUE=
77779 ENABLE_SYMVERS_FALSE='#'
77780 else
77781 ENABLE_SYMVERS_TRUE='#'
77782 ENABLE_SYMVERS_FALSE=
77786 if test $enable_symvers = gnu; then
77787 ENABLE_SYMVERS_GNU_TRUE=
77788 ENABLE_SYMVERS_GNU_FALSE='#'
77789 else
77790 ENABLE_SYMVERS_GNU_TRUE='#'
77791 ENABLE_SYMVERS_GNU_FALSE=
77795 if test $enable_symvers = gnu-versioned-namespace; then
77796 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77797 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77798 else
77799 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77800 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77804 if test $enable_symvers = darwin; then
77805 ENABLE_SYMVERS_DARWIN_TRUE=
77806 ENABLE_SYMVERS_DARWIN_FALSE='#'
77807 else
77808 ENABLE_SYMVERS_DARWIN_TRUE='#'
77809 ENABLE_SYMVERS_DARWIN_FALSE=
77813 if test $enable_symvers = sun; then
77814 ENABLE_SYMVERS_SUN_TRUE=
77815 ENABLE_SYMVERS_SUN_FALSE='#'
77816 else
77817 ENABLE_SYMVERS_SUN_TRUE='#'
77818 ENABLE_SYMVERS_SUN_FALSE=
77822 if test $enable_libstdcxx_visibility = yes; then
77823 ENABLE_VISIBILITY_TRUE=
77824 ENABLE_VISIBILITY_FALSE='#'
77825 else
77826 ENABLE_VISIBILITY_TRUE='#'
77827 ENABLE_VISIBILITY_FALSE=
77831 if test $enable_libstdcxx_dual_abi = yes; then
77832 ENABLE_DUAL_ABI_TRUE=
77833 ENABLE_DUAL_ABI_FALSE='#'
77834 else
77835 ENABLE_DUAL_ABI_TRUE='#'
77836 ENABLE_DUAL_ABI_FALSE=
77840 if test $glibcxx_cxx11_abi = 1; then
77841 ENABLE_CXX11_ABI_TRUE=
77842 ENABLE_CXX11_ABI_FALSE='#'
77843 else
77844 ENABLE_CXX11_ABI_TRUE='#'
77845 ENABLE_CXX11_ABI_FALSE=
77849 if test $ac_ldbl_compat = yes; then
77850 GLIBCXX_LDBL_COMPAT_TRUE=
77851 GLIBCXX_LDBL_COMPAT_FALSE='#'
77852 else
77853 GLIBCXX_LDBL_COMPAT_TRUE='#'
77854 GLIBCXX_LDBL_COMPAT_FALSE=
77858 if test $ac_ldbl_alt128_compat = yes; then
77859 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
77860 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
77861 else
77862 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
77863 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
77867 if test $enable_libstdcxx_filesystem_ts = yes; then
77868 ENABLE_FILESYSTEM_TS_TRUE=
77869 ENABLE_FILESYSTEM_TS_FALSE='#'
77870 else
77871 ENABLE_FILESYSTEM_TS_TRUE='#'
77872 ENABLE_FILESYSTEM_TS_FALSE=
77878 cat >confcache <<\_ACEOF
77879 # This file is a shell script that caches the results of configure
77880 # tests run on this system so they can be shared between configure
77881 # scripts and configure runs, see configure's option --config-cache.
77882 # It is not useful on other systems. If it contains results you don't
77883 # want to keep, you may remove or edit it.
77885 # config.status only pays attention to the cache file if you give it
77886 # the --recheck option to rerun configure.
77888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77890 # following values.
77892 _ACEOF
77894 # The following way of writing the cache mishandles newlines in values,
77895 # but we know of no workaround that is simple, portable, and efficient.
77896 # So, we kill variables containing newlines.
77897 # Ultrix sh set writes to stderr and can't be redirected directly,
77898 # and sets the high bit in the cache file unless we assign to the vars.
77900 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77901 eval ac_val=\$$ac_var
77902 case $ac_val in #(
77903 *${as_nl}*)
77904 case $ac_var in #(
77905 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77907 esac
77908 case $ac_var in #(
77909 _ | IFS | as_nl) ;; #(
77910 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77911 *) { eval $ac_var=; unset $ac_var;} ;;
77912 esac ;;
77913 esac
77914 done
77916 (set) 2>&1 |
77917 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77918 *${as_nl}ac_space=\ *)
77919 # `set' does not quote correctly, so add quotes: double-quote
77920 # substitution turns \\\\ into \\, and sed turns \\ into \.
77921 sed -n \
77922 "s/'/'\\\\''/g;
77923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77924 ;; #(
77926 # `set' quotes correctly as required by POSIX, so do not add quotes.
77927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77929 esac |
77930 sort
77932 sed '
77933 /^ac_cv_env_/b end
77934 t clear
77935 :clear
77936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77937 t end
77938 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77939 :end' >>confcache
77940 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77941 if test -w "$cache_file"; then
77942 if test "x$cache_file" != "x/dev/null"; then
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77944 $as_echo "$as_me: updating cache $cache_file" >&6;}
77945 if test ! -f "$cache_file" || test -h "$cache_file"; then
77946 cat confcache >"$cache_file"
77947 else
77948 case $cache_file in #(
77949 */* | ?:*)
77950 mv -f confcache "$cache_file"$$ &&
77951 mv -f "$cache_file"$$ "$cache_file" ;; #(
77953 mv -f confcache "$cache_file" ;;
77954 esac
77957 else
77958 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77959 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77962 rm -f confcache
77964 if test ${multilib} = yes; then
77965 multilib_arg="--enable-multilib"
77966 else
77967 multilib_arg=
77970 # Export all the install information.
77972 glibcxx_toolexecdir=no
77973 glibcxx_toolexeclibdir=no
77974 glibcxx_prefixdir=$prefix
77976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77977 $as_echo_n "checking for gxx-include-dir... " >&6; }
77979 # Check whether --with-gxx-include-dir was given.
77980 if test "${with_gxx_include_dir+set}" = set; then :
77981 withval=$with_gxx_include_dir; case "$withval" in
77982 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77983 no) gxx_include_dir=no ;;
77984 *) gxx_include_dir=$withval ;;
77985 esac
77986 else
77987 gxx_include_dir=no
77990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77991 $as_echo "$gxx_include_dir" >&6; }
77993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77994 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77995 # Check whether --enable-version-specific-runtime-libs was given.
77996 if test "${enable_version_specific_runtime_libs+set}" = set; then :
77997 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77998 yes) version_specific_libs=yes ;;
77999 no) version_specific_libs=no ;;
78000 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78001 esac
78002 else
78003 version_specific_libs=no
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78007 $as_echo "$version_specific_libs" >&6; }
78010 # Check whether --with-toolexeclibdir was given.
78011 if test "${with_toolexeclibdir+set}" = set; then :
78012 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78016 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78018 esac
78019 else
78020 with_toolexeclibdir=no
78025 # Default case for install directory for include files.
78026 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78027 gxx_include_dir='include/c++/${gcc_version}'
78028 if test -n "$with_cross_host" &&
78029 test x"$with_cross_host" != x"no"; then
78030 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78031 else
78032 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78036 # Version-specific runtime libs processing.
78037 if test $version_specific_libs = yes; then
78038 # Need the gcc compiler version to know where to install libraries
78039 # and header files if --enable-version-specific-runtime-libs option
78040 # is selected. FIXME: these variables are misnamed, there are
78041 # no executables installed in _toolexecdir or _toolexeclibdir.
78042 if test x"$gxx_include_dir" = x"no"; then
78043 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78045 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78046 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78049 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78050 # Install a library built with a cross compiler in tooldir, not libdir.
78051 if test x"$glibcxx_toolexecdir" = x"no"; then
78052 if test -n "$with_cross_host" &&
78053 test x"$with_cross_host" != x"no"; then
78054 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78055 case ${with_toolexeclibdir} in
78057 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78060 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78062 esac
78063 else
78064 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78065 glibcxx_toolexeclibdir='${libdir}'
78067 multi_os_directory=`$CXX -print-multi-os-directory`
78068 case $multi_os_directory in
78069 .) ;; # Avoid trailing /.
78070 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78071 esac
78074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78075 $as_echo_n "checking for install location... " >&6; }
78076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78077 $as_echo "$gxx_include_dir" >&6; }
78085 # Export all the include and flag information to Makefiles.
78087 # Used for every C++ compile we perform.
78088 GLIBCXX_INCLUDES="\
78089 -I$glibcxx_builddir/include/$host_alias \
78090 -I$glibcxx_builddir/include \
78091 -I$glibcxx_srcdir/libsupc++"
78093 # For Canadian crosses, pick this up too.
78094 if test $CANADIAN = yes; then
78095 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78098 # Stuff in the actual top level. Currently only used by libsupc++ to
78099 # get unwind* headers from the libgcc dir.
78100 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78101 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78103 # Now, export this to all the little Makefiles....
78108 # Optimization flags that are probably a good idea for thrill-seekers. Just
78109 # uncomment the lines below and make, everything else is ready to go...
78110 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78111 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78114 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78118 # Determine what GCC version number to use in filesystem paths.
78120 get_gcc_base_ver="cat"
78122 # Check whether --with-gcc-major-version-only was given.
78123 if test "${with_gcc_major_version_only+set}" = set; then :
78124 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78125 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78133 ac_config_files="$ac_config_files Makefile"
78135 ac_config_files="$ac_config_files scripts/testsuite_flags"
78137 ac_config_files="$ac_config_files scripts/extract_symvers"
78139 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78142 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78143 # that multilib installs will end up installed in the correct place.
78144 # The testsuite needs it for multilib-aware ABI baseline files.
78145 # To work around this not being passed down from config-ml.in ->
78146 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78147 # append it here. Only modify Makefiles that have just been created.
78149 # Also, get rid of this simulated-VPATH thing that automake does.
78150 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/c++20/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78153 ac_config_commands="$ac_config_commands generate-headers"
78156 cat >confcache <<\_ACEOF
78157 # This file is a shell script that caches the results of configure
78158 # tests run on this system so they can be shared between configure
78159 # scripts and configure runs, see configure's option --config-cache.
78160 # It is not useful on other systems. If it contains results you don't
78161 # want to keep, you may remove or edit it.
78163 # config.status only pays attention to the cache file if you give it
78164 # the --recheck option to rerun configure.
78166 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78167 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78168 # following values.
78170 _ACEOF
78172 # The following way of writing the cache mishandles newlines in values,
78173 # but we know of no workaround that is simple, portable, and efficient.
78174 # So, we kill variables containing newlines.
78175 # Ultrix sh set writes to stderr and can't be redirected directly,
78176 # and sets the high bit in the cache file unless we assign to the vars.
78178 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78179 eval ac_val=\$$ac_var
78180 case $ac_val in #(
78181 *${as_nl}*)
78182 case $ac_var in #(
78183 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78184 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78185 esac
78186 case $ac_var in #(
78187 _ | IFS | as_nl) ;; #(
78188 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78189 *) { eval $ac_var=; unset $ac_var;} ;;
78190 esac ;;
78191 esac
78192 done
78194 (set) 2>&1 |
78195 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78196 *${as_nl}ac_space=\ *)
78197 # `set' does not quote correctly, so add quotes: double-quote
78198 # substitution turns \\\\ into \\, and sed turns \\ into \.
78199 sed -n \
78200 "s/'/'\\\\''/g;
78201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78202 ;; #(
78204 # `set' quotes correctly as required by POSIX, so do not add quotes.
78205 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78207 esac |
78208 sort
78210 sed '
78211 /^ac_cv_env_/b end
78212 t clear
78213 :clear
78214 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78215 t end
78216 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78217 :end' >>confcache
78218 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78219 if test -w "$cache_file"; then
78220 if test "x$cache_file" != "x/dev/null"; then
78221 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78222 $as_echo "$as_me: updating cache $cache_file" >&6;}
78223 if test ! -f "$cache_file" || test -h "$cache_file"; then
78224 cat confcache >"$cache_file"
78225 else
78226 case $cache_file in #(
78227 */* | ?:*)
78228 mv -f confcache "$cache_file"$$ &&
78229 mv -f "$cache_file"$$ "$cache_file" ;; #(
78231 mv -f confcache "$cache_file" ;;
78232 esac
78235 else
78236 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78237 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78240 rm -f confcache
78242 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78243 # Let make expand exec_prefix.
78244 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78246 DEFS=-DHAVE_CONFIG_H
78248 ac_libobjs=
78249 ac_ltlibobjs=
78251 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78252 # 1. Remove the extension, and $U if already installed.
78253 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78254 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78255 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78256 # will be set to the directory where LIBOBJS objects are built.
78257 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78258 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78259 done
78260 LIBOBJS=$ac_libobjs
78262 LTLIBOBJS=$ac_ltlibobjs
78265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78266 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78267 if test -n "$am_sleep_pid"; then
78268 # Hide warnings about reused PIDs.
78269 wait $am_sleep_pid 2>/dev/null
78271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78272 $as_echo "done" >&6; }
78273 if test -n "$EXEEXT"; then
78274 am__EXEEXT_TRUE=
78275 am__EXEEXT_FALSE='#'
78276 else
78277 am__EXEEXT_TRUE='#'
78278 am__EXEEXT_FALSE=
78281 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78282 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78285 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78286 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78289 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78290 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78293 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78294 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78297 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78298 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78301 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78302 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78305 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78306 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78309 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78310 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78313 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78314 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78317 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78318 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78321 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78322 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78325 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78326 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78329 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78330 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78333 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78334 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78337 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78338 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78341 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78342 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78345 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78346 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78349 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78350 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78353 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78354 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78357 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78358 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78361 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78362 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78365 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78366 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78369 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78370 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78373 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78374 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78377 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
78378 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
78379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78381 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78382 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78385 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78386 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78389 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78390 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78393 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78394 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78397 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78398 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78401 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78402 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78405 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78406 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78409 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78410 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78414 : "${CONFIG_STATUS=./config.status}"
78415 ac_write_fail=0
78416 ac_clean_files_save=$ac_clean_files
78417 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78419 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78420 as_write_fail=0
78421 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78422 #! $SHELL
78423 # Generated by $as_me.
78424 # Run this file to recreate the current configuration.
78425 # Compiler output produced by configure, useful for debugging
78426 # configure, is in config.log if it exists.
78428 debug=false
78429 ac_cs_recheck=false
78430 ac_cs_silent=false
78432 SHELL=\${CONFIG_SHELL-$SHELL}
78433 export SHELL
78434 _ASEOF
78435 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78436 ## -------------------- ##
78437 ## M4sh Initialization. ##
78438 ## -------------------- ##
78440 # Be more Bourne compatible
78441 DUALCASE=1; export DUALCASE # for MKS sh
78442 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78443 emulate sh
78444 NULLCMD=:
78445 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78446 # is contrary to our usage. Disable this feature.
78447 alias -g '${1+"$@"}'='"$@"'
78448 setopt NO_GLOB_SUBST
78449 else
78450 case `(set -o) 2>/dev/null` in #(
78451 *posix*) :
78452 set -o posix ;; #(
78453 *) :
78455 esac
78459 as_nl='
78461 export as_nl
78462 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78463 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78466 # Prefer a ksh shell builtin over an external printf program on Solaris,
78467 # but without wasting forks for bash or zsh.
78468 if test -z "$BASH_VERSION$ZSH_VERSION" \
78469 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78470 as_echo='print -r --'
78471 as_echo_n='print -rn --'
78472 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78473 as_echo='printf %s\n'
78474 as_echo_n='printf %s'
78475 else
78476 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78477 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78478 as_echo_n='/usr/ucb/echo -n'
78479 else
78480 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78481 as_echo_n_body='eval
78482 arg=$1;
78483 case $arg in #(
78484 *"$as_nl"*)
78485 expr "X$arg" : "X\\(.*\\)$as_nl";
78486 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78487 esac;
78488 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78490 export as_echo_n_body
78491 as_echo_n='sh -c $as_echo_n_body as_echo'
78493 export as_echo_body
78494 as_echo='sh -c $as_echo_body as_echo'
78497 # The user is always right.
78498 if test "${PATH_SEPARATOR+set}" != set; then
78499 PATH_SEPARATOR=:
78500 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78501 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78502 PATH_SEPARATOR=';'
78507 # IFS
78508 # We need space, tab and new line, in precisely that order. Quoting is
78509 # there to prevent editors from complaining about space-tab.
78510 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78511 # splitting by setting IFS to empty value.)
78512 IFS=" "" $as_nl"
78514 # Find who we are. Look in the path if we contain no directory separator.
78515 as_myself=
78516 case $0 in #((
78517 *[\\/]* ) as_myself=$0 ;;
78518 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78519 for as_dir in $PATH
78521 IFS=$as_save_IFS
78522 test -z "$as_dir" && as_dir=.
78523 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78524 done
78525 IFS=$as_save_IFS
78528 esac
78529 # We did not find ourselves, most probably we were run as `sh COMMAND'
78530 # in which case we are not to be found in the path.
78531 if test "x$as_myself" = x; then
78532 as_myself=$0
78534 if test ! -f "$as_myself"; then
78535 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78536 exit 1
78539 # Unset variables that we do not need and which cause bugs (e.g. in
78540 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78541 # suppresses any "Segmentation fault" message there. '((' could
78542 # trigger a bug in pdksh 5.2.14.
78543 for as_var in BASH_ENV ENV MAIL MAILPATH
78544 do eval test x\${$as_var+set} = xset \
78545 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78546 done
78547 PS1='$ '
78548 PS2='> '
78549 PS4='+ '
78551 # NLS nuisances.
78552 LC_ALL=C
78553 export LC_ALL
78554 LANGUAGE=C
78555 export LANGUAGE
78557 # CDPATH.
78558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78561 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78562 # ----------------------------------------
78563 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78564 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78565 # script with STATUS, using 1 if that was 0.
78566 as_fn_error ()
78568 as_status=$1; test $as_status -eq 0 && as_status=1
78569 if test "$4"; then
78570 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78571 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78573 $as_echo "$as_me: error: $2" >&2
78574 as_fn_exit $as_status
78575 } # as_fn_error
78578 # as_fn_set_status STATUS
78579 # -----------------------
78580 # Set $? to STATUS, without forking.
78581 as_fn_set_status ()
78583 return $1
78584 } # as_fn_set_status
78586 # as_fn_exit STATUS
78587 # -----------------
78588 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78589 as_fn_exit ()
78591 set +e
78592 as_fn_set_status $1
78593 exit $1
78594 } # as_fn_exit
78596 # as_fn_unset VAR
78597 # ---------------
78598 # Portably unset VAR.
78599 as_fn_unset ()
78601 { eval $1=; unset $1;}
78603 as_unset=as_fn_unset
78604 # as_fn_append VAR VALUE
78605 # ----------------------
78606 # Append the text in VALUE to the end of the definition contained in VAR. Take
78607 # advantage of any shell optimizations that allow amortized linear growth over
78608 # repeated appends, instead of the typical quadratic growth present in naive
78609 # implementations.
78610 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78611 eval 'as_fn_append ()
78613 eval $1+=\$2
78615 else
78616 as_fn_append ()
78618 eval $1=\$$1\$2
78620 fi # as_fn_append
78622 # as_fn_arith ARG...
78623 # ------------------
78624 # Perform arithmetic evaluation on the ARGs, and store the result in the
78625 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78626 # must be portable across $(()) and expr.
78627 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78628 eval 'as_fn_arith ()
78630 as_val=$(( $* ))
78632 else
78633 as_fn_arith ()
78635 as_val=`expr "$@" || test $? -eq 1`
78637 fi # as_fn_arith
78640 if expr a : '\(a\)' >/dev/null 2>&1 &&
78641 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78642 as_expr=expr
78643 else
78644 as_expr=false
78647 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78648 as_basename=basename
78649 else
78650 as_basename=false
78653 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78654 as_dirname=dirname
78655 else
78656 as_dirname=false
78659 as_me=`$as_basename -- "$0" ||
78660 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78661 X"$0" : 'X\(//\)$' \| \
78662 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78663 $as_echo X/"$0" |
78664 sed '/^.*\/\([^/][^/]*\)\/*$/{
78665 s//\1/
78668 /^X\/\(\/\/\)$/{
78669 s//\1/
78672 /^X\/\(\/\).*/{
78673 s//\1/
78676 s/.*/./; q'`
78678 # Avoid depending upon Character Ranges.
78679 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78680 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78681 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78682 as_cr_digits='0123456789'
78683 as_cr_alnum=$as_cr_Letters$as_cr_digits
78685 ECHO_C= ECHO_N= ECHO_T=
78686 case `echo -n x` in #(((((
78687 -n*)
78688 case `echo 'xy\c'` in
78689 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78690 xy) ECHO_C='\c';;
78691 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78692 ECHO_T=' ';;
78693 esac;;
78695 ECHO_N='-n';;
78696 esac
78698 rm -f conf$$ conf$$.exe conf$$.file
78699 if test -d conf$$.dir; then
78700 rm -f conf$$.dir/conf$$.file
78701 else
78702 rm -f conf$$.dir
78703 mkdir conf$$.dir 2>/dev/null
78705 if (echo >conf$$.file) 2>/dev/null; then
78706 if ln -s conf$$.file conf$$ 2>/dev/null; then
78707 as_ln_s='ln -s'
78708 # ... but there are two gotchas:
78709 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78710 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78711 # In both cases, we have to default to `cp -pR'.
78712 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78713 as_ln_s='cp -pR'
78714 elif ln conf$$.file conf$$ 2>/dev/null; then
78715 as_ln_s=ln
78716 else
78717 as_ln_s='cp -pR'
78719 else
78720 as_ln_s='cp -pR'
78722 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78723 rmdir conf$$.dir 2>/dev/null
78726 # as_fn_mkdir_p
78727 # -------------
78728 # Create "$as_dir" as a directory, including parents if necessary.
78729 as_fn_mkdir_p ()
78732 case $as_dir in #(
78733 -*) as_dir=./$as_dir;;
78734 esac
78735 test -d "$as_dir" || eval $as_mkdir_p || {
78736 as_dirs=
78737 while :; do
78738 case $as_dir in #(
78739 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78740 *) as_qdir=$as_dir;;
78741 esac
78742 as_dirs="'$as_qdir' $as_dirs"
78743 as_dir=`$as_dirname -- "$as_dir" ||
78744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78745 X"$as_dir" : 'X\(//\)[^/]' \| \
78746 X"$as_dir" : 'X\(//\)$' \| \
78747 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78748 $as_echo X"$as_dir" |
78749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78750 s//\1/
78753 /^X\(\/\/\)[^/].*/{
78754 s//\1/
78757 /^X\(\/\/\)$/{
78758 s//\1/
78761 /^X\(\/\).*/{
78762 s//\1/
78765 s/.*/./; q'`
78766 test -d "$as_dir" && break
78767 done
78768 test -z "$as_dirs" || eval "mkdir $as_dirs"
78769 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78772 } # as_fn_mkdir_p
78773 if mkdir -p . 2>/dev/null; then
78774 as_mkdir_p='mkdir -p "$as_dir"'
78775 else
78776 test -d ./-p && rmdir ./-p
78777 as_mkdir_p=false
78781 # as_fn_executable_p FILE
78782 # -----------------------
78783 # Test if FILE is an executable regular file.
78784 as_fn_executable_p ()
78786 test -f "$1" && test -x "$1"
78787 } # as_fn_executable_p
78788 as_test_x='test -x'
78789 as_executable_p=as_fn_executable_p
78791 # Sed expression to map a string onto a valid CPP name.
78792 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78794 # Sed expression to map a string onto a valid variable name.
78795 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78798 exec 6>&1
78799 ## ----------------------------------- ##
78800 ## Main body of $CONFIG_STATUS script. ##
78801 ## ----------------------------------- ##
78802 _ASEOF
78803 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78806 # Save the log message, to keep $0 and so on meaningful, and to
78807 # report actual input values of CONFIG_FILES etc. instead of their
78808 # values after options handling.
78809 ac_log="
78810 This file was extended by package-unused $as_me version-unused, which was
78811 generated by GNU Autoconf 2.69. Invocation command line was
78813 CONFIG_FILES = $CONFIG_FILES
78814 CONFIG_HEADERS = $CONFIG_HEADERS
78815 CONFIG_LINKS = $CONFIG_LINKS
78816 CONFIG_COMMANDS = $CONFIG_COMMANDS
78817 $ $0 $@
78819 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78822 _ACEOF
78824 case $ac_config_files in *"
78825 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78826 esac
78828 case $ac_config_headers in *"
78829 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78830 esac
78833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78834 # Files that config.status was made for.
78835 config_files="$ac_config_files"
78836 config_headers="$ac_config_headers"
78837 config_commands="$ac_config_commands"
78839 _ACEOF
78841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78842 ac_cs_usage="\
78843 \`$as_me' instantiates files and other configuration actions
78844 from templates according to the current configuration. Unless the files
78845 and actions are specified as TAGs, all are instantiated by default.
78847 Usage: $0 [OPTION]... [TAG]...
78849 -h, --help print this help, then exit
78850 -V, --version print version number and configuration settings, then exit
78851 --config print configuration, then exit
78852 -q, --quiet, --silent
78853 do not print progress messages
78854 -d, --debug don't remove temporary files
78855 --recheck update $as_me by reconfiguring in the same conditions
78856 --file=FILE[:TEMPLATE]
78857 instantiate the configuration file FILE
78858 --header=FILE[:TEMPLATE]
78859 instantiate the configuration header FILE
78861 Configuration files:
78862 $config_files
78864 Configuration headers:
78865 $config_headers
78867 Configuration commands:
78868 $config_commands
78870 Report bugs to the package provider."
78872 _ACEOF
78873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78874 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78875 ac_cs_version="\\
78876 package-unused config.status version-unused
78877 configured by $0, generated by GNU Autoconf 2.69,
78878 with options \\"\$ac_cs_config\\"
78880 Copyright (C) 2012 Free Software Foundation, Inc.
78881 This config.status script is free software; the Free Software Foundation
78882 gives unlimited permission to copy, distribute and modify it."
78884 ac_pwd='$ac_pwd'
78885 srcdir='$srcdir'
78886 INSTALL='$INSTALL'
78887 MKDIR_P='$MKDIR_P'
78888 AWK='$AWK'
78889 test -n "\$AWK" || AWK=awk
78890 _ACEOF
78892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78893 # The default lists apply if the user does not specify any file.
78894 ac_need_defaults=:
78895 while test $# != 0
78897 case $1 in
78898 --*=?*)
78899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78900 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78901 ac_shift=:
78903 --*=)
78904 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78905 ac_optarg=
78906 ac_shift=:
78909 ac_option=$1
78910 ac_optarg=$2
78911 ac_shift=shift
78913 esac
78915 case $ac_option in
78916 # Handling of the options.
78917 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78918 ac_cs_recheck=: ;;
78919 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78920 $as_echo "$ac_cs_version"; exit ;;
78921 --config | --confi | --conf | --con | --co | --c )
78922 $as_echo "$ac_cs_config"; exit ;;
78923 --debug | --debu | --deb | --de | --d | -d )
78924 debug=: ;;
78925 --file | --fil | --fi | --f )
78926 $ac_shift
78927 case $ac_optarg in
78928 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78929 '') as_fn_error $? "missing file argument" ;;
78930 esac
78931 as_fn_append CONFIG_FILES " '$ac_optarg'"
78932 ac_need_defaults=false;;
78933 --header | --heade | --head | --hea )
78934 $ac_shift
78935 case $ac_optarg in
78936 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78937 esac
78938 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78939 ac_need_defaults=false;;
78940 --he | --h)
78941 # Conflict between --help and --header
78942 as_fn_error $? "ambiguous option: \`$1'
78943 Try \`$0 --help' for more information.";;
78944 --help | --hel | -h )
78945 $as_echo "$ac_cs_usage"; exit ;;
78946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78947 | -silent | --silent | --silen | --sile | --sil | --si | --s)
78948 ac_cs_silent=: ;;
78950 # This is an error.
78951 -*) as_fn_error $? "unrecognized option: \`$1'
78952 Try \`$0 --help' for more information." ;;
78954 *) as_fn_append ac_config_targets " $1"
78955 ac_need_defaults=false ;;
78957 esac
78958 shift
78959 done
78961 ac_configure_extra_args=
78963 if $ac_cs_silent; then
78964 exec 6>/dev/null
78965 ac_configure_extra_args="$ac_configure_extra_args --silent"
78968 _ACEOF
78969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78970 if \$ac_cs_recheck; then
78971 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78972 shift
78973 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78974 CONFIG_SHELL='$SHELL'
78975 export CONFIG_SHELL
78976 exec "\$@"
78979 _ACEOF
78980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78981 exec 5>>config.log
78983 echo
78984 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78985 ## Running $as_me. ##
78986 _ASBOX
78987 $as_echo "$ac_log"
78988 } >&5
78990 _ACEOF
78991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78993 # INIT-COMMANDS
78996 srcdir="$srcdir"
78997 host="$host"
78998 target="$target"
78999 with_multisubdir="$with_multisubdir"
79000 with_multisrctop="$with_multisrctop"
79001 with_target_subdir="$with_target_subdir"
79002 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79003 multi_basedir="$multi_basedir"
79004 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79005 CC="$CC"
79006 CXX="$CXX"
79007 GFORTRAN="$GFORTRAN"
79008 GDC="$GDC"
79011 # The HP-UX ksh and POSIX shell print the target directory to stdout
79012 # if CDPATH is set.
79013 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79015 sed_quote_subst='$sed_quote_subst'
79016 double_quote_subst='$double_quote_subst'
79017 delay_variable_subst='$delay_variable_subst'
79018 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79019 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79020 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79021 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79022 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79023 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79024 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79025 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79026 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79027 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79028 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79029 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79030 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79031 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79032 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79033 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79034 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79035 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79036 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79037 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79038 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79039 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79040 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79041 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79042 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79043 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79044 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79045 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79046 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79047 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79048 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79049 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79050 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79051 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79052 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79053 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79054 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79055 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79056 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79057 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79058 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79059 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79060 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79061 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79062 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79063 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79064 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79065 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79066 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"`'
79067 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79068 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79069 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79070 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79071 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79072 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79073 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79074 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79075 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79076 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79077 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79078 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79079 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79080 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79081 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79082 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79083 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79084 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79085 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79086 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79087 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79088 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79089 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79090 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79091 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79092 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79093 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79094 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79095 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79096 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79097 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79098 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79099 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79100 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79101 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79102 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79103 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79104 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79105 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79106 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79107 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79108 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79109 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79110 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79111 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79112 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79113 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79114 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79115 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79116 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79117 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79118 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79119 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79120 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79121 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79122 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79123 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79124 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79125 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79126 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79127 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79128 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79129 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79130 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79131 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79132 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79133 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79134 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79135 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79136 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79137 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79138 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79139 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79140 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79141 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79142 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79143 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79144 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79145 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79146 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79147 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79148 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79149 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79150 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79151 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79152 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79153 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79154 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79155 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79156 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79157 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79158 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79159 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79160 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79161 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79162 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79163 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79164 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79165 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79166 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79167 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79168 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79169 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79170 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79171 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79172 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79173 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79174 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79175 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79176 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79177 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79178 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79179 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79180 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79181 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79182 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79183 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79184 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79185 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79186 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79187 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79188 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79189 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79190 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79191 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79192 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79194 LTCC='$LTCC'
79195 LTCFLAGS='$LTCFLAGS'
79196 compiler='$compiler_DEFAULT'
79198 # A function that is used when there is no print builtin or printf.
79199 func_fallback_echo ()
79201 eval 'cat <<_LTECHO_EOF
79203 _LTECHO_EOF'
79206 # Quote evaled strings.
79207 for var in SHELL \
79208 ECHO \
79209 SED \
79210 GREP \
79211 EGREP \
79212 FGREP \
79213 LD \
79214 NM \
79215 LN_S \
79216 lt_SP2NL \
79217 lt_NL2SP \
79218 reload_flag \
79219 OBJDUMP \
79220 deplibs_check_method \
79221 file_magic_cmd \
79222 AR \
79223 AR_FLAGS \
79224 STRIP \
79225 RANLIB \
79226 CC \
79227 CFLAGS \
79228 compiler \
79229 lt_cv_sys_global_symbol_pipe \
79230 lt_cv_sys_global_symbol_to_cdecl \
79231 lt_cv_sys_global_symbol_to_c_name_address \
79232 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79233 lt_prog_compiler_no_builtin_flag \
79234 lt_prog_compiler_wl \
79235 lt_prog_compiler_pic \
79236 lt_prog_compiler_static \
79237 lt_cv_prog_compiler_c_o \
79238 need_locks \
79239 DSYMUTIL \
79240 NMEDIT \
79241 LIPO \
79242 OTOOL \
79243 OTOOL64 \
79244 shrext_cmds \
79245 export_dynamic_flag_spec \
79246 whole_archive_flag_spec \
79247 compiler_needs_object \
79248 with_gnu_ld \
79249 allow_undefined_flag \
79250 no_undefined_flag \
79251 hardcode_libdir_flag_spec \
79252 hardcode_libdir_flag_spec_ld \
79253 hardcode_libdir_separator \
79254 fix_srcfile_path \
79255 exclude_expsyms \
79256 include_expsyms \
79257 file_list_spec \
79258 variables_saved_for_relink \
79259 libname_spec \
79260 library_names_spec \
79261 soname_spec \
79262 install_override_mode \
79263 finish_eval \
79264 old_striplib \
79265 striplib \
79266 compiler_lib_search_dirs \
79267 predep_objects \
79268 postdep_objects \
79269 predeps \
79270 postdeps \
79271 compiler_lib_search_path \
79272 LD_CXX \
79273 reload_flag_CXX \
79274 compiler_CXX \
79275 lt_prog_compiler_no_builtin_flag_CXX \
79276 lt_prog_compiler_wl_CXX \
79277 lt_prog_compiler_pic_CXX \
79278 lt_prog_compiler_static_CXX \
79279 lt_cv_prog_compiler_c_o_CXX \
79280 export_dynamic_flag_spec_CXX \
79281 whole_archive_flag_spec_CXX \
79282 compiler_needs_object_CXX \
79283 with_gnu_ld_CXX \
79284 allow_undefined_flag_CXX \
79285 no_undefined_flag_CXX \
79286 hardcode_libdir_flag_spec_CXX \
79287 hardcode_libdir_flag_spec_ld_CXX \
79288 hardcode_libdir_separator_CXX \
79289 fix_srcfile_path_CXX \
79290 exclude_expsyms_CXX \
79291 include_expsyms_CXX \
79292 file_list_spec_CXX \
79293 compiler_lib_search_dirs_CXX \
79294 predep_objects_CXX \
79295 postdep_objects_CXX \
79296 predeps_CXX \
79297 postdeps_CXX \
79298 compiler_lib_search_path_CXX; do
79299 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79300 *[\\\\\\\`\\"\\\$]*)
79301 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79304 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79306 esac
79307 done
79309 # Double-quote double-evaled strings.
79310 for var in reload_cmds \
79311 old_postinstall_cmds \
79312 old_postuninstall_cmds \
79313 old_archive_cmds \
79314 extract_expsyms_cmds \
79315 old_archive_from_new_cmds \
79316 old_archive_from_expsyms_cmds \
79317 archive_cmds \
79318 archive_expsym_cmds \
79319 module_cmds \
79320 module_expsym_cmds \
79321 export_symbols_cmds \
79322 prelink_cmds \
79323 postinstall_cmds \
79324 postuninstall_cmds \
79325 finish_cmds \
79326 sys_lib_search_path_spec \
79327 sys_lib_dlsearch_path_spec \
79328 reload_cmds_CXX \
79329 old_archive_cmds_CXX \
79330 old_archive_from_new_cmds_CXX \
79331 old_archive_from_expsyms_cmds_CXX \
79332 archive_cmds_CXX \
79333 archive_expsym_cmds_CXX \
79334 module_cmds_CXX \
79335 module_expsym_cmds_CXX \
79336 export_symbols_cmds_CXX \
79337 prelink_cmds_CXX; do
79338 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79339 *[\\\\\\\`\\"\\\$]*)
79340 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79343 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79345 esac
79346 done
79348 ac_aux_dir='$ac_aux_dir'
79349 xsi_shell='$xsi_shell'
79350 lt_shell_append='$lt_shell_append'
79352 # See if we are running on zsh, and set the options which allow our
79353 # commands through without removal of \ escapes INIT.
79354 if test -n "\${ZSH_VERSION+set}" ; then
79355 setopt NO_GLOB_SUBST
79359 PACKAGE='$PACKAGE'
79360 VERSION='$VERSION'
79361 TIMESTAMP='$TIMESTAMP'
79362 RM='$RM'
79363 ofile='$ofile'
79370 GCC="$GCC"
79371 CC="$CC"
79372 acx_cv_header_stdint="$acx_cv_header_stdint"
79373 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79374 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79375 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79376 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79377 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79378 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79379 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79380 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79381 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79382 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79383 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79384 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79385 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79388 _ACEOF
79390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79392 # Handling of arguments.
79393 for ac_config_target in $ac_config_targets
79395 case $ac_config_target in
79396 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79397 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79398 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79399 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79400 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79401 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79402 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79403 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79404 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79405 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79406 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79407 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79408 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79409 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79410 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79411 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79412 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79413 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79414 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79415 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79416 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79418 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79419 esac
79420 done
79423 # If the user did not use the arguments to specify the items to instantiate,
79424 # then the envvar interface is used. Set only those that are not.
79425 # We use the long form for the default assignment because of an extremely
79426 # bizarre bug on SunOS 4.1.3.
79427 if $ac_need_defaults; then
79428 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79429 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79430 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79433 # Have a temporary directory for convenience. Make it in the build tree
79434 # simply because there is no reason against having it here, and in addition,
79435 # creating and moving files from /tmp can sometimes cause problems.
79436 # Hook for its removal unless debugging.
79437 # Note that there is a small window in which the directory will not be cleaned:
79438 # after its creation but before its name has been assigned to `$tmp'.
79439 $debug ||
79441 tmp= ac_tmp=
79442 trap 'exit_status=$?
79443 : "${ac_tmp:=$tmp}"
79444 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79446 trap 'as_fn_exit 1' 1 2 13 15
79448 # Create a (secure) tmp directory for tmp files.
79451 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79452 test -d "$tmp"
79453 } ||
79455 tmp=./conf$$-$RANDOM
79456 (umask 077 && mkdir "$tmp")
79457 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79458 ac_tmp=$tmp
79460 # Set up the scripts for CONFIG_FILES section.
79461 # No need to generate them if there are no CONFIG_FILES.
79462 # This happens for instance with `./config.status config.h'.
79463 if test -n "$CONFIG_FILES"; then
79466 ac_cr=`echo X | tr X '\015'`
79467 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79468 # But we know of no other shell where ac_cr would be empty at this
79469 # point, so we can use a bashism as a fallback.
79470 if test "x$ac_cr" = x; then
79471 eval ac_cr=\$\'\\r\'
79473 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79474 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79475 ac_cs_awk_cr='\\r'
79476 else
79477 ac_cs_awk_cr=$ac_cr
79480 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79481 _ACEOF
79485 echo "cat >conf$$subs.awk <<_ACEOF" &&
79486 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79487 echo "_ACEOF"
79488 } >conf$$subs.sh ||
79489 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79490 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79491 ac_delim='%!_!# '
79492 for ac_last_try in false false false false false :; do
79493 . ./conf$$subs.sh ||
79494 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79496 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79497 if test $ac_delim_n = $ac_delim_num; then
79498 break
79499 elif $ac_last_try; then
79500 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79501 else
79502 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79504 done
79505 rm -f conf$$subs.sh
79507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79508 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79509 _ACEOF
79510 sed -n '
79512 s/^/S["/; s/!.*/"]=/
79515 s/^[^!]*!//
79516 :repl
79517 t repl
79518 s/'"$ac_delim"'$//
79519 t delim
79522 s/\(.\{148\}\)..*/\1/
79523 t more1
79524 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79527 b repl
79528 :more1
79529 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79532 s/.\{148\}//
79533 t nl
79534 :delim
79536 s/\(.\{148\}\)..*/\1/
79537 t more2
79538 s/["\\]/\\&/g; s/^/"/; s/$/"/
79541 :more2
79542 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79545 s/.\{148\}//
79546 t delim
79547 ' <conf$$subs.awk | sed '
79548 /^[^""]/{
79550 s/\n//
79552 ' >>$CONFIG_STATUS || ac_write_fail=1
79553 rm -f conf$$subs.awk
79554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79555 _ACAWK
79556 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79557 for (key in S) S_is_set[key] = 1
79558 FS = "\a"
79562 line = $ 0
79563 nfields = split(line, field, "@")
79564 substed = 0
79565 len = length(field[1])
79566 for (i = 2; i < nfields; i++) {
79567 key = field[i]
79568 keylen = length(key)
79569 if (S_is_set[key]) {
79570 value = S[key]
79571 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79572 len += length(value) + length(field[++i])
79573 substed = 1
79574 } else
79575 len += 1 + keylen
79578 print line
79581 _ACAWK
79582 _ACEOF
79583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79584 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79585 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79586 else
79588 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79589 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79590 _ACEOF
79592 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79593 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79594 # trailing colons and then remove the whole line if VPATH becomes empty
79595 # (actually we leave an empty line to preserve line numbers).
79596 if test "x$srcdir" = x.; then
79597 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79599 s///
79600 s/^/:/
79601 s/[ ]*$/:/
79602 s/:\$(srcdir):/:/g
79603 s/:\${srcdir}:/:/g
79604 s/:@srcdir@:/:/g
79605 s/^:*//
79606 s/:*$//
79608 s/\(=[ ]*\).*/\1/
79610 s/\n//
79611 s/^[^=]*=[ ]*$//
79615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79616 fi # test -n "$CONFIG_FILES"
79618 # Set up the scripts for CONFIG_HEADERS section.
79619 # No need to generate them if there are no CONFIG_HEADERS.
79620 # This happens for instance with `./config.status Makefile'.
79621 if test -n "$CONFIG_HEADERS"; then
79622 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79623 BEGIN {
79624 _ACEOF
79626 # Transform confdefs.h into an awk script `defines.awk', embedded as
79627 # here-document in config.status, that substitutes the proper values into
79628 # config.h.in to produce config.h.
79630 # Create a delimiter string that does not exist in confdefs.h, to ease
79631 # handling of long lines.
79632 ac_delim='%!_!# '
79633 for ac_last_try in false false :; do
79634 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79635 if test -z "$ac_tt"; then
79636 break
79637 elif $ac_last_try; then
79638 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79639 else
79640 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79642 done
79644 # For the awk script, D is an array of macro values keyed by name,
79645 # likewise P contains macro parameters if any. Preserve backslash
79646 # newline sequences.
79648 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79649 sed -n '
79650 s/.\{148\}/&'"$ac_delim"'/g
79651 t rset
79652 :rset
79653 s/^[ ]*#[ ]*define[ ][ ]*/ /
79654 t def
79656 :def
79657 s/\\$//
79658 t bsnl
79659 s/["\\]/\\&/g
79660 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79661 D["\1"]=" \3"/p
79662 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79664 :bsnl
79665 s/["\\]/\\&/g
79666 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79667 D["\1"]=" \3\\\\\\n"\\/p
79668 t cont
79669 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79670 t cont
79672 :cont
79674 s/.\{148\}/&'"$ac_delim"'/g
79675 t clear
79676 :clear
79677 s/\\$//
79678 t bsnlc
79679 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79681 :bsnlc
79682 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79683 b cont
79684 ' <confdefs.h | sed '
79685 s/'"$ac_delim"'/"\\\
79686 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79689 for (key in D) D_is_set[key] = 1
79690 FS = "\a"
79692 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79693 line = \$ 0
79694 split(line, arg, " ")
79695 if (arg[1] == "#") {
79696 defundef = arg[2]
79697 mac1 = arg[3]
79698 } else {
79699 defundef = substr(arg[1], 2)
79700 mac1 = arg[2]
79702 split(mac1, mac2, "(") #)
79703 macro = mac2[1]
79704 prefix = substr(line, 1, index(line, defundef) - 1)
79705 if (D_is_set[macro]) {
79706 # Preserve the white space surrounding the "#".
79707 print prefix "define", macro P[macro] D[macro]
79708 next
79709 } else {
79710 # Replace #undef with comments. This is necessary, for example,
79711 # in the case of _POSIX_SOURCE, which is predefined and required
79712 # on some systems where configure will not decide to define it.
79713 if (defundef == "undef") {
79714 print "/*", prefix defundef, macro, "*/"
79715 next
79719 { print }
79720 _ACAWK
79721 _ACEOF
79722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79723 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79724 fi # test -n "$CONFIG_HEADERS"
79727 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79728 shift
79729 for ac_tag
79731 case $ac_tag in
79732 :[FHLC]) ac_mode=$ac_tag; continue;;
79733 esac
79734 case $ac_mode$ac_tag in
79735 :[FHL]*:*);;
79736 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79737 :[FH]-) ac_tag=-:-;;
79738 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79739 esac
79740 ac_save_IFS=$IFS
79741 IFS=:
79742 set x $ac_tag
79743 IFS=$ac_save_IFS
79744 shift
79745 ac_file=$1
79746 shift
79748 case $ac_mode in
79749 :L) ac_source=$1;;
79750 :[FH])
79751 ac_file_inputs=
79752 for ac_f
79754 case $ac_f in
79755 -) ac_f="$ac_tmp/stdin";;
79756 *) # Look for the file first in the build tree, then in the source tree
79757 # (if the path is not absolute). The absolute path cannot be DOS-style,
79758 # because $ac_f cannot contain `:'.
79759 test -f "$ac_f" ||
79760 case $ac_f in
79761 [\\/$]*) false;;
79762 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79763 esac ||
79764 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79765 esac
79766 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79767 as_fn_append ac_file_inputs " '$ac_f'"
79768 done
79770 # Let's still pretend it is `configure' which instantiates (i.e., don't
79771 # use $as_me), people would be surprised to read:
79772 # /* config.h. Generated by config.status. */
79773 configure_input='Generated from '`
79774 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79775 `' by configure.'
79776 if test x"$ac_file" != x-; then
79777 configure_input="$ac_file. $configure_input"
79778 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79779 $as_echo "$as_me: creating $ac_file" >&6;}
79781 # Neutralize special characters interpreted by sed in replacement strings.
79782 case $configure_input in #(
79783 *\&* | *\|* | *\\* )
79784 ac_sed_conf_input=`$as_echo "$configure_input" |
79785 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79786 *) ac_sed_conf_input=$configure_input;;
79787 esac
79789 case $ac_tag in
79790 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79792 esac
79794 esac
79796 ac_dir=`$as_dirname -- "$ac_file" ||
79797 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79798 X"$ac_file" : 'X\(//\)[^/]' \| \
79799 X"$ac_file" : 'X\(//\)$' \| \
79800 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79801 $as_echo X"$ac_file" |
79802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79803 s//\1/
79806 /^X\(\/\/\)[^/].*/{
79807 s//\1/
79810 /^X\(\/\/\)$/{
79811 s//\1/
79814 /^X\(\/\).*/{
79815 s//\1/
79818 s/.*/./; q'`
79819 as_dir="$ac_dir"; as_fn_mkdir_p
79820 ac_builddir=.
79822 case "$ac_dir" in
79823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79825 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79826 # A ".." for each directory in $ac_dir_suffix.
79827 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79828 case $ac_top_builddir_sub in
79829 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79830 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79831 esac ;;
79832 esac
79833 ac_abs_top_builddir=$ac_pwd
79834 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79835 # for backward compatibility:
79836 ac_top_builddir=$ac_top_build_prefix
79838 case $srcdir in
79839 .) # We are building in place.
79840 ac_srcdir=.
79841 ac_top_srcdir=$ac_top_builddir_sub
79842 ac_abs_top_srcdir=$ac_pwd ;;
79843 [\\/]* | ?:[\\/]* ) # Absolute name.
79844 ac_srcdir=$srcdir$ac_dir_suffix;
79845 ac_top_srcdir=$srcdir
79846 ac_abs_top_srcdir=$srcdir ;;
79847 *) # Relative name.
79848 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79849 ac_top_srcdir=$ac_top_build_prefix$srcdir
79850 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79851 esac
79852 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79855 case $ac_mode in
79858 # CONFIG_FILE
79861 case $INSTALL in
79862 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79863 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79864 esac
79865 ac_MKDIR_P=$MKDIR_P
79866 case $MKDIR_P in
79867 [\\/$]* | ?:[\\/]* ) ;;
79868 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79869 esac
79870 _ACEOF
79872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79873 # If the template does not know about datarootdir, expand it.
79874 # FIXME: This hack should be removed a few years after 2.60.
79875 ac_datarootdir_hack=; ac_datarootdir_seen=
79876 ac_sed_dataroot='
79877 /datarootdir/ {
79881 /@datadir@/p
79882 /@docdir@/p
79883 /@infodir@/p
79884 /@localedir@/p
79885 /@mandir@/p'
79886 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79887 *datarootdir*) ac_datarootdir_seen=yes;;
79888 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79890 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79891 _ACEOF
79892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79893 ac_datarootdir_hack='
79894 s&@datadir@&$datadir&g
79895 s&@docdir@&$docdir&g
79896 s&@infodir@&$infodir&g
79897 s&@localedir@&$localedir&g
79898 s&@mandir@&$mandir&g
79899 s&\\\${datarootdir}&$datarootdir&g' ;;
79900 esac
79901 _ACEOF
79903 # Neutralize VPATH when `$srcdir' = `.'.
79904 # Shell code in configure.ac might set extrasub.
79905 # FIXME: do we really want to maintain this feature?
79906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79907 ac_sed_extra="$ac_vpsub
79908 $extrasub
79909 _ACEOF
79910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79912 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79913 s|@configure_input@|$ac_sed_conf_input|;t t
79914 s&@top_builddir@&$ac_top_builddir_sub&;t t
79915 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79916 s&@srcdir@&$ac_srcdir&;t t
79917 s&@abs_srcdir@&$ac_abs_srcdir&;t t
79918 s&@top_srcdir@&$ac_top_srcdir&;t t
79919 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79920 s&@builddir@&$ac_builddir&;t t
79921 s&@abs_builddir@&$ac_abs_builddir&;t t
79922 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79923 s&@INSTALL@&$ac_INSTALL&;t t
79924 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79925 $ac_datarootdir_hack
79927 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79928 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79930 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79931 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79932 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
79933 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79935 which seems to be undefined. Please make sure it is defined" >&5
79936 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79937 which seems to be undefined. Please make sure it is defined" >&2;}
79939 rm -f "$ac_tmp/stdin"
79940 case $ac_file in
79941 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79942 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79943 esac \
79944 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79948 # CONFIG_HEADER
79950 if test x"$ac_file" != x-; then
79952 $as_echo "/* $configure_input */" \
79953 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79954 } >"$ac_tmp/config.h" \
79955 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79956 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79957 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79958 $as_echo "$as_me: $ac_file is unchanged" >&6;}
79959 else
79960 rm -f "$ac_file"
79961 mv "$ac_tmp/config.h" "$ac_file" \
79962 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79964 else
79965 $as_echo "/* $configure_input */" \
79966 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79967 || as_fn_error $? "could not create -" "$LINENO" 5
79969 # Compute "$ac_file"'s index in $config_headers.
79970 _am_arg="$ac_file"
79971 _am_stamp_count=1
79972 for _am_header in $config_headers :; do
79973 case $_am_header in
79974 $_am_arg | $_am_arg:* )
79975 break ;;
79977 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79978 esac
79979 done
79980 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79981 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79982 X"$_am_arg" : 'X\(//\)[^/]' \| \
79983 X"$_am_arg" : 'X\(//\)$' \| \
79984 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79985 $as_echo X"$_am_arg" |
79986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79987 s//\1/
79990 /^X\(\/\/\)[^/].*/{
79991 s//\1/
79994 /^X\(\/\/\)$/{
79995 s//\1/
79998 /^X\(\/\).*/{
79999 s//\1/
80002 s/.*/./; q'`/stamp-h$_am_stamp_count
80005 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80006 $as_echo "$as_me: executing $ac_file commands" >&6;}
80008 esac
80011 case $ac_file$ac_mode in
80012 "default-1":C)
80013 # Only add multilib support code if we just rebuilt the top-level
80014 # Makefile.
80015 case " $CONFIG_FILES " in
80016 *" Makefile "*)
80017 ac_file=Makefile . ${multi_basedir}/config-ml.in
80019 esac ;;
80020 "libtool":C)
80022 # See if we are running on zsh, and set the options which allow our
80023 # commands through without removal of \ escapes.
80024 if test -n "${ZSH_VERSION+set}" ; then
80025 setopt NO_GLOB_SUBST
80028 cfgfile="${ofile}T"
80029 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80030 $RM "$cfgfile"
80032 cat <<_LT_EOF >> "$cfgfile"
80033 #! $SHELL
80035 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80036 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80037 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80038 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80040 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80041 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80042 # Written by Gordon Matzigkeit, 1996
80044 # This file is part of GNU Libtool.
80046 # GNU Libtool is free software; you can redistribute it and/or
80047 # modify it under the terms of the GNU General Public License as
80048 # published by the Free Software Foundation; either version 2 of
80049 # the License, or (at your option) any later version.
80051 # As a special exception to the GNU General Public License,
80052 # if you distribute this file as part of a program or library that
80053 # is built using GNU Libtool, you may include this file under the
80054 # same distribution terms that you use for the rest of that program.
80056 # GNU Libtool is distributed in the hope that it will be useful,
80057 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80058 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80059 # GNU General Public License for more details.
80061 # You should have received a copy of the GNU General Public License
80062 # along with GNU Libtool; see the file COPYING. If not, a copy
80063 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80064 # obtained by writing to the Free Software Foundation, Inc.,
80065 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80068 # The names of the tagged configurations supported by this script.
80069 available_tags="CXX "
80071 # ### BEGIN LIBTOOL CONFIG
80073 # Which release of libtool.m4 was used?
80074 macro_version=$macro_version
80075 macro_revision=$macro_revision
80077 # Whether or not to build shared libraries.
80078 build_libtool_libs=$enable_shared
80080 # Whether or not to build static libraries.
80081 build_old_libs=$enable_static
80083 # What type of objects to build.
80084 pic_mode=$pic_mode
80086 # Whether or not to optimize for fast installation.
80087 fast_install=$enable_fast_install
80089 # Shell to use when invoking shell scripts.
80090 SHELL=$lt_SHELL
80092 # An echo program that protects backslashes.
80093 ECHO=$lt_ECHO
80095 # The host system.
80096 host_alias=$host_alias
80097 host=$host
80098 host_os=$host_os
80100 # The build system.
80101 build_alias=$build_alias
80102 build=$build
80103 build_os=$build_os
80105 # A sed program that does not truncate output.
80106 SED=$lt_SED
80108 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80109 Xsed="\$SED -e 1s/^X//"
80111 # A grep program that handles long lines.
80112 GREP=$lt_GREP
80114 # An ERE matcher.
80115 EGREP=$lt_EGREP
80117 # A literal string matcher.
80118 FGREP=$lt_FGREP
80120 # A BSD- or MS-compatible name lister.
80121 NM=$lt_NM
80123 # Whether we need soft or hard links.
80124 LN_S=$lt_LN_S
80126 # What is the maximum length of a command?
80127 max_cmd_len=$max_cmd_len
80129 # Object file suffix (normally "o").
80130 objext=$ac_objext
80132 # Executable file suffix (normally "").
80133 exeext=$exeext
80135 # whether the shell understands "unset".
80136 lt_unset=$lt_unset
80138 # turn spaces into newlines.
80139 SP2NL=$lt_lt_SP2NL
80141 # turn newlines into spaces.
80142 NL2SP=$lt_lt_NL2SP
80144 # An object symbol dumper.
80145 OBJDUMP=$lt_OBJDUMP
80147 # Method to check whether dependent libraries are shared objects.
80148 deplibs_check_method=$lt_deplibs_check_method
80150 # Command to use when deplibs_check_method == "file_magic".
80151 file_magic_cmd=$lt_file_magic_cmd
80153 # The archiver.
80154 AR=$lt_AR
80155 AR_FLAGS=$lt_AR_FLAGS
80157 # A symbol stripping program.
80158 STRIP=$lt_STRIP
80160 # Commands used to install an old-style archive.
80161 RANLIB=$lt_RANLIB
80162 old_postinstall_cmds=$lt_old_postinstall_cmds
80163 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80165 # Whether to use a lock for old archive extraction.
80166 lock_old_archive_extraction=$lock_old_archive_extraction
80168 # A C compiler.
80169 LTCC=$lt_CC
80171 # LTCC compiler flags.
80172 LTCFLAGS=$lt_CFLAGS
80174 # Take the output of nm and produce a listing of raw symbols and C names.
80175 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80177 # Transform the output of nm in a proper C declaration.
80178 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80180 # Transform the output of nm in a C name address pair.
80181 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80183 # Transform the output of nm in a C name address pair when lib prefix is needed.
80184 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80186 # The name of the directory that contains temporary libtool files.
80187 objdir=$objdir
80189 # Used to examine libraries when file_magic_cmd begins with "file".
80190 MAGIC_CMD=$MAGIC_CMD
80192 # Must we lock files when doing compilation?
80193 need_locks=$lt_need_locks
80195 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80196 DSYMUTIL=$lt_DSYMUTIL
80198 # Tool to change global to local symbols on Mac OS X.
80199 NMEDIT=$lt_NMEDIT
80201 # Tool to manipulate fat objects and archives on Mac OS X.
80202 LIPO=$lt_LIPO
80204 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80205 OTOOL=$lt_OTOOL
80207 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80208 OTOOL64=$lt_OTOOL64
80210 # Old archive suffix (normally "a").
80211 libext=$libext
80213 # Shared library suffix (normally ".so").
80214 shrext_cmds=$lt_shrext_cmds
80216 # The commands to extract the exported symbol list from a shared archive.
80217 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80219 # Variables whose values should be saved in libtool wrapper scripts and
80220 # restored at link time.
80221 variables_saved_for_relink=$lt_variables_saved_for_relink
80223 # Do we need the "lib" prefix for modules?
80224 need_lib_prefix=$need_lib_prefix
80226 # Do we need a version for libraries?
80227 need_version=$need_version
80229 # Library versioning type.
80230 version_type=$version_type
80232 # Shared library runtime path variable.
80233 runpath_var=$runpath_var
80235 # Shared library path variable.
80236 shlibpath_var=$shlibpath_var
80238 # Is shlibpath searched before the hard-coded library search path?
80239 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80241 # Format of library name prefix.
80242 libname_spec=$lt_libname_spec
80244 # List of archive names. First name is the real one, the rest are links.
80245 # The last name is the one that the linker finds with -lNAME
80246 library_names_spec=$lt_library_names_spec
80248 # The coded name of the library, if different from the real name.
80249 soname_spec=$lt_soname_spec
80251 # Permission mode override for installation of shared libraries.
80252 install_override_mode=$lt_install_override_mode
80254 # Command to use after installation of a shared archive.
80255 postinstall_cmds=$lt_postinstall_cmds
80257 # Command to use after uninstallation of a shared archive.
80258 postuninstall_cmds=$lt_postuninstall_cmds
80260 # Commands used to finish a libtool library installation in a directory.
80261 finish_cmds=$lt_finish_cmds
80263 # As "finish_cmds", except a single script fragment to be evaled but
80264 # not shown.
80265 finish_eval=$lt_finish_eval
80267 # Whether we should hardcode library paths into libraries.
80268 hardcode_into_libs=$hardcode_into_libs
80270 # Compile-time system search path for libraries.
80271 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80273 # Run-time system search path for libraries.
80274 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80276 # Whether dlopen is supported.
80277 dlopen_support=$enable_dlopen
80279 # Whether dlopen of programs is supported.
80280 dlopen_self=$enable_dlopen_self
80282 # Whether dlopen of statically linked programs is supported.
80283 dlopen_self_static=$enable_dlopen_self_static
80285 # Commands to strip libraries.
80286 old_striplib=$lt_old_striplib
80287 striplib=$lt_striplib
80290 # The linker used to build libraries.
80291 LD=$lt_LD
80293 # How to create reloadable object files.
80294 reload_flag=$lt_reload_flag
80295 reload_cmds=$lt_reload_cmds
80297 # Commands used to build an old-style archive.
80298 old_archive_cmds=$lt_old_archive_cmds
80300 # A language specific compiler.
80301 CC=$lt_compiler
80303 # Is the compiler the GNU compiler?
80304 with_gcc=$GCC
80306 # Compiler flag to turn off builtin functions.
80307 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80309 # How to pass a linker flag through the compiler.
80310 wl=$lt_lt_prog_compiler_wl
80312 # Additional compiler flags for building library objects.
80313 pic_flag=$lt_lt_prog_compiler_pic
80315 # Compiler flag to prevent dynamic linking.
80316 link_static_flag=$lt_lt_prog_compiler_static
80318 # Does compiler simultaneously support -c and -o options?
80319 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80321 # Whether or not to add -lc for building shared libraries.
80322 build_libtool_need_lc=$archive_cmds_need_lc
80324 # Whether or not to disallow shared libs when runtime libs are static.
80325 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80327 # Compiler flag to allow reflexive dlopens.
80328 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80330 # Compiler flag to generate shared objects directly from archives.
80331 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80333 # Whether the compiler copes with passing no objects directly.
80334 compiler_needs_object=$lt_compiler_needs_object
80336 # Create an old-style archive from a shared archive.
80337 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80339 # Create a temporary old-style archive to link instead of a shared archive.
80340 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80342 # Commands used to build a shared archive.
80343 archive_cmds=$lt_archive_cmds
80344 archive_expsym_cmds=$lt_archive_expsym_cmds
80346 # Commands used to build a loadable module if different from building
80347 # a shared archive.
80348 module_cmds=$lt_module_cmds
80349 module_expsym_cmds=$lt_module_expsym_cmds
80351 # Whether we are building with GNU ld or not.
80352 with_gnu_ld=$lt_with_gnu_ld
80354 # Flag that allows shared libraries with undefined symbols to be built.
80355 allow_undefined_flag=$lt_allow_undefined_flag
80357 # Flag that enforces no undefined symbols.
80358 no_undefined_flag=$lt_no_undefined_flag
80360 # Flag to hardcode \$libdir into a binary during linking.
80361 # This must work even if \$libdir does not exist
80362 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80364 # If ld is used when linking, flag to hardcode \$libdir into a binary
80365 # during linking. This must work even if \$libdir does not exist.
80366 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80368 # Whether we need a single "-rpath" flag with a separated argument.
80369 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80371 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80372 # DIR into the resulting binary.
80373 hardcode_direct=$hardcode_direct
80375 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80376 # DIR into the resulting binary and the resulting library dependency is
80377 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80378 # library is relocated.
80379 hardcode_direct_absolute=$hardcode_direct_absolute
80381 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80382 # into the resulting binary.
80383 hardcode_minus_L=$hardcode_minus_L
80385 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80386 # into the resulting binary.
80387 hardcode_shlibpath_var=$hardcode_shlibpath_var
80389 # Set to "yes" if building a shared library automatically hardcodes DIR
80390 # into the library and all subsequent libraries and executables linked
80391 # against it.
80392 hardcode_automatic=$hardcode_automatic
80394 # Set to yes if linker adds runtime paths of dependent libraries
80395 # to runtime path list.
80396 inherit_rpath=$inherit_rpath
80398 # Whether libtool must link a program against all its dependency libraries.
80399 link_all_deplibs=$link_all_deplibs
80401 # Fix the shell variable \$srcfile for the compiler.
80402 fix_srcfile_path=$lt_fix_srcfile_path
80404 # Set to "yes" if exported symbols are required.
80405 always_export_symbols=$always_export_symbols
80407 # The commands to list exported symbols.
80408 export_symbols_cmds=$lt_export_symbols_cmds
80410 # Symbols that should not be listed in the preloaded symbols.
80411 exclude_expsyms=$lt_exclude_expsyms
80413 # Symbols that must always be exported.
80414 include_expsyms=$lt_include_expsyms
80416 # Commands necessary for linking programs (against libraries) with templates.
80417 prelink_cmds=$lt_prelink_cmds
80419 # Specify filename containing input files.
80420 file_list_spec=$lt_file_list_spec
80422 # How to hardcode a shared library path into an executable.
80423 hardcode_action=$hardcode_action
80425 # The directories searched by this compiler when creating a shared library.
80426 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80428 # Dependencies to place before and after the objects being linked to
80429 # create a shared library.
80430 predep_objects=$lt_predep_objects
80431 postdep_objects=$lt_postdep_objects
80432 predeps=$lt_predeps
80433 postdeps=$lt_postdeps
80435 # The library search path used internally by the compiler when linking
80436 # a shared library.
80437 compiler_lib_search_path=$lt_compiler_lib_search_path
80439 # ### END LIBTOOL CONFIG
80441 _LT_EOF
80443 case $host_os in
80444 aix3*)
80445 cat <<\_LT_EOF >> "$cfgfile"
80446 # AIX sometimes has problems with the GCC collect2 program. For some
80447 # reason, if we set the COLLECT_NAMES environment variable, the problems
80448 # vanish in a puff of smoke.
80449 if test "X${COLLECT_NAMES+set}" != Xset; then
80450 COLLECT_NAMES=
80451 export COLLECT_NAMES
80453 _LT_EOF
80455 esac
80458 ltmain="$ac_aux_dir/ltmain.sh"
80461 # We use sed instead of cat because bash on DJGPP gets confused if
80462 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80463 # text mode, it properly converts lines to CR/LF. This bash problem
80464 # is reportedly fixed, but why not run on old versions too?
80465 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80466 || (rm -f "$cfgfile"; exit 1)
80468 case $xsi_shell in
80469 yes)
80470 cat << \_LT_EOF >> "$cfgfile"
80472 # func_dirname file append nondir_replacement
80473 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80474 # otherwise set result to NONDIR_REPLACEMENT.
80475 func_dirname ()
80477 case ${1} in
80478 */*) func_dirname_result="${1%/*}${2}" ;;
80479 * ) func_dirname_result="${3}" ;;
80480 esac
80483 # func_basename file
80484 func_basename ()
80486 func_basename_result="${1##*/}"
80489 # func_dirname_and_basename file append nondir_replacement
80490 # perform func_basename and func_dirname in a single function
80491 # call:
80492 # dirname: Compute the dirname of FILE. If nonempty,
80493 # add APPEND to the result, otherwise set result
80494 # to NONDIR_REPLACEMENT.
80495 # value returned in "$func_dirname_result"
80496 # basename: Compute filename of FILE.
80497 # value retuned in "$func_basename_result"
80498 # Implementation must be kept synchronized with func_dirname
80499 # and func_basename. For efficiency, we do not delegate to
80500 # those functions but instead duplicate the functionality here.
80501 func_dirname_and_basename ()
80503 case ${1} in
80504 */*) func_dirname_result="${1%/*}${2}" ;;
80505 * ) func_dirname_result="${3}" ;;
80506 esac
80507 func_basename_result="${1##*/}"
80510 # func_stripname prefix suffix name
80511 # strip PREFIX and SUFFIX off of NAME.
80512 # PREFIX and SUFFIX must not contain globbing or regex special
80513 # characters, hashes, percent signs, but SUFFIX may contain a leading
80514 # dot (in which case that matches only a dot).
80515 func_stripname ()
80517 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80518 # positional parameters, so assign one to ordinary parameter first.
80519 func_stripname_result=${3}
80520 func_stripname_result=${func_stripname_result#"${1}"}
80521 func_stripname_result=${func_stripname_result%"${2}"}
80524 # func_opt_split
80525 func_opt_split ()
80527 func_opt_split_opt=${1%%=*}
80528 func_opt_split_arg=${1#*=}
80531 # func_lo2o object
80532 func_lo2o ()
80534 case ${1} in
80535 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80536 *) func_lo2o_result=${1} ;;
80537 esac
80540 # func_xform libobj-or-source
80541 func_xform ()
80543 func_xform_result=${1%.*}.lo
80546 # func_arith arithmetic-term...
80547 func_arith ()
80549 func_arith_result=$(( $* ))
80552 # func_len string
80553 # STRING may not start with a hyphen.
80554 func_len ()
80556 func_len_result=${#1}
80559 _LT_EOF
80561 *) # Bourne compatible functions.
80562 cat << \_LT_EOF >> "$cfgfile"
80564 # func_dirname file append nondir_replacement
80565 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80566 # otherwise set result to NONDIR_REPLACEMENT.
80567 func_dirname ()
80569 # Extract subdirectory from the argument.
80570 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80571 if test "X$func_dirname_result" = "X${1}"; then
80572 func_dirname_result="${3}"
80573 else
80574 func_dirname_result="$func_dirname_result${2}"
80578 # func_basename file
80579 func_basename ()
80581 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80585 # func_stripname prefix suffix name
80586 # strip PREFIX and SUFFIX off of NAME.
80587 # PREFIX and SUFFIX must not contain globbing or regex special
80588 # characters, hashes, percent signs, but SUFFIX may contain a leading
80589 # dot (in which case that matches only a dot).
80590 # func_strip_suffix prefix name
80591 func_stripname ()
80593 case ${2} in
80594 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80595 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80596 esac
80599 # sed scripts:
80600 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80601 my_sed_long_arg='1s/^-[^=]*=//'
80603 # func_opt_split
80604 func_opt_split ()
80606 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80607 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80610 # func_lo2o object
80611 func_lo2o ()
80613 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80616 # func_xform libobj-or-source
80617 func_xform ()
80619 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80622 # func_arith arithmetic-term...
80623 func_arith ()
80625 func_arith_result=`expr "$@"`
80628 # func_len string
80629 # STRING may not start with a hyphen.
80630 func_len ()
80632 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80635 _LT_EOF
80636 esac
80638 case $lt_shell_append in
80639 yes)
80640 cat << \_LT_EOF >> "$cfgfile"
80642 # func_append var value
80643 # Append VALUE to the end of shell variable VAR.
80644 func_append ()
80646 eval "$1+=\$2"
80648 _LT_EOF
80651 cat << \_LT_EOF >> "$cfgfile"
80653 # func_append var value
80654 # Append VALUE to the end of shell variable VAR.
80655 func_append ()
80657 eval "$1=\$$1\$2"
80660 _LT_EOF
80662 esac
80665 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80666 || (rm -f "$cfgfile"; exit 1)
80668 mv -f "$cfgfile" "$ofile" ||
80669 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80670 chmod +x "$ofile"
80673 cat <<_LT_EOF >> "$ofile"
80675 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80677 # The linker used to build libraries.
80678 LD=$lt_LD_CXX
80680 # How to create reloadable object files.
80681 reload_flag=$lt_reload_flag_CXX
80682 reload_cmds=$lt_reload_cmds_CXX
80684 # Commands used to build an old-style archive.
80685 old_archive_cmds=$lt_old_archive_cmds_CXX
80687 # A language specific compiler.
80688 CC=$lt_compiler_CXX
80690 # Is the compiler the GNU compiler?
80691 with_gcc=$GCC_CXX
80693 # Compiler flag to turn off builtin functions.
80694 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80696 # How to pass a linker flag through the compiler.
80697 wl=$lt_lt_prog_compiler_wl_CXX
80699 # Additional compiler flags for building library objects.
80700 pic_flag=$lt_lt_prog_compiler_pic_CXX
80702 # Compiler flag to prevent dynamic linking.
80703 link_static_flag=$lt_lt_prog_compiler_static_CXX
80705 # Does compiler simultaneously support -c and -o options?
80706 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80708 # Whether or not to add -lc for building shared libraries.
80709 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80711 # Whether or not to disallow shared libs when runtime libs are static.
80712 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80714 # Compiler flag to allow reflexive dlopens.
80715 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80717 # Compiler flag to generate shared objects directly from archives.
80718 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80720 # Whether the compiler copes with passing no objects directly.
80721 compiler_needs_object=$lt_compiler_needs_object_CXX
80723 # Create an old-style archive from a shared archive.
80724 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80726 # Create a temporary old-style archive to link instead of a shared archive.
80727 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80729 # Commands used to build a shared archive.
80730 archive_cmds=$lt_archive_cmds_CXX
80731 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80733 # Commands used to build a loadable module if different from building
80734 # a shared archive.
80735 module_cmds=$lt_module_cmds_CXX
80736 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80738 # Whether we are building with GNU ld or not.
80739 with_gnu_ld=$lt_with_gnu_ld_CXX
80741 # Flag that allows shared libraries with undefined symbols to be built.
80742 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80744 # Flag that enforces no undefined symbols.
80745 no_undefined_flag=$lt_no_undefined_flag_CXX
80747 # Flag to hardcode \$libdir into a binary during linking.
80748 # This must work even if \$libdir does not exist
80749 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80751 # If ld is used when linking, flag to hardcode \$libdir into a binary
80752 # during linking. This must work even if \$libdir does not exist.
80753 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80755 # Whether we need a single "-rpath" flag with a separated argument.
80756 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80758 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80759 # DIR into the resulting binary.
80760 hardcode_direct=$hardcode_direct_CXX
80762 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80763 # DIR into the resulting binary and the resulting library dependency is
80764 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80765 # library is relocated.
80766 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80768 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80769 # into the resulting binary.
80770 hardcode_minus_L=$hardcode_minus_L_CXX
80772 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80773 # into the resulting binary.
80774 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80776 # Set to "yes" if building a shared library automatically hardcodes DIR
80777 # into the library and all subsequent libraries and executables linked
80778 # against it.
80779 hardcode_automatic=$hardcode_automatic_CXX
80781 # Set to yes if linker adds runtime paths of dependent libraries
80782 # to runtime path list.
80783 inherit_rpath=$inherit_rpath_CXX
80785 # Whether libtool must link a program against all its dependency libraries.
80786 link_all_deplibs=$link_all_deplibs_CXX
80788 # Fix the shell variable \$srcfile for the compiler.
80789 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80791 # Set to "yes" if exported symbols are required.
80792 always_export_symbols=$always_export_symbols_CXX
80794 # The commands to list exported symbols.
80795 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80797 # Symbols that should not be listed in the preloaded symbols.
80798 exclude_expsyms=$lt_exclude_expsyms_CXX
80800 # Symbols that must always be exported.
80801 include_expsyms=$lt_include_expsyms_CXX
80803 # Commands necessary for linking programs (against libraries) with templates.
80804 prelink_cmds=$lt_prelink_cmds_CXX
80806 # Specify filename containing input files.
80807 file_list_spec=$lt_file_list_spec_CXX
80809 # How to hardcode a shared library path into an executable.
80810 hardcode_action=$hardcode_action_CXX
80812 # The directories searched by this compiler when creating a shared library.
80813 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80815 # Dependencies to place before and after the objects being linked to
80816 # create a shared library.
80817 predep_objects=$lt_predep_objects_CXX
80818 postdep_objects=$lt_postdep_objects_CXX
80819 predeps=$lt_predeps_CXX
80820 postdeps=$lt_postdeps_CXX
80822 # The library search path used internally by the compiler when linking
80823 # a shared library.
80824 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80826 # ### END LIBTOOL TAG CONFIG: CXX
80827 _LT_EOF
80830 "include/gstdint.h":C)
80831 if test "$GCC" = yes; then
80832 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80833 else
80834 echo "/* generated for $CC */" > tmp-stdint.h
80837 sed 's/^ *//' >> tmp-stdint.h <<EOF
80839 #ifndef GCC_GENERATED_STDINT_H
80840 #define GCC_GENERATED_STDINT_H 1
80842 #include <sys/types.h>
80845 if test "$acx_cv_header_stdint" != stdint.h; then
80846 echo "#include <stddef.h>" >> tmp-stdint.h
80848 if test "$acx_cv_header_stdint" != stddef.h; then
80849 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80852 sed 's/^ *//' >> tmp-stdint.h <<EOF
80853 /* glibc uses these symbols as guards to prevent redefinitions. */
80854 #ifdef __int8_t_defined
80855 #define _INT8_T
80856 #define _INT16_T
80857 #define _INT32_T
80858 #endif
80859 #ifdef __uint32_t_defined
80860 #define _UINT32_T
80861 #endif
80865 # ----------------- done header, emit basic int types -------------
80866 if test "$acx_cv_header_stdint" = stddef.h; then
80867 sed 's/^ *//' >> tmp-stdint.h <<EOF
80869 #ifndef _UINT8_T
80870 #define _UINT8_T
80871 #ifndef __uint8_t_defined
80872 #define __uint8_t_defined
80873 #ifndef uint8_t
80874 typedef unsigned $acx_cv_type_int8_t uint8_t;
80875 #endif
80876 #endif
80877 #endif
80879 #ifndef _UINT16_T
80880 #define _UINT16_T
80881 #ifndef __uint16_t_defined
80882 #define __uint16_t_defined
80883 #ifndef uint16_t
80884 typedef unsigned $acx_cv_type_int16_t uint16_t;
80885 #endif
80886 #endif
80887 #endif
80889 #ifndef _UINT32_T
80890 #define _UINT32_T
80891 #ifndef __uint32_t_defined
80892 #define __uint32_t_defined
80893 #ifndef uint32_t
80894 typedef unsigned $acx_cv_type_int32_t uint32_t;
80895 #endif
80896 #endif
80897 #endif
80899 #ifndef _INT8_T
80900 #define _INT8_T
80901 #ifndef __int8_t_defined
80902 #define __int8_t_defined
80903 #ifndef int8_t
80904 typedef $acx_cv_type_int8_t int8_t;
80905 #endif
80906 #endif
80907 #endif
80909 #ifndef _INT16_T
80910 #define _INT16_T
80911 #ifndef __int16_t_defined
80912 #define __int16_t_defined
80913 #ifndef int16_t
80914 typedef $acx_cv_type_int16_t int16_t;
80915 #endif
80916 #endif
80917 #endif
80919 #ifndef _INT32_T
80920 #define _INT32_T
80921 #ifndef __int32_t_defined
80922 #define __int32_t_defined
80923 #ifndef int32_t
80924 typedef $acx_cv_type_int32_t int32_t;
80925 #endif
80926 #endif
80927 #endif
80929 elif test "$ac_cv_type_u_int32_t" = yes; then
80930 sed 's/^ *//' >> tmp-stdint.h <<EOF
80932 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80933 #ifndef _INT8_T
80934 #define _INT8_T
80935 #endif
80936 #ifndef _INT16_T
80937 #define _INT16_T
80938 #endif
80939 #ifndef _INT32_T
80940 #define _INT32_T
80941 #endif
80943 #ifndef _UINT8_T
80944 #define _UINT8_T
80945 #ifndef __uint8_t_defined
80946 #define __uint8_t_defined
80947 #ifndef uint8_t
80948 typedef u_int8_t uint8_t;
80949 #endif
80950 #endif
80951 #endif
80953 #ifndef _UINT16_T
80954 #define _UINT16_T
80955 #ifndef __uint16_t_defined
80956 #define __uint16_t_defined
80957 #ifndef uint16_t
80958 typedef u_int16_t uint16_t;
80959 #endif
80960 #endif
80961 #endif
80963 #ifndef _UINT32_T
80964 #define _UINT32_T
80965 #ifndef __uint32_t_defined
80966 #define __uint32_t_defined
80967 #ifndef uint32_t
80968 typedef u_int32_t uint32_t;
80969 #endif
80970 #endif
80971 #endif
80973 else
80974 sed 's/^ *//' >> tmp-stdint.h <<EOF
80976 /* Some systems have guard macros to prevent redefinitions, define them. */
80977 #ifndef _INT8_T
80978 #define _INT8_T
80979 #endif
80980 #ifndef _INT16_T
80981 #define _INT16_T
80982 #endif
80983 #ifndef _INT32_T
80984 #define _INT32_T
80985 #endif
80986 #ifndef _UINT8_T
80987 #define _UINT8_T
80988 #endif
80989 #ifndef _UINT16_T
80990 #define _UINT16_T
80991 #endif
80992 #ifndef _UINT32_T
80993 #define _UINT32_T
80994 #endif
80998 # ------------- done basic int types, emit int64_t types ------------
80999 if test "$ac_cv_type_uint64_t" = yes; then
81000 sed 's/^ *//' >> tmp-stdint.h <<EOF
81002 /* system headers have good uint64_t and int64_t */
81003 #ifndef _INT64_T
81004 #define _INT64_T
81005 #endif
81006 #ifndef _UINT64_T
81007 #define _UINT64_T
81008 #endif
81010 elif test "$ac_cv_type_u_int64_t" = yes; then
81011 sed 's/^ *//' >> tmp-stdint.h <<EOF
81013 /* system headers have an u_int64_t (and int64_t) */
81014 #ifndef _INT64_T
81015 #define _INT64_T
81016 #endif
81017 #ifndef _UINT64_T
81018 #define _UINT64_T
81019 #ifndef __uint64_t_defined
81020 #define __uint64_t_defined
81021 #ifndef uint64_t
81022 typedef u_int64_t uint64_t;
81023 #endif
81024 #endif
81025 #endif
81027 elif test -n "$acx_cv_type_int64_t"; then
81028 sed 's/^ *//' >> tmp-stdint.h <<EOF
81030 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81031 #ifndef _INT64_T
81032 #define _INT64_T
81033 #ifndef int64_t
81034 typedef $acx_cv_type_int64_t int64_t;
81035 #endif
81036 #endif
81037 #ifndef _UINT64_T
81038 #define _UINT64_T
81039 #ifndef __uint64_t_defined
81040 #define __uint64_t_defined
81041 #ifndef uint64_t
81042 typedef unsigned $acx_cv_type_int64_t uint64_t;
81043 #endif
81044 #endif
81045 #endif
81047 else
81048 sed 's/^ *//' >> tmp-stdint.h <<EOF
81050 /* some common heuristics for int64_t, using compiler-specific tests */
81051 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81052 #ifndef _INT64_T
81053 #define _INT64_T
81054 #ifndef __int64_t_defined
81055 #ifndef int64_t
81056 typedef long long int64_t;
81057 #endif
81058 #endif
81059 #endif
81060 #ifndef _UINT64_T
81061 #define _UINT64_T
81062 #ifndef uint64_t
81063 typedef unsigned long long uint64_t;
81064 #endif
81065 #endif
81067 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81068 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81069 does not implement __extension__. But that compiler doesn't define
81070 __GNUC_MINOR__. */
81071 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81072 # define __extension__
81073 # endif
81075 # ifndef _INT64_T
81076 # define _INT64_T
81077 # ifndef int64_t
81078 __extension__ typedef long long int64_t;
81079 # endif
81080 # endif
81081 # ifndef _UINT64_T
81082 # define _UINT64_T
81083 # ifndef uint64_t
81084 __extension__ typedef unsigned long long uint64_t;
81085 # endif
81086 # endif
81088 #elif !defined __STRICT_ANSI__
81089 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81091 # ifndef _INT64_T
81092 # define _INT64_T
81093 # ifndef int64_t
81094 typedef __int64 int64_t;
81095 # endif
81096 # endif
81097 # ifndef _UINT64_T
81098 # define _UINT64_T
81099 # ifndef uint64_t
81100 typedef unsigned __int64 uint64_t;
81101 # endif
81102 # endif
81103 # endif /* compiler */
81105 #endif /* ANSI version */
81109 # ------------- done int64_t types, emit intptr types ------------
81110 if test "$ac_cv_type_uintptr_t" != yes; then
81111 sed 's/^ *//' >> tmp-stdint.h <<EOF
81113 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81114 #ifndef __uintptr_t_defined
81115 #ifndef uintptr_t
81116 typedef u$acx_cv_type_intptr_t uintptr_t;
81117 #endif
81118 #endif
81119 #ifndef __intptr_t_defined
81120 #ifndef intptr_t
81121 typedef $acx_cv_type_intptr_t intptr_t;
81122 #endif
81123 #endif
81127 # ------------- done intptr types, emit int_least types ------------
81128 if test "$ac_cv_type_int_least32_t" != yes; then
81129 sed 's/^ *//' >> tmp-stdint.h <<EOF
81131 /* Define int_least types */
81132 typedef int8_t int_least8_t;
81133 typedef int16_t int_least16_t;
81134 typedef int32_t int_least32_t;
81135 #ifdef _INT64_T
81136 typedef int64_t int_least64_t;
81137 #endif
81139 typedef uint8_t uint_least8_t;
81140 typedef uint16_t uint_least16_t;
81141 typedef uint32_t uint_least32_t;
81142 #ifdef _UINT64_T
81143 typedef uint64_t uint_least64_t;
81144 #endif
81148 # ------------- done intptr types, emit int_fast types ------------
81149 if test "$ac_cv_type_int_fast32_t" != yes; then
81150 sed 's/^ *//' >> tmp-stdint.h <<EOF
81152 /* Define int_fast types. short is often slow */
81153 typedef int8_t int_fast8_t;
81154 typedef int int_fast16_t;
81155 typedef int32_t int_fast32_t;
81156 #ifdef _INT64_T
81157 typedef int64_t int_fast64_t;
81158 #endif
81160 typedef uint8_t uint_fast8_t;
81161 typedef unsigned int uint_fast16_t;
81162 typedef uint32_t uint_fast32_t;
81163 #ifdef _UINT64_T
81164 typedef uint64_t uint_fast64_t;
81165 #endif
81169 if test "$ac_cv_type_uintmax_t" != yes; then
81170 sed 's/^ *//' >> tmp-stdint.h <<EOF
81172 /* Define intmax based on what we found */
81173 #ifndef intmax_t
81174 #ifdef _INT64_T
81175 typedef int64_t intmax_t;
81176 #else
81177 typedef long intmax_t;
81178 #endif
81179 #endif
81180 #ifndef uintmax_t
81181 #ifdef _UINT64_T
81182 typedef uint64_t uintmax_t;
81183 #else
81184 typedef unsigned long uintmax_t;
81185 #endif
81186 #endif
81190 sed 's/^ *//' >> tmp-stdint.h <<EOF
81192 #endif /* GCC_GENERATED_STDINT_H */
81195 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81196 rm -f tmp-stdint.h
81197 else
81198 mv -f tmp-stdint.h include/gstdint.h
81202 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81203 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81204 "include/Makefile":F) cat > vpsed$$ << \_EOF
81205 s!`test -f '$<' || echo '$(srcdir)/'`!!
81206 _EOF
81207 sed -f vpsed$$ $ac_file > tmp$$
81208 mv tmp$$ $ac_file
81209 rm vpsed$$
81210 echo 'MULTISUBDIR =' >> $ac_file
81211 ml_norecursion=yes
81212 . ${multi_basedir}/config-ml.in
81213 { ml_norecursion=; unset ml_norecursion;}
81215 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81216 s!`test -f '$<' || echo '$(srcdir)/'`!!
81217 _EOF
81218 sed -f vpsed$$ $ac_file > tmp$$
81219 mv tmp$$ $ac_file
81220 rm vpsed$$
81221 echo 'MULTISUBDIR =' >> $ac_file
81222 ml_norecursion=yes
81223 . ${multi_basedir}/config-ml.in
81224 { ml_norecursion=; unset ml_norecursion;}
81226 "src/Makefile":F) cat > vpsed$$ << \_EOF
81227 s!`test -f '$<' || echo '$(srcdir)/'`!!
81228 _EOF
81229 sed -f vpsed$$ $ac_file > tmp$$
81230 mv tmp$$ $ac_file
81231 rm vpsed$$
81232 echo 'MULTISUBDIR =' >> $ac_file
81233 ml_norecursion=yes
81234 . ${multi_basedir}/config-ml.in
81235 { ml_norecursion=; unset ml_norecursion;}
81237 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81238 s!`test -f '$<' || echo '$(srcdir)/'`!!
81239 _EOF
81240 sed -f vpsed$$ $ac_file > tmp$$
81241 mv tmp$$ $ac_file
81242 rm vpsed$$
81243 echo 'MULTISUBDIR =' >> $ac_file
81244 ml_norecursion=yes
81245 . ${multi_basedir}/config-ml.in
81246 { ml_norecursion=; unset ml_norecursion;}
81248 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81249 s!`test -f '$<' || echo '$(srcdir)/'`!!
81250 _EOF
81251 sed -f vpsed$$ $ac_file > tmp$$
81252 mv tmp$$ $ac_file
81253 rm vpsed$$
81254 echo 'MULTISUBDIR =' >> $ac_file
81255 ml_norecursion=yes
81256 . ${multi_basedir}/config-ml.in
81257 { ml_norecursion=; unset ml_norecursion;}
81259 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81260 s!`test -f '$<' || echo '$(srcdir)/'`!!
81261 _EOF
81262 sed -f vpsed$$ $ac_file > tmp$$
81263 mv tmp$$ $ac_file
81264 rm vpsed$$
81265 echo 'MULTISUBDIR =' >> $ac_file
81266 ml_norecursion=yes
81267 . ${multi_basedir}/config-ml.in
81268 { ml_norecursion=; unset ml_norecursion;}
81270 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81271 s!`test -f '$<' || echo '$(srcdir)/'`!!
81272 _EOF
81273 sed -f vpsed$$ $ac_file > tmp$$
81274 mv tmp$$ $ac_file
81275 rm vpsed$$
81276 echo 'MULTISUBDIR =' >> $ac_file
81277 ml_norecursion=yes
81278 . ${multi_basedir}/config-ml.in
81279 { ml_norecursion=; unset ml_norecursion;}
81281 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81282 s!`test -f '$<' || echo '$(srcdir)/'`!!
81283 _EOF
81284 sed -f vpsed$$ $ac_file > tmp$$
81285 mv tmp$$ $ac_file
81286 rm vpsed$$
81287 echo 'MULTISUBDIR =' >> $ac_file
81288 ml_norecursion=yes
81289 . ${multi_basedir}/config-ml.in
81290 { ml_norecursion=; unset ml_norecursion;}
81292 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81293 s!`test -f '$<' || echo '$(srcdir)/'`!!
81294 _EOF
81295 sed -f vpsed$$ $ac_file > tmp$$
81296 mv tmp$$ $ac_file
81297 rm vpsed$$
81298 echo 'MULTISUBDIR =' >> $ac_file
81299 ml_norecursion=yes
81300 . ${multi_basedir}/config-ml.in
81301 { ml_norecursion=; unset ml_norecursion;}
81303 "po/Makefile":F) cat > vpsed$$ << \_EOF
81304 s!`test -f '$<' || echo '$(srcdir)/'`!!
81305 _EOF
81306 sed -f vpsed$$ $ac_file > tmp$$
81307 mv tmp$$ $ac_file
81308 rm vpsed$$
81309 echo 'MULTISUBDIR =' >> $ac_file
81310 ml_norecursion=yes
81311 . ${multi_basedir}/config-ml.in
81312 { ml_norecursion=; unset ml_norecursion;}
81314 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81315 s!`test -f '$<' || echo '$(srcdir)/'`!!
81316 _EOF
81317 sed -f vpsed$$ $ac_file > tmp$$
81318 mv tmp$$ $ac_file
81319 rm vpsed$$
81320 echo 'MULTISUBDIR =' >> $ac_file
81321 ml_norecursion=yes
81322 . ${multi_basedir}/config-ml.in
81323 { ml_norecursion=; unset ml_norecursion;}
81325 "python/Makefile":F) cat > vpsed$$ << \_EOF
81326 s!`test -f '$<' || echo '$(srcdir)/'`!!
81327 _EOF
81328 sed -f vpsed$$ $ac_file > tmp$$
81329 mv tmp$$ $ac_file
81330 rm vpsed$$
81331 echo 'MULTISUBDIR =' >> $ac_file
81332 ml_norecursion=yes
81333 . ${multi_basedir}/config-ml.in
81334 { ml_norecursion=; unset ml_norecursion;}
81336 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81338 esac
81339 done # for ac_tag
81342 as_fn_exit 0
81343 _ACEOF
81344 ac_clean_files=$ac_clean_files_save
81346 test $ac_write_fail = 0 ||
81347 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81350 # configure is writing to config.log, and then calls config.status.
81351 # config.status does its own redirection, appending to config.log.
81352 # Unfortunately, on DOS this fails, as config.log is still kept open
81353 # by configure, so config.status won't be able to write to it; its
81354 # output is simply discarded. So we exec the FD to /dev/null,
81355 # effectively closing config.log, so it can be properly (re)opened and
81356 # appended to by config.status. When coming back to configure, we
81357 # need to make the FD available again.
81358 if test "$no_create" != yes; then
81359 ac_cs_success=:
81360 ac_config_status_args=
81361 test "$silent" = yes &&
81362 ac_config_status_args="$ac_config_status_args --quiet"
81363 exec 5>/dev/null
81364 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81365 exec 5>>config.log
81366 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81367 # would make configure fail if this is the last instruction.
81368 $ac_cs_success || as_fn_exit 1
81370 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81372 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}